1 /* header auto-generated by pidl */
3 #include "librpc/ndr/libndr.h"
4 #include "librpc/gen_ndr/wbint.h"
6 #ifndef _HEADER_NDR_wbint
7 #define _HEADER_NDR_wbint
9 #define NDR_WBINT_UUID "bf09192c-ed60-4928-9dff-d0d7bcb03ed8"
10 #define NDR_WBINT_VERSION 1.0
11 #define NDR_WBINT_NAME "wbint"
12 #define NDR_WBINT_HELPSTRING "winbind parent-child protocol"
13 extern const struct ndr_interface_table ndr_table_wbint
;
14 #define NDR_WBINT_PING (0x00)
16 #define NDR_WBINT_LOOKUPSID (0x01)
18 #define NDR_WBINT_LOOKUPNAME (0x02)
20 #define NDR_WBINT_SID2UID (0x03)
22 #define NDR_WBINT_SID2GID (0x04)
24 #define NDR_WBINT_UID2SID (0x05)
26 #define NDR_WBINT_GID2SID (0x06)
28 #define NDR_WBINT_ALLOCATEUID (0x07)
30 #define NDR_WBINT_ALLOCATEGID (0x08)
32 #define NDR_WBINT_QUERYUSER (0x09)
34 #define NDR_WBINT_LOOKUPUSERALIASES (0x0a)
36 #define NDR_WBINT_LOOKUPUSERGROUPS (0x0b)
38 #define NDR_WBINT_QUERYSEQUENCENUMBER (0x0c)
40 #define NDR_WBINT_LOOKUPGROUPMEMBERS (0x0d)
42 #define NDR_WBINT_QUERYUSERLIST (0x0e)
44 #define NDR_WBINT_QUERYGROUPLIST (0x0f)
46 #define NDR_WBINT_DSGETDCNAME (0x10)
48 #define NDR_WBINT_LOOKUPRIDS (0x11)
50 #define NDR_WBINT_CHECKMACHINEACCOUNT (0x12)
52 #define NDR_WBINT_CHANGEMACHINEACCOUNT (0x13)
54 #define NDR_WBINT_PINGDC (0x14)
56 #define NDR_WBINT_SETMAPPING (0x15)
58 #define NDR_WBINT_REMOVEMAPPING (0x16)
60 #define NDR_WBINT_SETHWM (0x17)
62 #define NDR_WBINT_CALL_COUNT (24)
63 enum ndr_err_code
ndr_push_wbint_userinfo(struct ndr_push
*ndr
, int ndr_flags
, const struct wbint_userinfo
*r
);
64 enum ndr_err_code
ndr_pull_wbint_userinfo(struct ndr_pull
*ndr
, int ndr_flags
, struct wbint_userinfo
*r
);
65 void ndr_print_wbint_userinfo(struct ndr_print
*ndr
, const char *name
, const struct wbint_userinfo
*r
);
66 enum ndr_err_code
ndr_push_wbint_SidArray(struct ndr_push
*ndr
, int ndr_flags
, const struct wbint_SidArray
*r
);
67 enum ndr_err_code
ndr_pull_wbint_SidArray(struct ndr_pull
*ndr
, int ndr_flags
, struct wbint_SidArray
*r
);
68 void ndr_print_wbint_SidArray(struct ndr_print
*ndr
, const char *name
, const struct wbint_SidArray
*r
);
69 enum ndr_err_code
ndr_push_wbint_RidArray(struct ndr_push
*ndr
, int ndr_flags
, const struct wbint_RidArray
*r
);
70 enum ndr_err_code
ndr_pull_wbint_RidArray(struct ndr_pull
*ndr
, int ndr_flags
, struct wbint_RidArray
*r
);
71 void ndr_print_wbint_RidArray(struct ndr_print
*ndr
, const char *name
, const struct wbint_RidArray
*r
);
72 enum ndr_err_code
ndr_push_wbint_Principal(struct ndr_push
*ndr
, int ndr_flags
, const struct wbint_Principal
*r
);
73 enum ndr_err_code
ndr_pull_wbint_Principal(struct ndr_pull
*ndr
, int ndr_flags
, struct wbint_Principal
*r
);
74 void ndr_print_wbint_Principal(struct ndr_print
*ndr
, const char *name
, const struct wbint_Principal
*r
);
75 enum ndr_err_code
ndr_push_wbint_Principals(struct ndr_push
*ndr
, int ndr_flags
, const struct wbint_Principals
*r
);
76 enum ndr_err_code
ndr_pull_wbint_Principals(struct ndr_pull
*ndr
, int ndr_flags
, struct wbint_Principals
*r
);
77 void ndr_print_wbint_Principals(struct ndr_print
*ndr
, const char *name
, const struct wbint_Principals
*r
);
78 enum ndr_err_code
ndr_push_wbint_userinfos(struct ndr_push
*ndr
, int ndr_flags
, const struct wbint_userinfos
*r
);
79 enum ndr_err_code
ndr_pull_wbint_userinfos(struct ndr_pull
*ndr
, int ndr_flags
, struct wbint_userinfos
*r
);
80 void ndr_print_wbint_userinfos(struct ndr_print
*ndr
, const char *name
, const struct wbint_userinfos
*r
);
81 enum ndr_err_code
ndr_push_wbint_IdType(struct ndr_push
*ndr
, int ndr_flags
, enum wbint_IdType r
);
82 enum ndr_err_code
ndr_pull_wbint_IdType(struct ndr_pull
*ndr
, int ndr_flags
, enum wbint_IdType
*r
);
83 void ndr_print_wbint_IdType(struct ndr_print
*ndr
, const char *name
, enum wbint_IdType r
);
84 void ndr_print_wbint_Ping(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Ping
*r
);
85 void ndr_print_wbint_LookupSid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_LookupSid
*r
);
86 void ndr_print_wbint_LookupName(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_LookupName
*r
);
87 void ndr_print_wbint_Sid2Uid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Sid2Uid
*r
);
88 void ndr_print_wbint_Sid2Gid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Sid2Gid
*r
);
89 void ndr_print_wbint_Uid2Sid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Uid2Sid
*r
);
90 void ndr_print_wbint_Gid2Sid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Gid2Sid
*r
);
91 void ndr_print_wbint_AllocateUid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_AllocateUid
*r
);
92 void ndr_print_wbint_AllocateGid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_AllocateGid
*r
);
93 void ndr_print_wbint_QueryUser(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_QueryUser
*r
);
94 void ndr_print_wbint_LookupUserAliases(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_LookupUserAliases
*r
);
95 void ndr_print_wbint_LookupUserGroups(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_LookupUserGroups
*r
);
96 void ndr_print_wbint_QuerySequenceNumber(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_QuerySequenceNumber
*r
);
97 void ndr_print_wbint_LookupGroupMembers(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_LookupGroupMembers
*r
);
98 void ndr_print_wbint_QueryUserList(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_QueryUserList
*r
);
99 void ndr_print_wbint_QueryGroupList(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_QueryGroupList
*r
);
100 void ndr_print_wbint_DsGetDcName(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_DsGetDcName
*r
);
101 void ndr_print_wbint_LookupRids(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_LookupRids
*r
);
102 void ndr_print_wbint_CheckMachineAccount(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_CheckMachineAccount
*r
);
103 void ndr_print_wbint_ChangeMachineAccount(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_ChangeMachineAccount
*r
);
104 void ndr_print_wbint_PingDc(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_PingDc
*r
);
105 void ndr_print_wbint_SetMapping(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_SetMapping
*r
);
106 void ndr_print_wbint_RemoveMapping(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_RemoveMapping
*r
);
107 void ndr_print_wbint_SetHWM(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_SetHWM
*r
);
108 #endif /* _HEADER_NDR_wbint */