]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
re-run make idl.
authorGünther Deschner <gd@samba.org>
Mon, 2 Jun 2008 11:00:59 +0000 (13:00 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 2 Jun 2008 23:27:43 +0000 (01:27 +0200)
Guenther

source/librpc/gen_ndr/libnetapi.h
source/librpc/gen_ndr/ndr_libnetapi.c
source/librpc/gen_ndr/ndr_libnetapi.h

index 21a3c1a8a17128a5c0bf4ab4b4af4ef634e8bff1..87836d3c3e41e475a94afad9e658f4f30e85a690 100644 (file)
@@ -362,4 +362,19 @@ struct NetGroupSetInfo {
 
 };
 
+
+struct NetGroupGetInfo {
+       struct {
+               const char * server_name;
+               const char * group_name;
+               uint32_t level;
+       } in;
+
+       struct {
+               uint8_t **buf;/* [ref] */
+               enum NET_API_STATUS result;
+       } out;
+
+};
+
 #endif /* _HEADER_libnetapi */
index a16c650c3fb76bf32ab15082488c084e6c186a37..1f7ab37a27f861cf8a936437553491a9b9c76e5c 100644 (file)
@@ -1025,3 +1025,36 @@ _PUBLIC_ void ndr_print_NetGroupSetInfo(struct ndr_print *ndr, const char *name,
        ndr->depth--;
 }
 
+_PUBLIC_ void ndr_print_NetGroupGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupGetInfo *r)
+{
+       ndr_print_struct(ndr, name, "NetGroupGetInfo");
+       ndr->depth++;
+       if (flags & NDR_SET_VALUES) {
+               ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+       }
+       if (flags & NDR_IN) {
+               ndr_print_struct(ndr, "in", "NetGroupGetInfo");
+               ndr->depth++;
+               ndr_print_string(ndr, "server_name", r->in.server_name);
+               ndr_print_string(ndr, "group_name", r->in.group_name);
+               ndr_print_uint32(ndr, "level", r->in.level);
+               ndr->depth--;
+       }
+       if (flags & NDR_OUT) {
+               ndr_print_struct(ndr, "out", "NetGroupGetInfo");
+               ndr->depth++;
+               ndr_print_ptr(ndr, "buf", r->out.buf);
+               ndr->depth++;
+               ndr_print_ptr(ndr, "buf", *r->out.buf);
+               ndr->depth++;
+               if (*r->out.buf) {
+                       ndr_print_uint8(ndr, "buf", **r->out.buf);
+               }
+               ndr->depth--;
+               ndr->depth--;
+               ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
+               ndr->depth--;
+       }
+       ndr->depth--;
+}
+
index 47f4457353f1b3bd9c321419f5f5085fcd166ad8..f4f67979972812386f2e9876ecf052bb330c3d63 100644 (file)
@@ -38,7 +38,9 @@
 
 #define NDR_NETGROUPSETINFO (0x0f)
 
-#define NDR_LIBNETAPI_CALL_COUNT (16)
+#define NDR_NETGROUPGETINFO (0x10)
+
+#define NDR_LIBNETAPI_CALL_COUNT (17)
 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);
@@ -114,4 +116,7 @@ void ndr_print_NetGroupDel(struct ndr_print *ndr, const char *name, int flags, c
 enum ndr_err_code ndr_push_NetGroupSetInfo(struct ndr_push *ndr, int flags, const struct NetGroupSetInfo *r);
 enum ndr_err_code ndr_pull_NetGroupSetInfo(struct ndr_pull *ndr, int flags, struct NetGroupSetInfo *r);
 void ndr_print_NetGroupSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupSetInfo *r);
+enum ndr_err_code ndr_push_NetGroupGetInfo(struct ndr_push *ndr, int flags, const struct NetGroupGetInfo *r);
+enum ndr_err_code ndr_pull_NetGroupGetInfo(struct ndr_pull *ndr, int flags, struct NetGroupGetInfo *r);
+void ndr_print_NetGroupGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupGetInfo *r);
 #endif /* _HEADER_NDR_libnetapi */