summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-27 12:09:26 +0200
committerGünther Deschner <gd@samba.org>2008-06-03 01:27:40 +0200
commit2da5df92df46d8399024efd92f856dddafd68f28 (patch)
tree42c4fc55fa52e5973fe762040060073544b4d0d3
parent813f119556f8aa783632e3bf3ead4f013dddd1c4 (diff)
downloadsamba-2da5df92df46d8399024efd92f856dddafd68f28.tar.gz
samba-2da5df92df46d8399024efd92f856dddafd68f28.tar.bz2
samba-2da5df92df46d8399024efd92f856dddafd68f28.zip
re-run make idl.
Guenther (This used to be commit aaa439e1d16607caa320e55fc3963281993637ce)
-rw-r--r--source3/librpc/gen_ndr/libnetapi.h13
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.c23
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.h7
3 files changed, 42 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h
index de165f889a..3897deafda 100644
--- a/source3/librpc/gen_ndr/libnetapi.h
+++ b/source3/librpc/gen_ndr/libnetapi.h
@@ -325,4 +325,17 @@ struct NetGroupAdd {
};
+
+struct NetGroupDel {
+ struct {
+ const char * server_name;
+ const char * group_name;
+ } in;
+
+ struct {
+ enum NET_API_STATUS result;
+ } out;
+
+};
+
#endif /* _HEADER_libnetapi */
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c
index d4db1f9609..434f726c51 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.c
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.c
@@ -970,3 +970,26 @@ _PUBLIC_ void ndr_print_NetGroupAdd(struct ndr_print *ndr, const char *name, int
ndr->depth--;
}
+_PUBLIC_ void ndr_print_NetGroupDel(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupDel *r)
+{
+ ndr_print_struct(ndr, name, "NetGroupDel");
+ ndr->depth++;
+ if (flags & NDR_SET_VALUES) {
+ ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+ }
+ if (flags & NDR_IN) {
+ ndr_print_struct(ndr, "in", "NetGroupDel");
+ ndr->depth++;
+ ndr_print_string(ndr, "server_name", r->in.server_name);
+ ndr_print_string(ndr, "group_name", r->in.group_name);
+ ndr->depth--;
+ }
+ if (flags & NDR_OUT) {
+ ndr_print_struct(ndr, "out", "NetGroupDel");
+ ndr->depth++;
+ ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
+ ndr->depth--;
+ }
+ ndr->depth--;
+}
+
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.h b/source3/librpc/gen_ndr/ndr_libnetapi.h
index 683b165510..3052b97f5a 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.h
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.h
@@ -34,7 +34,9 @@
#define NDR_NETGROUPADD (0x0d)
-#define NDR_LIBNETAPI_CALL_COUNT (14)
+#define NDR_NETGROUPDEL (0x0e)
+
+#define NDR_LIBNETAPI_CALL_COUNT (15)
enum ndr_err_code ndr_push_NET_API_STATUS(struct ndr_push *ndr, int ndr_flags, enum NET_API_STATUS r);
enum ndr_err_code ndr_pull_NET_API_STATUS(struct ndr_pull *ndr, int ndr_flags, enum NET_API_STATUS *r);
void ndr_print_NET_API_STATUS(struct ndr_print *ndr, const char *name, enum NET_API_STATUS r);
@@ -104,4 +106,7 @@ void ndr_print_NetQueryDisplayInformation(struct ndr_print *ndr, const char *nam
enum ndr_err_code ndr_push_NetGroupAdd(struct ndr_push *ndr, int flags, const struct NetGroupAdd *r);
enum ndr_err_code ndr_pull_NetGroupAdd(struct ndr_pull *ndr, int flags, struct NetGroupAdd *r);
void ndr_print_NetGroupAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupAdd *r);
+enum ndr_err_code ndr_push_NetGroupDel(struct ndr_push *ndr, int flags, const struct NetGroupDel *r);
+enum ndr_err_code ndr_pull_NetGroupDel(struct ndr_pull *ndr, int flags, struct NetGroupDel *r);
+void ndr_print_NetGroupDel(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupDel *r);
#endif /* _HEADER_NDR_libnetapi */