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_SMB_IP_DROPPED: val = "MSG_SMB_IP_DROPPED"; break;
81 0 : case MSG_WINBIND_FINISHED: val = "MSG_WINBIND_FINISHED"; break;
82 0 : case MSG_WINBIND_FORGET_STATE: val = "MSG_WINBIND_FORGET_STATE"; break;
83 0 : case MSG_WINBIND_ONLINE: val = "MSG_WINBIND_ONLINE"; break;
84 0 : case MSG_WINBIND_OFFLINE: val = "MSG_WINBIND_OFFLINE"; break;
85 0 : case MSG_WINBIND_ONLINESTATUS: val = "MSG_WINBIND_ONLINESTATUS"; break;
86 0 : case MSG_WINBIND_VALIDATE_CACHE: val = "MSG_WINBIND_VALIDATE_CACHE"; break;
87 0 : case MSG_WINBIND_DUMP_DOMAIN_LIST: val = "MSG_WINBIND_DUMP_DOMAIN_LIST"; break;
88 0 : case MSG_WINBIND_IP_DROPPED: val = "MSG_WINBIND_IP_DROPPED"; break;
89 0 : case MSG_WINBIND_DOMAIN_ONLINE: val = "MSG_WINBIND_DOMAIN_ONLINE"; break;
90 0 : case MSG_WINBIND_DOMAIN_OFFLINE: val = "MSG_WINBIND_DOMAIN_OFFLINE"; break;
91 0 : case MSG_WINBIND_RELOAD_TRUSTED_DOMAINS: val = "MSG_WINBIND_RELOAD_TRUSTED_DOMAINS"; break;
92 0 : case MSG_WINBIND_DISCONNECT_DC: val = "MSG_WINBIND_DISCONNECT_DC"; break;
93 0 : case MSG_SMBXSRV_SESSION_CLOSE: val = "MSG_SMBXSRV_SESSION_CLOSE"; break;
94 0 : case MSG_SMBXSRV_CONNECTION_PASS: val = "MSG_SMBXSRV_CONNECTION_PASS"; break;
95 0 : case MSG_SMBXSRV_CONNECTION_PASSED: val = "MSG_SMBXSRV_CONNECTION_PASSED"; break;
96 0 : case MSG_SMBXSRV_CONNECTION_DROP: val = "MSG_SMBXSRV_CONNECTION_DROP"; break;
97 0 : case MSG_RPCD_WITNESS_REGISTRATION_UPDATE: val = "MSG_RPCD_WITNESS_REGISTRATION_UPDATE"; break;
98 0 : case MSG_BRL_RETRY: val = "MSG_BRL_RETRY"; break;
99 0 : case MSG_PVFS_RETRY_OPEN: val = "MSG_PVFS_RETRY_OPEN"; break;
100 0 : case MSG_IRPC: val = "MSG_IRPC"; break;
101 0 : case MSG_NTVFS_OPLOCK_BREAK: val = "MSG_NTVFS_OPLOCK_BREAK"; break;
102 0 : case MSG_DREPL_ALLOCATE_RID: val = "MSG_DREPL_ALLOCATE_RID"; break;
103 0 : case MSG_AUTH_LOG: val = "MSG_AUTH_LOG"; break;
104 0 : case MSG_DSDB_LOG: val = "MSG_DSDB_LOG"; break;
105 0 : case MSG_DSDB_PWD_LOG: val = "MSG_DSDB_PWD_LOG"; break;
106 0 : case MSG_GROUP_LOG: val = "MSG_GROUP_LOG"; break;
107 0 : case MSG_DBWRAP_MODIFIED: val = "MSG_DBWRAP_MODIFIED"; break;
108 0 : case MSG_RPC_HOST_NEW_CLIENT: val = "MSG_RPC_HOST_NEW_CLIENT"; break;
109 0 : case MSG_RPC_WORKER_STATUS: val = "MSG_RPC_WORKER_STATUS"; break;
110 0 : case MSG_RPC_DUMP_STATUS: val = "MSG_RPC_DUMP_STATUS"; break;
111 0 : case MSG_TMP_BASE: val = "MSG_TMP_BASE"; break;
112 : }
113 0 : ndr_print_enum(ndr, name, "ENUM", val, r);
114 0 : }
115 :
116 0 : _PUBLIC_ enum ndr_err_code ndr_push_messaging_rec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct messaging_rec *r)
117 : {
118 0 : uint32_t cntr_fds_0;
119 0 : NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
120 0 : if (ndr_flags & NDR_SCALARS) {
121 0 : NDR_CHECK(ndr_push_align(ndr, 8));
122 : /* [skip] 'r->prev' */
123 : /* [skip] 'r->next' */
124 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->msg_version));
125 0 : NDR_CHECK(ndr_push_messaging_type(ndr, NDR_SCALARS, r->msg_type));
126 0 : NDR_CHECK(ndr_push_server_id(ndr, NDR_SCALARS, &r->dest));
127 0 : NDR_CHECK(ndr_push_server_id(ndr, NDR_SCALARS, &r->src));
128 0 : NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->buf));
129 0 : NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->num_fds));
130 0 : for (cntr_fds_0 = 0; cntr_fds_0 < (r->num_fds); cntr_fds_0++) {
131 0 : NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->fds[cntr_fds_0]));
132 : }
133 0 : NDR_CHECK(ndr_push_trailer_align(ndr, 8));
134 : }
135 0 : if (ndr_flags & NDR_BUFFERS) {
136 : /* [skip] 'r->prev' */
137 : /* [skip] 'r->next' */
138 0 : }
139 0 : return NDR_ERR_SUCCESS;
140 : }
141 :
142 0 : _PUBLIC_ enum ndr_err_code ndr_pull_messaging_rec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct messaging_rec *r)
143 : {
144 0 : uint32_t size_fds_0 = 0;
145 0 : uint32_t cntr_fds_0;
146 0 : TALLOC_CTX *_mem_save_fds_0 = NULL;
147 0 : NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
148 0 : if (ndr_flags & NDR_SCALARS) {
149 0 : NDR_CHECK(ndr_pull_align(ndr, 8));
150 : /* [skip] 'r->prev' */
151 0 : NDR_ZERO_STRUCT(r->prev);
152 : /* [skip] 'r->next' */
153 0 : NDR_ZERO_STRUCT(r->next);
154 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->msg_version));
155 0 : NDR_CHECK(ndr_pull_messaging_type(ndr, NDR_SCALARS, &r->msg_type));
156 0 : NDR_CHECK(ndr_pull_server_id(ndr, NDR_SCALARS, &r->dest));
157 0 : NDR_CHECK(ndr_pull_server_id(ndr, NDR_SCALARS, &r->src));
158 0 : NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->buf));
159 0 : NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->num_fds));
160 0 : size_fds_0 = r->num_fds;
161 0 : NDR_PULL_ALLOC_N(ndr, r->fds, size_fds_0);
162 0 : _mem_save_fds_0 = NDR_PULL_GET_MEM_CTX(ndr);
163 0 : NDR_PULL_SET_MEM_CTX(ndr, r->fds, 0);
164 0 : for (cntr_fds_0 = 0; cntr_fds_0 < (size_fds_0); cntr_fds_0++) {
165 0 : NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->fds[cntr_fds_0]));
166 : }
167 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_fds_0, 0);
168 0 : NDR_CHECK(ndr_pull_trailer_align(ndr, 8));
169 : }
170 0 : if (ndr_flags & NDR_BUFFERS) {
171 : /* [skip] 'r->prev' */
172 0 : NDR_ZERO_STRUCT(r->prev);
173 : /* [skip] 'r->next' */
174 0 : NDR_ZERO_STRUCT(r->next);
175 : }
176 0 : return NDR_ERR_SUCCESS;
177 : }
178 :
179 0 : static void ndr_print_flags_messaging_rec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct messaging_rec *r)
180 : {
181 0 : ndr_print_messaging_rec(ndr, name, r);
182 0 : }
183 :
184 0 : _PUBLIC_ void ndr_print_messaging_rec(struct ndr_print *ndr, const char *name, const struct messaging_rec *r)
185 : {
186 0 : uint32_t cntr_fds_0;
187 0 : ndr_print_struct(ndr, name, "messaging_rec");
188 0 : if (r == NULL) { ndr_print_null(ndr); return; }
189 0 : ndr->depth++;
190 0 : ndr_print_ptr(ndr, "prev", r->prev);
191 0 : ndr->depth++;
192 0 : if (r->prev) {
193 0 : ndr_print_messaging_rec(ndr, "prev", r->prev);
194 : }
195 0 : ndr->depth--;
196 0 : ndr_print_ptr(ndr, "next", r->next);
197 0 : ndr->depth++;
198 0 : if (r->next) {
199 0 : ndr_print_messaging_rec(ndr, "next", r->next);
200 : }
201 0 : ndr->depth--;
202 0 : ndr_print_uint32(ndr, "msg_version", r->msg_version);
203 0 : ndr_print_messaging_type(ndr, "msg_type", r->msg_type);
204 0 : ndr_print_server_id(ndr, "dest", &r->dest);
205 0 : ndr_print_server_id(ndr, "src", &r->src);
206 0 : ndr_print_DATA_BLOB(ndr, "buf", r->buf);
207 0 : ndr_print_uint8(ndr, "num_fds", r->num_fds);
208 0 : ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "fds", (uint32_t)(r->num_fds));
209 0 : ndr->depth++;
210 0 : for (cntr_fds_0 = 0; cntr_fds_0 < (r->num_fds); cntr_fds_0++) {
211 0 : ndr_print_dlong(ndr, "fds", r->fds[cntr_fds_0]);
212 : }
213 0 : ndr->depth--;
214 0 : ndr->depth--;
215 : }
216 :
217 0 : _PUBLIC_ enum ndr_err_code ndr_push_messaging_reclog(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct messaging_reclog *r)
218 : {
219 0 : uint32_t cntr_recs_0;
220 0 : NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
221 0 : if (ndr_flags & NDR_SCALARS) {
222 0 : NDR_CHECK(ndr_push_align(ndr, 8));
223 0 : NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->rec_index));
224 0 : NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->num_recs));
225 0 : for (cntr_recs_0 = 0; cntr_recs_0 < (r->num_recs); cntr_recs_0++) {
226 0 : NDR_CHECK(ndr_push_unique_ptr(ndr, r->recs[cntr_recs_0]));
227 : }
228 0 : NDR_CHECK(ndr_push_trailer_align(ndr, 8));
229 : }
230 0 : if (ndr_flags & NDR_BUFFERS) {
231 0 : for (cntr_recs_0 = 0; cntr_recs_0 < (r->num_recs); cntr_recs_0++) {
232 0 : if (r->recs[cntr_recs_0]) {
233 0 : NDR_CHECK(ndr_push_messaging_rec(ndr, NDR_SCALARS|NDR_BUFFERS, r->recs[cntr_recs_0]));
234 : }
235 : }
236 : }
237 0 : return NDR_ERR_SUCCESS;
238 : }
239 :
240 0 : _PUBLIC_ enum ndr_err_code ndr_pull_messaging_reclog(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct messaging_reclog *r)
241 : {
242 0 : uint32_t _ptr_recs;
243 0 : uint32_t size_recs_0 = 0;
244 0 : uint32_t cntr_recs_0;
245 0 : TALLOC_CTX *_mem_save_recs_0 = NULL;
246 0 : TALLOC_CTX *_mem_save_recs_1 = NULL;
247 0 : NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
248 0 : if (ndr_flags & NDR_SCALARS) {
249 0 : NDR_CHECK(ndr_pull_align(ndr, 8));
250 0 : NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->rec_index));
251 0 : NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->num_recs));
252 0 : size_recs_0 = r->num_recs;
253 0 : NDR_PULL_ALLOC_N(ndr, r->recs, size_recs_0);
254 0 : _mem_save_recs_0 = NDR_PULL_GET_MEM_CTX(ndr);
255 0 : NDR_PULL_SET_MEM_CTX(ndr, r->recs, 0);
256 0 : for (cntr_recs_0 = 0; cntr_recs_0 < (size_recs_0); cntr_recs_0++) {
257 0 : NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_recs));
258 0 : if (_ptr_recs) {
259 0 : NDR_PULL_ALLOC(ndr, r->recs[cntr_recs_0]);
260 : } else {
261 0 : r->recs[cntr_recs_0] = NULL;
262 : }
263 : }
264 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_recs_0, 0);
265 0 : NDR_CHECK(ndr_pull_trailer_align(ndr, 8));
266 : }
267 0 : if (ndr_flags & NDR_BUFFERS) {
268 0 : size_recs_0 = r->num_recs;
269 0 : _mem_save_recs_0 = NDR_PULL_GET_MEM_CTX(ndr);
270 0 : NDR_PULL_SET_MEM_CTX(ndr, r->recs, 0);
271 0 : for (cntr_recs_0 = 0; cntr_recs_0 < (size_recs_0); cntr_recs_0++) {
272 0 : if (r->recs[cntr_recs_0]) {
273 0 : _mem_save_recs_1 = NDR_PULL_GET_MEM_CTX(ndr);
274 0 : NDR_PULL_SET_MEM_CTX(ndr, r->recs[cntr_recs_0], 0);
275 0 : NDR_CHECK(ndr_pull_messaging_rec(ndr, NDR_SCALARS|NDR_BUFFERS, r->recs[cntr_recs_0]));
276 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_recs_1, 0);
277 : }
278 : }
279 0 : NDR_PULL_SET_MEM_CTX(ndr, _mem_save_recs_0, 0);
280 0 : for (cntr_recs_0 = 0; cntr_recs_0 < (size_recs_0); cntr_recs_0++) {
281 : }
282 : }
283 0 : return NDR_ERR_SUCCESS;
284 : }
285 :
286 0 : static void ndr_print_flags_messaging_reclog(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct messaging_reclog *r)
287 : {
288 0 : ndr_print_messaging_reclog(ndr, name, r);
289 0 : }
290 :
291 0 : _PUBLIC_ void ndr_print_messaging_reclog(struct ndr_print *ndr, const char *name, const struct messaging_reclog *r)
292 : {
293 0 : uint32_t cntr_recs_0;
294 0 : ndr_print_struct(ndr, name, "messaging_reclog");
295 0 : if (r == NULL) { ndr_print_null(ndr); return; }
296 0 : ndr->depth++;
297 0 : ndr_print_hyper(ndr, "rec_index", r->rec_index);
298 0 : ndr_print_uint32(ndr, "num_recs", r->num_recs);
299 0 : ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "recs", (uint32_t)(r->num_recs));
300 0 : ndr->depth++;
301 0 : for (cntr_recs_0 = 0; cntr_recs_0 < (r->num_recs); cntr_recs_0++) {
302 0 : ndr_print_ptr(ndr, "recs", r->recs[cntr_recs_0]);
303 0 : ndr->depth++;
304 0 : if (r->recs[cntr_recs_0]) {
305 0 : ndr_print_messaging_rec(ndr, "recs", r->recs[cntr_recs_0]);
306 : }
307 0 : ndr->depth--;
308 : }
309 0 : ndr->depth--;
310 0 : ndr->depth--;
311 : }
312 :
313 : #ifndef SKIP_NDR_TABLE_messaging
314 : static const struct ndr_interface_public_struct messaging_public_structs[] = {
315 : {
316 : .name = "messaging_rec",
317 : .struct_size = sizeof(struct messaging_rec ),
318 : .ndr_push = (ndr_push_flags_fn_t) ndr_push_messaging_rec,
319 : .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_messaging_rec,
320 : .ndr_print = (ndr_print_function_t) ndr_print_flags_messaging_rec,
321 : },
322 : {
323 : .name = "messaging_reclog",
324 : .struct_size = sizeof(struct messaging_reclog ),
325 : .ndr_push = (ndr_push_flags_fn_t) ndr_push_messaging_reclog,
326 : .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_messaging_reclog,
327 : .ndr_print = (ndr_print_function_t) ndr_print_flags_messaging_reclog,
328 : },
329 : { .name = NULL }
330 : };
331 :
332 : static const struct ndr_interface_call messaging_calls[] = {
333 : { .name = NULL }
334 : };
335 :
336 : static const char * const messaging_endpoint_strings[] = {
337 : "ncacn_np:[\\pipe\\messaging]",
338 : };
339 :
340 : static const struct ndr_interface_string_array messaging_endpoints = {
341 : .count = 1,
342 : .names = messaging_endpoint_strings
343 : };
344 :
345 : static const char * const messaging_authservice_strings[] = {
346 : "host",
347 : };
348 :
349 : static const struct ndr_interface_string_array messaging_authservices = {
350 : .count = 1,
351 : .names = messaging_authservice_strings
352 : };
353 :
354 :
355 : const struct ndr_interface_table ndr_table_messaging = {
356 : .name = "messaging",
357 : .num_calls = 0,
358 : .calls = messaging_calls,
359 : .num_public_structs = 2,
360 : .public_structs = messaging_public_structs,
361 : .endpoints = &messaging_endpoints,
362 : .authservices = &messaging_authservices
363 : };
364 :
365 : #endif /* SKIP_NDR_TABLE_messaging */
|