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");
#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);
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);