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_QUERYUSER (0x07)
30 #define NDR_WBINT_LOOKUPUSERALIASES (0x08)
32 #define NDR_WBINT_LOOKUPUSERGROUPS (0x09)
34 #define NDR_WBINT_CALL_COUNT (10)
35 enum ndr_err_code
ndr_push_wbint_userinfo(struct ndr_push
*ndr
, int ndr_flags
, const struct wbint_userinfo
*r
);
36 enum ndr_err_code
ndr_pull_wbint_userinfo(struct ndr_pull
*ndr
, int ndr_flags
, struct wbint_userinfo
*r
);
37 void ndr_print_wbint_userinfo(struct ndr_print
*ndr
, const char *name
, const struct wbint_userinfo
*r
);
38 enum ndr_err_code
ndr_push_wbint_SidArray(struct ndr_push
*ndr
, int ndr_flags
, const struct wbint_SidArray
*r
);
39 enum ndr_err_code
ndr_pull_wbint_SidArray(struct ndr_pull
*ndr
, int ndr_flags
, struct wbint_SidArray
*r
);
40 void ndr_print_wbint_SidArray(struct ndr_print
*ndr
, const char *name
, const struct wbint_SidArray
*r
);
41 enum ndr_err_code
ndr_push_wbint_RidArray(struct ndr_push
*ndr
, int ndr_flags
, const struct wbint_RidArray
*r
);
42 enum ndr_err_code
ndr_pull_wbint_RidArray(struct ndr_pull
*ndr
, int ndr_flags
, struct wbint_RidArray
*r
);
43 void ndr_print_wbint_RidArray(struct ndr_print
*ndr
, const char *name
, const struct wbint_RidArray
*r
);
44 void ndr_print_wbint_Ping(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Ping
*r
);
45 void ndr_print_wbint_LookupSid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_LookupSid
*r
);
46 void ndr_print_wbint_LookupName(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_LookupName
*r
);
47 void ndr_print_wbint_Sid2Uid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Sid2Uid
*r
);
48 void ndr_print_wbint_Sid2Gid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Sid2Gid
*r
);
49 void ndr_print_wbint_Uid2Sid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Uid2Sid
*r
);
50 void ndr_print_wbint_Gid2Sid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Gid2Sid
*r
);
51 void ndr_print_wbint_QueryUser(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_QueryUser
*r
);
52 void ndr_print_wbint_LookupUserAliases(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_LookupUserAliases
*r
);
53 void ndr_print_wbint_LookupUserGroups(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_LookupUserGroups
*r
);
54 #endif /* _HEADER_NDR_wbint */