Line data Source code
1 : /* parser auto-generated by pidl */
2 :
3 : #include "includes.h"
4 : #include "bin/default/librpc/gen_ndr/ndr_dbgidl.h"
5 :
6 0 : static enum ndr_err_code ndr_push_dummy_dbgidl(struct ndr_push *ndr, ndr_flags_type flags, const struct dummy_dbgidl *r)
7 : {
8 0 : NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
9 0 : if (flags & NDR_IN) {
10 : }
11 0 : if (flags & NDR_OUT) {
12 : }
13 0 : return NDR_ERR_SUCCESS;
14 : }
15 :
16 0 : static enum ndr_err_code ndr_pull_dummy_dbgidl(struct ndr_pull *ndr, ndr_flags_type flags, struct dummy_dbgidl *r)
17 : {
18 0 : NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
19 0 : if (flags & NDR_IN) {
20 : }
21 0 : if (flags & NDR_OUT) {
22 : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
23 : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
24 : }
25 0 : return NDR_ERR_SUCCESS;
26 : }
27 :
28 0 : _PUBLIC_ void ndr_print_dummy_dbgidl(struct ndr_print *ndr, const char *name, ndr_flags_type flags, const struct dummy_dbgidl *r)
29 : {
30 0 : ndr_print_struct(ndr, name, "dummy_dbgidl");
31 0 : if (r == NULL) { ndr_print_null(ndr); return; }
32 0 : ndr->depth++;
33 0 : if (flags & NDR_SET_VALUES) {
34 0 : ndr->flags |= LIBNDR_PRINT_SET_VALUES;
35 : }
36 0 : if (flags & NDR_IN) {
37 0 : ndr_print_struct(ndr, "in", "dummy_dbgidl");
38 0 : ndr->depth++;
39 0 : ndr->depth--;
40 : }
41 0 : if (flags & NDR_OUT) {
42 0 : ndr_print_struct(ndr, "out", "dummy_dbgidl");
43 0 : ndr->depth++;
44 0 : ndr->depth--;
45 : }
46 0 : ndr->depth--;
47 : }
48 :
49 : #ifndef SKIP_NDR_TABLE_dbgidl
50 : static const struct ndr_interface_public_struct dbgidl_public_structs[] = {
51 : { .name = NULL }
52 : };
53 :
54 : static const struct ndr_interface_call dbgidl_calls[] = {
55 : {
56 : "dummy_dbgidl",
57 : sizeof(struct dummy_dbgidl),
58 : (ndr_push_flags_fn_t) ndr_push_dummy_dbgidl,
59 : (ndr_pull_flags_fn_t) ndr_pull_dummy_dbgidl,
60 : (ndr_print_function_t) ndr_print_dummy_dbgidl,
61 : { 0, NULL },
62 : { 0, NULL },
63 : },
64 : { .name = NULL }
65 : };
66 :
67 : static const char * const dbgidl_endpoint_strings[] = {
68 : "ncacn_np:[\\pipe\\dbgidl]",
69 : };
70 :
71 : static const struct ndr_interface_string_array dbgidl_endpoints = {
72 : .count = 1,
73 : .names = dbgidl_endpoint_strings
74 : };
75 :
76 : static const char * const dbgidl_authservice_strings[] = {
77 : "host",
78 : };
79 :
80 : static const struct ndr_interface_string_array dbgidl_authservices = {
81 : .count = 1,
82 : .names = dbgidl_authservice_strings
83 : };
84 :
85 :
86 : const struct ndr_interface_table ndr_table_dbgidl = {
87 : .name = "dbgidl",
88 : .syntax_id = {
89 : {0x1d55b526,0xc137,0x46c5,{0xab,0x79},{0x63,0x8f,0x2a,0x68,0xe8,0x69}},
90 : NDR_DBGIDL_VERSION
91 : },
92 : .helpstring = NDR_DBGIDL_HELPSTRING,
93 : .num_calls = 1,
94 : .calls = dbgidl_calls,
95 : .num_public_structs = 0,
96 : .public_structs = dbgidl_public_structs,
97 : .endpoints = &dbgidl_endpoints,
98 : .authservices = &dbgidl_authservices
99 : };
100 :
101 : #endif /* SKIP_NDR_TABLE_dbgidl */
|