Line data Source code
1 : /* parser auto-generated by pidl */
2 :
3 : #include "includes.h"
4 : #include "bin/default/librpc/gen_ndr/ndr_messaging.h"
5 :
6 : #include "librpc/gen_ndr/ndr_server_id.h"
7 0 : _PUBLIC_ enum ndr_err_code ndr_push_messaging_type(struct ndr_push *ndr, ndr_flags_type ndr_flags, enum messaging_type r)
8 : {
9 0 : NDR_CHECK(ndr_push_enum_uint32(ndr, NDR_SCALARS, r));
10 0 : return NDR_ERR_SUCCESS;
11 : }
12 :
13 0 : _PUBLIC_ enum ndr_err_code ndr_pull_messaging_type(struct ndr_pull *ndr, ndr_flags_type ndr_flags, enum messaging_type *r)
14 : {
15 0 : uint32_t v;
16 0 : NDR_CHECK(ndr_pull_enum_uint32(ndr, NDR_SCALARS, &v));
17 0 : *r = v;
18 0 : return NDR_ERR_SUCCESS;
19 : }
20 :
21 0 : _PUBLIC_ void ndr_print_messaging_type(struct ndr_print *ndr, const char *name, enum messaging_type r)
22 : {
23 0 : const char *val = NULL;
24 :
25 0 : switch (r) {
26 0 : case MSG_DEBUG: val = "MSG_DEBUG"; break;
27 0 : case MSG_PING: val = "MSG_PING"; break;
28 0 : case MSG_PONG: val = "MSG_PONG"; break;
29 0 : case MSG_PROFILE: val = "MSG_PROFILE"; break;
30 0 : case MSG_REQ_DEBUGLEVEL: val = "MSG_REQ_DEBUGLEVEL"; break;
31 0 : case MSG_DEBUGLEVEL: val = "MSG_DEBUGLEVEL"; break;
32 0 : case MSG_REQ_PROFILELEVEL: val = "MSG_REQ_PROFILELEVEL"; break;
33 0 : case MSG_PROFILELEVEL: val = "MSG_PROFILELEVEL"; break;
34 0 : case MSG_REQ_POOL_USAGE: val = "MSG_REQ_POOL_USAGE"; break;
35 0 : case MSG_POOL_USAGE: val = "MSG_POOL_USAGE"; break;
36 0 : case MSG_REQ_DMALLOC_MARK: val = "MSG_REQ_DMALLOC_MARK"; break;
37 0 : case MSG_REQ_DMALLOC_LOG_CHANGED: val = "MSG_REQ_DMALLOC_LOG_CHANGED"; break;
38 0 : case MSG_SHUTDOWN: val = "MSG_SHUTDOWN"; break;
39 0 : case ID_CACHE_DELETE: val = "ID_CACHE_DELETE"; break;
40 0 : case ID_CACHE_KILL: val = "ID_CACHE_KILL"; break;
41 0 : case MSG_SMB_CONF_UPDATED: val = "MSG_SMB_CONF_UPDATED"; break;
42 0 : case MSG_RELOAD_TLS_CERTIFICATES: val = "MSG_RELOAD_TLS_CERTIFICATES"; break;
43 0 : case MSG_PREFORK_CHILD_EVENT: val = "MSG_PREFORK_CHILD_EVENT"; break;
44 0 : case MSG_PREFORK_PARENT_EVENT: val = "MSG_PREFORK_PARENT_EVENT"; break;
45 0 : case MSG_REQ_RINGBUF_LOG: val = "MSG_REQ_RINGBUF_LOG"; break;
46 0 : case MSG_RINGBUF_LOG: val = "MSG_RINGBUF_LOG"; break;
47 0 : case MSG_DAEMON_READY_FD: val = "MSG_DAEMON_READY_FD"; break;
48 0 : case MSG_FORCE_ELECTION: val = "MSG_FORCE_ELECTION"; break;
49 0 : case MSG_WINS_NEW_ENTRY: val = "MSG_WINS_NEW_ENTRY"; break;
50 0 : case MSG_SEND_PACKET: val = "MSG_SEND_PACKET"; break;
51 0 : case MSG_PRINTER_NOTIFY2: val = "MSG_PRINTER_NOTIFY2"; break;
52 0 : case MSG_PRINTER_DRVUPGRADE: val = "MSG_PRINTER_DRVUPGRADE"; break;
53 0 : case MSG_PRINTERDATA_INIT_RESET: val = "MSG_PRINTERDATA_INIT_RESET"; break;
54 0 : case MSG_PRINTER_UPDATE: val = "MSG_PRINTER_UPDATE"; break;
55 0 : case MSG_PRINTER_MOD: val = "MSG_PRINTER_MOD"; break;
56 0 : case MSG_PRINTER_PCAP: val = "MSG_PRINTER_PCAP"; break;
57 0 : case MSG_SMB_FORCE_TDIS: val = "MSG_SMB_FORCE_TDIS"; break;
58 0 : case MSG_SMB_BREAK_REQUEST: val = "MSG_SMB_BREAK_REQUEST"; break;
59 0 : case MSG_SMB_KERNEL_BREAK: val = "MSG_SMB_KERNEL_BREAK"; break;
60 0 : case MSG_SMB_FILE_RENAME: val = "MSG_SMB_FILE_RENAME"; break;
61 0 : case MSG_SMB_INJECT_FAULT: val = "MSG_SMB_INJECT_FAULT"; break;
62 0 : case MSG_SMB_BLOCKING_LOCK_CANCEL: val = "MSG_SMB_BLOCKING_LOCK_CANCEL"; break;
63 0 : case MSG_SMB_NOTIFY: val = "MSG_SMB_NOTIFY"; break;
64 0 : case MSG_PVFS_NOTIFY: val = "MSG_PVFS_NOTIFY"; break;
65 0 : case MSG_SMB_CLOSE_FILE: val = "MSG_SMB_CLOSE_FILE"; break;
66 0 : case MSG_SMB_NOTIFY_CLEANUP: val = "MSG_SMB_NOTIFY_CLEANUP"; break;
67 0 : case MSG_SMB_SCAVENGER: val = "MSG_SMB_SCAVENGER"; break;
68 0 : case MSG_SMB_KILL_CLIENT_IP: val = "MSG_SMB_KILL_CLIENT_IP"; break;
69 0 : case MSG_SMB_TELL_NUM_CHILDREN: val = "MSG_SMB_TELL_NUM_CHILDREN"; break;
70 0 : case MSG_SMB_NUM_CHILDREN: val = "MSG_SMB_NUM_CHILDREN"; break;
71 0 : case MSG_SMB_NOTIFY_CANCEL_DELETED: val = "MSG_SMB_NOTIFY_CANCEL_DELETED"; break;
72 0 : case MSG_SMB_NOTIFY_REC_CHANGE: val = "MSG_SMB_NOTIFY_REC_CHANGE"; break;
73 0 : case MSG_SMB_NOTIFY_TRIGGER: val = "MSG_SMB_NOTIFY_TRIGGER"; break;
74 0 : case MSG_SMB_NOTIFY_GET_DB: val = "MSG_SMB_NOTIFY_GET_DB"; break;
75 0 : case MSG_SMB_NOTIFY_DB: val = "MSG_SMB_NOTIFY_DB"; break;
76 0 : case MSG_SMB_NOTIFY_REC_CHANGES: val = "MSG_SMB_NOTIFY_REC_CHANGES"; break;
77 0 : case MSG_SMB_NOTIFY_STARTED: val = "MSG_SMB_NOTIFY_STARTED"; break;
78 0 : case MSG_SMB_SLEEP: val = "MSG_SMB_SLEEP"; break;
79 0 : case MSG_SMB_FORCE_TDIS_DENIED: val = "MSG_SMB_FORCE_TDIS_DENIED"; break;
80 0 : case MSG_WINBIND_FINISHED: val = "MSG_WINBIND_FINISHED"; break;
81 0 : case MSG_WINBIND_FORGET_STATE: val = "MSG_WINBIND_FORGET_STATE"; break;
82 0 : case MSG_WINBIND_ONLINE: val = "MSG_WINBIND_ONLINE"; break;
83 0 : case MSG_WINBIND_OFFLINE: val = "MSG_WINBIND_OFFLINE"; break;
84 0 : case MSG_WINBIND_ONLINESTATUS: val = "MSG_WINBIND_ONLINESTATUS"; break;
85 0 : case MSG_WINBIND_VALIDATE_CACHE: val = "MSG_WINBIND_VALIDATE_CACHE"; break;
86 0 : case MSG_WINBIND_DUMP_DOMAIN_LIST: val = "MSG_WINBIND_DUMP_DOMAIN_LIST"; break;
87 0 : case MSG_WINBIND_IP_DROPPED: val = "MSG_WINBIND_IP_DROPPED"; break;
88 0 : case MSG_WINBIND_DOMAIN_ONLINE: val = "MSG_WINBIND_DOMAIN_ONLINE"; break;
89 0 : case MSG_WINBIND_DOMAIN_OFFLINE: val = "MSG_WINBIND_DOMAIN_OFFLINE"; break;
90 0 : case MSG_WINBIND_RELOAD_TRUSTED_DOMAINS: val = "MSG_WINBIND_RELOAD_TRUSTED_DOMAINS"; break;
91 0 : case MSG_WINBIND_DISCONNECT_DC: val = "MSG_WINBIND_DISCONNECT_DC"; break;
92 0 : case MSG_SMBXSRV_SESSION_CLOSE: val = "MSG_SMBXSRV_SESSION_CLOSE"; break;
93 0 : case MSG_SMBXSRV_CONNECTION_PASS: val = "MSG_SMBXSRV_CONNECTION_PASS"; break;
94 0 : case MSG_SMBXSRV_CONNECTION_PASSED: val = "MSG_SMBXSRV_CONNECTION_PASSED"; break;
95 0 : case MSG_SMBXSRV_CONNECTION_DROP: val = "MSG_SMBXSRV_CONNECTION_DROP"; break;
96 0 : case MSG_RPCD_WITNESS_REGISTRATION_UPDATE: val = "MSG_RPCD_WITNESS_REGISTRATION_UPDATE"; break;
97 0 : case MSG_BRL_RETRY: val = "MSG_BRL_RETRY"; break;
98 0 : case MSG_PVFS_RETRY_OPEN: val = "MSG_PVFS_RETRY_OPEN"; break;
99 0 : case MSG_IRPC: val = "MSG_IRPC"; break;
100 0 : case MSG_NTVFS_OPLOCK_BREAK: val = "MSG_NTVFS_OPLOCK_BREAK"; break;
101 0 : case MSG_DREPL_ALLOCATE_RID: val = "MSG_DREPL_ALLOCATE_RID"; break;
102 0 : case MSG_AUTH_LOG: val = "MSG_AUTH_LOG"; break;
103 0 : case MSG_DSDB_LOG: val = "MSG_DSDB_LOG"; break;
104 0 : case MSG_DSDB_PWD_LOG: val = "MSG_DSDB_PWD_LOG"; break;
105 0 : case MSG_GROUP_LOG: val = "MSG_GROUP_LOG"; break;
106 0 : case MSG_DBWRAP_MODIFIED: val = "MSG_DBWRAP_MODIFIED"; break;
107 0 : case MSG_RPC_HOST_NEW_CLIENT: val = "MSG_RPC_HOST_NEW_CLIENT"; break;
108 0 : case MSG_RPC_WORKER_STATUS: val = "MSG_RPC_WORKER_STATUS"; break;
109 0 : case MSG_RPC_DUMP_STATUS: val = "MSG_RPC_DUMP_STATUS"; break;
110 0 : case MSG_TMP_BASE: val = "MSG_TMP_BASE"; break;
111 : }
112 0 : ndr_print_enum(ndr, name, "ENUM", val, r);
113 0 : }
114 :
115 0 : _PUBLIC_ enum ndr_err_code ndr_push_messaging_rec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct messaging_rec *r)
116 : {
117 0 : uint32_t cntr_fds_0;
118 0 : NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
119 0 : if (ndr_flags & NDR_SCALARS) {
120 0 : NDR_CHECK(ndr_push_align(ndr, 8));
121 : /* [skip] 'r->prev' */
122 : /* [skip] 'r->next' */
123 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->msg_version));
124 0 : NDR_CHECK(ndr_push_messaging_type(ndr, NDR_SCALARS, r->msg_type));
125 0 : NDR_CHECK(ndr_push_server_id(ndr, NDR_SCALARS, &r->dest));
126 0 : NDR_CHECK(ndr_push_server_id(ndr, NDR_SCALARS, &r->src));
127 0 : NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->buf));
128 0 : NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->num_fds));
129 0 : for (cntr_fds_0 = 0; cntr_fds_0 < (r->num_fds); cntr_fds_0++) {
130 0 : NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->fds[cntr_fds_0]));
131 : }
132 0 : NDR_CHECK(ndr_push_trailer_align(ndr, 8));
133 : }
134 0 : if (ndr_flags & NDR_BUFFERS) {
135 : /* [skip] 'r->prev' */
136 : /* [skip] 'r->next' */
137 0 : }
138 0 : return NDR_ERR_SUCCESS;
139 : }
140 :
141 0 : _PUBLIC_ enum ndr_err_code ndr_pull_messaging_rec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct messaging_rec *r)
142 : {
143 0 : uint32_t size_fds_0 = 0;
144 0 : uint32_t cntr_fds_0;
145 0 : TALLOC_CTX *_mem_save_fds_0 = NULL;
146 0 : NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
147 0 : if (ndr_flags & NDR_SCALARS) {
148 0 : NDR_CHECK(ndr_pull_align(ndr, 8));
149 : /* [skip] 'r->prev' */
150 0 : NDR_ZERO_STRUCT(r->prev);
151 : /* [skip] 'r->next' */
152 0 : NDR_ZERO_STRUCT(r->next);
153 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->msg_version));
154 0 : NDR_CHECK(ndr_pull_messaging_type(ndr, NDR_SCALARS, &r->msg_type));
155 0 : NDR_CHECK(ndr_pull_server_id(ndr, NDR_SCALARS, &r->dest));
156 0 : NDR_CHECK(ndr_pull_server_id(ndr, NDR_SCALARS, &r->src));
157 0 : NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->buf));
158 0 : NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->num_fds));
159 0 : size_fds_0 = r->num_fds;
160 0 : NDR_PULL_ALLOC_N(ndr, r->fds, size_fds_0);
161 0 : _mem_save_fds_0 = NDR_PULL_GET_MEM_CTX(ndr);
162 0 : NDR_PULL_SET_MEM_CTX(ndr, r->fds, 0);
163 0 : for (cntr_fds_0 = 0; cntr_fds_0 < (size_fds_0); cntr_fds_0++) {
164 0 : NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->fds[cntr_fds_0]));
165 : }
166 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_fds_0, 0);
167 0 : NDR_CHECK(ndr_pull_trailer_align(ndr, 8));
168 : }
169 0 : if (ndr_flags & NDR_BUFFERS) {
170 : /* [skip] 'r->prev' */
171 0 : NDR_ZERO_STRUCT(r->prev);
172 : /* [skip] 'r->next' */
173 0 : NDR_ZERO_STRUCT(r->next);
174 : }
175 0 : return NDR_ERR_SUCCESS;
176 : }
177 :
178 0 : static void ndr_print_flags_messaging_rec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct messaging_rec *r)
179 : {
180 0 : ndr_print_messaging_rec(ndr, name, r);
181 0 : }
182 :
183 0 : _PUBLIC_ void ndr_print_messaging_rec(struct ndr_print *ndr, const char *name, const struct messaging_rec *r)
184 : {
185 0 : uint32_t cntr_fds_0;
186 0 : ndr_print_struct(ndr, name, "messaging_rec");
187 0 : if (r == NULL) { ndr_print_null(ndr); return; }
188 0 : ndr->depth++;
189 0 : ndr_print_ptr(ndr, "prev", r->prev);
190 0 : ndr->depth++;
191 0 : if (r->prev) {
192 0 : ndr_print_messaging_rec(ndr, "prev", r->prev);
193 : }
194 0 : ndr->depth--;
195 0 : ndr_print_ptr(ndr, "next", r->next);
196 0 : ndr->depth++;
197 0 : if (r->next) {
198 0 : ndr_print_messaging_rec(ndr, "next", r->next);
199 : }
200 0 : ndr->depth--;
201 0 : ndr_print_uint32(ndr, "msg_version", r->msg_version);
202 0 : ndr_print_messaging_type(ndr, "msg_type", r->msg_type);
203 0 : ndr_print_server_id(ndr, "dest", &r->dest);
204 0 : ndr_print_server_id(ndr, "src", &r->src);
205 0 : ndr_print_DATA_BLOB(ndr, "buf", r->buf);
206 0 : ndr_print_uint8(ndr, "num_fds", r->num_fds);
207 0 : ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "fds", (uint32_t)(r->num_fds));
208 0 : ndr->depth++;
209 0 : for (cntr_fds_0 = 0; cntr_fds_0 < (r->num_fds); cntr_fds_0++) {
210 0 : ndr_print_dlong(ndr, "fds", r->fds[cntr_fds_0]);
211 : }
212 0 : ndr->depth--;
213 0 : ndr->depth--;
214 : }
215 :
216 0 : _PUBLIC_ enum ndr_err_code ndr_push_messaging_reclog(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct messaging_reclog *r)
217 : {
218 0 : uint32_t cntr_recs_0;
219 0 : NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
220 0 : if (ndr_flags & NDR_SCALARS) {
221 0 : NDR_CHECK(ndr_push_align(ndr, 8));
222 0 : NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->rec_index));
223 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->num_recs));
224 0 : for (cntr_recs_0 = 0; cntr_recs_0 < (r->num_recs); cntr_recs_0++) {
225 0 : NDR_CHECK(ndr_push_unique_ptr(ndr, r->recs[cntr_recs_0]));
226 : }
227 0 : NDR_CHECK(ndr_push_trailer_align(ndr, 8));
228 : }
229 0 : if (ndr_flags & NDR_BUFFERS) {
230 0 : for (cntr_recs_0 = 0; cntr_recs_0 < (r->num_recs); cntr_recs_0++) {
231 0 : if (r->recs[cntr_recs_0]) {
232 0 : NDR_CHECK(ndr_push_messaging_rec(ndr, NDR_SCALARS|NDR_BUFFERS, r->recs[cntr_recs_0]));
233 : }
234 : }
235 : }
236 0 : return NDR_ERR_SUCCESS;
237 : }
238 :
239 0 : _PUBLIC_ enum ndr_err_code ndr_pull_messaging_reclog(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct messaging_reclog *r)
240 : {
241 0 : uint32_t _ptr_recs;
242 0 : uint32_t size_recs_0 = 0;
243 0 : uint32_t cntr_recs_0;
244 0 : TALLOC_CTX *_mem_save_recs_0 = NULL;
245 0 : TALLOC_CTX *_mem_save_recs_1 = NULL;
246 0 : NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
247 0 : if (ndr_flags & NDR_SCALARS) {
248 0 : NDR_CHECK(ndr_pull_align(ndr, 8));
249 0 : NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->rec_index));
250 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->num_recs));
251 0 : size_recs_0 = r->num_recs;
252 0 : NDR_PULL_ALLOC_N(ndr, r->recs, size_recs_0);
253 0 : _mem_save_recs_0 = NDR_PULL_GET_MEM_CTX(ndr);
254 0 : NDR_PULL_SET_MEM_CTX(ndr, r->recs, 0);
255 0 : for (cntr_recs_0 = 0; cntr_recs_0 < (size_recs_0); cntr_recs_0++) {
256 0 : NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_recs));
257 0 : if (_ptr_recs) {
258 0 : NDR_PULL_ALLOC(ndr, r->recs[cntr_recs_0]);
259 : } else {
260 0 : r->recs[cntr_recs_0] = NULL;
261 : }
262 : }
263 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_recs_0, 0);
264 0 : NDR_CHECK(ndr_pull_trailer_align(ndr, 8));
265 : }
266 0 : if (ndr_flags & NDR_BUFFERS) {
267 0 : size_recs_0 = r->num_recs;
268 0 : _mem_save_recs_0 = NDR_PULL_GET_MEM_CTX(ndr);
269 0 : NDR_PULL_SET_MEM_CTX(ndr, r->recs, 0);
270 0 : for (cntr_recs_0 = 0; cntr_recs_0 < (size_recs_0); cntr_recs_0++) {
271 0 : if (r->recs[cntr_recs_0]) {
272 0 : _mem_save_recs_1 = NDR_PULL_GET_MEM_CTX(ndr);
273 0 : NDR_PULL_SET_MEM_CTX(ndr, r->recs[cntr_recs_0], 0);
274 0 : NDR_CHECK(ndr_pull_messaging_rec(ndr, NDR_SCALARS|NDR_BUFFERS, r->recs[cntr_recs_0]));
275 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_recs_1, 0);
276 : }
277 : }
278 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_recs_0, 0);
279 0 : for (cntr_recs_0 = 0; cntr_recs_0 < (size_recs_0); cntr_recs_0++) {
280 : }
281 : }
282 0 : return NDR_ERR_SUCCESS;
283 : }
284 :
285 0 : static void ndr_print_flags_messaging_reclog(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct messaging_reclog *r)
286 : {
287 0 : ndr_print_messaging_reclog(ndr, name, r);
288 0 : }
289 :
290 0 : _PUBLIC_ void ndr_print_messaging_reclog(struct ndr_print *ndr, const char *name, const struct messaging_reclog *r)
291 : {
292 0 : uint32_t cntr_recs_0;
293 0 : ndr_print_struct(ndr, name, "messaging_reclog");
294 0 : if (r == NULL) { ndr_print_null(ndr); return; }
295 0 : ndr->depth++;
296 0 : ndr_print_hyper(ndr, "rec_index", r->rec_index);
297 0 : ndr_print_uint32(ndr, "num_recs", r->num_recs);
298 0 : ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "recs", (uint32_t)(r->num_recs));
299 0 : ndr->depth++;
300 0 : for (cntr_recs_0 = 0; cntr_recs_0 < (r->num_recs); cntr_recs_0++) {
301 0 : ndr_print_ptr(ndr, "recs", r->recs[cntr_recs_0]);
302 0 : ndr->depth++;
303 0 : if (r->recs[cntr_recs_0]) {
304 0 : ndr_print_messaging_rec(ndr, "recs", r->recs[cntr_recs_0]);
305 : }
306 0 : ndr->depth--;
307 : }
308 0 : ndr->depth--;
309 0 : ndr->depth--;
310 : }
311 :
312 : #ifndef SKIP_NDR_TABLE_messaging
313 : static const struct ndr_interface_public_struct messaging_public_structs[] = {
314 : {
315 : .name = "messaging_rec",
316 : .struct_size = sizeof(struct messaging_rec ),
317 : .ndr_push = (ndr_push_flags_fn_t) ndr_push_messaging_rec,
318 : .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_messaging_rec,
319 : .ndr_print = (ndr_print_function_t) ndr_print_flags_messaging_rec,
320 : },
321 : {
322 : .name = "messaging_reclog",
323 : .struct_size = sizeof(struct messaging_reclog ),
324 : .ndr_push = (ndr_push_flags_fn_t) ndr_push_messaging_reclog,
325 : .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_messaging_reclog,
326 : .ndr_print = (ndr_print_function_t) ndr_print_flags_messaging_reclog,
327 : },
328 : { .name = NULL }
329 : };
330 :
331 : static const struct ndr_interface_call messaging_calls[] = {
332 : { .name = NULL }
333 : };
334 :
335 : static const char * const messaging_endpoint_strings[] = {
336 : "ncacn_np:[\\pipe\\messaging]",
337 : };
338 :
339 : static const struct ndr_interface_string_array messaging_endpoints = {
340 : .count = 1,
341 : .names = messaging_endpoint_strings
342 : };
343 :
344 : static const char * const messaging_authservice_strings[] = {
345 : "host",
346 : };
347 :
348 : static const struct ndr_interface_string_array messaging_authservices = {
349 : .count = 1,
350 : .names = messaging_authservice_strings
351 : };
352 :
353 :
354 : const struct ndr_interface_table ndr_table_messaging = {
355 : .name = "messaging",
356 : .num_calls = 0,
357 : .calls = messaging_calls,
358 : .num_public_structs = 2,
359 : .public_structs = messaging_public_structs,
360 : .endpoints = &messaging_endpoints,
361 : .authservices = &messaging_authservices
362 : };
363 :
364 : #endif /* SKIP_NDR_TABLE_messaging */
|