git add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/...
[metze/samba/wip.git] / bin.gen_ndr / default / librpc / gen_ndr / ndr_echo_c.h
1 #include "librpc/rpc/dcerpc.h"
2 #include "bin/default/librpc/gen_ndr/echo.h"
3 #ifndef _HEADER_RPC_rpcecho
4 #define _HEADER_RPC_rpcecho
5
6 extern const struct ndr_interface_table ndr_table_rpcecho;
7
8 struct tevent_req *dcerpc_echo_AddOne_r_send(TALLOC_CTX *mem_ctx,
9         struct tevent_context *ev,
10         struct dcerpc_binding_handle *h,
11         struct echo_AddOne *r);
12 NTSTATUS dcerpc_echo_AddOne_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
13 NTSTATUS dcerpc_echo_AddOne_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct echo_AddOne *r);
14 struct tevent_req *dcerpc_echo_AddOne_send(TALLOC_CTX *mem_ctx,
15                                            struct tevent_context *ev,
16                                            struct dcerpc_binding_handle *h,
17                                            uint32_t _in_data /* [in]  */,
18                                            uint32_t *_out_data /* [out] [ref] */);
19 NTSTATUS dcerpc_echo_AddOne_recv(struct tevent_req *req,
20                                  TALLOC_CTX *mem_ctx);
21 NTSTATUS dcerpc_echo_AddOne(struct dcerpc_binding_handle *h,
22                             TALLOC_CTX *mem_ctx,
23                             uint32_t _in_data /* [in]  */,
24                             uint32_t *_out_data /* [out] [ref] */);
25
26 struct tevent_req *dcerpc_echo_EchoData_r_send(TALLOC_CTX *mem_ctx,
27         struct tevent_context *ev,
28         struct dcerpc_binding_handle *h,
29         struct echo_EchoData *r);
30 NTSTATUS dcerpc_echo_EchoData_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
31 NTSTATUS dcerpc_echo_EchoData_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct echo_EchoData *r);
32 struct tevent_req *dcerpc_echo_EchoData_send(TALLOC_CTX *mem_ctx,
33                                              struct tevent_context *ev,
34                                              struct dcerpc_binding_handle *h,
35                                              uint32_t _len /* [in]  */,
36                                              uint8_t *_in_data /* [in] [size_is(len)] */,
37                                              uint8_t *_out_data /* [out] [size_is(len)] */);
38 NTSTATUS dcerpc_echo_EchoData_recv(struct tevent_req *req,
39                                    TALLOC_CTX *mem_ctx);
40 NTSTATUS dcerpc_echo_EchoData(struct dcerpc_binding_handle *h,
41                               TALLOC_CTX *mem_ctx,
42                               uint32_t _len /* [in]  */,
43                               uint8_t *_in_data /* [in] [size_is(len)] */,
44                               uint8_t *_out_data /* [out] [size_is(len)] */);
45
46 struct tevent_req *dcerpc_echo_SinkData_r_send(TALLOC_CTX *mem_ctx,
47         struct tevent_context *ev,
48         struct dcerpc_binding_handle *h,
49         struct echo_SinkData *r);
50 NTSTATUS dcerpc_echo_SinkData_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
51 NTSTATUS dcerpc_echo_SinkData_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct echo_SinkData *r);
52 struct tevent_req *dcerpc_echo_SinkData_send(TALLOC_CTX *mem_ctx,
53                                              struct tevent_context *ev,
54                                              struct dcerpc_binding_handle *h,
55                                              uint32_t _len /* [in]  */,
56                                              uint8_t *_data /* [in] [size_is(len)] */);
57 NTSTATUS dcerpc_echo_SinkData_recv(struct tevent_req *req,
58                                    TALLOC_CTX *mem_ctx);
59 NTSTATUS dcerpc_echo_SinkData(struct dcerpc_binding_handle *h,
60                               TALLOC_CTX *mem_ctx,
61                               uint32_t _len /* [in]  */,
62                               uint8_t *_data /* [in] [size_is(len)] */);
63
64 struct tevent_req *dcerpc_echo_SourceData_r_send(TALLOC_CTX *mem_ctx,
65         struct tevent_context *ev,
66         struct dcerpc_binding_handle *h,
67         struct echo_SourceData *r);
68 NTSTATUS dcerpc_echo_SourceData_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
69 NTSTATUS dcerpc_echo_SourceData_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct echo_SourceData *r);
70 struct tevent_req *dcerpc_echo_SourceData_send(TALLOC_CTX *mem_ctx,
71                                                struct tevent_context *ev,
72                                                struct dcerpc_binding_handle *h,
73                                                uint32_t _len /* [in]  */,
74                                                uint8_t *_data /* [out] [size_is(len)] */);
75 NTSTATUS dcerpc_echo_SourceData_recv(struct tevent_req *req,
76                                      TALLOC_CTX *mem_ctx);
77 NTSTATUS dcerpc_echo_SourceData(struct dcerpc_binding_handle *h,
78                                 TALLOC_CTX *mem_ctx,
79                                 uint32_t _len /* [in]  */,
80                                 uint8_t *_data /* [out] [size_is(len)] */);
81
82 struct tevent_req *dcerpc_echo_TestCall_r_send(TALLOC_CTX *mem_ctx,
83         struct tevent_context *ev,
84         struct dcerpc_binding_handle *h,
85         struct echo_TestCall *r);
86 NTSTATUS dcerpc_echo_TestCall_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
87 NTSTATUS dcerpc_echo_TestCall_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct echo_TestCall *r);
88 struct tevent_req *dcerpc_echo_TestCall_send(TALLOC_CTX *mem_ctx,
89                                              struct tevent_context *ev,
90                                              struct dcerpc_binding_handle *h,
91                                              const char *_s1 /* [in] [ref,charset(UTF16)] */,
92                                              const char **_s2 /* [out] [ref,charset(UTF16)] */);
93 NTSTATUS dcerpc_echo_TestCall_recv(struct tevent_req *req,
94                                    TALLOC_CTX *mem_ctx);
95 NTSTATUS dcerpc_echo_TestCall(struct dcerpc_binding_handle *h,
96                               TALLOC_CTX *mem_ctx,
97                               const char *_s1 /* [in] [ref,charset(UTF16)] */,
98                               const char **_s2 /* [out] [ref,charset(UTF16)] */);
99
100 struct tevent_req *dcerpc_echo_TestCall2_r_send(TALLOC_CTX *mem_ctx,
101         struct tevent_context *ev,
102         struct dcerpc_binding_handle *h,
103         struct echo_TestCall2 *r);
104 NTSTATUS dcerpc_echo_TestCall2_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
105 NTSTATUS dcerpc_echo_TestCall2_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct echo_TestCall2 *r);
106 struct tevent_req *dcerpc_echo_TestCall2_send(TALLOC_CTX *mem_ctx,
107                                               struct tevent_context *ev,
108                                               struct dcerpc_binding_handle *h,
109                                               uint16_t _level /* [in]  */,
110                                               union echo_Info *_info /* [out] [ref,switch_is(level)] */);
111 NTSTATUS dcerpc_echo_TestCall2_recv(struct tevent_req *req,
112                                     TALLOC_CTX *mem_ctx,
113                                     NTSTATUS *result);
114 NTSTATUS dcerpc_echo_TestCall2(struct dcerpc_binding_handle *h,
115                                TALLOC_CTX *mem_ctx,
116                                uint16_t _level /* [in]  */,
117                                union echo_Info *_info /* [out] [ref,switch_is(level)] */,
118                                NTSTATUS *result);
119
120 struct tevent_req *dcerpc_echo_TestSleep_r_send(TALLOC_CTX *mem_ctx,
121         struct tevent_context *ev,
122         struct dcerpc_binding_handle *h,
123         struct echo_TestSleep *r);
124 NTSTATUS dcerpc_echo_TestSleep_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
125 NTSTATUS dcerpc_echo_TestSleep_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct echo_TestSleep *r);
126 struct tevent_req *dcerpc_echo_TestSleep_send(TALLOC_CTX *mem_ctx,
127                                               struct tevent_context *ev,
128                                               struct dcerpc_binding_handle *h,
129                                               uint32_t _seconds /* [in]  */);
130 NTSTATUS dcerpc_echo_TestSleep_recv(struct tevent_req *req,
131                                     TALLOC_CTX *mem_ctx,
132                                     uint32_t *result);
133 NTSTATUS dcerpc_echo_TestSleep(struct dcerpc_binding_handle *h,
134                                TALLOC_CTX *mem_ctx,
135                                uint32_t _seconds /* [in]  */,
136                                uint32_t *result);
137
138 struct tevent_req *dcerpc_echo_TestEnum_r_send(TALLOC_CTX *mem_ctx,
139         struct tevent_context *ev,
140         struct dcerpc_binding_handle *h,
141         struct echo_TestEnum *r);
142 NTSTATUS dcerpc_echo_TestEnum_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
143 NTSTATUS dcerpc_echo_TestEnum_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct echo_TestEnum *r);
144 struct tevent_req *dcerpc_echo_TestEnum_send(TALLOC_CTX *mem_ctx,
145                                              struct tevent_context *ev,
146                                              struct dcerpc_binding_handle *h,
147                                              enum echo_Enum1 *_foo1 /* [in,out] [ref] */,
148                                              struct echo_Enum2 *_foo2 /* [in,out] [ref] */,
149                                              union echo_Enum3 *_foo3 /* [in,out] [ref,switch_is(*foo1)] */);
150 NTSTATUS dcerpc_echo_TestEnum_recv(struct tevent_req *req,
151                                    TALLOC_CTX *mem_ctx);
152 NTSTATUS dcerpc_echo_TestEnum(struct dcerpc_binding_handle *h,
153                               TALLOC_CTX *mem_ctx,
154                               enum echo_Enum1 *_foo1 /* [in,out] [ref] */,
155                               struct echo_Enum2 *_foo2 /* [in,out] [ref] */,
156                               union echo_Enum3 *_foo3 /* [in,out] [ref,switch_is(*foo1)] */);
157
158 struct tevent_req *dcerpc_echo_TestSurrounding_r_send(TALLOC_CTX *mem_ctx,
159         struct tevent_context *ev,
160         struct dcerpc_binding_handle *h,
161         struct echo_TestSurrounding *r);
162 NTSTATUS dcerpc_echo_TestSurrounding_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
163 NTSTATUS dcerpc_echo_TestSurrounding_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct echo_TestSurrounding *r);
164 struct tevent_req *dcerpc_echo_TestSurrounding_send(TALLOC_CTX *mem_ctx,
165                                                     struct tevent_context *ev,
166                                                     struct dcerpc_binding_handle *h,
167                                                     struct echo_Surrounding *_data /* [in,out] [ref] */);
168 NTSTATUS dcerpc_echo_TestSurrounding_recv(struct tevent_req *req,
169                                           TALLOC_CTX *mem_ctx);
170 NTSTATUS dcerpc_echo_TestSurrounding(struct dcerpc_binding_handle *h,
171                                      TALLOC_CTX *mem_ctx,
172                                      struct echo_Surrounding *_data /* [in,out] [ref] */);
173
174 struct tevent_req *dcerpc_echo_TestDoublePointer_r_send(TALLOC_CTX *mem_ctx,
175         struct tevent_context *ev,
176         struct dcerpc_binding_handle *h,
177         struct echo_TestDoublePointer *r);
178 NTSTATUS dcerpc_echo_TestDoublePointer_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
179 NTSTATUS dcerpc_echo_TestDoublePointer_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct echo_TestDoublePointer *r);
180 struct tevent_req *dcerpc_echo_TestDoublePointer_send(TALLOC_CTX *mem_ctx,
181                                                       struct tevent_context *ev,
182                                                       struct dcerpc_binding_handle *h,
183                                                       uint16_t ***_data /* [in] [ref] */);
184 NTSTATUS dcerpc_echo_TestDoublePointer_recv(struct tevent_req *req,
185                                             TALLOC_CTX *mem_ctx,
186                                             uint16_t *result);
187 NTSTATUS dcerpc_echo_TestDoublePointer(struct dcerpc_binding_handle *h,
188                                        TALLOC_CTX *mem_ctx,
189                                        uint16_t ***_data /* [in] [ref] */,
190                                        uint16_t *result);
191
192 #endif /* _HEADER_RPC_rpcecho */