]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
re-run make idl.
authorGünther Deschner <gd@samba.org>
Fri, 29 Aug 2008 16:56:46 +0000 (18:56 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 5 Sep 2008 10:54:15 +0000 (12:54 +0200)
Guenther

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

index 72cc96ac1d32711f824ba766e552ae5db8456179..7a5f28677e02ecd976bb7c3b253b75dd3a19450d 100644 (file)
@@ -1211,4 +1211,23 @@ struct NetShareDel {
 
 };
 
+
+struct NetShareEnum {
+       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;
+
+};
+
 #endif /* _HEADER_libnetapi */
index 1d33a2eb894b8783255af1090e0d08c867e5a27e..106b9a41c548b0deb28111daba5b34a884706aa5 100644 (file)
@@ -3452,3 +3452,52 @@ _PUBLIC_ void ndr_print_NetShareDel(struct ndr_print *ndr, const char *name, int
        ndr->depth--;
 }
 
+_PUBLIC_ void ndr_print_NetShareEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetShareEnum *r)
+{
+       ndr_print_struct(ndr, name, "NetShareEnum");
+       ndr->depth++;
+       if (flags & NDR_SET_VALUES) {
+               ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+       }
+       if (flags & NDR_IN) {
+               ndr_print_struct(ndr, "in", "NetShareEnum");
+               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", "NetShareEnum");
+               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--;
+}
+
index dafd1c3ebb5fefcd5198273d05171b2be4d67684..a6380af7ae0d5c4615c11a836f476dda89d0e32a 100644 (file)
@@ -84,7 +84,9 @@
 
 #define NDR_NETSHAREDEL (0x26)
 
-#define NDR_LIBNETAPI_CALL_COUNT (39)
+#define NDR_NETSHAREENUM (0x27)
+
+#define NDR_LIBNETAPI_CALL_COUNT (40)
 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);
@@ -328,4 +330,7 @@ void ndr_print_NetShareAdd(struct ndr_print *ndr, const char *name, int flags, c
 enum ndr_err_code ndr_push_NetShareDel(struct ndr_push *ndr, int flags, const struct NetShareDel *r);
 enum ndr_err_code ndr_pull_NetShareDel(struct ndr_pull *ndr, int flags, struct NetShareDel *r);
 void ndr_print_NetShareDel(struct ndr_print *ndr, const char *name, int flags, const struct NetShareDel *r);
+enum ndr_err_code ndr_push_NetShareEnum(struct ndr_push *ndr, int flags, const struct NetShareEnum *r);
+enum ndr_err_code ndr_pull_NetShareEnum(struct ndr_pull *ndr, int flags, struct NetShareEnum *r);
+void ndr_print_NetShareEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetShareEnum *r);
 #endif /* _HEADER_NDR_libnetapi */