Line data Source code
1 : /* parser auto-generated by pidl */
2 :
3 : #include "includes.h"
4 : #include "bin/default/librpc/gen_ndr/ndr_keysvc.h"
5 :
6 0 : static enum ndr_err_code ndr_push_keysvc_Unknown0(struct ndr_push *ndr, ndr_flags_type flags, const struct keysvc_Unknown0 *r)
7 : {
8 0 : NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
9 0 : if (flags & NDR_IN) {
10 0 : }
11 0 : if (flags & NDR_OUT) {
12 0 : NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
13 : }
14 0 : return NDR_ERR_SUCCESS;
15 : }
16 :
17 0 : static enum ndr_err_code ndr_pull_keysvc_Unknown0(struct ndr_pull *ndr, ndr_flags_type flags, struct keysvc_Unknown0 *r)
18 : {
19 0 : NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
20 0 : if (flags & NDR_IN) {
21 0 : }
22 0 : if (flags & NDR_OUT) {
23 : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
24 : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
25 0 : NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
26 : }
27 0 : return NDR_ERR_SUCCESS;
28 : }
29 :
30 0 : _PUBLIC_ void ndr_print_keysvc_Unknown0(struct ndr_print *ndr, const char *name, ndr_flags_type flags, const struct keysvc_Unknown0 *r)
31 : {
32 0 : ndr_print_struct(ndr, name, "keysvc_Unknown0");
33 0 : if (r == NULL) { ndr_print_null(ndr); return; }
34 0 : ndr->depth++;
35 0 : if (flags & NDR_SET_VALUES) {
36 0 : ndr->flags |= LIBNDR_PRINT_SET_VALUES;
37 : }
38 0 : if (flags & NDR_IN) {
39 0 : ndr_print_struct(ndr, "in", "keysvc_Unknown0");
40 0 : ndr->depth++;
41 0 : ndr->depth--;
42 : }
43 0 : if (flags & NDR_OUT) {
44 0 : ndr_print_struct(ndr, "out", "keysvc_Unknown0");
45 0 : ndr->depth++;
46 0 : ndr_print_WERROR(ndr, "result", r->out.result);
47 0 : ndr->depth--;
48 : }
49 0 : ndr->depth--;
50 : }
51 :
52 : #ifndef SKIP_NDR_TABLE_keysvc
53 : static const struct ndr_interface_public_struct keysvc_public_structs[] = {
54 : { .name = NULL }
55 : };
56 :
57 : static const struct ndr_interface_call keysvc_calls[] = {
58 : {
59 : "keysvc_Unknown0",
60 : sizeof(struct keysvc_Unknown0),
61 : (ndr_push_flags_fn_t) ndr_push_keysvc_Unknown0,
62 : (ndr_pull_flags_fn_t) ndr_pull_keysvc_Unknown0,
63 : (ndr_print_function_t) ndr_print_keysvc_Unknown0,
64 : { 0, NULL },
65 : { 0, NULL },
66 : },
67 : { .name = NULL }
68 : };
69 :
70 : static const char * const keysvc_endpoint_strings[] = {
71 : "ncacn_np:[\\pipe\\keysvc]",
72 : };
73 :
74 : static const struct ndr_interface_string_array keysvc_endpoints = {
75 : .count = 1,
76 : .names = keysvc_endpoint_strings
77 : };
78 :
79 : static const char * const keysvc_authservice_strings[] = {
80 : "host",
81 : };
82 :
83 : static const struct ndr_interface_string_array keysvc_authservices = {
84 : .count = 1,
85 : .names = keysvc_authservice_strings
86 : };
87 :
88 :
89 : const struct ndr_interface_table ndr_table_keysvc = {
90 : .name = "keysvc",
91 : .syntax_id = {
92 : {0x8d0ffe72,0xd252,0x11d0,{0xbf,0x8f},{0x00,0xc0,0x4f,0xd9,0x12,0x6b}},
93 : NDR_KEYSVC_VERSION
94 : },
95 : .helpstring = NDR_KEYSVC_HELPSTRING,
96 : .num_calls = 1,
97 : .calls = keysvc_calls,
98 : .num_public_structs = 0,
99 : .public_structs = keysvc_public_structs,
100 : .endpoints = &keysvc_endpoints,
101 : .authservices = &keysvc_authservices
102 : };
103 :
104 : #endif /* SKIP_NDR_TABLE_keysvc */
|