]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
re-run make idl.
authorGünther Deschner <gd@samba.org>
Wed, 16 Jul 2008 22:59:57 +0000 (00:59 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 18 Jul 2008 15:21:36 +0000 (17:21 +0200)
Guenther

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

index 1a6898c4e5b60e91c4b533aa4ec8c4d21e9a4ee3..ab658c2f9f8dbfd0eea9e3c2ec0c60923f3143d2 100644 (file)
@@ -504,6 +504,22 @@ struct NetUserGetInfo {
 };
 
 
+struct NetUserSetInfo {
+       struct {
+               const char * server_name;
+               const char * user_name;
+               uint32_t level;
+               uint8_t *buffer;/* [ref] */
+       } in;
+
+       struct {
+               uint32_t *parm_err;/* [ref] */
+               enum NET_API_STATUS result;
+       } out;
+
+};
+
+
 struct NetQueryDisplayInformation {
        struct {
                const char * server_name;/* [unique] */
index 42d21638e49557400ec273704aa3218fdad91a0b..3ee4ffad6abbf6f420be34e397936c347fdeaca4 100644 (file)
@@ -1652,6 +1652,38 @@ _PUBLIC_ void ndr_print_NetUserGetInfo(struct ndr_print *ndr, const char *name,
        ndr->depth--;
 }
 
+_PUBLIC_ void ndr_print_NetUserSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetUserSetInfo *r)
+{
+       ndr_print_struct(ndr, name, "NetUserSetInfo");
+       ndr->depth++;
+       if (flags & NDR_SET_VALUES) {
+               ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+       }
+       if (flags & NDR_IN) {
+               ndr_print_struct(ndr, "in", "NetUserSetInfo");
+               ndr->depth++;
+               ndr_print_string(ndr, "server_name", r->in.server_name);
+               ndr_print_string(ndr, "user_name", r->in.user_name);
+               ndr_print_uint32(ndr, "level", r->in.level);
+               ndr_print_ptr(ndr, "buffer", r->in.buffer);
+               ndr->depth++;
+               ndr_print_uint8(ndr, "buffer", *r->in.buffer);
+               ndr->depth--;
+               ndr->depth--;
+       }
+       if (flags & NDR_OUT) {
+               ndr_print_struct(ndr, "out", "NetUserSetInfo");
+               ndr->depth++;
+               ndr_print_ptr(ndr, "parm_err", r->out.parm_err);
+               ndr->depth++;
+               ndr_print_uint32(ndr, "parm_err", *r->out.parm_err);
+               ndr->depth--;
+               ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
+               ndr->depth--;
+       }
+       ndr->depth--;
+}
+
 _PUBLIC_ void ndr_print_NetQueryDisplayInformation(struct ndr_print *ndr, const char *name, int flags, const struct NetQueryDisplayInformation *r)
 {
        ndr_print_struct(ndr, name, "NetQueryDisplayInformation");
index 29a8bb60710e7d06c7c2ba7f6940d01f4224925a..94df545957ac4b87f487ef3da4a71624f3757086 100644 (file)
 
 #define NDR_NETUSERGETINFO (0x0d)
 
-#define NDR_NETQUERYDISPLAYINFORMATION (0x0e)
+#define NDR_NETUSERSETINFO (0x0e)
 
-#define NDR_NETGROUPADD (0x0f)
+#define NDR_NETQUERYDISPLAYINFORMATION (0x0f)
 
-#define NDR_NETGROUPDEL (0x10)
+#define NDR_NETGROUPADD (0x10)
 
-#define NDR_NETGROUPENUM (0x11)
+#define NDR_NETGROUPDEL (0x11)
 
-#define NDR_NETGROUPSETINFO (0x12)
+#define NDR_NETGROUPENUM (0x12)
 
-#define NDR_NETGROUPGETINFO (0x13)
+#define NDR_NETGROUPSETINFO (0x13)
 
-#define NDR_NETGROUPADDUSER (0x14)
+#define NDR_NETGROUPGETINFO (0x14)
 
-#define NDR_NETGROUPDELUSER (0x15)
+#define NDR_NETGROUPADDUSER (0x15)
 
-#define NDR_NETLOCALGROUPADD (0x16)
+#define NDR_NETGROUPDELUSER (0x16)
 
-#define NDR_NETLOCALGROUPDEL (0x17)
+#define NDR_NETLOCALGROUPADD (0x17)
 
-#define NDR_NETLOCALGROUPGETINFO (0x18)
+#define NDR_NETLOCALGROUPDEL (0x18)
 
-#define NDR_NETLOCALGROUPSETINFO (0x19)
+#define NDR_NETLOCALGROUPGETINFO (0x19)
 
-#define NDR_NETREMOTETOD (0x1a)
+#define NDR_NETLOCALGROUPSETINFO (0x1a)
 
-#define NDR_LIBNETAPI_CALL_COUNT (27)
+#define NDR_NETREMOTETOD (0x1b)
+
+#define NDR_LIBNETAPI_CALL_COUNT (28)
 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);
@@ -154,6 +156,9 @@ void ndr_print_NetUserChangePassword(struct ndr_print *ndr, const char *name, in
 enum ndr_err_code ndr_push_NetUserGetInfo(struct ndr_push *ndr, int flags, const struct NetUserGetInfo *r);
 enum ndr_err_code ndr_pull_NetUserGetInfo(struct ndr_pull *ndr, int flags, struct NetUserGetInfo *r);
 void ndr_print_NetUserGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetUserGetInfo *r);
+enum ndr_err_code ndr_push_NetUserSetInfo(struct ndr_push *ndr, int flags, const struct NetUserSetInfo *r);
+enum ndr_err_code ndr_pull_NetUserSetInfo(struct ndr_pull *ndr, int flags, struct NetUserSetInfo *r);
+void ndr_print_NetUserSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetUserSetInfo *r);
 enum ndr_err_code ndr_push_NetQueryDisplayInformation(struct ndr_push *ndr, int flags, const struct NetQueryDisplayInformation *r);
 enum ndr_err_code ndr_pull_NetQueryDisplayInformation(struct ndr_pull *ndr, int flags, struct NetQueryDisplayInformation *r);
 void ndr_print_NetQueryDisplayInformation(struct ndr_print *ndr, const char *name, int flags, const struct NetQueryDisplayInformation *r);