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_LIBNETAPI_CALL_COUNT (12)
34 enum ndr_err_code
ndr_push_NET_API_STATUS(struct ndr_push
*ndr
, int ndr_flags
, enum NET_API_STATUS r
);
35 enum ndr_err_code
ndr_pull_NET_API_STATUS(struct ndr_pull
*ndr
, int ndr_flags
, enum NET_API_STATUS
*r
);
36 void ndr_print_NET_API_STATUS(struct ndr_print
*ndr
, const char *name
, enum NET_API_STATUS r
);
37 enum ndr_err_code
ndr_push_SERVER_INFO_1005(struct ndr_push
*ndr
, int ndr_flags
, const struct SERVER_INFO_1005
*r
);
38 enum ndr_err_code
ndr_pull_SERVER_INFO_1005(struct ndr_pull
*ndr
, int ndr_flags
, struct SERVER_INFO_1005
*r
);
39 void ndr_print_SERVER_INFO_1005(struct ndr_print
*ndr
, const char *name
, const struct SERVER_INFO_1005
*r
);
40 enum ndr_err_code
ndr_push_DOMAIN_CONTROLLER_INFO(struct ndr_push
*ndr
, int ndr_flags
, const struct DOMAIN_CONTROLLER_INFO
*r
);
41 enum ndr_err_code
ndr_pull_DOMAIN_CONTROLLER_INFO(struct ndr_pull
*ndr
, int ndr_flags
, struct DOMAIN_CONTROLLER_INFO
*r
);
42 void ndr_print_DOMAIN_CONTROLLER_INFO(struct ndr_print
*ndr
, const char *name
, const struct DOMAIN_CONTROLLER_INFO
*r
);
43 enum ndr_err_code
ndr_push_USER_INFO_0(struct ndr_push
*ndr
, int ndr_flags
, const struct USER_INFO_0
*r
);
44 enum ndr_err_code
ndr_pull_USER_INFO_0(struct ndr_pull
*ndr
, int ndr_flags
, struct USER_INFO_0
*r
);
45 void ndr_print_USER_INFO_0(struct ndr_print
*ndr
, const char *name
, const struct USER_INFO_0
*r
);
46 enum ndr_err_code
ndr_push_USER_INFO_1(struct ndr_push
*ndr
, int ndr_flags
, const struct USER_INFO_1
*r
);
47 enum ndr_err_code
ndr_pull_USER_INFO_1(struct ndr_pull
*ndr
, int ndr_flags
, struct USER_INFO_1
*r
);
48 void ndr_print_USER_INFO_1(struct ndr_print
*ndr
, const char *name
, const struct USER_INFO_1
*r
);
49 enum ndr_err_code
ndr_push_NetJoinDomain(struct ndr_push
*ndr
, int flags
, const struct NetJoinDomain
*r
);
50 enum ndr_err_code
ndr_pull_NetJoinDomain(struct ndr_pull
*ndr
, int flags
, struct NetJoinDomain
*r
);
51 void ndr_print_NetJoinDomain(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetJoinDomain
*r
);
52 enum ndr_err_code
ndr_push_NetUnjoinDomain(struct ndr_push
*ndr
, int flags
, const struct NetUnjoinDomain
*r
);
53 enum ndr_err_code
ndr_pull_NetUnjoinDomain(struct ndr_pull
*ndr
, int flags
, struct NetUnjoinDomain
*r
);
54 void ndr_print_NetUnjoinDomain(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetUnjoinDomain
*r
);
55 enum ndr_err_code
ndr_push_NetGetJoinInformation(struct ndr_push
*ndr
, int flags
, const struct NetGetJoinInformation
*r
);
56 enum ndr_err_code
ndr_pull_NetGetJoinInformation(struct ndr_pull
*ndr
, int flags
, struct NetGetJoinInformation
*r
);
57 void ndr_print_NetGetJoinInformation(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetGetJoinInformation
*r
);
58 enum ndr_err_code
ndr_push_NetGetJoinableOUs(struct ndr_push
*ndr
, int flags
, const struct NetGetJoinableOUs
*r
);
59 enum ndr_err_code
ndr_pull_NetGetJoinableOUs(struct ndr_pull
*ndr
, int flags
, struct NetGetJoinableOUs
*r
);
60 void ndr_print_NetGetJoinableOUs(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetGetJoinableOUs
*r
);
61 enum ndr_err_code
ndr_push_NetServerGetInfo(struct ndr_push
*ndr
, int flags
, const struct NetServerGetInfo
*r
);
62 enum ndr_err_code
ndr_pull_NetServerGetInfo(struct ndr_pull
*ndr
, int flags
, struct NetServerGetInfo
*r
);
63 void ndr_print_NetServerGetInfo(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetServerGetInfo
*r
);
64 enum ndr_err_code
ndr_push_NetServerSetInfo(struct ndr_push
*ndr
, int flags
, const struct NetServerSetInfo
*r
);
65 enum ndr_err_code
ndr_pull_NetServerSetInfo(struct ndr_pull
*ndr
, int flags
, struct NetServerSetInfo
*r
);
66 void ndr_print_NetServerSetInfo(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetServerSetInfo
*r
);
67 enum ndr_err_code
ndr_push_NetGetDCName(struct ndr_push
*ndr
, int flags
, const struct NetGetDCName
*r
);
68 enum ndr_err_code
ndr_pull_NetGetDCName(struct ndr_pull
*ndr
, int flags
, struct NetGetDCName
*r
);
69 void ndr_print_NetGetDCName(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetGetDCName
*r
);
70 enum ndr_err_code
ndr_push_NetGetAnyDCName(struct ndr_push
*ndr
, int flags
, const struct NetGetAnyDCName
*r
);
71 enum ndr_err_code
ndr_pull_NetGetAnyDCName(struct ndr_pull
*ndr
, int flags
, struct NetGetAnyDCName
*r
);
72 void ndr_print_NetGetAnyDCName(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetGetAnyDCName
*r
);
73 enum ndr_err_code
ndr_push_DsGetDcName(struct ndr_push
*ndr
, int flags
, const struct DsGetDcName
*r
);
74 enum ndr_err_code
ndr_pull_DsGetDcName(struct ndr_pull
*ndr
, int flags
, struct DsGetDcName
*r
);
75 void ndr_print_DsGetDcName(struct ndr_print
*ndr
, const char *name
, int flags
, const struct DsGetDcName
*r
);
76 enum ndr_err_code
ndr_push_NetUserAdd(struct ndr_push
*ndr
, int flags
, const struct NetUserAdd
*r
);
77 enum ndr_err_code
ndr_pull_NetUserAdd(struct ndr_pull
*ndr
, int flags
, struct NetUserAdd
*r
);
78 void ndr_print_NetUserAdd(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetUserAdd
*r
);
79 enum ndr_err_code
ndr_push_NetUserDel(struct ndr_push
*ndr
, int flags
, const struct NetUserDel
*r
);
80 enum ndr_err_code
ndr_pull_NetUserDel(struct ndr_pull
*ndr
, int flags
, struct NetUserDel
*r
);
81 void ndr_print_NetUserDel(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetUserDel
*r
);
82 enum ndr_err_code
ndr_push_NetUserEnum(struct ndr_push
*ndr
, int flags
, const struct NetUserEnum
*r
);
83 enum ndr_err_code
ndr_pull_NetUserEnum(struct ndr_pull
*ndr
, int flags
, struct NetUserEnum
*r
);
84 void ndr_print_NetUserEnum(struct ndr_print
*ndr
, const char *name
, int flags
, const struct NetUserEnum
*r
);
85 #endif /* _HEADER_NDR_libnetapi */