summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-07-01 20:10:00 +0200
committerGünther Deschner <gd@samba.org>2008-07-17 10:35:00 +0200
commit27897dbebd2afaafda859a4b71b0cd5bdddd9ebf (patch)
treed424a798ad74d1353bec8fe3edfe4d955ae3aa95 /source3
parent91adc283cb1a23ac53f9af48b019f4aafe31aa16 (diff)
downloadsamba-27897dbebd2afaafda859a4b71b0cd5bdddd9ebf.tar.gz
samba-27897dbebd2afaafda859a4b71b0cd5bdddd9ebf.tar.bz2
samba-27897dbebd2afaafda859a4b71b0cd5bdddd9ebf.zip
re-run make idl.
Guenther (This used to be commit 1ae9ae839e2f9032bb30db377e0022112dee2419)
Diffstat (limited to 'source3')
-rw-r--r--source3/librpc/gen_ndr/libnetapi.h19
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.c49
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.h25
3 files changed, 83 insertions, 10 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h
index d6b8d99c5d..a39a23e738 100644
--- a/source3/librpc/gen_ndr/libnetapi.h
+++ b/source3/librpc/gen_ndr/libnetapi.h
@@ -395,6 +395,25 @@ struct NetGroupDel {
};
+struct NetGroupEnum {
+ 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 NetGroupSetInfo {
struct {
const char * server_name;
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c
index 4bc966f491..d2453c606f 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.c
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.c
@@ -1018,6 +1018,55 @@ _PUBLIC_ void ndr_print_NetGroupDel(struct ndr_print *ndr, const char *name, int
ndr->depth--;
}
+_PUBLIC_ void ndr_print_NetGroupEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupEnum *r)
+{
+ ndr_print_struct(ndr, name, "NetGroupEnum");
+ ndr->depth++;
+ if (flags & NDR_SET_VALUES) {
+ ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+ }
+ if (flags & NDR_IN) {
+ ndr_print_struct(ndr, "in", "NetGroupEnum");
+ 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", "NetGroupEnum");
+ 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_NetGroupSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupSetInfo *r)
{
ndr_print_struct(ndr, name, "NetGroupSetInfo");
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.h b/source3/librpc/gen_ndr/ndr_libnetapi.h
index fa7b586eb8..ad86820650 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.h
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.h
@@ -38,25 +38,27 @@
#define NDR_NETGROUPDEL (0x0f)
-#define NDR_NETGROUPSETINFO (0x10)
+#define NDR_NETGROUPENUM (0x10)
-#define NDR_NETGROUPGETINFO (0x11)
+#define NDR_NETGROUPSETINFO (0x11)
-#define NDR_NETGROUPADDUSER (0x12)
+#define NDR_NETGROUPGETINFO (0x12)
-#define NDR_NETGROUPDELUSER (0x13)
+#define NDR_NETGROUPADDUSER (0x13)
-#define NDR_NETLOCALGROUPADD (0x14)
+#define NDR_NETGROUPDELUSER (0x14)
-#define NDR_NETLOCALGROUPDEL (0x15)
+#define NDR_NETLOCALGROUPADD (0x15)
-#define NDR_NETLOCALGROUPGETINFO (0x16)
+#define NDR_NETLOCALGROUPDEL (0x16)
-#define NDR_NETLOCALGROUPSETINFO (0x17)
+#define NDR_NETLOCALGROUPGETINFO (0x17)
-#define NDR_NETREMOTETOD (0x18)
+#define NDR_NETLOCALGROUPSETINFO (0x18)
-#define NDR_LIBNETAPI_CALL_COUNT (25)
+#define NDR_NETREMOTETOD (0x19)
+
+#define NDR_LIBNETAPI_CALL_COUNT (26)
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);
@@ -132,6 +134,9 @@ void ndr_print_NetGroupAdd(struct ndr_print *ndr, const char *name, int flags, c
enum ndr_err_code ndr_push_NetGroupDel(struct ndr_push *ndr, int flags, const struct NetGroupDel *r);
enum ndr_err_code ndr_pull_NetGroupDel(struct ndr_pull *ndr, int flags, struct NetGroupDel *r);
void ndr_print_NetGroupDel(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupDel *r);
+enum ndr_err_code ndr_push_NetGroupEnum(struct ndr_push *ndr, int flags, const struct NetGroupEnum *r);
+enum ndr_err_code ndr_pull_NetGroupEnum(struct ndr_pull *ndr, int flags, struct NetGroupEnum *r);
+void ndr_print_NetGroupEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupEnum *r);
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);