re-run make idl.
authorGünther Deschner <gd@samba.org>
Tue, 9 Sep 2008 19:59:36 +0000 (21:59 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 11 Sep 2008 12:37:33 +0000 (14:37 +0200)
Guenther
(This used to be commit 995dea40629883ae9ac2871eeb033a168a3b4935)

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

index 00e5f50b7fc1fde9927943e3ea1f57f2951b8a3a..98da9e12ea0242aab241fa35f688787f6f2726eb 100644 (file)
@@ -1433,4 +1433,25 @@ struct NetFileGetInfo {
 
 };
 
+
+struct NetFileEnum {
+       struct {
+               const char * server_name;
+               const char * base_path;
+               const char * user_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 8105cce40122d12ac9d270a28bccdfe8240da968..a5266827b61043b7bc92230c372bb3213a70c457 100644 (file)
@@ -3924,3 +3924,54 @@ _PUBLIC_ void ndr_print_NetFileGetInfo(struct ndr_print *ndr, const char *name,
        ndr->depth--;
 }
 
+_PUBLIC_ void ndr_print_NetFileEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetFileEnum *r)
+{
+       ndr_print_struct(ndr, name, "NetFileEnum");
+       ndr->depth++;
+       if (flags & NDR_SET_VALUES) {
+               ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+       }
+       if (flags & NDR_IN) {
+               ndr_print_struct(ndr, "in", "NetFileEnum");
+               ndr->depth++;
+               ndr_print_string(ndr, "server_name", r->in.server_name);
+               ndr_print_string(ndr, "base_path", r->in.base_path);
+               ndr_print_string(ndr, "user_name", r->in.user_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", "NetFileEnum");
+               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 3d414899908aeb98608b0771cd02f49e73f699e4..d8e8e399b2500182662d762f47ba3b59a4f9f67d 100644 (file)
 
 #define NDR_NETFILEGETINFO (0x2f)
 
-#define NDR_LIBNETAPI_CALL_COUNT (48)
+#define NDR_NETFILEENUM (0x30)
+
+#define NDR_LIBNETAPI_CALL_COUNT (49)
 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);
@@ -385,4 +387,7 @@ void ndr_print_NetFileClose(struct ndr_print *ndr, const char *name, int flags,
 enum ndr_err_code ndr_push_NetFileGetInfo(struct ndr_push *ndr, int flags, const struct NetFileGetInfo *r);
 enum ndr_err_code ndr_pull_NetFileGetInfo(struct ndr_pull *ndr, int flags, struct NetFileGetInfo *r);
 void ndr_print_NetFileGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetFileGetInfo *r);
+enum ndr_err_code ndr_push_NetFileEnum(struct ndr_push *ndr, int flags, const struct NetFileEnum *r);
+enum ndr_err_code ndr_pull_NetFileEnum(struct ndr_pull *ndr, int flags, struct NetFileEnum *r);
+void ndr_print_NetFileEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetFileEnum *r);
 #endif /* _HEADER_NDR_libnetapi */