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_CALL_COUNT (8)
31 enum ndr_err_code
ndr_push_wbint_userinfo(struct ndr_push
*ndr
, int ndr_flags
, const struct wbint_userinfo
*r
);
32 enum ndr_err_code
ndr_pull_wbint_userinfo(struct ndr_pull
*ndr
, int ndr_flags
, struct wbint_userinfo
*r
);
33 void ndr_print_wbint_userinfo(struct ndr_print
*ndr
, const char *name
, const struct wbint_userinfo
*r
);
34 void ndr_print_wbint_Ping(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Ping
*r
);
35 void ndr_print_wbint_LookupSid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_LookupSid
*r
);
36 void ndr_print_wbint_LookupName(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_LookupName
*r
);
37 void ndr_print_wbint_Sid2Uid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Sid2Uid
*r
);
38 void ndr_print_wbint_Sid2Gid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Sid2Gid
*r
);
39 void ndr_print_wbint_Uid2Sid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Uid2Sid
*r
);
40 void ndr_print_wbint_Gid2Sid(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_Gid2Sid
*r
);
41 void ndr_print_wbint_QueryUser(struct ndr_print
*ndr
, const char *name
, int flags
, const struct wbint_QueryUser
*r
);
42 #endif /* _HEADER_NDR_wbint */