1 /* header auto-generated by pidl */
3 #include "librpc/ndr/libndr.h"
4 #include "librpc/gen_ndr/libnetapi.h"
6 #ifndef _HEADER_NDR_libnetapi
7 #define _HEADER_NDR_libnetapi
9 #define NDR_NETJOINDOMAIN (0x00)
11 #define NDR_NETUNJOINDOMAIN (0x01)
13 #define NDR_NETGETJOININFORMATION (0x02)
15 #define NDR_NETGETJOINABLEOUS (0x03)
17 #define NDR_NETSERVERGETINFO (0x04)
19 #define NDR_NETSERVERSETINFO (0x05)
21 #define NDR_NETGETDCNAME (0x06)
23 #define NDR_NETGETANYDCNAME (0x07)
25 #define NDR_DSGETDCNAME (0x08)
27 #define NDR_NETUSERADD (0x09)
29 #define NDR_NETUSERDEL (0x0a)
31 #define NDR_NETUSERENUM (0x0b)
33 #define NDR_NETQUERYDISPLAYINFORMATION (0x0c)
35 #define NDR_LIBNETAPI_CALL_COUNT (13)
36 enum ndr_err_code
ndr_push_NET_API_STATUS(struct ndr_push
*ndr
, int ndr_flags
, enum NET_API_STATUS r
);
37 enum ndr_err_code
ndr_pull_NET_API_STATUS(struct ndr_pull
*ndr
, int ndr_flags
, enum NET_API_STATUS
*r
);
38 void ndr_print_NET_API_STATUS(struct ndr_print
*ndr
, const char *name
, enum NET_API_STATUS r
);
39 enum ndr_err_code
ndr_push_SERVER_INFO_1005(struct ndr_push
*ndr
, int ndr_flags
, const struct SERVER_INFO_1005
*r
);
40 enum ndr_err_code
ndr_pull_SERVER_INFO_1005(struct ndr_pull
*ndr
, int ndr_flags
, struct SERVER_INFO_1005
*r
);
41 void ndr_print_SERVER_INFO_1005(struct ndr_print
*ndr
, const char *name
, const struct SERVER_INFO_1005
*r
);
42 enum ndr_err_code
ndr_push_DOMAIN_CONTROLLER_INFO(struct ndr_push
*ndr
, int ndr_flags
, const struct DOMAIN_CONTROLLER_INFO
*r
);
43 enum ndr_err_code
ndr_pull_DOMAIN_CONTROLLER_INFO(struct ndr_pull
*ndr
, int ndr_flags
, struct DOMAIN_CONTROLLER_INFO
*r
);
44 void ndr_print_DOMAIN_CONTROLLER_INFO(struct ndr_print
*ndr
, const char *name
, const struct DOMAIN_CONTROLLER_INFO
*r
);
45 enum ndr_err_code
ndr_push_USER_INFO_0(struct ndr_push
*ndr
, int ndr_flags
, const struct USER_INFO_0
*r
);
46 enum ndr_err_code
ndr_pull_USER_INFO_0(struct ndr_pull
*ndr
, int ndr_flags
, struct USER_INFO_0
*r
);
47 void ndr_print_USER_INFO_0(struct ndr_print
*ndr
, const char *name
, const struct USER_INFO_0
*r
);
48 enum ndr_err_code
ndr_push_USER_INFO_1(struct ndr_push
*ndr
, int ndr_flags
, const struct USER_INFO_1
*r
);
49 enum ndr_err_code
ndr_pull_USER_INFO_1(struct ndr_pull
*ndr
, int ndr_flags
, struct USER_INFO_1
*r
);
50 void ndr_print_USER_INFO_1(struct ndr_print
*ndr
, const char *name
, const struct USER_INFO_1
*r
);
51 enum ndr_err_code
ndr_push_NET_DISPLAY_USER(struct ndr_push
*ndr
, int ndr_flags
, const struct NET_DISPLAY_USER
*r
);
52 enum ndr_err_code
ndr_pull_NET_DISPLAY_USER(struct ndr_pull
*ndr
, int ndr_flags
, struct NET_DISPLAY_USER
*r
);
53 void ndr_print_NET_DISPLAY_USER(struct ndr_print
*ndr
, const char *name
, const struct NET_DISPLAY_USER
*r
);
54 enum ndr_err_code
ndr_push_NET_DISPLAY_MACHINE(struct ndr_push
*ndr
, int ndr_flags
, const struct NET_DISPLAY_MACHINE
*r
);
55 enum ndr_err_code
ndr_pull_NET_DISPLAY_MACHINE(struct ndr_pull
*ndr
, int ndr_flags
, struct NET_DISPLAY_MACHINE
*r
);
56 void ndr_print_NET_DISPLAY_MACHINE(struct ndr_print
*ndr
, const char *name
, const struct NET_DISPLAY_MACHINE
*r
);
57 enum ndr_err_code
ndr_push_NET_DISPLAY_GROUP(struct ndr_push
*ndr
, int ndr_flags
, const struct NET_DISPLAY_GROUP
*r
);
58 enum ndr_err_code
ndr_pull_NET_DISPLAY_GROUP(struct ndr_pull
*ndr
, int ndr_flags
, struct NET_DISPLAY_GROUP
*r
);
59 void ndr_print_NET_DISPLAY_GROUP(struct ndr_print
*ndr
, const char *name
, const struct NET_DISPLAY_GROUP
*r
);
60 enum ndr_err_code
ndr_push_NetJoinDomain(struct ndr_push
*ndr
, int flags
, const struct NetJoinDomain
*r
);
61 enum ndr_err_code
ndr_pull_NetJoinDomain(struct ndr_pull
*ndr
, int flags
, struct NetJoinDomain
*r
);
62 void ndr_print_NetJoinDomain(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetJoinDomain
*r
);
63 enum ndr_err_code
ndr_push_NetUnjoinDomain(struct ndr_push
*ndr
, int flags
, const struct NetUnjoinDomain
*r
);
64 enum ndr_err_code
ndr_pull_NetUnjoinDomain(struct ndr_pull
*ndr
, int flags
, struct NetUnjoinDomain
*r
);
65 void ndr_print_NetUnjoinDomain(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetUnjoinDomain
*r
);
66 enum ndr_err_code
ndr_push_NetGetJoinInformation(struct ndr_push
*ndr
, int flags
, const struct NetGetJoinInformation
*r
);
67 enum ndr_err_code
ndr_pull_NetGetJoinInformation(struct ndr_pull
*ndr
, int flags
, struct NetGetJoinInformation
*r
);
68 void ndr_print_NetGetJoinInformation(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetGetJoinInformation
*r
);
69 enum ndr_err_code
ndr_push_NetGetJoinableOUs(struct ndr_push
*ndr
, int flags
, const struct NetGetJoinableOUs
*r
);
70 enum ndr_err_code
ndr_pull_NetGetJoinableOUs(struct ndr_pull
*ndr
, int flags
, struct NetGetJoinableOUs
*r
);
71 void ndr_print_NetGetJoinableOUs(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetGetJoinableOUs
*r
);
72 enum ndr_err_code
ndr_push_NetServerGetInfo(struct ndr_push
*ndr
, int flags
, const struct NetServerGetInfo
*r
);
73 enum ndr_err_code
ndr_pull_NetServerGetInfo(struct ndr_pull
*ndr
, int flags
, struct NetServerGetInfo
*r
);
74 void ndr_print_NetServerGetInfo(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetServerGetInfo
*r
);
75 enum ndr_err_code
ndr_push_NetServerSetInfo(struct ndr_push
*ndr
, int flags
, const struct NetServerSetInfo
*r
);
76 enum ndr_err_code
ndr_pull_NetServerSetInfo(struct ndr_pull
*ndr
, int flags
, struct NetServerSetInfo
*r
);
77 void ndr_print_NetServerSetInfo(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetServerSetInfo
*r
);
78 enum ndr_err_code
ndr_push_NetGetDCName(struct ndr_push
*ndr
, int flags
, const struct NetGetDCName
*r
);
79 enum ndr_err_code
ndr_pull_NetGetDCName(struct ndr_pull
*ndr
, int flags
, struct NetGetDCName
*r
);
80 void ndr_print_NetGetDCName(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetGetDCName
*r
);
81 enum ndr_err_code
ndr_push_NetGetAnyDCName(struct ndr_push
*ndr
, int flags
, const struct NetGetAnyDCName
*r
);
82 enum ndr_err_code
ndr_pull_NetGetAnyDCName(struct ndr_pull
*ndr
, int flags
, struct NetGetAnyDCName
*r
);
83 void ndr_print_NetGetAnyDCName(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetGetAnyDCName
*r
);
84 enum ndr_err_code
ndr_push_DsGetDcName(struct ndr_push
*ndr
, int flags
, const struct DsGetDcName
*r
);
85 enum ndr_err_code
ndr_pull_DsGetDcName(struct ndr_pull
*ndr
, int flags
, struct DsGetDcName
*r
);
86 void ndr_print_DsGetDcName(struct ndr_print
*ndr
, const char *name
, int flags
, const struct DsGetDcName
*r
);
87 enum ndr_err_code
ndr_push_NetUserAdd(struct ndr_push
*ndr
, int flags
, const struct NetUserAdd
*r
);
88 enum ndr_err_code
ndr_pull_NetUserAdd(struct ndr_pull
*ndr
, int flags
, struct NetUserAdd
*r
);
89 void ndr_print_NetUserAdd(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetUserAdd
*r
);
90 enum ndr_err_code
ndr_push_NetUserDel(struct ndr_push
*ndr
, int flags
, const struct NetUserDel
*r
);
91 enum ndr_err_code
ndr_pull_NetUserDel(struct ndr_pull
*ndr
, int flags
, struct NetUserDel
*r
);
92 void ndr_print_NetUserDel(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetUserDel
*r
);
93 enum ndr_err_code
ndr_push_NetUserEnum(struct ndr_push
*ndr
, int flags
, const struct NetUserEnum
*r
);
94 enum ndr_err_code
ndr_pull_NetUserEnum(struct ndr_pull
*ndr
, int flags
, struct NetUserEnum
*r
);
95 void ndr_print_NetUserEnum(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetUserEnum
*r
);
96 enum ndr_err_code
ndr_push_NetQueryDisplayInformation(struct ndr_push
*ndr
, int flags
, const struct NetQueryDisplayInformation
*r
);
97 enum ndr_err_code
ndr_pull_NetQueryDisplayInformation(struct ndr_pull
*ndr
, int flags
, struct NetQueryDisplayInformation
*r
);
98 void ndr_print_NetQueryDisplayInformation(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetQueryDisplayInformation
*r
);
99 #endif /* _HEADER_NDR_libnetapi */