e9927c1c3589d3ddf9badc8bf52b2f4c2284d45e
[metze/samba/wip.git] / source3 / librpc / gen_ndr / cli_wbint.h
1 #include "librpc/gen_ndr/ndr_wbint.h"
2 #ifndef __CLI_WBINT__
3 #define __CLI_WBINT__
4 struct tevent_req *rpccli_wbint_Ping_send(TALLOC_CTX *mem_ctx,
5                                           struct tevent_context *ev,
6                                           struct rpc_pipe_client *cli,
7                                           uint32_t _in_data /* [in]  */,
8                                           uint32_t *_out_data /* [out] [ref] */);
9 NTSTATUS rpccli_wbint_Ping_recv(struct tevent_req *req,
10                                 TALLOC_CTX *mem_ctx);
11 NTSTATUS rpccli_wbint_Ping(struct rpc_pipe_client *cli,
12                            TALLOC_CTX *mem_ctx,
13                            uint32_t in_data /* [in]  */,
14                            uint32_t *out_data /* [out] [ref] */);
15 struct tevent_req *rpccli_wbint_LookupSid_send(TALLOC_CTX *mem_ctx,
16                                                struct tevent_context *ev,
17                                                struct rpc_pipe_client *cli,
18                                                struct dom_sid *_sid /* [in] [ref] */,
19                                                enum lsa_SidType *_type /* [out] [ref] */,
20                                                const char **_domain /* [out] [ref,charset(UTF8)] */,
21                                                const char **_name /* [out] [ref,charset(UTF8)] */);
22 NTSTATUS rpccli_wbint_LookupSid_recv(struct tevent_req *req,
23                                      TALLOC_CTX *mem_ctx,
24                                      NTSTATUS *result);
25 NTSTATUS rpccli_wbint_LookupSid(struct rpc_pipe_client *cli,
26                                 TALLOC_CTX *mem_ctx,
27                                 struct dom_sid *sid /* [in] [ref] */,
28                                 enum lsa_SidType *type /* [out] [ref] */,
29                                 const char **domain /* [out] [ref,charset(UTF8)] */,
30                                 const char **name /* [out] [ref,charset(UTF8)] */);
31 struct tevent_req *rpccli_wbint_LookupName_send(TALLOC_CTX *mem_ctx,
32                                                 struct tevent_context *ev,
33                                                 struct rpc_pipe_client *cli,
34                                                 const char *_domain /* [in] [ref,charset(UTF8)] */,
35                                                 const char *_name /* [in] [ref,charset(UTF8)] */,
36                                                 uint32_t _flags /* [in]  */,
37                                                 enum lsa_SidType *_type /* [out] [ref] */,
38                                                 struct dom_sid *_sid /* [out] [ref] */);
39 NTSTATUS rpccli_wbint_LookupName_recv(struct tevent_req *req,
40                                       TALLOC_CTX *mem_ctx,
41                                       NTSTATUS *result);
42 NTSTATUS rpccli_wbint_LookupName(struct rpc_pipe_client *cli,
43                                  TALLOC_CTX *mem_ctx,
44                                  const char *domain /* [in] [ref,charset(UTF8)] */,
45                                  const char *name /* [in] [ref,charset(UTF8)] */,
46                                  uint32_t flags /* [in]  */,
47                                  enum lsa_SidType *type /* [out] [ref] */,
48                                  struct dom_sid *sid /* [out] [ref] */);
49 struct tevent_req *rpccli_wbint_Sid2Uid_send(TALLOC_CTX *mem_ctx,
50                                              struct tevent_context *ev,
51                                              struct rpc_pipe_client *cli,
52                                              const char *_dom_name /* [in] [unique,charset(UTF8)] */,
53                                              struct dom_sid *_sid /* [in] [ref] */,
54                                              uint64_t *_uid /* [out] [ref] */);
55 NTSTATUS rpccli_wbint_Sid2Uid_recv(struct tevent_req *req,
56                                    TALLOC_CTX *mem_ctx,
57                                    NTSTATUS *result);
58 NTSTATUS rpccli_wbint_Sid2Uid(struct rpc_pipe_client *cli,
59                               TALLOC_CTX *mem_ctx,
60                               const char *dom_name /* [in] [unique,charset(UTF8)] */,
61                               struct dom_sid *sid /* [in] [ref] */,
62                               uint64_t *uid /* [out] [ref] */);
63 struct tevent_req *rpccli_wbint_Sid2Gid_send(TALLOC_CTX *mem_ctx,
64                                              struct tevent_context *ev,
65                                              struct rpc_pipe_client *cli,
66                                              const char *_dom_name /* [in] [unique,charset(UTF8)] */,
67                                              struct dom_sid *_sid /* [in] [ref] */,
68                                              uint64_t *_gid /* [out] [ref] */);
69 NTSTATUS rpccli_wbint_Sid2Gid_recv(struct tevent_req *req,
70                                    TALLOC_CTX *mem_ctx,
71                                    NTSTATUS *result);
72 NTSTATUS rpccli_wbint_Sid2Gid(struct rpc_pipe_client *cli,
73                               TALLOC_CTX *mem_ctx,
74                               const char *dom_name /* [in] [unique,charset(UTF8)] */,
75                               struct dom_sid *sid /* [in] [ref] */,
76                               uint64_t *gid /* [out] [ref] */);
77 struct tevent_req *rpccli_wbint_Uid2Sid_send(TALLOC_CTX *mem_ctx,
78                                              struct tevent_context *ev,
79                                              struct rpc_pipe_client *cli,
80                                              const char *_dom_name /* [in] [unique,charset(UTF8)] */,
81                                              uint64_t _uid /* [in]  */,
82                                              struct dom_sid *_sid /* [out] [ref] */);
83 NTSTATUS rpccli_wbint_Uid2Sid_recv(struct tevent_req *req,
84                                    TALLOC_CTX *mem_ctx,
85                                    NTSTATUS *result);
86 NTSTATUS rpccli_wbint_Uid2Sid(struct rpc_pipe_client *cli,
87                               TALLOC_CTX *mem_ctx,
88                               const char *dom_name /* [in] [unique,charset(UTF8)] */,
89                               uint64_t uid /* [in]  */,
90                               struct dom_sid *sid /* [out] [ref] */);
91 struct tevent_req *rpccli_wbint_Gid2Sid_send(TALLOC_CTX *mem_ctx,
92                                              struct tevent_context *ev,
93                                              struct rpc_pipe_client *cli,
94                                              const char *_dom_name /* [in] [unique,charset(UTF8)] */,
95                                              uint64_t _gid /* [in]  */,
96                                              struct dom_sid *_sid /* [out] [ref] */);
97 NTSTATUS rpccli_wbint_Gid2Sid_recv(struct tevent_req *req,
98                                    TALLOC_CTX *mem_ctx,
99                                    NTSTATUS *result);
100 NTSTATUS rpccli_wbint_Gid2Sid(struct rpc_pipe_client *cli,
101                               TALLOC_CTX *mem_ctx,
102                               const char *dom_name /* [in] [unique,charset(UTF8)] */,
103                               uint64_t gid /* [in]  */,
104                               struct dom_sid *sid /* [out] [ref] */);
105 struct tevent_req *rpccli_wbint_QueryUser_send(TALLOC_CTX *mem_ctx,
106                                                struct tevent_context *ev,
107                                                struct rpc_pipe_client *cli,
108                                                struct dom_sid *_sid /* [in] [ref] */,
109                                                struct wbint_userinfo *_info /* [out] [ref] */);
110 NTSTATUS rpccli_wbint_QueryUser_recv(struct tevent_req *req,
111                                      TALLOC_CTX *mem_ctx,
112                                      NTSTATUS *result);
113 NTSTATUS rpccli_wbint_QueryUser(struct rpc_pipe_client *cli,
114                                 TALLOC_CTX *mem_ctx,
115                                 struct dom_sid *sid /* [in] [ref] */,
116                                 struct wbint_userinfo *info /* [out] [ref] */);
117 struct tevent_req *rpccli_wbint_LookupUserAliases_send(TALLOC_CTX *mem_ctx,
118                                                        struct tevent_context *ev,
119                                                        struct rpc_pipe_client *cli,
120                                                        struct wbint_SidArray *_sids /* [in] [ref] */,
121                                                        struct wbint_RidArray *_rids /* [out] [ref] */);
122 NTSTATUS rpccli_wbint_LookupUserAliases_recv(struct tevent_req *req,
123                                              TALLOC_CTX *mem_ctx,
124                                              NTSTATUS *result);
125 NTSTATUS rpccli_wbint_LookupUserAliases(struct rpc_pipe_client *cli,
126                                         TALLOC_CTX *mem_ctx,
127                                         struct wbint_SidArray *sids /* [in] [ref] */,
128                                         struct wbint_RidArray *rids /* [out] [ref] */);
129 struct tevent_req *rpccli_wbint_LookupUserGroups_send(TALLOC_CTX *mem_ctx,
130                                                       struct tevent_context *ev,
131                                                       struct rpc_pipe_client *cli,
132                                                       struct dom_sid *_sid /* [in] [ref] */,
133                                                       struct wbint_SidArray *_sids /* [out] [ref] */);
134 NTSTATUS rpccli_wbint_LookupUserGroups_recv(struct tevent_req *req,
135                                             TALLOC_CTX *mem_ctx,
136                                             NTSTATUS *result);
137 NTSTATUS rpccli_wbint_LookupUserGroups(struct rpc_pipe_client *cli,
138                                        TALLOC_CTX *mem_ctx,
139                                        struct dom_sid *sid /* [in] [ref] */,
140                                        struct wbint_SidArray *sids /* [out] [ref] */);
141 #endif /* __CLI_WBINT__ */