summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-02 13:41:58 +0200
committerGünther Deschner <gd@samba.org>2008-06-03 01:27:44 +0200
commit02db44188f6f1ad60a2ae820085aff2486d090d5 (patch)
treee9cc08a65e922577719f0b8b0d107710f1ed87aa /source3/librpc/gen_ndr
parent05cb539d57c63477ccec1b5c80d29bdedfef0af2 (diff)
downloadsamba-02db44188f6f1ad60a2ae820085aff2486d090d5.tar.gz
samba-02db44188f6f1ad60a2ae820085aff2486d090d5.tar.bz2
samba-02db44188f6f1ad60a2ae820085aff2486d090d5.zip
re-run make idl.
Guenther (This used to be commit b18ef7ce05a3ea009c7779b498921bdd1e6ac294)
Diffstat (limited to 'source3/librpc/gen_ndr')
-rw-r--r--source3/librpc/gen_ndr/libnetapi.h28
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.c48
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.h12
3 files changed, 87 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h
index 87836d3c3e..fd9c1edb25 100644
--- a/source3/librpc/gen_ndr/libnetapi.h
+++ b/source3/librpc/gen_ndr/libnetapi.h
@@ -377,4 +377,32 @@ struct NetGroupGetInfo {
};
+
+struct NetGroupAddUser {
+ struct {
+ const char * server_name;
+ const char * group_name;
+ const char * user_name;
+ } in;
+
+ struct {
+ enum NET_API_STATUS result;
+ } out;
+
+};
+
+
+struct NetGroupDelUser {
+ struct {
+ const char * server_name;
+ const char * group_name;
+ const char * user_name;
+ } in;
+
+ struct {
+ enum NET_API_STATUS result;
+ } out;
+
+};
+
#endif /* _HEADER_libnetapi */
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c
index 1f7ab37a27..6fbe1b1bd1 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.c
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.c
@@ -1058,3 +1058,51 @@ _PUBLIC_ void ndr_print_NetGroupGetInfo(struct ndr_print *ndr, const char *name,
ndr->depth--;
}
+_PUBLIC_ void ndr_print_NetGroupAddUser(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupAddUser *r)
+{
+ ndr_print_struct(ndr, name, "NetGroupAddUser");
+ ndr->depth++;
+ if (flags & NDR_SET_VALUES) {
+ ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+ }
+ if (flags & NDR_IN) {
+ ndr_print_struct(ndr, "in", "NetGroupAddUser");
+ ndr->depth++;
+ ndr_print_string(ndr, "server_name", r->in.server_name);
+ ndr_print_string(ndr, "group_name", r->in.group_name);
+ ndr_print_string(ndr, "user_name", r->in.user_name);
+ ndr->depth--;
+ }
+ if (flags & NDR_OUT) {
+ ndr_print_struct(ndr, "out", "NetGroupAddUser");
+ ndr->depth++;
+ ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
+ ndr->depth--;
+ }
+ ndr->depth--;
+}
+
+_PUBLIC_ void ndr_print_NetGroupDelUser(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupDelUser *r)
+{
+ ndr_print_struct(ndr, name, "NetGroupDelUser");
+ ndr->depth++;
+ if (flags & NDR_SET_VALUES) {
+ ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+ }
+ if (flags & NDR_IN) {
+ ndr_print_struct(ndr, "in", "NetGroupDelUser");
+ ndr->depth++;
+ ndr_print_string(ndr, "server_name", r->in.server_name);
+ ndr_print_string(ndr, "group_name", r->in.group_name);
+ ndr_print_string(ndr, "user_name", r->in.user_name);
+ ndr->depth--;
+ }
+ if (flags & NDR_OUT) {
+ ndr_print_struct(ndr, "out", "NetGroupDelUser");
+ ndr->depth++;
+ ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
+ ndr->depth--;
+ }
+ ndr->depth--;
+}
+
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.h b/source3/librpc/gen_ndr/ndr_libnetapi.h
index f4f6797997..9dd53f0536 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.h
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.h
@@ -40,7 +40,11 @@
#define NDR_NETGROUPGETINFO (0x10)
-#define NDR_LIBNETAPI_CALL_COUNT (17)
+#define NDR_NETGROUPADDUSER (0x11)
+
+#define NDR_NETGROUPDELUSER (0x12)
+
+#define NDR_LIBNETAPI_CALL_COUNT (19)
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);
@@ -119,4 +123,10 @@ void ndr_print_NetGroupSetInfo(struct ndr_print *ndr, const char *name, int flag
enum ndr_err_code ndr_push_NetGroupGetInfo(struct ndr_push *ndr, int flags, const struct NetGroupGetInfo *r);
enum ndr_err_code ndr_pull_NetGroupGetInfo(struct ndr_pull *ndr, int flags, struct NetGroupGetInfo *r);
void ndr_print_NetGroupGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupGetInfo *r);
+enum ndr_err_code ndr_push_NetGroupAddUser(struct ndr_push *ndr, int flags, const struct NetGroupAddUser *r);
+enum ndr_err_code ndr_pull_NetGroupAddUser(struct ndr_pull *ndr, int flags, struct NetGroupAddUser *r);
+void ndr_print_NetGroupAddUser(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupAddUser *r);
+enum ndr_err_code ndr_push_NetGroupDelUser(struct ndr_push *ndr, int flags, const struct NetGroupDelUser *r);
+enum ndr_err_code ndr_pull_NetGroupDelUser(struct ndr_pull *ndr, int flags, struct NetGroupDelUser *r);
+void ndr_print_NetGroupDelUser(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupDelUser *r);
#endif /* _HEADER_NDR_libnetapi */