re-run make idl.
authorGünther Deschner <gd@samba.org>
Mon, 2 Jun 2008 18:19:36 +0000 (20:19 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 2 Jun 2008 23:27:48 +0000 (01:27 +0200)
Guenther
(This used to be commit 39e3a29cb9a57d5f79e503f7d4873b5c8a844976)

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

index 998d9af355d10b38059bd1bb2dd440ba1b75f02e..ab4da83209e1506c8c8b82a36902c42c61d45cd9 100644 (file)
@@ -446,4 +446,19 @@ struct NetLocalGroupDel {
 
 };
 
+
+struct NetLocalGroupGetInfo {
+       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 4d7f6d8917ed7f7a6d2fbb6b405e36d766ae44d2..160f57d297b062f0caeba9fa87d0673ee8ab5e4e 100644 (file)
@@ -1160,3 +1160,36 @@ _PUBLIC_ void ndr_print_NetLocalGroupDel(struct ndr_print *ndr, const char *name
        ndr->depth--;
 }
 
+_PUBLIC_ void ndr_print_NetLocalGroupGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupGetInfo *r)
+{
+       ndr_print_struct(ndr, name, "NetLocalGroupGetInfo");
+       ndr->depth++;
+       if (flags & NDR_SET_VALUES) {
+               ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+       }
+       if (flags & NDR_IN) {
+               ndr_print_struct(ndr, "in", "NetLocalGroupGetInfo");
+               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", "NetLocalGroupGetInfo");
+               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 7acd255a5383d6ff3b2880cf7c0277f544c7e540..fda2730caa4fde28d8149ee66cac17a3432130df 100644 (file)
@@ -48,7 +48,9 @@
 
 #define NDR_NETLOCALGROUPDEL (0x14)
 
-#define NDR_LIBNETAPI_CALL_COUNT (21)
+#define NDR_NETLOCALGROUPGETINFO (0x15)
+
+#define NDR_LIBNETAPI_CALL_COUNT (22)
 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);
@@ -139,4 +141,7 @@ void ndr_print_NetLocalGroupAdd(struct ndr_print *ndr, const char *name, int fla
 enum ndr_err_code ndr_push_NetLocalGroupDel(struct ndr_push *ndr, int flags, const struct NetLocalGroupDel *r);
 enum ndr_err_code ndr_pull_NetLocalGroupDel(struct ndr_pull *ndr, int flags, struct NetLocalGroupDel *r);
 void ndr_print_NetLocalGroupDel(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupDel *r);
+enum ndr_err_code ndr_push_NetLocalGroupGetInfo(struct ndr_push *ndr, int flags, const struct NetLocalGroupGetInfo *r);
+enum ndr_err_code ndr_pull_NetLocalGroupGetInfo(struct ndr_pull *ndr, int flags, struct NetLocalGroupGetInfo *r);
+void ndr_print_NetLocalGroupGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupGetInfo *r);
 #endif /* _HEADER_NDR_libnetapi */