s3-libads: Use a reducing page size to try and cope with a slow LDAP server
[Samba.git] / librpc / gen_ndr / cli_epmapper.h
blob285a9d9833e3429eab5e3709a03efe5f3adb2326
1 #include "../librpc/gen_ndr/ndr_epmapper.h"
2 #ifndef __CLI_EPMAPPER__
3 #define __CLI_EPMAPPER__
4 struct tevent_req *rpccli_epm_Insert_send(TALLOC_CTX *mem_ctx,
5 struct tevent_context *ev,
6 struct rpc_pipe_client *cli,
7 uint32_t _num_ents /* [in] */,
8 struct epm_entry_t *_entries /* [in] [size_is(num_ents)] */,
9 uint32_t _replace /* [in] */);
10 NTSTATUS rpccli_epm_Insert_recv(struct tevent_req *req,
11 TALLOC_CTX *mem_ctx,
12 uint32 *result);
13 NTSTATUS rpccli_epm_Insert(struct rpc_pipe_client *cli,
14 TALLOC_CTX *mem_ctx,
15 uint32_t num_ents /* [in] */,
16 struct epm_entry_t *entries /* [in] [size_is(num_ents)] */,
17 uint32_t replace /* [in] */);
18 struct tevent_req *rpccli_epm_Delete_send(TALLOC_CTX *mem_ctx,
19 struct tevent_context *ev,
20 struct rpc_pipe_client *cli,
21 uint32_t _num_ents /* [in] */,
22 struct epm_entry_t *_entries /* [in] [size_is(num_ents)] */);
23 NTSTATUS rpccli_epm_Delete_recv(struct tevent_req *req,
24 TALLOC_CTX *mem_ctx,
25 uint32 *result);
26 NTSTATUS rpccli_epm_Delete(struct rpc_pipe_client *cli,
27 TALLOC_CTX *mem_ctx,
28 uint32_t num_ents /* [in] */,
29 struct epm_entry_t *entries /* [in] [size_is(num_ents)] */);
30 struct tevent_req *rpccli_epm_Lookup_send(TALLOC_CTX *mem_ctx,
31 struct tevent_context *ev,
32 struct rpc_pipe_client *cli,
33 uint32_t _inquiry_type /* [in] */,
34 struct GUID *_object /* [in] [ptr] */,
35 struct rpc_if_id_t *_interface_id /* [in] [ptr] */,
36 uint32_t _vers_option /* [in] */,
37 struct policy_handle *_entry_handle /* [in,out] [ref] */,
38 uint32_t _max_ents /* [in] */,
39 uint32_t *_num_ents /* [out] [ref] */,
40 struct epm_entry_t *_entries /* [out] [length_is(*num_ents),size_is(max_ents)] */);
41 NTSTATUS rpccli_epm_Lookup_recv(struct tevent_req *req,
42 TALLOC_CTX *mem_ctx,
43 uint32 *result);
44 NTSTATUS rpccli_epm_Lookup(struct rpc_pipe_client *cli,
45 TALLOC_CTX *mem_ctx,
46 uint32_t inquiry_type /* [in] */,
47 struct GUID *object /* [in] [ptr] */,
48 struct rpc_if_id_t *interface_id /* [in] [ptr] */,
49 uint32_t vers_option /* [in] */,
50 struct policy_handle *entry_handle /* [in,out] [ref] */,
51 uint32_t max_ents /* [in] */,
52 uint32_t *num_ents /* [out] [ref] */,
53 struct epm_entry_t *entries /* [out] [length_is(*num_ents),size_is(max_ents)] */);
54 struct tevent_req *rpccli_epm_Map_send(TALLOC_CTX *mem_ctx,
55 struct tevent_context *ev,
56 struct rpc_pipe_client *cli,
57 struct GUID *_object /* [in] [ptr] */,
58 struct epm_twr_t *_map_tower /* [in] [ptr] */,
59 struct policy_handle *_entry_handle /* [in,out] [ref] */,
60 uint32_t _max_towers /* [in] */,
61 uint32_t *_num_towers /* [out] [ref] */,
62 struct epm_twr_p_t *_towers /* [out] [length_is(*num_towers),size_is(max_towers)] */);
63 NTSTATUS rpccli_epm_Map_recv(struct tevent_req *req,
64 TALLOC_CTX *mem_ctx,
65 uint32 *result);
66 NTSTATUS rpccli_epm_Map(struct rpc_pipe_client *cli,
67 TALLOC_CTX *mem_ctx,
68 struct GUID *object /* [in] [ptr] */,
69 struct epm_twr_t *map_tower /* [in] [ptr] */,
70 struct policy_handle *entry_handle /* [in,out] [ref] */,
71 uint32_t max_towers /* [in] */,
72 uint32_t *num_towers /* [out] [ref] */,
73 struct epm_twr_p_t *towers /* [out] [length_is(*num_towers),size_is(max_towers)] */);
74 struct tevent_req *rpccli_epm_LookupHandleFree_send(TALLOC_CTX *mem_ctx,
75 struct tevent_context *ev,
76 struct rpc_pipe_client *cli,
77 struct policy_handle *_entry_handle /* [in,out] [ref] */);
78 NTSTATUS rpccli_epm_LookupHandleFree_recv(struct tevent_req *req,
79 TALLOC_CTX *mem_ctx,
80 uint32 *result);
81 NTSTATUS rpccli_epm_LookupHandleFree(struct rpc_pipe_client *cli,
82 TALLOC_CTX *mem_ctx,
83 struct policy_handle *entry_handle /* [in,out] [ref] */);
84 struct tevent_req *rpccli_epm_InqObject_send(TALLOC_CTX *mem_ctx,
85 struct tevent_context *ev,
86 struct rpc_pipe_client *cli,
87 struct GUID *_epm_object /* [in] [ref] */);
88 NTSTATUS rpccli_epm_InqObject_recv(struct tevent_req *req,
89 TALLOC_CTX *mem_ctx,
90 uint32 *result);
91 NTSTATUS rpccli_epm_InqObject(struct rpc_pipe_client *cli,
92 TALLOC_CTX *mem_ctx,
93 struct GUID *epm_object /* [in] [ref] */);
94 struct tevent_req *rpccli_epm_MgmtDelete_send(TALLOC_CTX *mem_ctx,
95 struct tevent_context *ev,
96 struct rpc_pipe_client *cli,
97 uint32_t _object_speced /* [in] */,
98 struct GUID *_object /* [in] [ptr] */,
99 struct epm_twr_t *_tower /* [in] [ptr] */);
100 NTSTATUS rpccli_epm_MgmtDelete_recv(struct tevent_req *req,
101 TALLOC_CTX *mem_ctx,
102 uint32 *result);
103 NTSTATUS rpccli_epm_MgmtDelete(struct rpc_pipe_client *cli,
104 TALLOC_CTX *mem_ctx,
105 uint32_t object_speced /* [in] */,
106 struct GUID *object /* [in] [ptr] */,
107 struct epm_twr_t *tower /* [in] [ptr] */);
108 struct tevent_req *rpccli_epm_MapAuth_send(TALLOC_CTX *mem_ctx,
109 struct tevent_context *ev,
110 struct rpc_pipe_client *cli);
111 NTSTATUS rpccli_epm_MapAuth_recv(struct tevent_req *req,
112 TALLOC_CTX *mem_ctx,
113 uint32 *result);
114 NTSTATUS rpccli_epm_MapAuth(struct rpc_pipe_client *cli,
115 TALLOC_CTX *mem_ctx);
116 #endif /* __CLI_EPMAPPER__ */