]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
re-run make idl.
authorGünther Deschner <gd@samba.org>
Thu, 17 Jul 2008 23:21:38 +0000 (01:21 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 18 Jul 2008 15:25:00 +0000 (17:25 +0200)
Guenther

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

index ab658c2f9f8dbfd0eea9e3c2ec0c60923f3143d2..20a3662cf4bbbbb7fd87b4dcbd82e716161bd7cf 100644 (file)
@@ -703,6 +703,25 @@ struct NetLocalGroupSetInfo {
 };
 
 
+struct NetLocalGroupEnum {
+       struct {
+               const char * server_name;
+               uint32_t level;
+               uint32_t prefmaxlen;
+               uint32_t *resume_handle;/* [ref] */
+       } in;
+
+       struct {
+               uint8_t **buffer;/* [ref] */
+               uint32_t *entries_read;/* [ref] */
+               uint32_t *total_entries;/* [ref] */
+               uint32_t *resume_handle;/* [ref] */
+               enum NET_API_STATUS result;
+       } out;
+
+};
+
+
 struct NetRemoteTOD {
        struct {
                const char * server_name;
index 3ee4ffad6abbf6f420be34e397936c347fdeaca4..7332cd3fd2a8f526b66df661d48bcc67125f3ef1 100644 (file)
@@ -2054,6 +2054,55 @@ _PUBLIC_ void ndr_print_NetLocalGroupSetInfo(struct ndr_print *ndr, const char *
        ndr->depth--;
 }
 
+_PUBLIC_ void ndr_print_NetLocalGroupEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupEnum *r)
+{
+       ndr_print_struct(ndr, name, "NetLocalGroupEnum");
+       ndr->depth++;
+       if (flags & NDR_SET_VALUES) {
+               ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+       }
+       if (flags & NDR_IN) {
+               ndr_print_struct(ndr, "in", "NetLocalGroupEnum");
+               ndr->depth++;
+               ndr_print_string(ndr, "server_name", r->in.server_name);
+               ndr_print_uint32(ndr, "level", r->in.level);
+               ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen);
+               ndr_print_ptr(ndr, "resume_handle", r->in.resume_handle);
+               ndr->depth++;
+               ndr_print_uint32(ndr, "resume_handle", *r->in.resume_handle);
+               ndr->depth--;
+               ndr->depth--;
+       }
+       if (flags & NDR_OUT) {
+               ndr_print_struct(ndr, "out", "NetLocalGroupEnum");
+               ndr->depth++;
+               ndr_print_ptr(ndr, "buffer", r->out.buffer);
+               ndr->depth++;
+               ndr_print_ptr(ndr, "buffer", *r->out.buffer);
+               ndr->depth++;
+               if (*r->out.buffer) {
+                       ndr_print_uint8(ndr, "buffer", **r->out.buffer);
+               }
+               ndr->depth--;
+               ndr->depth--;
+               ndr_print_ptr(ndr, "entries_read", r->out.entries_read);
+               ndr->depth++;
+               ndr_print_uint32(ndr, "entries_read", *r->out.entries_read);
+               ndr->depth--;
+               ndr_print_ptr(ndr, "total_entries", r->out.total_entries);
+               ndr->depth++;
+               ndr_print_uint32(ndr, "total_entries", *r->out.total_entries);
+               ndr->depth--;
+               ndr_print_ptr(ndr, "resume_handle", r->out.resume_handle);
+               ndr->depth++;
+               ndr_print_uint32(ndr, "resume_handle", *r->out.resume_handle);
+               ndr->depth--;
+               ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
+               ndr->depth--;
+       }
+       ndr->depth--;
+}
+
 _PUBLIC_ void ndr_print_NetRemoteTOD(struct ndr_print *ndr, const char *name, int flags, const struct NetRemoteTOD *r)
 {
        ndr_print_struct(ndr, name, "NetRemoteTOD");
index 94df545957ac4b87f487ef3da4a71624f3757086..4bf5b5f137690fa8e9f327b2c1a7f7b68934ab95 100644 (file)
 
 #define NDR_NETLOCALGROUPSETINFO (0x1a)
 
-#define NDR_NETREMOTETOD (0x1b)
+#define NDR_NETLOCALGROUPENUM (0x1b)
 
-#define NDR_LIBNETAPI_CALL_COUNT (28)
+#define NDR_NETREMOTETOD (0x1c)
+
+#define NDR_LIBNETAPI_CALL_COUNT (29)
 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);
@@ -195,6 +197,9 @@ void ndr_print_NetLocalGroupGetInfo(struct ndr_print *ndr, const char *name, int
 enum ndr_err_code ndr_push_NetLocalGroupSetInfo(struct ndr_push *ndr, int flags, const struct NetLocalGroupSetInfo *r);
 enum ndr_err_code ndr_pull_NetLocalGroupSetInfo(struct ndr_pull *ndr, int flags, struct NetLocalGroupSetInfo *r);
 void ndr_print_NetLocalGroupSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupSetInfo *r);
+enum ndr_err_code ndr_push_NetLocalGroupEnum(struct ndr_push *ndr, int flags, const struct NetLocalGroupEnum *r);
+enum ndr_err_code ndr_pull_NetLocalGroupEnum(struct ndr_pull *ndr, int flags, struct NetLocalGroupEnum *r);
+void ndr_print_NetLocalGroupEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupEnum *r);
 enum ndr_err_code ndr_push_NetRemoteTOD(struct ndr_push *ndr, int flags, const struct NetRemoteTOD *r);
 enum ndr_err_code ndr_pull_NetRemoteTOD(struct ndr_pull *ndr, int flags, struct NetRemoteTOD *r);
 void ndr_print_NetRemoteTOD(struct ndr_print *ndr, const char *name, int flags, const struct NetRemoteTOD *r);