LCOV - code coverage report
Current view: top level - bin/default/librpc/gen_ndr - ndr_dcom.c (source / functions) Hit Total Coverage
Test: coverage report for abartlet/fix-coverage dd10fb34 Lines: 0 2216 0.0 %
Date: 2021-09-23 10:06:22 Functions: 0 105 0.0 %

          Line data    Source code
       1             : /* parser auto-generated by pidl */
       2             : 
       3             : #include "includes.h"
       4             : #include "bin/default/librpc/gen_ndr/ndr_dcom.h"
       5             : 
       6             : #include "librpc/gen_ndr/ndr_orpc.h"
       7             : #include "librpc/gen_ndr/ndr_misc.h"
       8           0 : static enum ndr_err_code ndr_push_UseProtSeq(struct ndr_push *ndr, int flags, const struct UseProtSeq *r)
       9             : {
      10           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
      11           0 :         if (flags & NDR_IN) {
      12             :         }
      13           0 :         if (flags & NDR_OUT) {
      14             :         }
      15           0 :         return NDR_ERR_SUCCESS;
      16             : }
      17             : 
      18           0 : static enum ndr_err_code ndr_pull_UseProtSeq(struct ndr_pull *ndr, int flags, struct UseProtSeq *r)
      19             : {
      20           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
      21           0 :         if (flags & NDR_IN) {
      22             :         }
      23           0 :         if (flags & NDR_OUT) {
      24             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
      25             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
      26             :         }
      27           0 :         return NDR_ERR_SUCCESS;
      28             : }
      29             : 
      30           0 : _PUBLIC_ void ndr_print_UseProtSeq(struct ndr_print *ndr, const char *name, int flags, const struct UseProtSeq *r)
      31             : {
      32           0 :         ndr_print_struct(ndr, name, "UseProtSeq");
      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", "UseProtSeq");
      40           0 :                 ndr->depth++;
      41           0 :                 ndr->depth--;
      42             :         }
      43           0 :         if (flags & NDR_OUT) {
      44           0 :                 ndr_print_struct(ndr, "out", "UseProtSeq");
      45           0 :                 ndr->depth++;
      46           0 :                 ndr->depth--;
      47             :         }
      48           0 :         ndr->depth--;
      49             : }
      50             : 
      51           0 : static enum ndr_err_code ndr_push_GetCustomProtseqInfo(struct ndr_push *ndr, int flags, const struct GetCustomProtseqInfo *r)
      52             : {
      53           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
      54           0 :         if (flags & NDR_IN) {
      55             :         }
      56           0 :         if (flags & NDR_OUT) {
      57             :         }
      58           0 :         return NDR_ERR_SUCCESS;
      59             : }
      60             : 
      61           0 : static enum ndr_err_code ndr_pull_GetCustomProtseqInfo(struct ndr_pull *ndr, int flags, struct GetCustomProtseqInfo *r)
      62             : {
      63           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
      64           0 :         if (flags & NDR_IN) {
      65             :         }
      66           0 :         if (flags & NDR_OUT) {
      67             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
      68             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
      69             :         }
      70           0 :         return NDR_ERR_SUCCESS;
      71             : }
      72             : 
      73           0 : _PUBLIC_ void ndr_print_GetCustomProtseqInfo(struct ndr_print *ndr, const char *name, int flags, const struct GetCustomProtseqInfo *r)
      74             : {
      75           0 :         ndr_print_struct(ndr, name, "GetCustomProtseqInfo");
      76           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
      77           0 :         ndr->depth++;
      78           0 :         if (flags & NDR_SET_VALUES) {
      79           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
      80             :         }
      81           0 :         if (flags & NDR_IN) {
      82           0 :                 ndr_print_struct(ndr, "in", "GetCustomProtseqInfo");
      83           0 :                 ndr->depth++;
      84           0 :                 ndr->depth--;
      85             :         }
      86           0 :         if (flags & NDR_OUT) {
      87           0 :                 ndr_print_struct(ndr, "out", "GetCustomProtseqInfo");
      88           0 :                 ndr->depth++;
      89           0 :                 ndr->depth--;
      90             :         }
      91           0 :         ndr->depth--;
      92             : }
      93             : 
      94           0 : static enum ndr_err_code ndr_push_UpdateResolverBindings(struct ndr_push *ndr, int flags, const struct UpdateResolverBindings *r)
      95             : {
      96           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
      97           0 :         if (flags & NDR_IN) {
      98             :         }
      99           0 :         if (flags & NDR_OUT) {
     100             :         }
     101           0 :         return NDR_ERR_SUCCESS;
     102             : }
     103             : 
     104           0 : static enum ndr_err_code ndr_pull_UpdateResolverBindings(struct ndr_pull *ndr, int flags, struct UpdateResolverBindings *r)
     105             : {
     106           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
     107           0 :         if (flags & NDR_IN) {
     108             :         }
     109           0 :         if (flags & NDR_OUT) {
     110             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
     111             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
     112             :         }
     113           0 :         return NDR_ERR_SUCCESS;
     114             : }
     115             : 
     116           0 : _PUBLIC_ void ndr_print_UpdateResolverBindings(struct ndr_print *ndr, const char *name, int flags, const struct UpdateResolverBindings *r)
     117             : {
     118           0 :         ndr_print_struct(ndr, name, "UpdateResolverBindings");
     119           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     120           0 :         ndr->depth++;
     121           0 :         if (flags & NDR_SET_VALUES) {
     122           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
     123             :         }
     124           0 :         if (flags & NDR_IN) {
     125           0 :                 ndr_print_struct(ndr, "in", "UpdateResolverBindings");
     126           0 :                 ndr->depth++;
     127           0 :                 ndr->depth--;
     128             :         }
     129           0 :         if (flags & NDR_OUT) {
     130           0 :                 ndr_print_struct(ndr, "out", "UpdateResolverBindings");
     131           0 :                 ndr->depth++;
     132           0 :                 ndr->depth--;
     133             :         }
     134           0 :         ndr->depth--;
     135             : }
     136             : 
     137             : #ifndef SKIP_NDR_TABLE_dcom_Unknown
     138             : static const struct ndr_interface_public_struct dcom_Unknown_public_structs[] = {
     139             :         { .name = NULL }
     140             : };
     141             : 
     142             : static const struct ndr_interface_call dcom_Unknown_calls[] = {
     143             :         {
     144             :                 "UseProtSeq",
     145             :                 sizeof(struct UseProtSeq),
     146             :                 (ndr_push_flags_fn_t) ndr_push_UseProtSeq,
     147             :                 (ndr_pull_flags_fn_t) ndr_pull_UseProtSeq,
     148             :                 (ndr_print_function_t) ndr_print_UseProtSeq,
     149             :                 { 0, NULL },
     150             :                 { 0, NULL },
     151             :         },
     152             :         {
     153             :                 "GetCustomProtseqInfo",
     154             :                 sizeof(struct GetCustomProtseqInfo),
     155             :                 (ndr_push_flags_fn_t) ndr_push_GetCustomProtseqInfo,
     156             :                 (ndr_pull_flags_fn_t) ndr_pull_GetCustomProtseqInfo,
     157             :                 (ndr_print_function_t) ndr_print_GetCustomProtseqInfo,
     158             :                 { 0, NULL },
     159             :                 { 0, NULL },
     160             :         },
     161             :         {
     162             :                 "UpdateResolverBindings",
     163             :                 sizeof(struct UpdateResolverBindings),
     164             :                 (ndr_push_flags_fn_t) ndr_push_UpdateResolverBindings,
     165             :                 (ndr_pull_flags_fn_t) ndr_pull_UpdateResolverBindings,
     166             :                 (ndr_print_function_t) ndr_print_UpdateResolverBindings,
     167             :                 { 0, NULL },
     168             :                 { 0, NULL },
     169             :         },
     170             :         { .name = NULL }
     171             : };
     172             : 
     173             : static const char * const dcom_Unknown_endpoint_strings[] = {
     174             :         "ncacn_np:[\\pipe\\dcom_Unknown]", 
     175             : };
     176             : 
     177             : static const struct ndr_interface_string_array dcom_Unknown_endpoints = {
     178             :         .count  = 1,
     179             :         .names  = dcom_Unknown_endpoint_strings
     180             : };
     181             : 
     182             : static const char * const dcom_Unknown_authservice_strings[] = {
     183             :         "host", 
     184             : };
     185             : 
     186             : static const struct ndr_interface_string_array dcom_Unknown_authservices = {
     187             :         .count  = 1,
     188             :         .names  = dcom_Unknown_authservice_strings
     189             : };
     190             : 
     191             : 
     192             : const struct ndr_interface_table ndr_table_dcom_Unknown = {
     193             :         .name           = "dcom_Unknown",
     194             :         .syntax_id      = {
     195             :                 {0x18f70770,0x8e64,0x11cf,{0x9a,0xf1},{0x00,0x20,0xaf,0x6e,0x72,0xf4}},
     196             :                 NDR_DCOM_UNKNOWN_VERSION
     197             :         },
     198             :         .helpstring     = NDR_DCOM_UNKNOWN_HELPSTRING,
     199             :         .num_calls      = 3,
     200             :         .calls          = dcom_Unknown_calls,
     201             :         .num_public_structs     = 0,
     202             :         .public_structs         = dcom_Unknown_public_structs,
     203             :         .endpoints      = &dcom_Unknown_endpoints,
     204             :         .authservices   = &dcom_Unknown_authservices
     205             : };
     206             : 
     207             : #endif /* SKIP_NDR_TABLE_dcom_Unknown */
     208             : #include "librpc/gen_ndr/ndr_orpc.h"
     209           0 : static enum ndr_err_code ndr_push_QueryInterface(struct ndr_push *ndr, int flags, const struct QueryInterface *r)
     210             : {
     211           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
     212           0 :         if (flags & NDR_IN) {
     213           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     214           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.iid));
     215           0 :                 if (r->in.iid) {
     216           0 :                         NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, r->in.iid));
     217             :                 }
     218             :         }
     219           0 :         if (flags & NDR_OUT) {
     220           0 :                 if (r->out.ORPCthat == NULL) {
     221           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
     222             :                 }
     223           0 :                 if (r->out.data == NULL) {
     224           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
     225             :                 }
     226           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     227           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, *r->out.data));
     228           0 :                 if (*r->out.data) {
     229           0 :                         NDR_CHECK(ndr_push_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, *r->out.data));
     230             :                 }
     231           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
     232             :         }
     233           0 :         return NDR_ERR_SUCCESS;
     234             : }
     235             : 
     236           0 : static enum ndr_err_code ndr_pull_QueryInterface(struct ndr_pull *ndr, int flags, struct QueryInterface *r)
     237             : {
     238             :         uint32_t _ptr_iid;
     239             :         uint32_t _ptr_data;
     240           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
     241           0 :         TALLOC_CTX *_mem_save_iid_0 = NULL;
     242           0 :         TALLOC_CTX *_mem_save_data_0 = NULL;
     243           0 :         TALLOC_CTX *_mem_save_data_1 = NULL;
     244           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
     245           0 :         if (flags & NDR_IN) {
     246           0 :                 NDR_ZERO_STRUCT(r->out);
     247             : 
     248           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     249           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_iid));
     250           0 :                 if (_ptr_iid) {
     251           0 :                         NDR_PULL_ALLOC(ndr, r->in.iid);
     252             :                 } else {
     253           0 :                         r->in.iid = NULL;
     254             :                 }
     255           0 :                 if (r->in.iid) {
     256           0 :                         _mem_save_iid_0 = NDR_PULL_GET_MEM_CTX(ndr);
     257           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.iid, 0);
     258           0 :                         NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, r->in.iid));
     259           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_iid_0, 0);
     260             :                 }
     261           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     262           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
     263           0 :                 NDR_PULL_ALLOC(ndr, r->out.data);
     264           0 :                 NDR_ZERO_STRUCTP(r->out.data);
     265             :         }
     266           0 :         if (flags & NDR_OUT) {
     267             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
     268             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
     269           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
     270           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     271             :                 }
     272           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
     273           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
     274           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     275           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
     276           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
     277           0 :                         NDR_PULL_ALLOC(ndr, r->out.data);
     278             :                 }
     279           0 :                 _mem_save_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
     280           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.data, LIBNDR_FLAG_REF_ALLOC);
     281           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_data));
     282           0 :                 if (_ptr_data) {
     283           0 :                         NDR_PULL_ALLOC(ndr, *r->out.data);
     284             :                 } else {
     285           0 :                         *r->out.data = NULL;
     286             :                 }
     287           0 :                 if (*r->out.data) {
     288           0 :                         _mem_save_data_1 = NDR_PULL_GET_MEM_CTX(ndr);
     289           0 :                         NDR_PULL_SET_MEM_CTX(ndr, *r->out.data, 0);
     290           0 :                         NDR_CHECK(ndr_pull_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, *r->out.data));
     291           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_data_1, 0);
     292             :                 }
     293           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_data_0, LIBNDR_FLAG_REF_ALLOC);
     294           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
     295             :         }
     296           0 :         return NDR_ERR_SUCCESS;
     297             : }
     298             : 
     299           0 : _PUBLIC_ void ndr_print_QueryInterface(struct ndr_print *ndr, const char *name, int flags, const struct QueryInterface *r)
     300             : {
     301           0 :         ndr_print_struct(ndr, name, "QueryInterface");
     302           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     303           0 :         ndr->depth++;
     304           0 :         if (flags & NDR_SET_VALUES) {
     305           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
     306             :         }
     307           0 :         if (flags & NDR_IN) {
     308           0 :                 ndr_print_struct(ndr, "in", "QueryInterface");
     309           0 :                 ndr->depth++;
     310           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
     311           0 :                 ndr_print_ptr(ndr, "iid", r->in.iid);
     312           0 :                 ndr->depth++;
     313           0 :                 if (r->in.iid) {
     314           0 :                         ndr_print_GUID(ndr, "iid", r->in.iid);
     315             :                 }
     316           0 :                 ndr->depth--;
     317           0 :                 ndr->depth--;
     318             :         }
     319           0 :         if (flags & NDR_OUT) {
     320           0 :                 ndr_print_struct(ndr, "out", "QueryInterface");
     321           0 :                 ndr->depth++;
     322           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
     323           0 :                 ndr->depth++;
     324           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
     325           0 :                 ndr->depth--;
     326           0 :                 ndr_print_ptr(ndr, "data", r->out.data);
     327           0 :                 ndr->depth++;
     328           0 :                 ndr_print_ptr(ndr, "data", *r->out.data);
     329           0 :                 ndr->depth++;
     330           0 :                 if (*r->out.data) {
     331           0 :                         ndr_print_MInterfacePointer(ndr, "data", *r->out.data);
     332             :                 }
     333           0 :                 ndr->depth--;
     334           0 :                 ndr->depth--;
     335           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
     336           0 :                 ndr->depth--;
     337             :         }
     338           0 :         ndr->depth--;
     339             : }
     340             : 
     341           0 : static enum ndr_err_code ndr_push_AddRef(struct ndr_push *ndr, int flags, const struct AddRef *r)
     342             : {
     343           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
     344           0 :         if (flags & NDR_IN) {
     345           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     346             :         }
     347           0 :         if (flags & NDR_OUT) {
     348           0 :                 if (r->out.ORPCthat == NULL) {
     349           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
     350             :                 }
     351           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     352           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->out.result));
     353             :         }
     354           0 :         return NDR_ERR_SUCCESS;
     355             : }
     356             : 
     357           0 : static enum ndr_err_code ndr_pull_AddRef(struct ndr_pull *ndr, int flags, struct AddRef *r)
     358             : {
     359           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
     360           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
     361           0 :         if (flags & NDR_IN) {
     362           0 :                 NDR_ZERO_STRUCT(r->out);
     363             : 
     364           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     365           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     366           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
     367             :         }
     368           0 :         if (flags & NDR_OUT) {
     369             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
     370             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
     371           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
     372           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     373             :                 }
     374           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
     375           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
     376           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     377           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
     378           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->out.result));
     379             :         }
     380           0 :         return NDR_ERR_SUCCESS;
     381             : }
     382             : 
     383           0 : _PUBLIC_ void ndr_print_AddRef(struct ndr_print *ndr, const char *name, int flags, const struct AddRef *r)
     384             : {
     385           0 :         ndr_print_struct(ndr, name, "AddRef");
     386           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     387           0 :         ndr->depth++;
     388           0 :         if (flags & NDR_SET_VALUES) {
     389           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
     390             :         }
     391           0 :         if (flags & NDR_IN) {
     392           0 :                 ndr_print_struct(ndr, "in", "AddRef");
     393           0 :                 ndr->depth++;
     394           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
     395           0 :                 ndr->depth--;
     396             :         }
     397           0 :         if (flags & NDR_OUT) {
     398           0 :                 ndr_print_struct(ndr, "out", "AddRef");
     399           0 :                 ndr->depth++;
     400           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
     401           0 :                 ndr->depth++;
     402           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
     403           0 :                 ndr->depth--;
     404           0 :                 ndr_print_uint32(ndr, "result", r->out.result);
     405           0 :                 ndr->depth--;
     406             :         }
     407           0 :         ndr->depth--;
     408             : }
     409             : 
     410           0 : static enum ndr_err_code ndr_push_Release(struct ndr_push *ndr, int flags, const struct Release *r)
     411             : {
     412           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
     413           0 :         if (flags & NDR_IN) {
     414           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     415             :         }
     416           0 :         if (flags & NDR_OUT) {
     417           0 :                 if (r->out.ORPCthat == NULL) {
     418           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
     419             :                 }
     420           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     421           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->out.result));
     422             :         }
     423           0 :         return NDR_ERR_SUCCESS;
     424             : }
     425             : 
     426           0 : static enum ndr_err_code ndr_pull_Release(struct ndr_pull *ndr, int flags, struct Release *r)
     427             : {
     428           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
     429           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
     430           0 :         if (flags & NDR_IN) {
     431           0 :                 NDR_ZERO_STRUCT(r->out);
     432             : 
     433           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     434           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     435           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
     436             :         }
     437           0 :         if (flags & NDR_OUT) {
     438             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
     439             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
     440           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
     441           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     442             :                 }
     443           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
     444           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
     445           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     446           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
     447           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->out.result));
     448             :         }
     449           0 :         return NDR_ERR_SUCCESS;
     450             : }
     451             : 
     452           0 : _PUBLIC_ void ndr_print_Release(struct ndr_print *ndr, const char *name, int flags, const struct Release *r)
     453             : {
     454           0 :         ndr_print_struct(ndr, name, "Release");
     455           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     456           0 :         ndr->depth++;
     457           0 :         if (flags & NDR_SET_VALUES) {
     458           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
     459             :         }
     460           0 :         if (flags & NDR_IN) {
     461           0 :                 ndr_print_struct(ndr, "in", "Release");
     462           0 :                 ndr->depth++;
     463           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
     464           0 :                 ndr->depth--;
     465             :         }
     466           0 :         if (flags & NDR_OUT) {
     467           0 :                 ndr_print_struct(ndr, "out", "Release");
     468           0 :                 ndr->depth++;
     469           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
     470           0 :                 ndr->depth++;
     471           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
     472           0 :                 ndr->depth--;
     473           0 :                 ndr_print_uint32(ndr, "result", r->out.result);
     474           0 :                 ndr->depth--;
     475             :         }
     476           0 :         ndr->depth--;
     477             : }
     478             : 
     479             : #ifndef SKIP_NDR_TABLE_IUnknown
     480             : static const struct ndr_interface_public_struct IUnknown_public_structs[] = {
     481             :         { .name = NULL }
     482             : };
     483             : 
     484             : static const struct ndr_interface_call IUnknown_calls[] = {
     485             :         {
     486             :                 "QueryInterface",
     487             :                 sizeof(struct QueryInterface),
     488             :                 (ndr_push_flags_fn_t) ndr_push_QueryInterface,
     489             :                 (ndr_pull_flags_fn_t) ndr_pull_QueryInterface,
     490             :                 (ndr_print_function_t) ndr_print_QueryInterface,
     491             :                 { 0, NULL },
     492             :                 { 0, NULL },
     493             :         },
     494             :         {
     495             :                 "AddRef",
     496             :                 sizeof(struct AddRef),
     497             :                 (ndr_push_flags_fn_t) ndr_push_AddRef,
     498             :                 (ndr_pull_flags_fn_t) ndr_pull_AddRef,
     499             :                 (ndr_print_function_t) ndr_print_AddRef,
     500             :                 { 0, NULL },
     501             :                 { 0, NULL },
     502             :         },
     503             :         {
     504             :                 "Release",
     505             :                 sizeof(struct Release),
     506             :                 (ndr_push_flags_fn_t) ndr_push_Release,
     507             :                 (ndr_pull_flags_fn_t) ndr_pull_Release,
     508             :                 (ndr_print_function_t) ndr_print_Release,
     509             :                 { 0, NULL },
     510             :                 { 0, NULL },
     511             :         },
     512             :         { .name = NULL }
     513             : };
     514             : 
     515             : static const char * const IUnknown_endpoint_strings[] = {
     516             :         "ncacn_np:[\\pipe\\IUnknown]", 
     517             : };
     518             : 
     519             : static const struct ndr_interface_string_array IUnknown_endpoints = {
     520             :         .count  = 1,
     521             :         .names  = IUnknown_endpoint_strings
     522             : };
     523             : 
     524             : static const char * const IUnknown_authservice_strings[] = {
     525             :         "host", 
     526             : };
     527             : 
     528             : static const struct ndr_interface_string_array IUnknown_authservices = {
     529             :         .count  = 1,
     530             :         .names  = IUnknown_authservice_strings
     531             : };
     532             : 
     533             : 
     534             : const struct ndr_interface_table ndr_table_IUnknown = {
     535             :         .name           = "IUnknown",
     536             :         .syntax_id      = {
     537             :                 {0x00000000,0x0000,0x0000,{0xc0,0x00},{0x00,0x00,0x00,0x00,0x00,0x46}},
     538             :                 NDR_IUNKNOWN_VERSION
     539             :         },
     540             :         .helpstring     = NDR_IUNKNOWN_HELPSTRING,
     541             :         .num_calls      = 3,
     542             :         .calls          = IUnknown_calls,
     543             :         .num_public_structs     = 0,
     544             :         .public_structs         = IUnknown_public_structs,
     545             :         .endpoints      = &IUnknown_endpoints,
     546             :         .authservices   = &IUnknown_authservices
     547             : };
     548             : 
     549             : #endif /* SKIP_NDR_TABLE_IUnknown */
     550             : #include "librpc/gen_ndr/ndr_orpc.h"
     551           0 : static enum ndr_err_code ndr_push_CreateInstance(struct ndr_push *ndr, int flags, const struct CreateInstance *r)
     552             : {
     553           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
     554           0 :         if (flags & NDR_IN) {
     555           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     556           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.pUnknown));
     557           0 :                 if (r->in.pUnknown) {
     558           0 :                         NDR_CHECK(ndr_push_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->in.pUnknown));
     559             :                 }
     560           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.iid));
     561           0 :                 if (r->in.iid) {
     562           0 :                         NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, r->in.iid));
     563             :                 }
     564             :         }
     565           0 :         if (flags & NDR_OUT) {
     566           0 :                 if (r->out.ORPCthat == NULL) {
     567           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
     568             :                 }
     569           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     570           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.ppv));
     571           0 :                 if (r->out.ppv) {
     572           0 :                         NDR_CHECK(ndr_push_unique_ptr(ndr, *r->out.ppv));
     573           0 :                         if (*r->out.ppv) {
     574           0 :                                 NDR_CHECK(ndr_push_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, *r->out.ppv));
     575             :                         }
     576             :                 }
     577           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
     578             :         }
     579           0 :         return NDR_ERR_SUCCESS;
     580             : }
     581             : 
     582           0 : static enum ndr_err_code ndr_pull_CreateInstance(struct ndr_pull *ndr, int flags, struct CreateInstance *r)
     583             : {
     584             :         uint32_t _ptr_pUnknown;
     585             :         uint32_t _ptr_iid;
     586             :         uint32_t _ptr_ppv;
     587           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
     588           0 :         TALLOC_CTX *_mem_save_pUnknown_0 = NULL;
     589           0 :         TALLOC_CTX *_mem_save_iid_0 = NULL;
     590           0 :         TALLOC_CTX *_mem_save_ppv_0 = NULL;
     591           0 :         TALLOC_CTX *_mem_save_ppv_1 = NULL;
     592           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
     593           0 :         if (flags & NDR_IN) {
     594           0 :                 NDR_ZERO_STRUCT(r->out);
     595             : 
     596           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     597           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_pUnknown));
     598           0 :                 if (_ptr_pUnknown) {
     599           0 :                         NDR_PULL_ALLOC(ndr, r->in.pUnknown);
     600             :                 } else {
     601           0 :                         r->in.pUnknown = NULL;
     602             :                 }
     603           0 :                 if (r->in.pUnknown) {
     604           0 :                         _mem_save_pUnknown_0 = NDR_PULL_GET_MEM_CTX(ndr);
     605           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.pUnknown, 0);
     606           0 :                         NDR_CHECK(ndr_pull_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->in.pUnknown));
     607           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pUnknown_0, 0);
     608             :                 }
     609           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_iid));
     610           0 :                 if (_ptr_iid) {
     611           0 :                         NDR_PULL_ALLOC(ndr, r->in.iid);
     612             :                 } else {
     613           0 :                         r->in.iid = NULL;
     614             :                 }
     615           0 :                 if (r->in.iid) {
     616           0 :                         _mem_save_iid_0 = NDR_PULL_GET_MEM_CTX(ndr);
     617           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.iid, 0);
     618           0 :                         NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, r->in.iid));
     619           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_iid_0, 0);
     620             :                 }
     621           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     622           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
     623             :         }
     624           0 :         if (flags & NDR_OUT) {
     625             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
     626             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
     627           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
     628           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     629             :                 }
     630           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
     631           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
     632           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     633           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
     634           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_ppv));
     635           0 :                 if (_ptr_ppv) {
     636           0 :                         NDR_PULL_ALLOC(ndr, r->out.ppv);
     637             :                 } else {
     638           0 :                         r->out.ppv = NULL;
     639             :                 }
     640           0 :                 if (r->out.ppv) {
     641           0 :                         _mem_save_ppv_0 = NDR_PULL_GET_MEM_CTX(ndr);
     642           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.ppv, 0);
     643           0 :                         NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_ppv));
     644           0 :                         if (_ptr_ppv) {
     645           0 :                                 NDR_PULL_ALLOC(ndr, *r->out.ppv);
     646             :                         } else {
     647           0 :                                 *r->out.ppv = NULL;
     648             :                         }
     649           0 :                         if (*r->out.ppv) {
     650           0 :                                 _mem_save_ppv_1 = NDR_PULL_GET_MEM_CTX(ndr);
     651           0 :                                 NDR_PULL_SET_MEM_CTX(ndr, *r->out.ppv, 0);
     652           0 :                                 NDR_CHECK(ndr_pull_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, *r->out.ppv));
     653           0 :                                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ppv_1, 0);
     654             :                         }
     655           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ppv_0, 0);
     656             :                 }
     657           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
     658             :         }
     659           0 :         return NDR_ERR_SUCCESS;
     660             : }
     661             : 
     662           0 : _PUBLIC_ void ndr_print_CreateInstance(struct ndr_print *ndr, const char *name, int flags, const struct CreateInstance *r)
     663             : {
     664           0 :         ndr_print_struct(ndr, name, "CreateInstance");
     665           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     666           0 :         ndr->depth++;
     667           0 :         if (flags & NDR_SET_VALUES) {
     668           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
     669             :         }
     670           0 :         if (flags & NDR_IN) {
     671           0 :                 ndr_print_struct(ndr, "in", "CreateInstance");
     672           0 :                 ndr->depth++;
     673           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
     674           0 :                 ndr_print_ptr(ndr, "pUnknown", r->in.pUnknown);
     675           0 :                 ndr->depth++;
     676           0 :                 if (r->in.pUnknown) {
     677           0 :                         ndr_print_MInterfacePointer(ndr, "pUnknown", r->in.pUnknown);
     678             :                 }
     679           0 :                 ndr->depth--;
     680           0 :                 ndr_print_ptr(ndr, "iid", r->in.iid);
     681           0 :                 ndr->depth++;
     682           0 :                 if (r->in.iid) {
     683           0 :                         ndr_print_GUID(ndr, "iid", r->in.iid);
     684             :                 }
     685           0 :                 ndr->depth--;
     686           0 :                 ndr->depth--;
     687             :         }
     688           0 :         if (flags & NDR_OUT) {
     689           0 :                 ndr_print_struct(ndr, "out", "CreateInstance");
     690           0 :                 ndr->depth++;
     691           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
     692           0 :                 ndr->depth++;
     693           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
     694           0 :                 ndr->depth--;
     695           0 :                 ndr_print_ptr(ndr, "ppv", r->out.ppv);
     696           0 :                 ndr->depth++;
     697           0 :                 if (r->out.ppv) {
     698           0 :                         ndr_print_ptr(ndr, "ppv", *r->out.ppv);
     699           0 :                         ndr->depth++;
     700           0 :                         if (*r->out.ppv) {
     701           0 :                                 ndr_print_MInterfacePointer(ndr, "ppv", *r->out.ppv);
     702             :                         }
     703           0 :                         ndr->depth--;
     704             :                 }
     705           0 :                 ndr->depth--;
     706           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
     707           0 :                 ndr->depth--;
     708             :         }
     709           0 :         ndr->depth--;
     710             : }
     711             : 
     712           0 : static enum ndr_err_code ndr_push_RemoteCreateInstance(struct ndr_push *ndr, int flags, const struct RemoteCreateInstance *r)
     713             : {
     714           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
     715           0 :         if (flags & NDR_IN) {
     716           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     717             :         }
     718           0 :         if (flags & NDR_OUT) {
     719           0 :                 if (r->out.ORPCthat == NULL) {
     720           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
     721             :                 }
     722           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     723           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
     724             :         }
     725           0 :         return NDR_ERR_SUCCESS;
     726             : }
     727             : 
     728           0 : static enum ndr_err_code ndr_pull_RemoteCreateInstance(struct ndr_pull *ndr, int flags, struct RemoteCreateInstance *r)
     729             : {
     730           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
     731           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
     732           0 :         if (flags & NDR_IN) {
     733           0 :                 NDR_ZERO_STRUCT(r->out);
     734             : 
     735           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     736           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     737           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
     738             :         }
     739           0 :         if (flags & NDR_OUT) {
     740             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
     741             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
     742           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
     743           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     744             :                 }
     745           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
     746           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
     747           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     748           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
     749           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
     750             :         }
     751           0 :         return NDR_ERR_SUCCESS;
     752             : }
     753             : 
     754           0 : _PUBLIC_ void ndr_print_RemoteCreateInstance(struct ndr_print *ndr, const char *name, int flags, const struct RemoteCreateInstance *r)
     755             : {
     756           0 :         ndr_print_struct(ndr, name, "RemoteCreateInstance");
     757           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     758           0 :         ndr->depth++;
     759           0 :         if (flags & NDR_SET_VALUES) {
     760           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
     761             :         }
     762           0 :         if (flags & NDR_IN) {
     763           0 :                 ndr_print_struct(ndr, "in", "RemoteCreateInstance");
     764           0 :                 ndr->depth++;
     765           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
     766           0 :                 ndr->depth--;
     767             :         }
     768           0 :         if (flags & NDR_OUT) {
     769           0 :                 ndr_print_struct(ndr, "out", "RemoteCreateInstance");
     770           0 :                 ndr->depth++;
     771           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
     772           0 :                 ndr->depth++;
     773           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
     774           0 :                 ndr->depth--;
     775           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
     776           0 :                 ndr->depth--;
     777             :         }
     778           0 :         ndr->depth--;
     779             : }
     780             : 
     781           0 : static enum ndr_err_code ndr_push_LockServer(struct ndr_push *ndr, int flags, const struct LockServer *r)
     782             : {
     783           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
     784           0 :         if (flags & NDR_IN) {
     785           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     786           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->in.lock));
     787             :         }
     788           0 :         if (flags & NDR_OUT) {
     789           0 :                 if (r->out.ORPCthat == NULL) {
     790           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
     791             :                 }
     792           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     793           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
     794             :         }
     795           0 :         return NDR_ERR_SUCCESS;
     796             : }
     797             : 
     798           0 : static enum ndr_err_code ndr_pull_LockServer(struct ndr_pull *ndr, int flags, struct LockServer *r)
     799             : {
     800           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
     801           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
     802           0 :         if (flags & NDR_IN) {
     803           0 :                 NDR_ZERO_STRUCT(r->out);
     804             : 
     805           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     806           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->in.lock));
     807           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     808           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
     809             :         }
     810           0 :         if (flags & NDR_OUT) {
     811             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
     812             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
     813           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
     814           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     815             :                 }
     816           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
     817           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
     818           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     819           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
     820           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
     821             :         }
     822           0 :         return NDR_ERR_SUCCESS;
     823             : }
     824             : 
     825           0 : _PUBLIC_ void ndr_print_LockServer(struct ndr_print *ndr, const char *name, int flags, const struct LockServer *r)
     826             : {
     827           0 :         ndr_print_struct(ndr, name, "LockServer");
     828           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     829           0 :         ndr->depth++;
     830           0 :         if (flags & NDR_SET_VALUES) {
     831           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
     832             :         }
     833           0 :         if (flags & NDR_IN) {
     834           0 :                 ndr_print_struct(ndr, "in", "LockServer");
     835           0 :                 ndr->depth++;
     836           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
     837           0 :                 ndr_print_uint8(ndr, "lock", r->in.lock);
     838           0 :                 ndr->depth--;
     839             :         }
     840           0 :         if (flags & NDR_OUT) {
     841           0 :                 ndr_print_struct(ndr, "out", "LockServer");
     842           0 :                 ndr->depth++;
     843           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
     844           0 :                 ndr->depth++;
     845           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
     846           0 :                 ndr->depth--;
     847           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
     848           0 :                 ndr->depth--;
     849             :         }
     850           0 :         ndr->depth--;
     851             : }
     852             : 
     853           0 : static enum ndr_err_code ndr_push_RemoteLockServer(struct ndr_push *ndr, int flags, const struct RemoteLockServer *r)
     854             : {
     855           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
     856           0 :         if (flags & NDR_IN) {
     857           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     858             :         }
     859           0 :         if (flags & NDR_OUT) {
     860           0 :                 if (r->out.ORPCthat == NULL) {
     861           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
     862             :                 }
     863           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     864           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
     865             :         }
     866           0 :         return NDR_ERR_SUCCESS;
     867             : }
     868             : 
     869           0 : static enum ndr_err_code ndr_pull_RemoteLockServer(struct ndr_pull *ndr, int flags, struct RemoteLockServer *r)
     870             : {
     871           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
     872           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
     873           0 :         if (flags & NDR_IN) {
     874           0 :                 NDR_ZERO_STRUCT(r->out);
     875             : 
     876           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
     877           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     878           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
     879             :         }
     880           0 :         if (flags & NDR_OUT) {
     881             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
     882             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
     883           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
     884           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
     885             :                 }
     886           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
     887           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
     888           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
     889           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
     890           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
     891             :         }
     892           0 :         return NDR_ERR_SUCCESS;
     893             : }
     894             : 
     895           0 : _PUBLIC_ void ndr_print_RemoteLockServer(struct ndr_print *ndr, const char *name, int flags, const struct RemoteLockServer *r)
     896             : {
     897           0 :         ndr_print_struct(ndr, name, "RemoteLockServer");
     898           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     899           0 :         ndr->depth++;
     900           0 :         if (flags & NDR_SET_VALUES) {
     901           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
     902             :         }
     903           0 :         if (flags & NDR_IN) {
     904           0 :                 ndr_print_struct(ndr, "in", "RemoteLockServer");
     905           0 :                 ndr->depth++;
     906           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
     907           0 :                 ndr->depth--;
     908             :         }
     909           0 :         if (flags & NDR_OUT) {
     910           0 :                 ndr_print_struct(ndr, "out", "RemoteLockServer");
     911           0 :                 ndr->depth++;
     912           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
     913           0 :                 ndr->depth++;
     914           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
     915           0 :                 ndr->depth--;
     916           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
     917           0 :                 ndr->depth--;
     918             :         }
     919           0 :         ndr->depth--;
     920             : }
     921             : 
     922             : #ifndef SKIP_NDR_TABLE_IClassFactory
     923             : static const struct ndr_interface_public_struct IClassFactory_public_structs[] = {
     924             :         { .name = NULL }
     925             : };
     926             : 
     927             : static const struct ndr_interface_call IClassFactory_calls[] = {
     928             :         {
     929             :                 "CreateInstance",
     930             :                 sizeof(struct CreateInstance),
     931             :                 (ndr_push_flags_fn_t) ndr_push_CreateInstance,
     932             :                 (ndr_pull_flags_fn_t) ndr_pull_CreateInstance,
     933             :                 (ndr_print_function_t) ndr_print_CreateInstance,
     934             :                 { 0, NULL },
     935             :                 { 0, NULL },
     936             :         },
     937             :         {
     938             :                 "RemoteCreateInstance",
     939             :                 sizeof(struct RemoteCreateInstance),
     940             :                 (ndr_push_flags_fn_t) ndr_push_RemoteCreateInstance,
     941             :                 (ndr_pull_flags_fn_t) ndr_pull_RemoteCreateInstance,
     942             :                 (ndr_print_function_t) ndr_print_RemoteCreateInstance,
     943             :                 { 0, NULL },
     944             :                 { 0, NULL },
     945             :         },
     946             :         {
     947             :                 "LockServer",
     948             :                 sizeof(struct LockServer),
     949             :                 (ndr_push_flags_fn_t) ndr_push_LockServer,
     950             :                 (ndr_pull_flags_fn_t) ndr_pull_LockServer,
     951             :                 (ndr_print_function_t) ndr_print_LockServer,
     952             :                 { 0, NULL },
     953             :                 { 0, NULL },
     954             :         },
     955             :         {
     956             :                 "RemoteLockServer",
     957             :                 sizeof(struct RemoteLockServer),
     958             :                 (ndr_push_flags_fn_t) ndr_push_RemoteLockServer,
     959             :                 (ndr_pull_flags_fn_t) ndr_pull_RemoteLockServer,
     960             :                 (ndr_print_function_t) ndr_print_RemoteLockServer,
     961             :                 { 0, NULL },
     962             :                 { 0, NULL },
     963             :         },
     964             :         { .name = NULL }
     965             : };
     966             : 
     967             : static const char * const IClassFactory_endpoint_strings[] = {
     968             :         "ncacn_np:[\\pipe\\IClassFactory]", 
     969             : };
     970             : 
     971             : static const struct ndr_interface_string_array IClassFactory_endpoints = {
     972             :         .count  = 1,
     973             :         .names  = IClassFactory_endpoint_strings
     974             : };
     975             : 
     976             : static const char * const IClassFactory_authservice_strings[] = {
     977             :         "host", 
     978             : };
     979             : 
     980             : static const struct ndr_interface_string_array IClassFactory_authservices = {
     981             :         .count  = 1,
     982             :         .names  = IClassFactory_authservice_strings
     983             : };
     984             : 
     985             : 
     986             : const struct ndr_interface_table ndr_table_IClassFactory = {
     987             :         .name           = "IClassFactory",
     988             :         .syntax_id      = {
     989             :                 {0x00000001,0x0000,0x0000,{0xc0,0x00},{0x00,0x00,0x00,0x00,0x00,0x46}},
     990             :                 NDR_ICLASSFACTORY_VERSION
     991             :         },
     992             :         .helpstring     = NDR_ICLASSFACTORY_HELPSTRING,
     993             :         .num_calls      = 4,
     994             :         .calls          = IClassFactory_calls,
     995             :         .num_public_structs     = 0,
     996             :         .public_structs         = IClassFactory_public_structs,
     997             :         .endpoints      = &IClassFactory_endpoints,
     998             :         .authservices   = &IClassFactory_authservices
     999             : };
    1000             : 
    1001             : #endif /* SKIP_NDR_TABLE_IClassFactory */
    1002             : #include "librpc/gen_ndr/ndr_orpc.h"
    1003           0 : _PUBLIC_ enum ndr_err_code ndr_push_REMQIRESULT(struct ndr_push *ndr, int ndr_flags, const struct REMQIRESULT *r)
    1004             : {
    1005           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1006           0 :         if (ndr_flags & NDR_SCALARS) {
    1007           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1008           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->hResult));
    1009           0 :                 NDR_CHECK(ndr_push_STDOBJREF(ndr, NDR_SCALARS, &r->std));
    1010           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1011             :         }
    1012           0 :         if (ndr_flags & NDR_BUFFERS) {
    1013           0 :                 NDR_CHECK(ndr_push_STDOBJREF(ndr, NDR_BUFFERS, &r->std));
    1014             :         }
    1015           0 :         return NDR_ERR_SUCCESS;
    1016             : }
    1017             : 
    1018           0 : _PUBLIC_ enum ndr_err_code ndr_pull_REMQIRESULT(struct ndr_pull *ndr, int ndr_flags, struct REMQIRESULT *r)
    1019             : {
    1020           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1021           0 :         if (ndr_flags & NDR_SCALARS) {
    1022           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1023           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->hResult));
    1024           0 :                 NDR_CHECK(ndr_pull_STDOBJREF(ndr, NDR_SCALARS, &r->std));
    1025           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1026             :         }
    1027           0 :         if (ndr_flags & NDR_BUFFERS) {
    1028           0 :                 NDR_CHECK(ndr_pull_STDOBJREF(ndr, NDR_BUFFERS, &r->std));
    1029             :         }
    1030           0 :         return NDR_ERR_SUCCESS;
    1031             : }
    1032             : 
    1033           0 : static void ndr_print_flags_REMQIRESULT(struct ndr_print *ndr, const char *name, int unused, const struct REMQIRESULT *r)
    1034             : {
    1035           0 :         ndr_print_REMQIRESULT(ndr, name, r);
    1036           0 : }
    1037             : 
    1038           0 : _PUBLIC_ void ndr_print_REMQIRESULT(struct ndr_print *ndr, const char *name, const struct REMQIRESULT *r)
    1039             : {
    1040           0 :         ndr_print_struct(ndr, name, "REMQIRESULT");
    1041           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1042           0 :         ndr->depth++;
    1043           0 :         ndr_print_WERROR(ndr, "hResult", r->hResult);
    1044           0 :         ndr_print_STDOBJREF(ndr, "std", &r->std);
    1045           0 :         ndr->depth--;
    1046             : }
    1047             : 
    1048           0 : static enum ndr_err_code ndr_push_REMINTERFACEREF(struct ndr_push *ndr, int ndr_flags, const struct REMINTERFACEREF *r)
    1049             : {
    1050           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1051           0 :         if (ndr_flags & NDR_SCALARS) {
    1052           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1053           0 :                 NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->ipid));
    1054           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cPublicRefs));
    1055           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cPrivateRefs));
    1056           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1057             :         }
    1058           0 :         if (ndr_flags & NDR_BUFFERS) {
    1059             :         }
    1060           0 :         return NDR_ERR_SUCCESS;
    1061             : }
    1062             : 
    1063           0 : static enum ndr_err_code ndr_pull_REMINTERFACEREF(struct ndr_pull *ndr, int ndr_flags, struct REMINTERFACEREF *r)
    1064             : {
    1065           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1066           0 :         if (ndr_flags & NDR_SCALARS) {
    1067           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1068           0 :                 NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->ipid));
    1069           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cPublicRefs));
    1070           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cPrivateRefs));
    1071           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1072             :         }
    1073           0 :         if (ndr_flags & NDR_BUFFERS) {
    1074             :         }
    1075           0 :         return NDR_ERR_SUCCESS;
    1076             : }
    1077             : 
    1078           0 : _PUBLIC_ void ndr_print_REMINTERFACEREF(struct ndr_print *ndr, const char *name, const struct REMINTERFACEREF *r)
    1079             : {
    1080           0 :         ndr_print_struct(ndr, name, "REMINTERFACEREF");
    1081           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1082           0 :         ndr->depth++;
    1083           0 :         ndr_print_GUID(ndr, "ipid", &r->ipid);
    1084           0 :         ndr_print_uint32(ndr, "cPublicRefs", r->cPublicRefs);
    1085           0 :         ndr_print_uint32(ndr, "cPrivateRefs", r->cPrivateRefs);
    1086           0 :         ndr->depth--;
    1087             : }
    1088             : 
    1089           0 : static enum ndr_err_code ndr_push_RemQueryInterface(struct ndr_push *ndr, int flags, const struct RemQueryInterface *r)
    1090             : {
    1091             :         uint32_t cntr_iids_1;
    1092             :         uint32_t cntr_ip_1;
    1093           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    1094           0 :         if (flags & NDR_IN) {
    1095           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    1096           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.ripid));
    1097           0 :                 if (r->in.ripid) {
    1098           0 :                         NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, r->in.ripid));
    1099             :                 }
    1100           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.cRefs));
    1101           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->in.cIids));
    1102           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.iids));
    1103           0 :                 if (r->in.iids) {
    1104           0 :                         NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.cIids));
    1105           0 :                         for (cntr_iids_1 = 0; cntr_iids_1 < (r->in.cIids); cntr_iids_1++) {
    1106           0 :                                 NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->in.iids[cntr_iids_1]));
    1107             :                         }
    1108             :                 }
    1109             :         }
    1110           0 :         if (flags & NDR_OUT) {
    1111           0 :                 if (r->out.ORPCthat == NULL) {
    1112           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    1113             :                 }
    1114           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    1115           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.ip));
    1116           0 :                 if (r->out.ip) {
    1117           0 :                         NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.cIids));
    1118           0 :                         for (cntr_ip_1 = 0; cntr_ip_1 < (r->in.cIids); cntr_ip_1++) {
    1119           0 :                                 NDR_CHECK(ndr_push_MInterfacePointer(ndr, NDR_SCALARS, &r->out.ip[cntr_ip_1]));
    1120             :                         }
    1121           0 :                         for (cntr_ip_1 = 0; cntr_ip_1 < (r->in.cIids); cntr_ip_1++) {
    1122           0 :                                 NDR_CHECK(ndr_push_MInterfacePointer(ndr, NDR_BUFFERS, &r->out.ip[cntr_ip_1]));
    1123             :                         }
    1124             :                 }
    1125           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    1126             :         }
    1127           0 :         return NDR_ERR_SUCCESS;
    1128             : }
    1129             : 
    1130           0 : static enum ndr_err_code ndr_pull_RemQueryInterface(struct ndr_pull *ndr, int flags, struct RemQueryInterface *r)
    1131             : {
    1132             :         uint32_t _ptr_ripid;
    1133             :         uint32_t _ptr_iids;
    1134           0 :         uint32_t size_iids_1 = 0;
    1135             :         uint32_t cntr_iids_1;
    1136             :         uint32_t _ptr_ip;
    1137           0 :         uint32_t size_ip_1 = 0;
    1138             :         uint32_t cntr_ip_1;
    1139           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    1140           0 :         TALLOC_CTX *_mem_save_ripid_0 = NULL;
    1141           0 :         TALLOC_CTX *_mem_save_iids_0 = NULL;
    1142           0 :         TALLOC_CTX *_mem_save_iids_1 = NULL;
    1143           0 :         TALLOC_CTX *_mem_save_ip_0 = NULL;
    1144           0 :         TALLOC_CTX *_mem_save_ip_1 = NULL;
    1145           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    1146           0 :         if (flags & NDR_IN) {
    1147           0 :                 NDR_ZERO_STRUCT(r->out);
    1148             : 
    1149           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    1150           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_ripid));
    1151           0 :                 if (_ptr_ripid) {
    1152           0 :                         NDR_PULL_ALLOC(ndr, r->in.ripid);
    1153             :                 } else {
    1154           0 :                         r->in.ripid = NULL;
    1155             :                 }
    1156           0 :                 if (r->in.ripid) {
    1157           0 :                         _mem_save_ripid_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1158           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.ripid, 0);
    1159           0 :                         NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, r->in.ripid));
    1160           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ripid_0, 0);
    1161             :                 }
    1162           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.cRefs));
    1163           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->in.cIids));
    1164           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_iids));
    1165           0 :                 if (_ptr_iids) {
    1166           0 :                         NDR_PULL_ALLOC(ndr, r->in.iids);
    1167             :                 } else {
    1168           0 :                         r->in.iids = NULL;
    1169             :                 }
    1170           0 :                 if (r->in.iids) {
    1171           0 :                         _mem_save_iids_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1172           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.iids, 0);
    1173           0 :                         NDR_CHECK(ndr_pull_array_size(ndr, &r->in.iids));
    1174           0 :                         NDR_CHECK(ndr_get_array_size(ndr, (void*)&r->in.iids, &size_iids_1));
    1175           0 :                         NDR_PULL_ALLOC_N(ndr, r->in.iids, size_iids_1);
    1176           0 :                         _mem_save_iids_1 = NDR_PULL_GET_MEM_CTX(ndr);
    1177           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.iids, 0);
    1178           0 :                         for (cntr_iids_1 = 0; cntr_iids_1 < (size_iids_1); cntr_iids_1++) {
    1179           0 :                                 NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->in.iids[cntr_iids_1]));
    1180             :                         }
    1181           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_iids_1, 0);
    1182           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_iids_0, 0);
    1183             :                 }
    1184           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    1185           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    1186           0 :                 if (r->in.iids) {
    1187           0 :                         NDR_CHECK(ndr_check_steal_array_size(ndr, (void*)&r->in.iids, r->in.cIids));
    1188             :                 }
    1189             :         }
    1190           0 :         if (flags & NDR_OUT) {
    1191             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    1192             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    1193           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    1194           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    1195             :                 }
    1196           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1197           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    1198           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    1199           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    1200           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_ip));
    1201           0 :                 if (_ptr_ip) {
    1202           0 :                         NDR_PULL_ALLOC(ndr, r->out.ip);
    1203             :                 } else {
    1204           0 :                         r->out.ip = NULL;
    1205             :                 }
    1206           0 :                 if (r->out.ip) {
    1207           0 :                         _mem_save_ip_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1208           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.ip, 0);
    1209           0 :                         NDR_CHECK(ndr_pull_array_size(ndr, &r->out.ip));
    1210           0 :                         NDR_CHECK(ndr_get_array_size(ndr, (void*)&r->out.ip, &size_ip_1));
    1211           0 :                         NDR_PULL_ALLOC_N(ndr, r->out.ip, size_ip_1);
    1212           0 :                         _mem_save_ip_1 = NDR_PULL_GET_MEM_CTX(ndr);
    1213           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.ip, 0);
    1214           0 :                         for (cntr_ip_1 = 0; cntr_ip_1 < (size_ip_1); cntr_ip_1++) {
    1215           0 :                                 NDR_CHECK(ndr_pull_MInterfacePointer(ndr, NDR_SCALARS, &r->out.ip[cntr_ip_1]));
    1216             :                         }
    1217           0 :                         for (cntr_ip_1 = 0; cntr_ip_1 < (size_ip_1); cntr_ip_1++) {
    1218           0 :                                 NDR_CHECK(ndr_pull_MInterfacePointer(ndr, NDR_BUFFERS, &r->out.ip[cntr_ip_1]));
    1219             :                         }
    1220           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ip_1, 0);
    1221           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ip_0, 0);
    1222             :                 }
    1223           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    1224           0 :                 if (r->out.ip) {
    1225           0 :                         NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->out.ip, r->in.cIids));
    1226             :                 }
    1227           0 :                 for (cntr_ip_1 = 0; cntr_ip_1 < (size_ip_1); cntr_ip_1++) {
    1228             :                 }
    1229             :         }
    1230           0 :         return NDR_ERR_SUCCESS;
    1231             : }
    1232             : 
    1233           0 : _PUBLIC_ void ndr_print_RemQueryInterface(struct ndr_print *ndr, const char *name, int flags, const struct RemQueryInterface *r)
    1234             : {
    1235             :         uint32_t cntr_iids_1;
    1236             :         uint32_t cntr_ip_1;
    1237           0 :         ndr_print_struct(ndr, name, "RemQueryInterface");
    1238           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1239           0 :         ndr->depth++;
    1240           0 :         if (flags & NDR_SET_VALUES) {
    1241           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    1242             :         }
    1243           0 :         if (flags & NDR_IN) {
    1244           0 :                 ndr_print_struct(ndr, "in", "RemQueryInterface");
    1245           0 :                 ndr->depth++;
    1246           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    1247           0 :                 ndr_print_ptr(ndr, "ripid", r->in.ripid);
    1248           0 :                 ndr->depth++;
    1249           0 :                 if (r->in.ripid) {
    1250           0 :                         ndr_print_GUID(ndr, "ripid", r->in.ripid);
    1251             :                 }
    1252           0 :                 ndr->depth--;
    1253           0 :                 ndr_print_uint32(ndr, "cRefs", r->in.cRefs);
    1254           0 :                 ndr_print_uint16(ndr, "cIids", r->in.cIids);
    1255           0 :                 ndr_print_ptr(ndr, "iids", r->in.iids);
    1256           0 :                 ndr->depth++;
    1257           0 :                 if (r->in.iids) {
    1258           0 :                         ndr->print(ndr, "%s: ARRAY(%d)", "iids", (int)r->in.cIids);
    1259           0 :                         ndr->depth++;
    1260           0 :                         for (cntr_iids_1 = 0; cntr_iids_1 < (r->in.cIids); cntr_iids_1++) {
    1261           0 :                                 ndr_print_GUID(ndr, "iids", &r->in.iids[cntr_iids_1]);
    1262             :                         }
    1263           0 :                         ndr->depth--;
    1264             :                 }
    1265           0 :                 ndr->depth--;
    1266           0 :                 ndr->depth--;
    1267             :         }
    1268           0 :         if (flags & NDR_OUT) {
    1269           0 :                 ndr_print_struct(ndr, "out", "RemQueryInterface");
    1270           0 :                 ndr->depth++;
    1271           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    1272           0 :                 ndr->depth++;
    1273           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    1274           0 :                 ndr->depth--;
    1275           0 :                 ndr_print_ptr(ndr, "ip", r->out.ip);
    1276           0 :                 ndr->depth++;
    1277           0 :                 if (r->out.ip) {
    1278           0 :                         ndr->print(ndr, "%s: ARRAY(%d)", "ip", (int)r->in.cIids);
    1279           0 :                         ndr->depth++;
    1280           0 :                         for (cntr_ip_1 = 0; cntr_ip_1 < (r->in.cIids); cntr_ip_1++) {
    1281           0 :                                 ndr_print_MInterfacePointer(ndr, "ip", &r->out.ip[cntr_ip_1]);
    1282             :                         }
    1283           0 :                         ndr->depth--;
    1284             :                 }
    1285           0 :                 ndr->depth--;
    1286           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    1287           0 :                 ndr->depth--;
    1288             :         }
    1289           0 :         ndr->depth--;
    1290             : }
    1291             : 
    1292           0 : static enum ndr_err_code ndr_push_RemAddRef(struct ndr_push *ndr, int flags, const struct RemAddRef *r)
    1293             : {
    1294             :         uint32_t cntr_InterfaceRefs_0;
    1295             :         uint32_t cntr_pResults_1;
    1296           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    1297           0 :         if (flags & NDR_IN) {
    1298           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    1299           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->in.cInterfaceRefs));
    1300           0 :                 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.cInterfaceRefs));
    1301           0 :                 for (cntr_InterfaceRefs_0 = 0; cntr_InterfaceRefs_0 < (r->in.cInterfaceRefs); cntr_InterfaceRefs_0++) {
    1302           0 :                         NDR_CHECK(ndr_push_REMINTERFACEREF(ndr, NDR_SCALARS, &r->in.InterfaceRefs[cntr_InterfaceRefs_0]));
    1303             :                 }
    1304             :         }
    1305           0 :         if (flags & NDR_OUT) {
    1306           0 :                 if (r->out.ORPCthat == NULL) {
    1307           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    1308             :                 }
    1309           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    1310           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.pResults));
    1311           0 :                 if (r->out.pResults) {
    1312           0 :                         NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.cInterfaceRefs));
    1313           0 :                         for (cntr_pResults_1 = 0; cntr_pResults_1 < (r->in.cInterfaceRefs); cntr_pResults_1++) {
    1314           0 :                                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.pResults[cntr_pResults_1]));
    1315             :                         }
    1316             :                 }
    1317           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    1318             :         }
    1319           0 :         return NDR_ERR_SUCCESS;
    1320             : }
    1321             : 
    1322           0 : static enum ndr_err_code ndr_pull_RemAddRef(struct ndr_pull *ndr, int flags, struct RemAddRef *r)
    1323             : {
    1324           0 :         uint32_t size_InterfaceRefs_0 = 0;
    1325             :         uint32_t cntr_InterfaceRefs_0;
    1326             :         uint32_t _ptr_pResults;
    1327           0 :         uint32_t size_pResults_1 = 0;
    1328             :         uint32_t cntr_pResults_1;
    1329           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    1330           0 :         TALLOC_CTX *_mem_save_InterfaceRefs_0 = NULL;
    1331           0 :         TALLOC_CTX *_mem_save_pResults_0 = NULL;
    1332           0 :         TALLOC_CTX *_mem_save_pResults_1 = NULL;
    1333           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    1334           0 :         if (flags & NDR_IN) {
    1335           0 :                 NDR_ZERO_STRUCT(r->out);
    1336             : 
    1337           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    1338           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->in.cInterfaceRefs));
    1339           0 :                 NDR_CHECK(ndr_pull_array_size(ndr, &r->in.InterfaceRefs));
    1340           0 :                 NDR_CHECK(ndr_get_array_size(ndr, (void*)&r->in.InterfaceRefs, &size_InterfaceRefs_0));
    1341           0 :                 NDR_PULL_ALLOC_N(ndr, r->in.InterfaceRefs, size_InterfaceRefs_0);
    1342           0 :                 _mem_save_InterfaceRefs_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1343           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->in.InterfaceRefs, 0);
    1344           0 :                 for (cntr_InterfaceRefs_0 = 0; cntr_InterfaceRefs_0 < (size_InterfaceRefs_0); cntr_InterfaceRefs_0++) {
    1345           0 :                         NDR_CHECK(ndr_pull_REMINTERFACEREF(ndr, NDR_SCALARS, &r->in.InterfaceRefs[cntr_InterfaceRefs_0]));
    1346             :                 }
    1347           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_InterfaceRefs_0, 0);
    1348           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    1349           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    1350           0 :                 if (r->in.InterfaceRefs) {
    1351           0 :                         NDR_CHECK(ndr_check_steal_array_size(ndr, (void*)&r->in.InterfaceRefs, r->in.cInterfaceRefs));
    1352             :                 }
    1353             :         }
    1354           0 :         if (flags & NDR_OUT) {
    1355             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    1356             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    1357           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    1358           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    1359             :                 }
    1360           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1361           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    1362           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    1363           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    1364           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_pResults));
    1365           0 :                 if (_ptr_pResults) {
    1366           0 :                         NDR_PULL_ALLOC(ndr, r->out.pResults);
    1367             :                 } else {
    1368           0 :                         r->out.pResults = NULL;
    1369             :                 }
    1370           0 :                 if (r->out.pResults) {
    1371           0 :                         _mem_save_pResults_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1372           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.pResults, 0);
    1373           0 :                         NDR_CHECK(ndr_pull_array_size(ndr, &r->out.pResults));
    1374           0 :                         NDR_CHECK(ndr_get_array_size(ndr, (void*)&r->out.pResults, &size_pResults_1));
    1375           0 :                         NDR_PULL_ALLOC_N(ndr, r->out.pResults, size_pResults_1);
    1376           0 :                         _mem_save_pResults_1 = NDR_PULL_GET_MEM_CTX(ndr);
    1377           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.pResults, 0);
    1378           0 :                         for (cntr_pResults_1 = 0; cntr_pResults_1 < (size_pResults_1); cntr_pResults_1++) {
    1379           0 :                                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.pResults[cntr_pResults_1]));
    1380             :                         }
    1381           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pResults_1, 0);
    1382           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pResults_0, 0);
    1383             :                 }
    1384           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    1385           0 :                 if (r->out.pResults) {
    1386           0 :                         NDR_CHECK(ndr_check_steal_array_size(ndr, (void*)&r->out.pResults, r->in.cInterfaceRefs));
    1387             :                 }
    1388             :         }
    1389           0 :         return NDR_ERR_SUCCESS;
    1390             : }
    1391             : 
    1392           0 : _PUBLIC_ void ndr_print_RemAddRef(struct ndr_print *ndr, const char *name, int flags, const struct RemAddRef *r)
    1393             : {
    1394             :         uint32_t cntr_InterfaceRefs_0;
    1395             :         uint32_t cntr_pResults_1;
    1396           0 :         ndr_print_struct(ndr, name, "RemAddRef");
    1397           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1398           0 :         ndr->depth++;
    1399           0 :         if (flags & NDR_SET_VALUES) {
    1400           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    1401             :         }
    1402           0 :         if (flags & NDR_IN) {
    1403           0 :                 ndr_print_struct(ndr, "in", "RemAddRef");
    1404           0 :                 ndr->depth++;
    1405           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    1406           0 :                 ndr_print_uint16(ndr, "cInterfaceRefs", r->in.cInterfaceRefs);
    1407           0 :                 ndr->print(ndr, "%s: ARRAY(%d)", "InterfaceRefs", (int)r->in.cInterfaceRefs);
    1408           0 :                 ndr->depth++;
    1409           0 :                 for (cntr_InterfaceRefs_0 = 0; cntr_InterfaceRefs_0 < (r->in.cInterfaceRefs); cntr_InterfaceRefs_0++) {
    1410           0 :                         ndr_print_REMINTERFACEREF(ndr, "InterfaceRefs", &r->in.InterfaceRefs[cntr_InterfaceRefs_0]);
    1411             :                 }
    1412           0 :                 ndr->depth--;
    1413           0 :                 ndr->depth--;
    1414             :         }
    1415           0 :         if (flags & NDR_OUT) {
    1416           0 :                 ndr_print_struct(ndr, "out", "RemAddRef");
    1417           0 :                 ndr->depth++;
    1418           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    1419           0 :                 ndr->depth++;
    1420           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    1421           0 :                 ndr->depth--;
    1422           0 :                 ndr_print_ptr(ndr, "pResults", r->out.pResults);
    1423           0 :                 ndr->depth++;
    1424           0 :                 if (r->out.pResults) {
    1425           0 :                         ndr->print(ndr, "%s: ARRAY(%d)", "pResults", (int)r->in.cInterfaceRefs);
    1426           0 :                         ndr->depth++;
    1427           0 :                         for (cntr_pResults_1 = 0; cntr_pResults_1 < (r->in.cInterfaceRefs); cntr_pResults_1++) {
    1428           0 :                                 ndr_print_WERROR(ndr, "pResults", r->out.pResults[cntr_pResults_1]);
    1429             :                         }
    1430           0 :                         ndr->depth--;
    1431             :                 }
    1432           0 :                 ndr->depth--;
    1433           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    1434           0 :                 ndr->depth--;
    1435             :         }
    1436           0 :         ndr->depth--;
    1437             : }
    1438             : 
    1439           0 : static enum ndr_err_code ndr_push_RemRelease(struct ndr_push *ndr, int flags, const struct RemRelease *r)
    1440             : {
    1441             :         uint32_t cntr_InterfaceRefs_0;
    1442           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    1443           0 :         if (flags & NDR_IN) {
    1444           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    1445           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->in.cInterfaceRefs));
    1446           0 :                 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.cInterfaceRefs));
    1447           0 :                 for (cntr_InterfaceRefs_0 = 0; cntr_InterfaceRefs_0 < (r->in.cInterfaceRefs); cntr_InterfaceRefs_0++) {
    1448           0 :                         NDR_CHECK(ndr_push_REMINTERFACEREF(ndr, NDR_SCALARS, &r->in.InterfaceRefs[cntr_InterfaceRefs_0]));
    1449             :                 }
    1450             :         }
    1451           0 :         if (flags & NDR_OUT) {
    1452           0 :                 if (r->out.ORPCthat == NULL) {
    1453           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    1454             :                 }
    1455           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    1456           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    1457             :         }
    1458           0 :         return NDR_ERR_SUCCESS;
    1459             : }
    1460             : 
    1461           0 : static enum ndr_err_code ndr_pull_RemRelease(struct ndr_pull *ndr, int flags, struct RemRelease *r)
    1462             : {
    1463           0 :         uint32_t size_InterfaceRefs_0 = 0;
    1464             :         uint32_t cntr_InterfaceRefs_0;
    1465           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    1466           0 :         TALLOC_CTX *_mem_save_InterfaceRefs_0 = NULL;
    1467           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    1468           0 :         if (flags & NDR_IN) {
    1469           0 :                 NDR_ZERO_STRUCT(r->out);
    1470             : 
    1471           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    1472           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->in.cInterfaceRefs));
    1473           0 :                 NDR_CHECK(ndr_pull_array_size(ndr, &r->in.InterfaceRefs));
    1474           0 :                 NDR_CHECK(ndr_get_array_size(ndr, (void*)&r->in.InterfaceRefs, &size_InterfaceRefs_0));
    1475           0 :                 NDR_PULL_ALLOC_N(ndr, r->in.InterfaceRefs, size_InterfaceRefs_0);
    1476           0 :                 _mem_save_InterfaceRefs_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1477           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->in.InterfaceRefs, 0);
    1478           0 :                 for (cntr_InterfaceRefs_0 = 0; cntr_InterfaceRefs_0 < (size_InterfaceRefs_0); cntr_InterfaceRefs_0++) {
    1479           0 :                         NDR_CHECK(ndr_pull_REMINTERFACEREF(ndr, NDR_SCALARS, &r->in.InterfaceRefs[cntr_InterfaceRefs_0]));
    1480             :                 }
    1481           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_InterfaceRefs_0, 0);
    1482           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    1483           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    1484           0 :                 if (r->in.InterfaceRefs) {
    1485           0 :                         NDR_CHECK(ndr_check_steal_array_size(ndr, (void*)&r->in.InterfaceRefs, r->in.cInterfaceRefs));
    1486             :                 }
    1487             :         }
    1488           0 :         if (flags & NDR_OUT) {
    1489             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    1490             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    1491           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    1492           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    1493             :                 }
    1494           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1495           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    1496           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    1497           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    1498           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    1499             :         }
    1500           0 :         return NDR_ERR_SUCCESS;
    1501             : }
    1502             : 
    1503           0 : _PUBLIC_ void ndr_print_RemRelease(struct ndr_print *ndr, const char *name, int flags, const struct RemRelease *r)
    1504             : {
    1505             :         uint32_t cntr_InterfaceRefs_0;
    1506           0 :         ndr_print_struct(ndr, name, "RemRelease");
    1507           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1508           0 :         ndr->depth++;
    1509           0 :         if (flags & NDR_SET_VALUES) {
    1510           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    1511             :         }
    1512           0 :         if (flags & NDR_IN) {
    1513           0 :                 ndr_print_struct(ndr, "in", "RemRelease");
    1514           0 :                 ndr->depth++;
    1515           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    1516           0 :                 ndr_print_uint16(ndr, "cInterfaceRefs", r->in.cInterfaceRefs);
    1517           0 :                 ndr->print(ndr, "%s: ARRAY(%d)", "InterfaceRefs", (int)r->in.cInterfaceRefs);
    1518           0 :                 ndr->depth++;
    1519           0 :                 for (cntr_InterfaceRefs_0 = 0; cntr_InterfaceRefs_0 < (r->in.cInterfaceRefs); cntr_InterfaceRefs_0++) {
    1520           0 :                         ndr_print_REMINTERFACEREF(ndr, "InterfaceRefs", &r->in.InterfaceRefs[cntr_InterfaceRefs_0]);
    1521             :                 }
    1522           0 :                 ndr->depth--;
    1523           0 :                 ndr->depth--;
    1524             :         }
    1525           0 :         if (flags & NDR_OUT) {
    1526           0 :                 ndr_print_struct(ndr, "out", "RemRelease");
    1527           0 :                 ndr->depth++;
    1528           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    1529           0 :                 ndr->depth++;
    1530           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    1531           0 :                 ndr->depth--;
    1532           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    1533           0 :                 ndr->depth--;
    1534             :         }
    1535           0 :         ndr->depth--;
    1536             : }
    1537             : 
    1538             : #ifndef SKIP_NDR_TABLE_IRemUnknown
    1539             : static const struct ndr_interface_public_struct IRemUnknown_public_structs[] = {
    1540             :         {
    1541             :                 .name = "REMQIRESULT",
    1542             :                 .struct_size = sizeof(struct REMQIRESULT ),
    1543             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_REMQIRESULT,
    1544             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_REMQIRESULT,
    1545             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_REMQIRESULT,
    1546             :         },
    1547             :         { .name = NULL }
    1548             : };
    1549             : 
    1550             : static const struct ndr_interface_call IRemUnknown_calls[] = {
    1551             :         {
    1552             :                 "RemQueryInterface",
    1553             :                 sizeof(struct RemQueryInterface),
    1554             :                 (ndr_push_flags_fn_t) ndr_push_RemQueryInterface,
    1555             :                 (ndr_pull_flags_fn_t) ndr_pull_RemQueryInterface,
    1556             :                 (ndr_print_function_t) ndr_print_RemQueryInterface,
    1557             :                 { 0, NULL },
    1558             :                 { 0, NULL },
    1559             :         },
    1560             :         {
    1561             :                 "RemAddRef",
    1562             :                 sizeof(struct RemAddRef),
    1563             :                 (ndr_push_flags_fn_t) ndr_push_RemAddRef,
    1564             :                 (ndr_pull_flags_fn_t) ndr_pull_RemAddRef,
    1565             :                 (ndr_print_function_t) ndr_print_RemAddRef,
    1566             :                 { 0, NULL },
    1567             :                 { 0, NULL },
    1568             :         },
    1569             :         {
    1570             :                 "RemRelease",
    1571             :                 sizeof(struct RemRelease),
    1572             :                 (ndr_push_flags_fn_t) ndr_push_RemRelease,
    1573             :                 (ndr_pull_flags_fn_t) ndr_pull_RemRelease,
    1574             :                 (ndr_print_function_t) ndr_print_RemRelease,
    1575             :                 { 0, NULL },
    1576             :                 { 0, NULL },
    1577             :         },
    1578             :         { .name = NULL }
    1579             : };
    1580             : 
    1581             : static const char * const IRemUnknown_endpoint_strings[] = {
    1582             :         "ncacn_np:[\\pipe\\IRemUnknown]", 
    1583             : };
    1584             : 
    1585             : static const struct ndr_interface_string_array IRemUnknown_endpoints = {
    1586             :         .count  = 1,
    1587             :         .names  = IRemUnknown_endpoint_strings
    1588             : };
    1589             : 
    1590             : static const char * const IRemUnknown_authservice_strings[] = {
    1591             :         "host", 
    1592             : };
    1593             : 
    1594             : static const struct ndr_interface_string_array IRemUnknown_authservices = {
    1595             :         .count  = 1,
    1596             :         .names  = IRemUnknown_authservice_strings
    1597             : };
    1598             : 
    1599             : 
    1600             : const struct ndr_interface_table ndr_table_IRemUnknown = {
    1601             :         .name           = "IRemUnknown",
    1602             :         .syntax_id      = {
    1603             :                 {0x00000131,0x0000,0x0000,{0xc0,0x00},{0x00,0x00,0x00,0x00,0x00,0x46}},
    1604             :                 NDR_IREMUNKNOWN_VERSION
    1605             :         },
    1606             :         .helpstring     = NDR_IREMUNKNOWN_HELPSTRING,
    1607             :         .num_calls      = 3,
    1608             :         .calls          = IRemUnknown_calls,
    1609             :         .num_public_structs     = 1,
    1610             :         .public_structs         = IRemUnknown_public_structs,
    1611             :         .endpoints      = &IRemUnknown_endpoints,
    1612             :         .authservices   = &IRemUnknown_authservices
    1613             : };
    1614             : 
    1615             : #endif /* SKIP_NDR_TABLE_IRemUnknown */
    1616             : #include "librpc/gen_ndr/ndr_orpc.h"
    1617           0 : static enum ndr_err_code ndr_push_GetClassObject(struct ndr_push *ndr, int flags, const struct GetClassObject *r)
    1618             : {
    1619           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    1620           0 :         if (flags & NDR_IN) {
    1621           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    1622           0 :                 NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->in.clsid));
    1623           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.context));
    1624           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.locale));
    1625           0 :                 NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->in.iid));
    1626             :         }
    1627           0 :         if (flags & NDR_OUT) {
    1628           0 :                 if (r->out.ORPCthat == NULL) {
    1629           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    1630             :                 }
    1631           0 :                 if (r->out.data == NULL) {
    1632           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    1633             :                 }
    1634           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    1635           0 :                 NDR_CHECK(ndr_push_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.data));
    1636             :         }
    1637           0 :         return NDR_ERR_SUCCESS;
    1638             : }
    1639             : 
    1640           0 : static enum ndr_err_code ndr_pull_GetClassObject(struct ndr_pull *ndr, int flags, struct GetClassObject *r)
    1641             : {
    1642           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    1643           0 :         TALLOC_CTX *_mem_save_data_0 = NULL;
    1644           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    1645           0 :         if (flags & NDR_IN) {
    1646           0 :                 NDR_ZERO_STRUCT(r->out);
    1647             : 
    1648           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    1649           0 :                 NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->in.clsid));
    1650           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.context));
    1651           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.locale));
    1652           0 :                 NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->in.iid));
    1653           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    1654           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    1655           0 :                 NDR_PULL_ALLOC(ndr, r->out.data);
    1656           0 :                 NDR_ZERO_STRUCTP(r->out.data);
    1657             :         }
    1658           0 :         if (flags & NDR_OUT) {
    1659             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    1660             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    1661           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    1662           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    1663             :                 }
    1664           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1665           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    1666           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    1667           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    1668           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    1669           0 :                         NDR_PULL_ALLOC(ndr, r->out.data);
    1670             :                 }
    1671           0 :                 _mem_save_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1672           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.data, LIBNDR_FLAG_REF_ALLOC);
    1673           0 :                 NDR_CHECK(ndr_pull_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.data));
    1674           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_data_0, LIBNDR_FLAG_REF_ALLOC);
    1675             :         }
    1676           0 :         return NDR_ERR_SUCCESS;
    1677             : }
    1678             : 
    1679           0 : _PUBLIC_ void ndr_print_GetClassObject(struct ndr_print *ndr, const char *name, int flags, const struct GetClassObject *r)
    1680             : {
    1681           0 :         ndr_print_struct(ndr, name, "GetClassObject");
    1682           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1683           0 :         ndr->depth++;
    1684           0 :         if (flags & NDR_SET_VALUES) {
    1685           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    1686             :         }
    1687           0 :         if (flags & NDR_IN) {
    1688           0 :                 ndr_print_struct(ndr, "in", "GetClassObject");
    1689           0 :                 ndr->depth++;
    1690           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    1691           0 :                 ndr_print_GUID(ndr, "clsid", &r->in.clsid);
    1692           0 :                 ndr_print_uint32(ndr, "context", r->in.context);
    1693           0 :                 ndr_print_uint32(ndr, "locale", r->in.locale);
    1694           0 :                 ndr_print_GUID(ndr, "iid", &r->in.iid);
    1695           0 :                 ndr->depth--;
    1696             :         }
    1697           0 :         if (flags & NDR_OUT) {
    1698           0 :                 ndr_print_struct(ndr, "out", "GetClassObject");
    1699           0 :                 ndr->depth++;
    1700           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    1701           0 :                 ndr->depth++;
    1702           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    1703           0 :                 ndr->depth--;
    1704           0 :                 ndr_print_ptr(ndr, "data", r->out.data);
    1705           0 :                 ndr->depth++;
    1706           0 :                 ndr_print_MInterfacePointer(ndr, "data", r->out.data);
    1707           0 :                 ndr->depth--;
    1708           0 :                 ndr->depth--;
    1709             :         }
    1710           0 :         ndr->depth--;
    1711             : }
    1712             : 
    1713             : #ifndef SKIP_NDR_TABLE_IClassActivator
    1714             : static const struct ndr_interface_public_struct IClassActivator_public_structs[] = {
    1715             :         { .name = NULL }
    1716             : };
    1717             : 
    1718             : static const struct ndr_interface_call IClassActivator_calls[] = {
    1719             :         {
    1720             :                 "GetClassObject",
    1721             :                 sizeof(struct GetClassObject),
    1722             :                 (ndr_push_flags_fn_t) ndr_push_GetClassObject,
    1723             :                 (ndr_pull_flags_fn_t) ndr_pull_GetClassObject,
    1724             :                 (ndr_print_function_t) ndr_print_GetClassObject,
    1725             :                 { 0, NULL },
    1726             :                 { 0, NULL },
    1727             :         },
    1728             :         { .name = NULL }
    1729             : };
    1730             : 
    1731             : static const char * const IClassActivator_endpoint_strings[] = {
    1732             :         "ncacn_np:[\\pipe\\IClassActivator]", 
    1733             : };
    1734             : 
    1735             : static const struct ndr_interface_string_array IClassActivator_endpoints = {
    1736             :         .count  = 1,
    1737             :         .names  = IClassActivator_endpoint_strings
    1738             : };
    1739             : 
    1740             : static const char * const IClassActivator_authservice_strings[] = {
    1741             :         "host", 
    1742             : };
    1743             : 
    1744             : static const struct ndr_interface_string_array IClassActivator_authservices = {
    1745             :         .count  = 1,
    1746             :         .names  = IClassActivator_authservice_strings
    1747             : };
    1748             : 
    1749             : 
    1750             : const struct ndr_interface_table ndr_table_IClassActivator = {
    1751             :         .name           = "IClassActivator",
    1752             :         .syntax_id      = {
    1753             :                 {0x00000140,0x0000,0x0000,{0xc0,0x00},{0x00,0x00,0x00,0x00,0x00,0x46}},
    1754             :                 NDR_ICLASSACTIVATOR_VERSION
    1755             :         },
    1756             :         .helpstring     = NDR_ICLASSACTIVATOR_HELPSTRING,
    1757             :         .num_calls      = 1,
    1758             :         .calls          = IClassActivator_calls,
    1759             :         .num_public_structs     = 0,
    1760             :         .public_structs         = IClassActivator_public_structs,
    1761             :         .endpoints      = &IClassActivator_endpoints,
    1762             :         .authservices   = &IClassActivator_authservices
    1763             : };
    1764             : 
    1765             : #endif /* SKIP_NDR_TABLE_IClassActivator */
    1766             : #include "librpc/gen_ndr/ndr_orpc.h"
    1767           0 : static enum ndr_err_code ndr_push_ISCMLocalActivator_CreateInstance(struct ndr_push *ndr, int flags, const struct ISCMLocalActivator_CreateInstance *r)
    1768             : {
    1769           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    1770           0 :         if (flags & NDR_IN) {
    1771           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    1772             :         }
    1773           0 :         if (flags & NDR_OUT) {
    1774           0 :                 if (r->out.ORPCthat == NULL) {
    1775           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    1776             :                 }
    1777           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    1778           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    1779             :         }
    1780           0 :         return NDR_ERR_SUCCESS;
    1781             : }
    1782             : 
    1783           0 : static enum ndr_err_code ndr_pull_ISCMLocalActivator_CreateInstance(struct ndr_pull *ndr, int flags, struct ISCMLocalActivator_CreateInstance *r)
    1784             : {
    1785           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    1786           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    1787           0 :         if (flags & NDR_IN) {
    1788           0 :                 NDR_ZERO_STRUCT(r->out);
    1789             : 
    1790           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    1791           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    1792           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    1793             :         }
    1794           0 :         if (flags & NDR_OUT) {
    1795             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    1796             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    1797           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    1798           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    1799             :                 }
    1800           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1801           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    1802           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    1803           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    1804           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    1805             :         }
    1806           0 :         return NDR_ERR_SUCCESS;
    1807             : }
    1808             : 
    1809           0 : _PUBLIC_ void ndr_print_ISCMLocalActivator_CreateInstance(struct ndr_print *ndr, const char *name, int flags, const struct ISCMLocalActivator_CreateInstance *r)
    1810             : {
    1811           0 :         ndr_print_struct(ndr, name, "ISCMLocalActivator_CreateInstance");
    1812           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1813           0 :         ndr->depth++;
    1814           0 :         if (flags & NDR_SET_VALUES) {
    1815           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    1816             :         }
    1817           0 :         if (flags & NDR_IN) {
    1818           0 :                 ndr_print_struct(ndr, "in", "ISCMLocalActivator_CreateInstance");
    1819           0 :                 ndr->depth++;
    1820           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    1821           0 :                 ndr->depth--;
    1822             :         }
    1823           0 :         if (flags & NDR_OUT) {
    1824           0 :                 ndr_print_struct(ndr, "out", "ISCMLocalActivator_CreateInstance");
    1825           0 :                 ndr->depth++;
    1826           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    1827           0 :                 ndr->depth++;
    1828           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    1829           0 :                 ndr->depth--;
    1830           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    1831           0 :                 ndr->depth--;
    1832             :         }
    1833           0 :         ndr->depth--;
    1834             : }
    1835             : 
    1836             : #ifndef SKIP_NDR_TABLE_ISCMLocalActivator
    1837             : static const struct ndr_interface_public_struct ISCMLocalActivator_public_structs[] = {
    1838             :         { .name = NULL }
    1839             : };
    1840             : 
    1841             : static const struct ndr_interface_call ISCMLocalActivator_calls[] = {
    1842             :         {
    1843             :                 "ISCMLocalActivator_CreateInstance",
    1844             :                 sizeof(struct ISCMLocalActivator_CreateInstance),
    1845             :                 (ndr_push_flags_fn_t) ndr_push_ISCMLocalActivator_CreateInstance,
    1846             :                 (ndr_pull_flags_fn_t) ndr_pull_ISCMLocalActivator_CreateInstance,
    1847             :                 (ndr_print_function_t) ndr_print_ISCMLocalActivator_CreateInstance,
    1848             :                 { 0, NULL },
    1849             :                 { 0, NULL },
    1850             :         },
    1851             :         { .name = NULL }
    1852             : };
    1853             : 
    1854             : static const char * const ISCMLocalActivator_endpoint_strings[] = {
    1855             :         "ncacn_np:[\\pipe\\ISCMLocalActivator]", 
    1856             : };
    1857             : 
    1858             : static const struct ndr_interface_string_array ISCMLocalActivator_endpoints = {
    1859             :         .count  = 1,
    1860             :         .names  = ISCMLocalActivator_endpoint_strings
    1861             : };
    1862             : 
    1863             : static const char * const ISCMLocalActivator_authservice_strings[] = {
    1864             :         "host", 
    1865             : };
    1866             : 
    1867             : static const struct ndr_interface_string_array ISCMLocalActivator_authservices = {
    1868             :         .count  = 1,
    1869             :         .names  = ISCMLocalActivator_authservice_strings
    1870             : };
    1871             : 
    1872             : 
    1873             : const struct ndr_interface_table ndr_table_ISCMLocalActivator = {
    1874             :         .name           = "ISCMLocalActivator",
    1875             :         .syntax_id      = {
    1876             :                 {0x00000136,0x0000,0x0000,{0xc0,0x00},{0x00,0x00,0x00,0x00,0x00,0x46}},
    1877             :                 NDR_ISCMLOCALACTIVATOR_VERSION
    1878             :         },
    1879             :         .helpstring     = NDR_ISCMLOCALACTIVATOR_HELPSTRING,
    1880             :         .num_calls      = 1,
    1881             :         .calls          = ISCMLocalActivator_calls,
    1882             :         .num_public_structs     = 0,
    1883             :         .public_structs         = ISCMLocalActivator_public_structs,
    1884             :         .endpoints      = &ISCMLocalActivator_endpoints,
    1885             :         .authservices   = &ISCMLocalActivator_authservices
    1886             : };
    1887             : 
    1888             : #endif /* SKIP_NDR_TABLE_ISCMLocalActivator */
    1889           0 : static enum ndr_err_code ndr_push_IMachineLocalActivator_foo(struct ndr_push *ndr, int flags, const struct IMachineLocalActivator_foo *r)
    1890             : {
    1891           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    1892           0 :         if (flags & NDR_IN) {
    1893             :         }
    1894           0 :         if (flags & NDR_OUT) {
    1895           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    1896             :         }
    1897           0 :         return NDR_ERR_SUCCESS;
    1898             : }
    1899             : 
    1900           0 : static enum ndr_err_code ndr_pull_IMachineLocalActivator_foo(struct ndr_pull *ndr, int flags, struct IMachineLocalActivator_foo *r)
    1901             : {
    1902           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    1903           0 :         if (flags & NDR_IN) {
    1904             :         }
    1905           0 :         if (flags & NDR_OUT) {
    1906             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    1907             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    1908           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    1909             :         }
    1910           0 :         return NDR_ERR_SUCCESS;
    1911             : }
    1912             : 
    1913           0 : _PUBLIC_ void ndr_print_IMachineLocalActivator_foo(struct ndr_print *ndr, const char *name, int flags, const struct IMachineLocalActivator_foo *r)
    1914             : {
    1915           0 :         ndr_print_struct(ndr, name, "IMachineLocalActivator_foo");
    1916           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1917           0 :         ndr->depth++;
    1918           0 :         if (flags & NDR_SET_VALUES) {
    1919           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    1920             :         }
    1921           0 :         if (flags & NDR_IN) {
    1922           0 :                 ndr_print_struct(ndr, "in", "IMachineLocalActivator_foo");
    1923           0 :                 ndr->depth++;
    1924           0 :                 ndr->depth--;
    1925             :         }
    1926           0 :         if (flags & NDR_OUT) {
    1927           0 :                 ndr_print_struct(ndr, "out", "IMachineLocalActivator_foo");
    1928           0 :                 ndr->depth++;
    1929           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    1930           0 :                 ndr->depth--;
    1931             :         }
    1932           0 :         ndr->depth--;
    1933             : }
    1934             : 
    1935             : #ifndef SKIP_NDR_TABLE_IMachineLocalActivator
    1936             : static const struct ndr_interface_public_struct IMachineLocalActivator_public_structs[] = {
    1937             :         { .name = NULL }
    1938             : };
    1939             : 
    1940             : static const struct ndr_interface_call IMachineLocalActivator_calls[] = {
    1941             :         {
    1942             :                 "IMachineLocalActivator_foo",
    1943             :                 sizeof(struct IMachineLocalActivator_foo),
    1944             :                 (ndr_push_flags_fn_t) ndr_push_IMachineLocalActivator_foo,
    1945             :                 (ndr_pull_flags_fn_t) ndr_pull_IMachineLocalActivator_foo,
    1946             :                 (ndr_print_function_t) ndr_print_IMachineLocalActivator_foo,
    1947             :                 { 0, NULL },
    1948             :                 { 0, NULL },
    1949             :         },
    1950             :         { .name = NULL }
    1951             : };
    1952             : 
    1953             : static const char * const IMachineLocalActivator_endpoint_strings[] = {
    1954             :         "ncacn_np:[\\pipe\\IMachineLocalActivator]", 
    1955             : };
    1956             : 
    1957             : static const struct ndr_interface_string_array IMachineLocalActivator_endpoints = {
    1958             :         .count  = 1,
    1959             :         .names  = IMachineLocalActivator_endpoint_strings
    1960             : };
    1961             : 
    1962             : static const char * const IMachineLocalActivator_authservice_strings[] = {
    1963             :         "host", 
    1964             : };
    1965             : 
    1966             : static const struct ndr_interface_string_array IMachineLocalActivator_authservices = {
    1967             :         .count  = 1,
    1968             :         .names  = IMachineLocalActivator_authservice_strings
    1969             : };
    1970             : 
    1971             : 
    1972             : const struct ndr_interface_table ndr_table_IMachineLocalActivator = {
    1973             :         .name           = "IMachineLocalActivator",
    1974             :         .syntax_id      = {
    1975             :                 {0xc6f3ee72,0xce7e,0x11d1,{0xb7,0x1e},{0x00,0xc0,0x4f,0xc3,0x11,0x1a}},
    1976             :                 NDR_IMACHINELOCALACTIVATOR_VERSION
    1977             :         },
    1978             :         .helpstring     = NDR_IMACHINELOCALACTIVATOR_HELPSTRING,
    1979             :         .num_calls      = 1,
    1980             :         .calls          = IMachineLocalActivator_calls,
    1981             :         .num_public_structs     = 0,
    1982             :         .public_structs         = IMachineLocalActivator_public_structs,
    1983             :         .endpoints      = &IMachineLocalActivator_endpoints,
    1984             :         .authservices   = &IMachineLocalActivator_authservices
    1985             : };
    1986             : 
    1987             : #endif /* SKIP_NDR_TABLE_IMachineLocalActivator */
    1988           0 : static enum ndr_err_code ndr_push_ILocalObjectExporter_Foo(struct ndr_push *ndr, int flags, const struct ILocalObjectExporter_Foo *r)
    1989             : {
    1990           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    1991           0 :         if (flags & NDR_IN) {
    1992             :         }
    1993           0 :         if (flags & NDR_OUT) {
    1994           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    1995             :         }
    1996           0 :         return NDR_ERR_SUCCESS;
    1997             : }
    1998             : 
    1999           0 : static enum ndr_err_code ndr_pull_ILocalObjectExporter_Foo(struct ndr_pull *ndr, int flags, struct ILocalObjectExporter_Foo *r)
    2000             : {
    2001           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    2002           0 :         if (flags & NDR_IN) {
    2003             :         }
    2004           0 :         if (flags & NDR_OUT) {
    2005             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    2006             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    2007           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    2008             :         }
    2009           0 :         return NDR_ERR_SUCCESS;
    2010             : }
    2011             : 
    2012           0 : _PUBLIC_ void ndr_print_ILocalObjectExporter_Foo(struct ndr_print *ndr, const char *name, int flags, const struct ILocalObjectExporter_Foo *r)
    2013             : {
    2014           0 :         ndr_print_struct(ndr, name, "ILocalObjectExporter_Foo");
    2015           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    2016           0 :         ndr->depth++;
    2017           0 :         if (flags & NDR_SET_VALUES) {
    2018           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    2019             :         }
    2020           0 :         if (flags & NDR_IN) {
    2021           0 :                 ndr_print_struct(ndr, "in", "ILocalObjectExporter_Foo");
    2022           0 :                 ndr->depth++;
    2023           0 :                 ndr->depth--;
    2024             :         }
    2025           0 :         if (flags & NDR_OUT) {
    2026           0 :                 ndr_print_struct(ndr, "out", "ILocalObjectExporter_Foo");
    2027           0 :                 ndr->depth++;
    2028           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    2029           0 :                 ndr->depth--;
    2030             :         }
    2031           0 :         ndr->depth--;
    2032             : }
    2033             : 
    2034             : #ifndef SKIP_NDR_TABLE_ILocalObjectExporter
    2035             : static const struct ndr_interface_public_struct ILocalObjectExporter_public_structs[] = {
    2036             :         { .name = NULL }
    2037             : };
    2038             : 
    2039             : static const struct ndr_interface_call ILocalObjectExporter_calls[] = {
    2040             :         {
    2041             :                 "ILocalObjectExporter_Foo",
    2042             :                 sizeof(struct ILocalObjectExporter_Foo),
    2043             :                 (ndr_push_flags_fn_t) ndr_push_ILocalObjectExporter_Foo,
    2044             :                 (ndr_pull_flags_fn_t) ndr_pull_ILocalObjectExporter_Foo,
    2045             :                 (ndr_print_function_t) ndr_print_ILocalObjectExporter_Foo,
    2046             :                 { 0, NULL },
    2047             :                 { 0, NULL },
    2048             :         },
    2049             :         { .name = NULL }
    2050             : };
    2051             : 
    2052             : static const char * const ILocalObjectExporter_endpoint_strings[] = {
    2053             :         "ncacn_np:[\\pipe\\ILocalObjectExporter]", 
    2054             : };
    2055             : 
    2056             : static const struct ndr_interface_string_array ILocalObjectExporter_endpoints = {
    2057             :         .count  = 1,
    2058             :         .names  = ILocalObjectExporter_endpoint_strings
    2059             : };
    2060             : 
    2061             : static const char * const ILocalObjectExporter_authservice_strings[] = {
    2062             :         "host", 
    2063             : };
    2064             : 
    2065             : static const struct ndr_interface_string_array ILocalObjectExporter_authservices = {
    2066             :         .count  = 1,
    2067             :         .names  = ILocalObjectExporter_authservice_strings
    2068             : };
    2069             : 
    2070             : 
    2071             : const struct ndr_interface_table ndr_table_ILocalObjectExporter = {
    2072             :         .name           = "ILocalObjectExporter",
    2073             :         .syntax_id      = {
    2074             :                 {0xe60c73e6,0x88f9,0x11cf,{0x9a,0xf1},{0x00,0x20,0xaf,0x6e,0x72,0xf4}},
    2075             :                 NDR_ILOCALOBJECTEXPORTER_VERSION
    2076             :         },
    2077             :         .helpstring     = NDR_ILOCALOBJECTEXPORTER_HELPSTRING,
    2078             :         .num_calls      = 1,
    2079             :         .calls          = ILocalObjectExporter_calls,
    2080             :         .num_public_structs     = 0,
    2081             :         .public_structs         = ILocalObjectExporter_public_structs,
    2082             :         .endpoints      = &ILocalObjectExporter_endpoints,
    2083             :         .authservices   = &ILocalObjectExporter_authservices
    2084             : };
    2085             : 
    2086             : #endif /* SKIP_NDR_TABLE_ILocalObjectExporter */
    2087             : #include "librpc/gen_ndr/ndr_orpc.h"
    2088           0 : static enum ndr_err_code ndr_push_ISystemActivatorRemoteCreateInstance(struct ndr_push *ndr, int flags, const struct ISystemActivatorRemoteCreateInstance *r)
    2089             : {
    2090           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    2091           0 :         if (flags & NDR_IN) {
    2092           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    2093           0 :                 NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->in.unknown1));
    2094           0 :                 NDR_CHECK(ndr_push_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.iface1));
    2095           0 :                 NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->in.unknown2));
    2096             :         }
    2097           0 :         if (flags & NDR_OUT) {
    2098           0 :                 if (r->out.ORPCthat == NULL) {
    2099           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    2100             :                 }
    2101           0 :                 if (r->out.unknown3 == NULL) {
    2102           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    2103             :                 }
    2104           0 :                 if (r->out.iface2 == NULL) {
    2105           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    2106             :                 }
    2107           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    2108           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->out.unknown3));
    2109           0 :                 NDR_CHECK(ndr_push_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.iface2));
    2110           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    2111             :         }
    2112           0 :         return NDR_ERR_SUCCESS;
    2113             : }
    2114             : 
    2115           0 : static enum ndr_err_code ndr_pull_ISystemActivatorRemoteCreateInstance(struct ndr_pull *ndr, int flags, struct ISystemActivatorRemoteCreateInstance *r)
    2116             : {
    2117           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    2118           0 :         TALLOC_CTX *_mem_save_unknown3_0 = NULL;
    2119           0 :         TALLOC_CTX *_mem_save_iface2_0 = NULL;
    2120           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    2121           0 :         if (flags & NDR_IN) {
    2122           0 :                 NDR_ZERO_STRUCT(r->out);
    2123             : 
    2124           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    2125           0 :                 NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->in.unknown1));
    2126           0 :                 NDR_CHECK(ndr_pull_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.iface1));
    2127           0 :                 NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->in.unknown2));
    2128           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    2129           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    2130           0 :                 NDR_PULL_ALLOC(ndr, r->out.unknown3);
    2131           0 :                 NDR_ZERO_STRUCTP(r->out.unknown3);
    2132           0 :                 NDR_PULL_ALLOC(ndr, r->out.iface2);
    2133           0 :                 NDR_ZERO_STRUCTP(r->out.iface2);
    2134             :         }
    2135           0 :         if (flags & NDR_OUT) {
    2136             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    2137             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    2138           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    2139           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    2140             :                 }
    2141           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2142           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    2143           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    2144           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    2145           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    2146           0 :                         NDR_PULL_ALLOC(ndr, r->out.unknown3);
    2147             :                 }
    2148           0 :                 _mem_save_unknown3_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2149           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.unknown3, LIBNDR_FLAG_REF_ALLOC);
    2150           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->out.unknown3));
    2151           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_unknown3_0, LIBNDR_FLAG_REF_ALLOC);
    2152           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    2153           0 :                         NDR_PULL_ALLOC(ndr, r->out.iface2);
    2154             :                 }
    2155           0 :                 _mem_save_iface2_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2156           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.iface2, LIBNDR_FLAG_REF_ALLOC);
    2157           0 :                 NDR_CHECK(ndr_pull_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.iface2));
    2158           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_iface2_0, LIBNDR_FLAG_REF_ALLOC);
    2159           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    2160             :         }
    2161           0 :         return NDR_ERR_SUCCESS;
    2162             : }
    2163             : 
    2164           0 : _PUBLIC_ void ndr_print_ISystemActivatorRemoteCreateInstance(struct ndr_print *ndr, const char *name, int flags, const struct ISystemActivatorRemoteCreateInstance *r)
    2165             : {
    2166           0 :         ndr_print_struct(ndr, name, "ISystemActivatorRemoteCreateInstance");
    2167           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    2168           0 :         ndr->depth++;
    2169           0 :         if (flags & NDR_SET_VALUES) {
    2170           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    2171             :         }
    2172           0 :         if (flags & NDR_IN) {
    2173           0 :                 ndr_print_struct(ndr, "in", "ISystemActivatorRemoteCreateInstance");
    2174           0 :                 ndr->depth++;
    2175           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    2176           0 :                 ndr_print_hyper(ndr, "unknown1", r->in.unknown1);
    2177           0 :                 ndr_print_MInterfacePointer(ndr, "iface1", &r->in.iface1);
    2178           0 :                 ndr_print_hyper(ndr, "unknown2", r->in.unknown2);
    2179           0 :                 ndr->depth--;
    2180             :         }
    2181           0 :         if (flags & NDR_OUT) {
    2182           0 :                 ndr_print_struct(ndr, "out", "ISystemActivatorRemoteCreateInstance");
    2183           0 :                 ndr->depth++;
    2184           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    2185           0 :                 ndr->depth++;
    2186           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    2187           0 :                 ndr->depth--;
    2188           0 :                 ndr_print_ptr(ndr, "unknown3", r->out.unknown3);
    2189           0 :                 ndr->depth++;
    2190           0 :                 ndr_print_uint32(ndr, "unknown3", *r->out.unknown3);
    2191           0 :                 ndr->depth--;
    2192           0 :                 ndr_print_ptr(ndr, "iface2", r->out.iface2);
    2193           0 :                 ndr->depth++;
    2194           0 :                 ndr_print_MInterfacePointer(ndr, "iface2", r->out.iface2);
    2195           0 :                 ndr->depth--;
    2196           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    2197           0 :                 ndr->depth--;
    2198             :         }
    2199           0 :         ndr->depth--;
    2200             : }
    2201             : 
    2202             : #ifndef SKIP_NDR_TABLE_ISystemActivator
    2203             : static const struct ndr_interface_public_struct ISystemActivator_public_structs[] = {
    2204             :         { .name = NULL }
    2205             : };
    2206             : 
    2207             : static const struct ndr_interface_call ISystemActivator_calls[] = {
    2208             :         {
    2209             :                 "ISystemActivatorRemoteCreateInstance",
    2210             :                 sizeof(struct ISystemActivatorRemoteCreateInstance),
    2211             :                 (ndr_push_flags_fn_t) ndr_push_ISystemActivatorRemoteCreateInstance,
    2212             :                 (ndr_pull_flags_fn_t) ndr_pull_ISystemActivatorRemoteCreateInstance,
    2213             :                 (ndr_print_function_t) ndr_print_ISystemActivatorRemoteCreateInstance,
    2214             :                 { 0, NULL },
    2215             :                 { 0, NULL },
    2216             :         },
    2217             :         { .name = NULL }
    2218             : };
    2219             : 
    2220             : static const char * const ISystemActivator_endpoint_strings[] = {
    2221             :         "ncacn_np:[\\pipe\\ISystemActivator]", 
    2222             : };
    2223             : 
    2224             : static const struct ndr_interface_string_array ISystemActivator_endpoints = {
    2225             :         .count  = 1,
    2226             :         .names  = ISystemActivator_endpoint_strings
    2227             : };
    2228             : 
    2229             : static const char * const ISystemActivator_authservice_strings[] = {
    2230             :         "host", 
    2231             : };
    2232             : 
    2233             : static const struct ndr_interface_string_array ISystemActivator_authservices = {
    2234             :         .count  = 1,
    2235             :         .names  = ISystemActivator_authservice_strings
    2236             : };
    2237             : 
    2238             : 
    2239             : const struct ndr_interface_table ndr_table_ISystemActivator = {
    2240             :         .name           = "ISystemActivator",
    2241             :         .syntax_id      = {
    2242             :                 {0x000001a0,0x0000,0x0000,{0xc0,0x00},{0x00,0x00,0x00,0x00,0x00,0x46}},
    2243             :                 NDR_ISYSTEMACTIVATOR_VERSION
    2244             :         },
    2245             :         .helpstring     = NDR_ISYSTEMACTIVATOR_HELPSTRING,
    2246             :         .num_calls      = 1,
    2247             :         .calls          = ISystemActivator_calls,
    2248             :         .num_public_structs     = 0,
    2249             :         .public_structs         = ISystemActivator_public_structs,
    2250             :         .endpoints      = &ISystemActivator_endpoints,
    2251             :         .authservices   = &ISystemActivator_authservices
    2252             : };
    2253             : 
    2254             : #endif /* SKIP_NDR_TABLE_ISystemActivator */
    2255             : #include "librpc/gen_ndr/ndr_orpc.h"
    2256           0 : static enum ndr_err_code ndr_push_RemQueryInterface2(struct ndr_push *ndr, int flags, const struct RemQueryInterface2 *r)
    2257             : {
    2258             :         uint32_t cntr_iids_1;
    2259             :         uint32_t cntr_phr_1;
    2260             :         uint32_t cntr_ppMIF_1;
    2261           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    2262           0 :         if (flags & NDR_IN) {
    2263           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    2264           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.ripid));
    2265           0 :                 if (r->in.ripid) {
    2266           0 :                         NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, r->in.ripid));
    2267             :                 }
    2268           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->in.cIids));
    2269           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.iids));
    2270           0 :                 if (r->in.iids) {
    2271           0 :                         NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.cIids));
    2272           0 :                         for (cntr_iids_1 = 0; cntr_iids_1 < (r->in.cIids); cntr_iids_1++) {
    2273           0 :                                 NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->in.iids[cntr_iids_1]));
    2274             :                         }
    2275             :                 }
    2276             :         }
    2277           0 :         if (flags & NDR_OUT) {
    2278           0 :                 if (r->out.ORPCthat == NULL) {
    2279           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    2280             :                 }
    2281           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    2282           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.phr));
    2283           0 :                 if (r->out.phr) {
    2284           0 :                         NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.cIids));
    2285           0 :                         for (cntr_phr_1 = 0; cntr_phr_1 < (r->in.cIids); cntr_phr_1++) {
    2286           0 :                                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.phr[cntr_phr_1]));
    2287             :                         }
    2288             :                 }
    2289           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.ppMIF));
    2290           0 :                 if (r->out.ppMIF) {
    2291           0 :                         NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.cIids));
    2292           0 :                         for (cntr_ppMIF_1 = 0; cntr_ppMIF_1 < (r->in.cIids); cntr_ppMIF_1++) {
    2293           0 :                                 NDR_CHECK(ndr_push_MInterfacePointer(ndr, NDR_SCALARS, &r->out.ppMIF[cntr_ppMIF_1]));
    2294             :                         }
    2295           0 :                         for (cntr_ppMIF_1 = 0; cntr_ppMIF_1 < (r->in.cIids); cntr_ppMIF_1++) {
    2296           0 :                                 NDR_CHECK(ndr_push_MInterfacePointer(ndr, NDR_BUFFERS, &r->out.ppMIF[cntr_ppMIF_1]));
    2297             :                         }
    2298             :                 }
    2299           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    2300             :         }
    2301           0 :         return NDR_ERR_SUCCESS;
    2302             : }
    2303             : 
    2304           0 : static enum ndr_err_code ndr_pull_RemQueryInterface2(struct ndr_pull *ndr, int flags, struct RemQueryInterface2 *r)
    2305             : {
    2306             :         uint32_t _ptr_ripid;
    2307             :         uint32_t _ptr_iids;
    2308           0 :         uint32_t size_iids_1 = 0;
    2309             :         uint32_t cntr_iids_1;
    2310             :         uint32_t _ptr_phr;
    2311           0 :         uint32_t size_phr_1 = 0;
    2312             :         uint32_t cntr_phr_1;
    2313             :         uint32_t _ptr_ppMIF;
    2314           0 :         uint32_t size_ppMIF_1 = 0;
    2315             :         uint32_t cntr_ppMIF_1;
    2316           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    2317           0 :         TALLOC_CTX *_mem_save_ripid_0 = NULL;
    2318           0 :         TALLOC_CTX *_mem_save_iids_0 = NULL;
    2319           0 :         TALLOC_CTX *_mem_save_iids_1 = NULL;
    2320           0 :         TALLOC_CTX *_mem_save_phr_0 = NULL;
    2321           0 :         TALLOC_CTX *_mem_save_phr_1 = NULL;
    2322           0 :         TALLOC_CTX *_mem_save_ppMIF_0 = NULL;
    2323           0 :         TALLOC_CTX *_mem_save_ppMIF_1 = NULL;
    2324           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    2325           0 :         if (flags & NDR_IN) {
    2326           0 :                 NDR_ZERO_STRUCT(r->out);
    2327             : 
    2328           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    2329           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_ripid));
    2330           0 :                 if (_ptr_ripid) {
    2331           0 :                         NDR_PULL_ALLOC(ndr, r->in.ripid);
    2332             :                 } else {
    2333           0 :                         r->in.ripid = NULL;
    2334             :                 }
    2335           0 :                 if (r->in.ripid) {
    2336           0 :                         _mem_save_ripid_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2337           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.ripid, 0);
    2338           0 :                         NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, r->in.ripid));
    2339           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ripid_0, 0);
    2340             :                 }
    2341           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->in.cIids));
    2342           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_iids));
    2343           0 :                 if (_ptr_iids) {
    2344           0 :                         NDR_PULL_ALLOC(ndr, r->in.iids);
    2345             :                 } else {
    2346           0 :                         r->in.iids = NULL;
    2347             :                 }
    2348           0 :                 if (r->in.iids) {
    2349           0 :                         _mem_save_iids_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2350           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.iids, 0);
    2351           0 :                         NDR_CHECK(ndr_pull_array_size(ndr, &r->in.iids));
    2352           0 :                         NDR_CHECK(ndr_get_array_size(ndr, (void*)&r->in.iids, &size_iids_1));
    2353           0 :                         NDR_PULL_ALLOC_N(ndr, r->in.iids, size_iids_1);
    2354           0 :                         _mem_save_iids_1 = NDR_PULL_GET_MEM_CTX(ndr);
    2355           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.iids, 0);
    2356           0 :                         for (cntr_iids_1 = 0; cntr_iids_1 < (size_iids_1); cntr_iids_1++) {
    2357           0 :                                 NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->in.iids[cntr_iids_1]));
    2358             :                         }
    2359           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_iids_1, 0);
    2360           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_iids_0, 0);
    2361             :                 }
    2362           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    2363           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    2364           0 :                 if (r->in.iids) {
    2365           0 :                         NDR_CHECK(ndr_check_steal_array_size(ndr, (void*)&r->in.iids, r->in.cIids));
    2366             :                 }
    2367             :         }
    2368           0 :         if (flags & NDR_OUT) {
    2369             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    2370             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    2371           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    2372           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    2373             :                 }
    2374           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2375           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    2376           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    2377           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    2378           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_phr));
    2379           0 :                 if (_ptr_phr) {
    2380           0 :                         NDR_PULL_ALLOC(ndr, r->out.phr);
    2381             :                 } else {
    2382           0 :                         r->out.phr = NULL;
    2383             :                 }
    2384           0 :                 if (r->out.phr) {
    2385           0 :                         _mem_save_phr_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2386           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.phr, 0);
    2387           0 :                         NDR_CHECK(ndr_pull_array_size(ndr, &r->out.phr));
    2388           0 :                         NDR_CHECK(ndr_get_array_size(ndr, (void*)&r->out.phr, &size_phr_1));
    2389           0 :                         NDR_PULL_ALLOC_N(ndr, r->out.phr, size_phr_1);
    2390           0 :                         _mem_save_phr_1 = NDR_PULL_GET_MEM_CTX(ndr);
    2391           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.phr, 0);
    2392           0 :                         for (cntr_phr_1 = 0; cntr_phr_1 < (size_phr_1); cntr_phr_1++) {
    2393           0 :                                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.phr[cntr_phr_1]));
    2394             :                         }
    2395           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_phr_1, 0);
    2396           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_phr_0, 0);
    2397             :                 }
    2398           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_ppMIF));
    2399           0 :                 if (_ptr_ppMIF) {
    2400           0 :                         NDR_PULL_ALLOC(ndr, r->out.ppMIF);
    2401             :                 } else {
    2402           0 :                         r->out.ppMIF = NULL;
    2403             :                 }
    2404           0 :                 if (r->out.ppMIF) {
    2405           0 :                         _mem_save_ppMIF_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2406           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.ppMIF, 0);
    2407           0 :                         NDR_CHECK(ndr_pull_array_size(ndr, &r->out.ppMIF));
    2408           0 :                         NDR_CHECK(ndr_get_array_size(ndr, (void*)&r->out.ppMIF, &size_ppMIF_1));
    2409           0 :                         NDR_PULL_ALLOC_N(ndr, r->out.ppMIF, size_ppMIF_1);
    2410           0 :                         _mem_save_ppMIF_1 = NDR_PULL_GET_MEM_CTX(ndr);
    2411           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.ppMIF, 0);
    2412           0 :                         for (cntr_ppMIF_1 = 0; cntr_ppMIF_1 < (size_ppMIF_1); cntr_ppMIF_1++) {
    2413           0 :                                 NDR_CHECK(ndr_pull_MInterfacePointer(ndr, NDR_SCALARS, &r->out.ppMIF[cntr_ppMIF_1]));
    2414             :                         }
    2415           0 :                         for (cntr_ppMIF_1 = 0; cntr_ppMIF_1 < (size_ppMIF_1); cntr_ppMIF_1++) {
    2416           0 :                                 NDR_CHECK(ndr_pull_MInterfacePointer(ndr, NDR_BUFFERS, &r->out.ppMIF[cntr_ppMIF_1]));
    2417             :                         }
    2418           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ppMIF_1, 0);
    2419           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ppMIF_0, 0);
    2420             :                 }
    2421           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    2422           0 :                 if (r->out.phr) {
    2423           0 :                         NDR_CHECK(ndr_check_steal_array_size(ndr, (void*)&r->out.phr, r->in.cIids));
    2424             :                 }
    2425           0 :                 if (r->out.ppMIF) {
    2426           0 :                         NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->out.ppMIF, r->in.cIids));
    2427             :                 }
    2428           0 :                 for (cntr_ppMIF_1 = 0; cntr_ppMIF_1 < (size_ppMIF_1); cntr_ppMIF_1++) {
    2429             :                 }
    2430             :         }
    2431           0 :         return NDR_ERR_SUCCESS;
    2432             : }
    2433             : 
    2434           0 : _PUBLIC_ void ndr_print_RemQueryInterface2(struct ndr_print *ndr, const char *name, int flags, const struct RemQueryInterface2 *r)
    2435             : {
    2436             :         uint32_t cntr_iids_1;
    2437             :         uint32_t cntr_phr_1;
    2438             :         uint32_t cntr_ppMIF_1;
    2439           0 :         ndr_print_struct(ndr, name, "RemQueryInterface2");
    2440           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    2441           0 :         ndr->depth++;
    2442           0 :         if (flags & NDR_SET_VALUES) {
    2443           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    2444             :         }
    2445           0 :         if (flags & NDR_IN) {
    2446           0 :                 ndr_print_struct(ndr, "in", "RemQueryInterface2");
    2447           0 :                 ndr->depth++;
    2448           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    2449           0 :                 ndr_print_ptr(ndr, "ripid", r->in.ripid);
    2450           0 :                 ndr->depth++;
    2451           0 :                 if (r->in.ripid) {
    2452           0 :                         ndr_print_GUID(ndr, "ripid", r->in.ripid);
    2453             :                 }
    2454           0 :                 ndr->depth--;
    2455           0 :                 ndr_print_uint16(ndr, "cIids", r->in.cIids);
    2456           0 :                 ndr_print_ptr(ndr, "iids", r->in.iids);
    2457           0 :                 ndr->depth++;
    2458           0 :                 if (r->in.iids) {
    2459           0 :                         ndr->print(ndr, "%s: ARRAY(%d)", "iids", (int)r->in.cIids);
    2460           0 :                         ndr->depth++;
    2461           0 :                         for (cntr_iids_1 = 0; cntr_iids_1 < (r->in.cIids); cntr_iids_1++) {
    2462           0 :                                 ndr_print_GUID(ndr, "iids", &r->in.iids[cntr_iids_1]);
    2463             :                         }
    2464           0 :                         ndr->depth--;
    2465             :                 }
    2466           0 :                 ndr->depth--;
    2467           0 :                 ndr->depth--;
    2468             :         }
    2469           0 :         if (flags & NDR_OUT) {
    2470           0 :                 ndr_print_struct(ndr, "out", "RemQueryInterface2");
    2471           0 :                 ndr->depth++;
    2472           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    2473           0 :                 ndr->depth++;
    2474           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    2475           0 :                 ndr->depth--;
    2476           0 :                 ndr_print_ptr(ndr, "phr", r->out.phr);
    2477           0 :                 ndr->depth++;
    2478           0 :                 if (r->out.phr) {
    2479           0 :                         ndr->print(ndr, "%s: ARRAY(%d)", "phr", (int)r->in.cIids);
    2480           0 :                         ndr->depth++;
    2481           0 :                         for (cntr_phr_1 = 0; cntr_phr_1 < (r->in.cIids); cntr_phr_1++) {
    2482           0 :                                 ndr_print_WERROR(ndr, "phr", r->out.phr[cntr_phr_1]);
    2483             :                         }
    2484           0 :                         ndr->depth--;
    2485             :                 }
    2486           0 :                 ndr->depth--;
    2487           0 :                 ndr_print_ptr(ndr, "ppMIF", r->out.ppMIF);
    2488           0 :                 ndr->depth++;
    2489           0 :                 if (r->out.ppMIF) {
    2490           0 :                         ndr->print(ndr, "%s: ARRAY(%d)", "ppMIF", (int)r->in.cIids);
    2491           0 :                         ndr->depth++;
    2492           0 :                         for (cntr_ppMIF_1 = 0; cntr_ppMIF_1 < (r->in.cIids); cntr_ppMIF_1++) {
    2493           0 :                                 ndr_print_MInterfacePointer(ndr, "ppMIF", &r->out.ppMIF[cntr_ppMIF_1]);
    2494             :                         }
    2495           0 :                         ndr->depth--;
    2496             :                 }
    2497           0 :                 ndr->depth--;
    2498           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    2499           0 :                 ndr->depth--;
    2500             :         }
    2501           0 :         ndr->depth--;
    2502             : }
    2503             : 
    2504             : #ifndef SKIP_NDR_TABLE_IRemUnknown2
    2505             : static const struct ndr_interface_public_struct IRemUnknown2_public_structs[] = {
    2506             :         { .name = NULL }
    2507             : };
    2508             : 
    2509             : static const struct ndr_interface_call IRemUnknown2_calls[] = {
    2510             :         {
    2511             :                 "RemQueryInterface2",
    2512             :                 sizeof(struct RemQueryInterface2),
    2513             :                 (ndr_push_flags_fn_t) ndr_push_RemQueryInterface2,
    2514             :                 (ndr_pull_flags_fn_t) ndr_pull_RemQueryInterface2,
    2515             :                 (ndr_print_function_t) ndr_print_RemQueryInterface2,
    2516             :                 { 0, NULL },
    2517             :                 { 0, NULL },
    2518             :         },
    2519             :         { .name = NULL }
    2520             : };
    2521             : 
    2522             : static const char * const IRemUnknown2_endpoint_strings[] = {
    2523             :         "ncacn_np:[\\pipe\\IRemUnknown2]", 
    2524             : };
    2525             : 
    2526             : static const struct ndr_interface_string_array IRemUnknown2_endpoints = {
    2527             :         .count  = 1,
    2528             :         .names  = IRemUnknown2_endpoint_strings
    2529             : };
    2530             : 
    2531             : static const char * const IRemUnknown2_authservice_strings[] = {
    2532             :         "host", 
    2533             : };
    2534             : 
    2535             : static const struct ndr_interface_string_array IRemUnknown2_authservices = {
    2536             :         .count  = 1,
    2537             :         .names  = IRemUnknown2_authservice_strings
    2538             : };
    2539             : 
    2540             : 
    2541             : const struct ndr_interface_table ndr_table_IRemUnknown2 = {
    2542             :         .name           = "IRemUnknown2",
    2543             :         .syntax_id      = {
    2544             :                 {0x00000143,0x0000,0x0000,{0xc0,0x00},{0x00,0x00,0x00,0x00,0x00,0x46}},
    2545             :                 NDR_IREMUNKNOWN2_VERSION
    2546             :         },
    2547             :         .helpstring     = NDR_IREMUNKNOWN2_HELPSTRING,
    2548             :         .num_calls      = 1,
    2549             :         .calls          = IRemUnknown2_calls,
    2550             :         .num_public_structs     = 0,
    2551             :         .public_structs         = IRemUnknown2_public_structs,
    2552             :         .endpoints      = &IRemUnknown2_endpoints,
    2553             :         .authservices   = &IRemUnknown2_authservices
    2554             : };
    2555             : 
    2556             : #endif /* SKIP_NDR_TABLE_IRemUnknown2 */
    2557             : #include "librpc/gen_ndr/ndr_orpc.h"
    2558           0 : static enum ndr_err_code ndr_push_REF_ITypeInfo(struct ndr_push *ndr, int ndr_flags, const struct REF_ITypeInfo *r)
    2559             : {
    2560           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    2561           0 :         if (ndr_flags & NDR_SCALARS) {
    2562           0 :                 NDR_CHECK(ndr_push_align(ndr, 1));
    2563           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 1));
    2564             :         }
    2565           0 :         if (ndr_flags & NDR_BUFFERS) {
    2566             :         }
    2567           0 :         return NDR_ERR_SUCCESS;
    2568             : }
    2569             : 
    2570           0 : static enum ndr_err_code ndr_pull_REF_ITypeInfo(struct ndr_pull *ndr, int ndr_flags, struct REF_ITypeInfo *r)
    2571             : {
    2572           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    2573           0 :         if (ndr_flags & NDR_SCALARS) {
    2574           0 :                 NDR_CHECK(ndr_pull_align(ndr, 1));
    2575           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
    2576             :         }
    2577           0 :         if (ndr_flags & NDR_BUFFERS) {
    2578             :         }
    2579           0 :         return NDR_ERR_SUCCESS;
    2580             : }
    2581             : 
    2582           0 : _PUBLIC_ void ndr_print_REF_ITypeInfo(struct ndr_print *ndr, const char *name, const struct REF_ITypeInfo *r)
    2583             : {
    2584           0 :         ndr_print_struct(ndr, name, "REF_ITypeInfo");
    2585           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    2586           0 :         ndr->depth++;
    2587           0 :         ndr->depth--;
    2588             : }
    2589             : 
    2590           0 : static enum ndr_err_code ndr_push_VARIANT(struct ndr_push *ndr, int ndr_flags, const struct VARIANT *r)
    2591             : {
    2592           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    2593           0 :         if (ndr_flags & NDR_SCALARS) {
    2594           0 :                 NDR_CHECK(ndr_push_align(ndr, 2));
    2595           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->vartype));
    2596           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->FIXME));
    2597           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 2));
    2598             :         }
    2599           0 :         if (ndr_flags & NDR_BUFFERS) {
    2600             :         }
    2601           0 :         return NDR_ERR_SUCCESS;
    2602             : }
    2603             : 
    2604           0 : static enum ndr_err_code ndr_pull_VARIANT(struct ndr_pull *ndr, int ndr_flags, struct VARIANT *r)
    2605             : {
    2606           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    2607           0 :         if (ndr_flags & NDR_SCALARS) {
    2608           0 :                 NDR_CHECK(ndr_pull_align(ndr, 2));
    2609           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->vartype));
    2610           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->FIXME));
    2611           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 2));
    2612             :         }
    2613           0 :         if (ndr_flags & NDR_BUFFERS) {
    2614             :         }
    2615           0 :         return NDR_ERR_SUCCESS;
    2616             : }
    2617             : 
    2618           0 : _PUBLIC_ void ndr_print_VARIANT(struct ndr_print *ndr, const char *name, const struct VARIANT *r)
    2619             : {
    2620           0 :         ndr_print_struct(ndr, name, "VARIANT");
    2621           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    2622           0 :         ndr->depth++;
    2623           0 :         ndr_print_uint16(ndr, "vartype", r->vartype);
    2624           0 :         ndr_print_uint16(ndr, "FIXME", r->FIXME);
    2625           0 :         ndr->depth--;
    2626             : }
    2627             : 
    2628           0 : static enum ndr_err_code ndr_push_DISPPARAMS(struct ndr_push *ndr, int ndr_flags, const struct DISPPARAMS *r)
    2629             : {
    2630           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    2631           0 :         if (ndr_flags & NDR_SCALARS) {
    2632           0 :                 NDR_CHECK(ndr_push_align(ndr, 2));
    2633           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->FIXME));
    2634           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 2));
    2635             :         }
    2636           0 :         if (ndr_flags & NDR_BUFFERS) {
    2637             :         }
    2638           0 :         return NDR_ERR_SUCCESS;
    2639             : }
    2640             : 
    2641           0 : static enum ndr_err_code ndr_pull_DISPPARAMS(struct ndr_pull *ndr, int ndr_flags, struct DISPPARAMS *r)
    2642             : {
    2643           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    2644           0 :         if (ndr_flags & NDR_SCALARS) {
    2645           0 :                 NDR_CHECK(ndr_pull_align(ndr, 2));
    2646           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->FIXME));
    2647           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 2));
    2648             :         }
    2649           0 :         if (ndr_flags & NDR_BUFFERS) {
    2650             :         }
    2651           0 :         return NDR_ERR_SUCCESS;
    2652             : }
    2653             : 
    2654           0 : _PUBLIC_ void ndr_print_DISPPARAMS(struct ndr_print *ndr, const char *name, const struct DISPPARAMS *r)
    2655             : {
    2656           0 :         ndr_print_struct(ndr, name, "DISPPARAMS");
    2657           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    2658           0 :         ndr->depth++;
    2659           0 :         ndr_print_uint16(ndr, "FIXME", r->FIXME);
    2660           0 :         ndr->depth--;
    2661             : }
    2662             : 
    2663           0 : static enum ndr_err_code ndr_push_EXCEPINFO(struct ndr_push *ndr, int ndr_flags, const struct EXCEPINFO *r)
    2664             : {
    2665           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    2666           0 :         if (ndr_flags & NDR_SCALARS) {
    2667           0 :                 NDR_CHECK(ndr_push_align(ndr, 2));
    2668           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->FIXME));
    2669           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 2));
    2670             :         }
    2671           0 :         if (ndr_flags & NDR_BUFFERS) {
    2672             :         }
    2673           0 :         return NDR_ERR_SUCCESS;
    2674             : }
    2675             : 
    2676           0 : static enum ndr_err_code ndr_pull_EXCEPINFO(struct ndr_pull *ndr, int ndr_flags, struct EXCEPINFO *r)
    2677             : {
    2678           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    2679           0 :         if (ndr_flags & NDR_SCALARS) {
    2680           0 :                 NDR_CHECK(ndr_pull_align(ndr, 2));
    2681           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->FIXME));
    2682           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 2));
    2683             :         }
    2684           0 :         if (ndr_flags & NDR_BUFFERS) {
    2685             :         }
    2686           0 :         return NDR_ERR_SUCCESS;
    2687             : }
    2688             : 
    2689           0 : _PUBLIC_ void ndr_print_EXCEPINFO(struct ndr_print *ndr, const char *name, const struct EXCEPINFO *r)
    2690             : {
    2691           0 :         ndr_print_struct(ndr, name, "EXCEPINFO");
    2692           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    2693           0 :         ndr->depth++;
    2694           0 :         ndr_print_uint16(ndr, "FIXME", r->FIXME);
    2695           0 :         ndr->depth--;
    2696             : }
    2697             : 
    2698           0 : static enum ndr_err_code ndr_push_GetTypeInfoCount(struct ndr_push *ndr, int flags, const struct GetTypeInfoCount *r)
    2699             : {
    2700           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    2701           0 :         if (flags & NDR_IN) {
    2702           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    2703             :         }
    2704           0 :         if (flags & NDR_OUT) {
    2705           0 :                 if (r->out.ORPCthat == NULL) {
    2706           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    2707             :                 }
    2708           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    2709           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.pctinfo));
    2710           0 :                 if (r->out.pctinfo) {
    2711           0 :                         NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, *r->out.pctinfo));
    2712             :                 }
    2713           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    2714             :         }
    2715           0 :         return NDR_ERR_SUCCESS;
    2716             : }
    2717             : 
    2718           0 : static enum ndr_err_code ndr_pull_GetTypeInfoCount(struct ndr_pull *ndr, int flags, struct GetTypeInfoCount *r)
    2719             : {
    2720             :         uint32_t _ptr_pctinfo;
    2721           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    2722           0 :         TALLOC_CTX *_mem_save_pctinfo_0 = NULL;
    2723           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    2724           0 :         if (flags & NDR_IN) {
    2725           0 :                 NDR_ZERO_STRUCT(r->out);
    2726             : 
    2727           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    2728           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    2729           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    2730             :         }
    2731           0 :         if (flags & NDR_OUT) {
    2732             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    2733             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    2734           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    2735           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    2736             :                 }
    2737           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2738           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    2739           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    2740           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    2741           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_pctinfo));
    2742           0 :                 if (_ptr_pctinfo) {
    2743           0 :                         NDR_PULL_ALLOC(ndr, r->out.pctinfo);
    2744             :                 } else {
    2745           0 :                         r->out.pctinfo = NULL;
    2746             :                 }
    2747           0 :                 if (r->out.pctinfo) {
    2748           0 :                         _mem_save_pctinfo_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2749           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.pctinfo, 0);
    2750           0 :                         NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, r->out.pctinfo));
    2751           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pctinfo_0, 0);
    2752             :                 }
    2753           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    2754             :         }
    2755           0 :         return NDR_ERR_SUCCESS;
    2756             : }
    2757             : 
    2758           0 : _PUBLIC_ void ndr_print_GetTypeInfoCount(struct ndr_print *ndr, const char *name, int flags, const struct GetTypeInfoCount *r)
    2759             : {
    2760           0 :         ndr_print_struct(ndr, name, "GetTypeInfoCount");
    2761           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    2762           0 :         ndr->depth++;
    2763           0 :         if (flags & NDR_SET_VALUES) {
    2764           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    2765             :         }
    2766           0 :         if (flags & NDR_IN) {
    2767           0 :                 ndr_print_struct(ndr, "in", "GetTypeInfoCount");
    2768           0 :                 ndr->depth++;
    2769           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    2770           0 :                 ndr->depth--;
    2771             :         }
    2772           0 :         if (flags & NDR_OUT) {
    2773           0 :                 ndr_print_struct(ndr, "out", "GetTypeInfoCount");
    2774           0 :                 ndr->depth++;
    2775           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    2776           0 :                 ndr->depth++;
    2777           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    2778           0 :                 ndr->depth--;
    2779           0 :                 ndr_print_ptr(ndr, "pctinfo", r->out.pctinfo);
    2780           0 :                 ndr->depth++;
    2781           0 :                 if (r->out.pctinfo) {
    2782           0 :                         ndr_print_uint16(ndr, "pctinfo", *r->out.pctinfo);
    2783             :                 }
    2784           0 :                 ndr->depth--;
    2785           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    2786           0 :                 ndr->depth--;
    2787             :         }
    2788           0 :         ndr->depth--;
    2789             : }
    2790             : 
    2791           0 : static enum ndr_err_code ndr_push_GetTypeInfo(struct ndr_push *ndr, int flags, const struct GetTypeInfo *r)
    2792             : {
    2793           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    2794           0 :         if (flags & NDR_IN) {
    2795           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    2796           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->in.iTInfo));
    2797           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.lcid));
    2798             :         }
    2799           0 :         if (flags & NDR_OUT) {
    2800           0 :                 if (r->out.ORPCthat == NULL) {
    2801           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    2802             :                 }
    2803           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    2804           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.ppTInfo));
    2805           0 :                 if (r->out.ppTInfo) {
    2806           0 :                         NDR_CHECK(ndr_push_REF_ITypeInfo(ndr, NDR_SCALARS, r->out.ppTInfo));
    2807             :                 }
    2808           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    2809             :         }
    2810           0 :         return NDR_ERR_SUCCESS;
    2811             : }
    2812             : 
    2813           0 : static enum ndr_err_code ndr_pull_GetTypeInfo(struct ndr_pull *ndr, int flags, struct GetTypeInfo *r)
    2814             : {
    2815             :         uint32_t _ptr_ppTInfo;
    2816           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    2817           0 :         TALLOC_CTX *_mem_save_ppTInfo_0 = NULL;
    2818           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    2819           0 :         if (flags & NDR_IN) {
    2820           0 :                 NDR_ZERO_STRUCT(r->out);
    2821             : 
    2822           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    2823           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->in.iTInfo));
    2824           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.lcid));
    2825           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    2826           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    2827             :         }
    2828           0 :         if (flags & NDR_OUT) {
    2829             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    2830             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    2831           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    2832           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    2833             :                 }
    2834           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2835           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    2836           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    2837           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    2838           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_ppTInfo));
    2839           0 :                 if (_ptr_ppTInfo) {
    2840           0 :                         NDR_PULL_ALLOC(ndr, r->out.ppTInfo);
    2841             :                 } else {
    2842           0 :                         r->out.ppTInfo = NULL;
    2843             :                 }
    2844           0 :                 if (r->out.ppTInfo) {
    2845           0 :                         _mem_save_ppTInfo_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2846           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.ppTInfo, 0);
    2847           0 :                         NDR_CHECK(ndr_pull_REF_ITypeInfo(ndr, NDR_SCALARS, r->out.ppTInfo));
    2848           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ppTInfo_0, 0);
    2849             :                 }
    2850           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    2851             :         }
    2852           0 :         return NDR_ERR_SUCCESS;
    2853             : }
    2854             : 
    2855           0 : _PUBLIC_ void ndr_print_GetTypeInfo(struct ndr_print *ndr, const char *name, int flags, const struct GetTypeInfo *r)
    2856             : {
    2857           0 :         ndr_print_struct(ndr, name, "GetTypeInfo");
    2858           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    2859           0 :         ndr->depth++;
    2860           0 :         if (flags & NDR_SET_VALUES) {
    2861           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    2862             :         }
    2863           0 :         if (flags & NDR_IN) {
    2864           0 :                 ndr_print_struct(ndr, "in", "GetTypeInfo");
    2865           0 :                 ndr->depth++;
    2866           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    2867           0 :                 ndr_print_uint16(ndr, "iTInfo", r->in.iTInfo);
    2868           0 :                 ndr_print_uint32(ndr, "lcid", r->in.lcid);
    2869           0 :                 ndr->depth--;
    2870             :         }
    2871           0 :         if (flags & NDR_OUT) {
    2872           0 :                 ndr_print_struct(ndr, "out", "GetTypeInfo");
    2873           0 :                 ndr->depth++;
    2874           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    2875           0 :                 ndr->depth++;
    2876           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    2877           0 :                 ndr->depth--;
    2878           0 :                 ndr_print_ptr(ndr, "ppTInfo", r->out.ppTInfo);
    2879           0 :                 ndr->depth++;
    2880           0 :                 if (r->out.ppTInfo) {
    2881           0 :                         ndr_print_REF_ITypeInfo(ndr, "ppTInfo", r->out.ppTInfo);
    2882             :                 }
    2883           0 :                 ndr->depth--;
    2884           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    2885           0 :                 ndr->depth--;
    2886             :         }
    2887           0 :         ndr->depth--;
    2888             : }
    2889             : 
    2890           0 : static enum ndr_err_code ndr_push_GetIDsOfNames(struct ndr_push *ndr, int flags, const struct GetIDsOfNames *r)
    2891             : {
    2892             :         uint32_t cntr_rgDispId_1;
    2893           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    2894           0 :         if (flags & NDR_IN) {
    2895           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    2896           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.riid));
    2897           0 :                 if (r->in.riid) {
    2898           0 :                         NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, r->in.riid));
    2899             :                 }
    2900           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->in.cNames));
    2901           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.lcid));
    2902             :         }
    2903           0 :         if (flags & NDR_OUT) {
    2904           0 :                 if (r->out.ORPCthat == NULL) {
    2905           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    2906             :                 }
    2907           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    2908           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.rgDispId));
    2909           0 :                 if (r->out.rgDispId) {
    2910           0 :                         NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.cNames));
    2911           0 :                         for (cntr_rgDispId_1 = 0; cntr_rgDispId_1 < (r->in.cNames); cntr_rgDispId_1++) {
    2912           0 :                                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->out.rgDispId[cntr_rgDispId_1]));
    2913             :                         }
    2914             :                 }
    2915           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    2916             :         }
    2917           0 :         return NDR_ERR_SUCCESS;
    2918             : }
    2919             : 
    2920           0 : static enum ndr_err_code ndr_pull_GetIDsOfNames(struct ndr_pull *ndr, int flags, struct GetIDsOfNames *r)
    2921             : {
    2922             :         uint32_t _ptr_riid;
    2923             :         uint32_t _ptr_rgDispId;
    2924           0 :         uint32_t size_rgDispId_1 = 0;
    2925             :         uint32_t cntr_rgDispId_1;
    2926           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    2927           0 :         TALLOC_CTX *_mem_save_riid_0 = NULL;
    2928           0 :         TALLOC_CTX *_mem_save_rgDispId_0 = NULL;
    2929           0 :         TALLOC_CTX *_mem_save_rgDispId_1 = NULL;
    2930           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    2931           0 :         if (flags & NDR_IN) {
    2932           0 :                 NDR_ZERO_STRUCT(r->out);
    2933             : 
    2934           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    2935           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_riid));
    2936           0 :                 if (_ptr_riid) {
    2937           0 :                         NDR_PULL_ALLOC(ndr, r->in.riid);
    2938             :                 } else {
    2939           0 :                         r->in.riid = NULL;
    2940             :                 }
    2941           0 :                 if (r->in.riid) {
    2942           0 :                         _mem_save_riid_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2943           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.riid, 0);
    2944           0 :                         NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, r->in.riid));
    2945           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_riid_0, 0);
    2946             :                 }
    2947           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->in.cNames));
    2948           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.lcid));
    2949           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    2950           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    2951             :         }
    2952           0 :         if (flags & NDR_OUT) {
    2953             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    2954             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    2955           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    2956           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    2957             :                 }
    2958           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2959           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    2960           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    2961           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    2962           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_rgDispId));
    2963           0 :                 if (_ptr_rgDispId) {
    2964           0 :                         NDR_PULL_ALLOC(ndr, r->out.rgDispId);
    2965             :                 } else {
    2966           0 :                         r->out.rgDispId = NULL;
    2967             :                 }
    2968           0 :                 if (r->out.rgDispId) {
    2969           0 :                         _mem_save_rgDispId_0 = NDR_PULL_GET_MEM_CTX(ndr);
    2970           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.rgDispId, 0);
    2971           0 :                         NDR_CHECK(ndr_pull_array_size(ndr, &r->out.rgDispId));
    2972           0 :                         NDR_CHECK(ndr_get_array_size(ndr, (void*)&r->out.rgDispId, &size_rgDispId_1));
    2973           0 :                         NDR_PULL_ALLOC_N(ndr, r->out.rgDispId, size_rgDispId_1);
    2974           0 :                         _mem_save_rgDispId_1 = NDR_PULL_GET_MEM_CTX(ndr);
    2975           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.rgDispId, 0);
    2976           0 :                         for (cntr_rgDispId_1 = 0; cntr_rgDispId_1 < (size_rgDispId_1); cntr_rgDispId_1++) {
    2977           0 :                                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->out.rgDispId[cntr_rgDispId_1]));
    2978             :                         }
    2979           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgDispId_1, 0);
    2980           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgDispId_0, 0);
    2981             :                 }
    2982           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    2983           0 :                 if (r->out.rgDispId) {
    2984           0 :                         NDR_CHECK(ndr_check_steal_array_size(ndr, (void*)&r->out.rgDispId, r->in.cNames));
    2985             :                 }
    2986             :         }
    2987           0 :         return NDR_ERR_SUCCESS;
    2988             : }
    2989             : 
    2990           0 : _PUBLIC_ void ndr_print_GetIDsOfNames(struct ndr_print *ndr, const char *name, int flags, const struct GetIDsOfNames *r)
    2991             : {
    2992             :         uint32_t cntr_rgDispId_1;
    2993           0 :         ndr_print_struct(ndr, name, "GetIDsOfNames");
    2994           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    2995           0 :         ndr->depth++;
    2996           0 :         if (flags & NDR_SET_VALUES) {
    2997           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    2998             :         }
    2999           0 :         if (flags & NDR_IN) {
    3000           0 :                 ndr_print_struct(ndr, "in", "GetIDsOfNames");
    3001           0 :                 ndr->depth++;
    3002           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    3003           0 :                 ndr_print_ptr(ndr, "riid", r->in.riid);
    3004           0 :                 ndr->depth++;
    3005           0 :                 if (r->in.riid) {
    3006           0 :                         ndr_print_GUID(ndr, "riid", r->in.riid);
    3007             :                 }
    3008           0 :                 ndr->depth--;
    3009           0 :                 ndr_print_uint16(ndr, "cNames", r->in.cNames);
    3010           0 :                 ndr_print_uint32(ndr, "lcid", r->in.lcid);
    3011           0 :                 ndr->depth--;
    3012             :         }
    3013           0 :         if (flags & NDR_OUT) {
    3014           0 :                 ndr_print_struct(ndr, "out", "GetIDsOfNames");
    3015           0 :                 ndr->depth++;
    3016           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    3017           0 :                 ndr->depth++;
    3018           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    3019           0 :                 ndr->depth--;
    3020           0 :                 ndr_print_ptr(ndr, "rgDispId", r->out.rgDispId);
    3021           0 :                 ndr->depth++;
    3022           0 :                 if (r->out.rgDispId) {
    3023           0 :                         ndr->print(ndr, "%s: ARRAY(%d)", "rgDispId", (int)r->in.cNames);
    3024           0 :                         ndr->depth++;
    3025           0 :                         for (cntr_rgDispId_1 = 0; cntr_rgDispId_1 < (r->in.cNames); cntr_rgDispId_1++) {
    3026           0 :                                 ndr_print_uint32(ndr, "rgDispId", r->out.rgDispId[cntr_rgDispId_1]);
    3027             :                         }
    3028           0 :                         ndr->depth--;
    3029             :                 }
    3030           0 :                 ndr->depth--;
    3031           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    3032           0 :                 ndr->depth--;
    3033             :         }
    3034           0 :         ndr->depth--;
    3035             : }
    3036             : 
    3037           0 : static enum ndr_err_code ndr_push_Invoke(struct ndr_push *ndr, int flags, const struct Invoke *r)
    3038             : {
    3039           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    3040           0 :         if (flags & NDR_IN) {
    3041           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    3042           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.dispIdMember));
    3043           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.riid));
    3044           0 :                 if (r->in.riid) {
    3045           0 :                         NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, r->in.riid));
    3046             :                 }
    3047           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.lcid));
    3048           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->in.wFlags));
    3049           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.pDispParams));
    3050           0 :                 if (r->in.pDispParams) {
    3051           0 :                         NDR_CHECK(ndr_push_DISPPARAMS(ndr, NDR_SCALARS, r->in.pDispParams));
    3052             :                 }
    3053             :         }
    3054           0 :         if (flags & NDR_OUT) {
    3055           0 :                 if (r->out.ORPCthat == NULL) {
    3056           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    3057             :                 }
    3058           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    3059           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.pDispParams));
    3060           0 :                 if (r->out.pDispParams) {
    3061           0 :                         NDR_CHECK(ndr_push_DISPPARAMS(ndr, NDR_SCALARS, r->out.pDispParams));
    3062             :                 }
    3063           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.pVarResult));
    3064           0 :                 if (r->out.pVarResult) {
    3065           0 :                         NDR_CHECK(ndr_push_VARIANT(ndr, NDR_SCALARS, r->out.pVarResult));
    3066             :                 }
    3067           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.pExcepInfo));
    3068           0 :                 if (r->out.pExcepInfo) {
    3069           0 :                         NDR_CHECK(ndr_push_EXCEPINFO(ndr, NDR_SCALARS, r->out.pExcepInfo));
    3070             :                 }
    3071           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.puArgErr));
    3072           0 :                 if (r->out.puArgErr) {
    3073           0 :                         NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, *r->out.puArgErr));
    3074             :                 }
    3075           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    3076             :         }
    3077           0 :         return NDR_ERR_SUCCESS;
    3078             : }
    3079             : 
    3080           0 : static enum ndr_err_code ndr_pull_Invoke(struct ndr_pull *ndr, int flags, struct Invoke *r)
    3081             : {
    3082             :         uint32_t _ptr_riid;
    3083             :         uint32_t _ptr_pDispParams;
    3084             :         uint32_t _ptr_pVarResult;
    3085             :         uint32_t _ptr_pExcepInfo;
    3086             :         uint32_t _ptr_puArgErr;
    3087           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    3088           0 :         TALLOC_CTX *_mem_save_riid_0 = NULL;
    3089           0 :         TALLOC_CTX *_mem_save_pDispParams_0 = NULL;
    3090           0 :         TALLOC_CTX *_mem_save_pVarResult_0 = NULL;
    3091           0 :         TALLOC_CTX *_mem_save_pExcepInfo_0 = NULL;
    3092           0 :         TALLOC_CTX *_mem_save_puArgErr_0 = NULL;
    3093           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    3094           0 :         if (flags & NDR_IN) {
    3095           0 :                 NDR_ZERO_STRUCT(r->out);
    3096             : 
    3097           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    3098           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.dispIdMember));
    3099           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_riid));
    3100           0 :                 if (_ptr_riid) {
    3101           0 :                         NDR_PULL_ALLOC(ndr, r->in.riid);
    3102             :                 } else {
    3103           0 :                         r->in.riid = NULL;
    3104             :                 }
    3105           0 :                 if (r->in.riid) {
    3106           0 :                         _mem_save_riid_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3107           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.riid, 0);
    3108           0 :                         NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, r->in.riid));
    3109           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_riid_0, 0);
    3110             :                 }
    3111           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.lcid));
    3112           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->in.wFlags));
    3113           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_pDispParams));
    3114           0 :                 if (_ptr_pDispParams) {
    3115           0 :                         NDR_PULL_ALLOC(ndr, r->in.pDispParams);
    3116             :                 } else {
    3117           0 :                         r->in.pDispParams = NULL;
    3118             :                 }
    3119           0 :                 if (r->in.pDispParams) {
    3120           0 :                         _mem_save_pDispParams_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3121           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.pDispParams, 0);
    3122           0 :                         NDR_CHECK(ndr_pull_DISPPARAMS(ndr, NDR_SCALARS, r->in.pDispParams));
    3123           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pDispParams_0, 0);
    3124             :                 }
    3125           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    3126           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    3127             :         }
    3128           0 :         if (flags & NDR_OUT) {
    3129             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    3130             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    3131           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    3132           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    3133             :                 }
    3134           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3135           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    3136           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    3137           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    3138           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_pDispParams));
    3139           0 :                 if (_ptr_pDispParams) {
    3140           0 :                         NDR_PULL_ALLOC(ndr, r->out.pDispParams);
    3141             :                 } else {
    3142           0 :                         r->out.pDispParams = NULL;
    3143             :                 }
    3144           0 :                 if (r->out.pDispParams) {
    3145           0 :                         _mem_save_pDispParams_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3146           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.pDispParams, 0);
    3147           0 :                         NDR_CHECK(ndr_pull_DISPPARAMS(ndr, NDR_SCALARS, r->out.pDispParams));
    3148           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pDispParams_0, 0);
    3149             :                 }
    3150           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_pVarResult));
    3151           0 :                 if (_ptr_pVarResult) {
    3152           0 :                         NDR_PULL_ALLOC(ndr, r->out.pVarResult);
    3153             :                 } else {
    3154           0 :                         r->out.pVarResult = NULL;
    3155             :                 }
    3156           0 :                 if (r->out.pVarResult) {
    3157           0 :                         _mem_save_pVarResult_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3158           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.pVarResult, 0);
    3159           0 :                         NDR_CHECK(ndr_pull_VARIANT(ndr, NDR_SCALARS, r->out.pVarResult));
    3160           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pVarResult_0, 0);
    3161             :                 }
    3162           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_pExcepInfo));
    3163           0 :                 if (_ptr_pExcepInfo) {
    3164           0 :                         NDR_PULL_ALLOC(ndr, r->out.pExcepInfo);
    3165             :                 } else {
    3166           0 :                         r->out.pExcepInfo = NULL;
    3167             :                 }
    3168           0 :                 if (r->out.pExcepInfo) {
    3169           0 :                         _mem_save_pExcepInfo_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3170           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.pExcepInfo, 0);
    3171           0 :                         NDR_CHECK(ndr_pull_EXCEPINFO(ndr, NDR_SCALARS, r->out.pExcepInfo));
    3172           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pExcepInfo_0, 0);
    3173             :                 }
    3174           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_puArgErr));
    3175           0 :                 if (_ptr_puArgErr) {
    3176           0 :                         NDR_PULL_ALLOC(ndr, r->out.puArgErr);
    3177             :                 } else {
    3178           0 :                         r->out.puArgErr = NULL;
    3179             :                 }
    3180           0 :                 if (r->out.puArgErr) {
    3181           0 :                         _mem_save_puArgErr_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3182           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->out.puArgErr, 0);
    3183           0 :                         NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, r->out.puArgErr));
    3184           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_puArgErr_0, 0);
    3185             :                 }
    3186           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    3187             :         }
    3188           0 :         return NDR_ERR_SUCCESS;
    3189             : }
    3190             : 
    3191           0 : _PUBLIC_ void ndr_print_Invoke(struct ndr_print *ndr, const char *name, int flags, const struct Invoke *r)
    3192             : {
    3193           0 :         ndr_print_struct(ndr, name, "Invoke");
    3194           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3195           0 :         ndr->depth++;
    3196           0 :         if (flags & NDR_SET_VALUES) {
    3197           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    3198             :         }
    3199           0 :         if (flags & NDR_IN) {
    3200           0 :                 ndr_print_struct(ndr, "in", "Invoke");
    3201           0 :                 ndr->depth++;
    3202           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    3203           0 :                 ndr_print_uint32(ndr, "dispIdMember", r->in.dispIdMember);
    3204           0 :                 ndr_print_ptr(ndr, "riid", r->in.riid);
    3205           0 :                 ndr->depth++;
    3206           0 :                 if (r->in.riid) {
    3207           0 :                         ndr_print_GUID(ndr, "riid", r->in.riid);
    3208             :                 }
    3209           0 :                 ndr->depth--;
    3210           0 :                 ndr_print_uint32(ndr, "lcid", r->in.lcid);
    3211           0 :                 ndr_print_uint16(ndr, "wFlags", r->in.wFlags);
    3212           0 :                 ndr_print_ptr(ndr, "pDispParams", r->in.pDispParams);
    3213           0 :                 ndr->depth++;
    3214           0 :                 if (r->in.pDispParams) {
    3215           0 :                         ndr_print_DISPPARAMS(ndr, "pDispParams", r->in.pDispParams);
    3216             :                 }
    3217           0 :                 ndr->depth--;
    3218           0 :                 ndr->depth--;
    3219             :         }
    3220           0 :         if (flags & NDR_OUT) {
    3221           0 :                 ndr_print_struct(ndr, "out", "Invoke");
    3222           0 :                 ndr->depth++;
    3223           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    3224           0 :                 ndr->depth++;
    3225           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    3226           0 :                 ndr->depth--;
    3227           0 :                 ndr_print_ptr(ndr, "pDispParams", r->out.pDispParams);
    3228           0 :                 ndr->depth++;
    3229           0 :                 if (r->out.pDispParams) {
    3230           0 :                         ndr_print_DISPPARAMS(ndr, "pDispParams", r->out.pDispParams);
    3231             :                 }
    3232           0 :                 ndr->depth--;
    3233           0 :                 ndr_print_ptr(ndr, "pVarResult", r->out.pVarResult);
    3234           0 :                 ndr->depth++;
    3235           0 :                 if (r->out.pVarResult) {
    3236           0 :                         ndr_print_VARIANT(ndr, "pVarResult", r->out.pVarResult);
    3237             :                 }
    3238           0 :                 ndr->depth--;
    3239           0 :                 ndr_print_ptr(ndr, "pExcepInfo", r->out.pExcepInfo);
    3240           0 :                 ndr->depth++;
    3241           0 :                 if (r->out.pExcepInfo) {
    3242           0 :                         ndr_print_EXCEPINFO(ndr, "pExcepInfo", r->out.pExcepInfo);
    3243             :                 }
    3244           0 :                 ndr->depth--;
    3245           0 :                 ndr_print_ptr(ndr, "puArgErr", r->out.puArgErr);
    3246           0 :                 ndr->depth++;
    3247           0 :                 if (r->out.puArgErr) {
    3248           0 :                         ndr_print_uint16(ndr, "puArgErr", *r->out.puArgErr);
    3249             :                 }
    3250           0 :                 ndr->depth--;
    3251           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    3252           0 :                 ndr->depth--;
    3253             :         }
    3254           0 :         ndr->depth--;
    3255             : }
    3256             : 
    3257             : #ifndef SKIP_NDR_TABLE_IDispatch
    3258             : static const struct ndr_interface_public_struct IDispatch_public_structs[] = {
    3259             :         { .name = NULL }
    3260             : };
    3261             : 
    3262             : static const struct ndr_interface_call IDispatch_calls[] = {
    3263             :         {
    3264             :                 "GetTypeInfoCount",
    3265             :                 sizeof(struct GetTypeInfoCount),
    3266             :                 (ndr_push_flags_fn_t) ndr_push_GetTypeInfoCount,
    3267             :                 (ndr_pull_flags_fn_t) ndr_pull_GetTypeInfoCount,
    3268             :                 (ndr_print_function_t) ndr_print_GetTypeInfoCount,
    3269             :                 { 0, NULL },
    3270             :                 { 0, NULL },
    3271             :         },
    3272             :         {
    3273             :                 "GetTypeInfo",
    3274             :                 sizeof(struct GetTypeInfo),
    3275             :                 (ndr_push_flags_fn_t) ndr_push_GetTypeInfo,
    3276             :                 (ndr_pull_flags_fn_t) ndr_pull_GetTypeInfo,
    3277             :                 (ndr_print_function_t) ndr_print_GetTypeInfo,
    3278             :                 { 0, NULL },
    3279             :                 { 0, NULL },
    3280             :         },
    3281             :         {
    3282             :                 "GetIDsOfNames",
    3283             :                 sizeof(struct GetIDsOfNames),
    3284             :                 (ndr_push_flags_fn_t) ndr_push_GetIDsOfNames,
    3285             :                 (ndr_pull_flags_fn_t) ndr_pull_GetIDsOfNames,
    3286             :                 (ndr_print_function_t) ndr_print_GetIDsOfNames,
    3287             :                 { 0, NULL },
    3288             :                 { 0, NULL },
    3289             :         },
    3290             :         {
    3291             :                 "Invoke",
    3292             :                 sizeof(struct Invoke),
    3293             :                 (ndr_push_flags_fn_t) ndr_push_Invoke,
    3294             :                 (ndr_pull_flags_fn_t) ndr_pull_Invoke,
    3295             :                 (ndr_print_function_t) ndr_print_Invoke,
    3296             :                 { 0, NULL },
    3297             :                 { 0, NULL },
    3298             :         },
    3299             :         { .name = NULL }
    3300             : };
    3301             : 
    3302             : static const char * const IDispatch_endpoint_strings[] = {
    3303             :         "ncacn_np:[\\pipe\\IDispatch]", 
    3304             : };
    3305             : 
    3306             : static const struct ndr_interface_string_array IDispatch_endpoints = {
    3307             :         .count  = 1,
    3308             :         .names  = IDispatch_endpoint_strings
    3309             : };
    3310             : 
    3311             : static const char * const IDispatch_authservice_strings[] = {
    3312             :         "host", 
    3313             : };
    3314             : 
    3315             : static const struct ndr_interface_string_array IDispatch_authservices = {
    3316             :         .count  = 1,
    3317             :         .names  = IDispatch_authservice_strings
    3318             : };
    3319             : 
    3320             : 
    3321             : const struct ndr_interface_table ndr_table_IDispatch = {
    3322             :         .name           = "IDispatch",
    3323             :         .syntax_id      = {
    3324             :                 {0x00020400,0x0000,0x0000,{0xc0,0x00},{0x00,0x00,0x00,0x00,0x00,0x46}},
    3325             :                 NDR_IDISPATCH_VERSION
    3326             :         },
    3327             :         .helpstring     = NDR_IDISPATCH_HELPSTRING,
    3328             :         .num_calls      = 4,
    3329             :         .calls          = IDispatch_calls,
    3330             :         .num_public_structs     = 0,
    3331             :         .public_structs         = IDispatch_public_structs,
    3332             :         .endpoints      = &IDispatch_endpoints,
    3333             :         .authservices   = &IDispatch_authservices
    3334             : };
    3335             : 
    3336             : #endif /* SKIP_NDR_TABLE_IDispatch */
    3337             : #include "librpc/gen_ndr/ndr_orpc.h"
    3338           0 : static enum ndr_err_code ndr_push_MarshalInterface(struct ndr_push *ndr, int flags, const struct MarshalInterface *r)
    3339             : {
    3340           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    3341           0 :         if (flags & NDR_IN) {
    3342           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    3343             :         }
    3344           0 :         if (flags & NDR_OUT) {
    3345           0 :                 if (r->out.ORPCthat == NULL) {
    3346           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    3347             :                 }
    3348           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    3349           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    3350             :         }
    3351           0 :         return NDR_ERR_SUCCESS;
    3352             : }
    3353             : 
    3354           0 : static enum ndr_err_code ndr_pull_MarshalInterface(struct ndr_pull *ndr, int flags, struct MarshalInterface *r)
    3355             : {
    3356           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    3357           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    3358           0 :         if (flags & NDR_IN) {
    3359           0 :                 NDR_ZERO_STRUCT(r->out);
    3360             : 
    3361           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    3362           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    3363           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    3364             :         }
    3365           0 :         if (flags & NDR_OUT) {
    3366             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    3367             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    3368           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    3369           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    3370             :                 }
    3371           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3372           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    3373           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    3374           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    3375           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    3376             :         }
    3377           0 :         return NDR_ERR_SUCCESS;
    3378             : }
    3379             : 
    3380           0 : _PUBLIC_ void ndr_print_MarshalInterface(struct ndr_print *ndr, const char *name, int flags, const struct MarshalInterface *r)
    3381             : {
    3382           0 :         ndr_print_struct(ndr, name, "MarshalInterface");
    3383           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3384           0 :         ndr->depth++;
    3385           0 :         if (flags & NDR_SET_VALUES) {
    3386           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    3387             :         }
    3388           0 :         if (flags & NDR_IN) {
    3389           0 :                 ndr_print_struct(ndr, "in", "MarshalInterface");
    3390           0 :                 ndr->depth++;
    3391           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    3392           0 :                 ndr->depth--;
    3393             :         }
    3394           0 :         if (flags & NDR_OUT) {
    3395           0 :                 ndr_print_struct(ndr, "out", "MarshalInterface");
    3396           0 :                 ndr->depth++;
    3397           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    3398           0 :                 ndr->depth++;
    3399           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    3400           0 :                 ndr->depth--;
    3401           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    3402           0 :                 ndr->depth--;
    3403             :         }
    3404           0 :         ndr->depth--;
    3405             : }
    3406             : 
    3407           0 : static enum ndr_err_code ndr_push_UnMarshalInterface(struct ndr_push *ndr, int flags, const struct UnMarshalInterface *r)
    3408             : {
    3409           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    3410           0 :         if (flags & NDR_IN) {
    3411           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    3412             :         }
    3413           0 :         if (flags & NDR_OUT) {
    3414           0 :                 if (r->out.ORPCthat == NULL) {
    3415           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    3416             :                 }
    3417           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    3418           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    3419             :         }
    3420           0 :         return NDR_ERR_SUCCESS;
    3421             : }
    3422             : 
    3423           0 : static enum ndr_err_code ndr_pull_UnMarshalInterface(struct ndr_pull *ndr, int flags, struct UnMarshalInterface *r)
    3424             : {
    3425           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    3426           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    3427           0 :         if (flags & NDR_IN) {
    3428           0 :                 NDR_ZERO_STRUCT(r->out);
    3429             : 
    3430           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    3431           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    3432           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    3433             :         }
    3434           0 :         if (flags & NDR_OUT) {
    3435             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    3436             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    3437           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    3438           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    3439             :                 }
    3440           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3441           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    3442           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    3443           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    3444           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    3445             :         }
    3446           0 :         return NDR_ERR_SUCCESS;
    3447             : }
    3448             : 
    3449           0 : _PUBLIC_ void ndr_print_UnMarshalInterface(struct ndr_print *ndr, const char *name, int flags, const struct UnMarshalInterface *r)
    3450             : {
    3451           0 :         ndr_print_struct(ndr, name, "UnMarshalInterface");
    3452           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3453           0 :         ndr->depth++;
    3454           0 :         if (flags & NDR_SET_VALUES) {
    3455           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    3456             :         }
    3457           0 :         if (flags & NDR_IN) {
    3458           0 :                 ndr_print_struct(ndr, "in", "UnMarshalInterface");
    3459           0 :                 ndr->depth++;
    3460           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    3461           0 :                 ndr->depth--;
    3462             :         }
    3463           0 :         if (flags & NDR_OUT) {
    3464           0 :                 ndr_print_struct(ndr, "out", "UnMarshalInterface");
    3465           0 :                 ndr->depth++;
    3466           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    3467           0 :                 ndr->depth++;
    3468           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    3469           0 :                 ndr->depth--;
    3470           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    3471           0 :                 ndr->depth--;
    3472             :         }
    3473           0 :         ndr->depth--;
    3474             : }
    3475             : 
    3476             : #ifndef SKIP_NDR_TABLE_IMarshal
    3477             : static const struct ndr_interface_public_struct IMarshal_public_structs[] = {
    3478             :         { .name = NULL }
    3479             : };
    3480             : 
    3481             : static const struct ndr_interface_call IMarshal_calls[] = {
    3482             :         {
    3483             :                 "MarshalInterface",
    3484             :                 sizeof(struct MarshalInterface),
    3485             :                 (ndr_push_flags_fn_t) ndr_push_MarshalInterface,
    3486             :                 (ndr_pull_flags_fn_t) ndr_pull_MarshalInterface,
    3487             :                 (ndr_print_function_t) ndr_print_MarshalInterface,
    3488             :                 { 0, NULL },
    3489             :                 { 0, NULL },
    3490             :         },
    3491             :         {
    3492             :                 "UnMarshalInterface",
    3493             :                 sizeof(struct UnMarshalInterface),
    3494             :                 (ndr_push_flags_fn_t) ndr_push_UnMarshalInterface,
    3495             :                 (ndr_pull_flags_fn_t) ndr_pull_UnMarshalInterface,
    3496             :                 (ndr_print_function_t) ndr_print_UnMarshalInterface,
    3497             :                 { 0, NULL },
    3498             :                 { 0, NULL },
    3499             :         },
    3500             :         { .name = NULL }
    3501             : };
    3502             : 
    3503             : static const char * const IMarshal_endpoint_strings[] = {
    3504             :         "ncacn_np:[\\pipe\\IMarshal]", 
    3505             : };
    3506             : 
    3507             : static const struct ndr_interface_string_array IMarshal_endpoints = {
    3508             :         .count  = 1,
    3509             :         .names  = IMarshal_endpoint_strings
    3510             : };
    3511             : 
    3512             : static const char * const IMarshal_authservice_strings[] = {
    3513             :         "host", 
    3514             : };
    3515             : 
    3516             : static const struct ndr_interface_string_array IMarshal_authservices = {
    3517             :         .count  = 1,
    3518             :         .names  = IMarshal_authservice_strings
    3519             : };
    3520             : 
    3521             : 
    3522             : const struct ndr_interface_table ndr_table_IMarshal = {
    3523             :         .name           = "IMarshal",
    3524             :         .syntax_id      = {
    3525             :                 {0x00000003,0x0000,0x0000,{0xc0,0x00},{0x00,0x00,0x00,0x00,0x00,0x46}},
    3526             :                 NDR_IMARSHAL_VERSION
    3527             :         },
    3528             :         .helpstring     = NDR_IMARSHAL_HELPSTRING,
    3529             :         .num_calls      = 2,
    3530             :         .calls          = IMarshal_calls,
    3531             :         .num_public_structs     = 0,
    3532             :         .public_structs         = IMarshal_public_structs,
    3533             :         .endpoints      = &IMarshal_endpoints,
    3534             :         .authservices   = &IMarshal_authservices
    3535             : };
    3536             : 
    3537             : #endif /* SKIP_NDR_TABLE_IMarshal */
    3538             : #include "librpc/gen_ndr/ndr_orpc.h"
    3539           0 : static enum ndr_err_code ndr_push_MakeCoffee(struct ndr_push *ndr, int flags, const struct MakeCoffee *r)
    3540             : {
    3541           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    3542           0 :         if (flags & NDR_IN) {
    3543           0 :                 if (r->in.flavor == NULL) {
    3544           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    3545             :                 }
    3546           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    3547           0 :                 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.flavor, CH_UTF16)));
    3548           0 :                 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
    3549           0 :                 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.flavor, CH_UTF16)));
    3550           0 :                 NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.flavor, ndr_charset_length(r->in.flavor, CH_UTF16), sizeof(uint16_t), CH_UTF16));
    3551             :         }
    3552           0 :         if (flags & NDR_OUT) {
    3553           0 :                 if (r->out.ORPCthat == NULL) {
    3554           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    3555             :                 }
    3556           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    3557           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    3558             :         }
    3559           0 :         return NDR_ERR_SUCCESS;
    3560             : }
    3561             : 
    3562           0 : static enum ndr_err_code ndr_pull_MakeCoffee(struct ndr_pull *ndr, int flags, struct MakeCoffee *r)
    3563             : {
    3564           0 :         uint32_t size_flavor_1 = 0;
    3565           0 :         uint32_t length_flavor_1 = 0;
    3566           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    3567           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    3568           0 :         if (flags & NDR_IN) {
    3569           0 :                 NDR_ZERO_STRUCT(r->out);
    3570             : 
    3571           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    3572           0 :                 NDR_CHECK(ndr_pull_array_size(ndr, &r->in.flavor));
    3573           0 :                 NDR_CHECK(ndr_pull_array_length(ndr, &r->in.flavor));
    3574           0 :                 NDR_CHECK(ndr_steal_array_size(ndr, (void*)&r->in.flavor, &size_flavor_1));
    3575           0 :                 NDR_CHECK(ndr_steal_array_length(ndr, (void*)&r->in.flavor, &length_flavor_1));
    3576           0 :                 if (length_flavor_1 > size_flavor_1) {
    3577           0 :                         return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", size_flavor_1, length_flavor_1);
    3578             :                 }
    3579           0 :                 NDR_CHECK(ndr_check_string_terminator(ndr, length_flavor_1, sizeof(uint16_t)));
    3580           0 :                 NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.flavor, length_flavor_1, sizeof(uint16_t), CH_UTF16));
    3581           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    3582           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    3583             :         }
    3584           0 :         if (flags & NDR_OUT) {
    3585             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    3586             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    3587           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    3588           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    3589             :                 }
    3590           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3591           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    3592           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    3593           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    3594           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    3595             :         }
    3596           0 :         return NDR_ERR_SUCCESS;
    3597             : }
    3598             : 
    3599           0 : _PUBLIC_ void ndr_print_MakeCoffee(struct ndr_print *ndr, const char *name, int flags, const struct MakeCoffee *r)
    3600             : {
    3601           0 :         ndr_print_struct(ndr, name, "MakeCoffee");
    3602           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3603           0 :         ndr->depth++;
    3604           0 :         if (flags & NDR_SET_VALUES) {
    3605           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    3606             :         }
    3607           0 :         if (flags & NDR_IN) {
    3608           0 :                 ndr_print_struct(ndr, "in", "MakeCoffee");
    3609           0 :                 ndr->depth++;
    3610           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    3611           0 :                 ndr_print_ptr(ndr, "flavor", r->in.flavor);
    3612           0 :                 ndr->depth++;
    3613           0 :                 ndr_print_string(ndr, "flavor", r->in.flavor);
    3614           0 :                 ndr->depth--;
    3615           0 :                 ndr->depth--;
    3616             :         }
    3617           0 :         if (flags & NDR_OUT) {
    3618           0 :                 ndr_print_struct(ndr, "out", "MakeCoffee");
    3619           0 :                 ndr->depth++;
    3620           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    3621           0 :                 ndr->depth++;
    3622           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    3623           0 :                 ndr->depth--;
    3624           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    3625           0 :                 ndr->depth--;
    3626             :         }
    3627           0 :         ndr->depth--;
    3628             : }
    3629             : 
    3630             : #ifndef SKIP_NDR_TABLE_ICoffeeMachine
    3631             : static const struct ndr_interface_public_struct ICoffeeMachine_public_structs[] = {
    3632             :         { .name = NULL }
    3633             : };
    3634             : 
    3635             : static const struct ndr_interface_call ICoffeeMachine_calls[] = {
    3636             :         {
    3637             :                 "MakeCoffee",
    3638             :                 sizeof(struct MakeCoffee),
    3639             :                 (ndr_push_flags_fn_t) ndr_push_MakeCoffee,
    3640             :                 (ndr_pull_flags_fn_t) ndr_pull_MakeCoffee,
    3641             :                 (ndr_print_function_t) ndr_print_MakeCoffee,
    3642             :                 { 0, NULL },
    3643             :                 { 0, NULL },
    3644             :         },
    3645             :         { .name = NULL }
    3646             : };
    3647             : 
    3648             : static const char * const ICoffeeMachine_endpoint_strings[] = {
    3649             :         "ncacn_np:[\\pipe\\ICoffeeMachine]", 
    3650             : };
    3651             : 
    3652             : static const struct ndr_interface_string_array ICoffeeMachine_endpoints = {
    3653             :         .count  = 1,
    3654             :         .names  = ICoffeeMachine_endpoint_strings
    3655             : };
    3656             : 
    3657             : static const char * const ICoffeeMachine_authservice_strings[] = {
    3658             :         "host", 
    3659             : };
    3660             : 
    3661             : static const struct ndr_interface_string_array ICoffeeMachine_authservices = {
    3662             :         .count  = 1,
    3663             :         .names  = ICoffeeMachine_authservice_strings
    3664             : };
    3665             : 
    3666             : 
    3667             : const struct ndr_interface_table ndr_table_ICoffeeMachine = {
    3668             :         .name           = "ICoffeeMachine",
    3669             :         .syntax_id      = {
    3670             :                 {0xda23f6db,0x6f45,0x466c,{0x9e,0xed},{0x0b,0x65,0x28,0x6f,0x2d,0x78}},
    3671             :                 NDR_ICOFFEEMACHINE_VERSION
    3672             :         },
    3673             :         .helpstring     = NDR_ICOFFEEMACHINE_HELPSTRING,
    3674             :         .num_calls      = 1,
    3675             :         .calls          = ICoffeeMachine_calls,
    3676             :         .num_public_structs     = 0,
    3677             :         .public_structs         = ICoffeeMachine_public_structs,
    3678             :         .endpoints      = &ICoffeeMachine_endpoints,
    3679             :         .authservices   = &ICoffeeMachine_authservices
    3680             : };
    3681             : 
    3682             : #endif /* SKIP_NDR_TABLE_ICoffeeMachine */
    3683             : #include "librpc/gen_ndr/ndr_orpc.h"
    3684           0 : static enum ndr_err_code ndr_push_Read(struct ndr_push *ndr, int flags, const struct Read *r)
    3685             : {
    3686           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    3687           0 :         if (flags & NDR_IN) {
    3688           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    3689           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.num_requested));
    3690           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.num_readx));
    3691           0 :                 if (r->in.num_readx) {
    3692           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->in.num_readx));
    3693             :                 }
    3694             :         }
    3695           0 :         if (flags & NDR_OUT) {
    3696           0 :                 if (r->out.ORPCthat == NULL) {
    3697           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    3698             :                 }
    3699           0 :                 if (r->out.num_read == NULL) {
    3700           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    3701             :                 }
    3702           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    3703           0 :                 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.num_requested));
    3704           0 :                 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
    3705           0 :                 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, *r->out.num_read));
    3706           0 :                 NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->out.pv, *r->out.num_read));
    3707           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->out.num_read));
    3708           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    3709             :         }
    3710           0 :         return NDR_ERR_SUCCESS;
    3711             : }
    3712             : 
    3713           0 : static enum ndr_err_code ndr_pull_Read(struct ndr_pull *ndr, int flags, struct Read *r)
    3714             : {
    3715           0 :         uint32_t size_pv_0 = 0;
    3716           0 :         uint32_t length_pv_0 = 0;
    3717             :         uint32_t _ptr_num_readx;
    3718           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    3719           0 :         TALLOC_CTX *_mem_save_num_readx_0 = NULL;
    3720           0 :         TALLOC_CTX *_mem_save_num_read_0 = NULL;
    3721           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    3722           0 :         if (flags & NDR_IN) {
    3723           0 :                 NDR_ZERO_STRUCT(r->out);
    3724             : 
    3725           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    3726           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.num_requested));
    3727           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_num_readx));
    3728           0 :                 if (_ptr_num_readx) {
    3729           0 :                         NDR_PULL_ALLOC(ndr, r->in.num_readx);
    3730             :                 } else {
    3731           0 :                         r->in.num_readx = NULL;
    3732             :                 }
    3733           0 :                 if (r->in.num_readx) {
    3734           0 :                         _mem_save_num_readx_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3735           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.num_readx, 0);
    3736           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->in.num_readx));
    3737           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_num_readx_0, 0);
    3738             :                 }
    3739           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    3740           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    3741           0 :                 NDR_PULL_ALLOC(ndr, r->out.num_read);
    3742           0 :                 NDR_ZERO_STRUCTP(r->out.num_read);
    3743             :         }
    3744           0 :         if (flags & NDR_OUT) {
    3745             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    3746             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    3747           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    3748           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    3749             :                 }
    3750           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3751           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    3752           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    3753           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    3754           0 :                 NDR_CHECK(ndr_pull_array_size(ndr, &r->out.pv));
    3755           0 :                 NDR_CHECK(ndr_pull_array_length(ndr, &r->out.pv));
    3756           0 :                 NDR_CHECK(ndr_get_array_size(ndr, (void*)&r->out.pv, &size_pv_0));
    3757           0 :                 NDR_CHECK(ndr_get_array_length(ndr, (void*)&r->out.pv, &length_pv_0));
    3758           0 :                 if (length_pv_0 > size_pv_0) {
    3759           0 :                         return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", size_pv_0, length_pv_0);
    3760             :                 }
    3761           0 :                 NDR_PULL_ALLOC_N(ndr, r->out.pv, size_pv_0);
    3762           0 :                 NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->out.pv, length_pv_0));
    3763           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    3764           0 :                         NDR_PULL_ALLOC(ndr, r->out.num_read);
    3765             :                 }
    3766           0 :                 _mem_save_num_read_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3767           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.num_read, LIBNDR_FLAG_REF_ALLOC);
    3768           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->out.num_read));
    3769           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_num_read_0, LIBNDR_FLAG_REF_ALLOC);
    3770           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    3771           0 :                 if (r->out.pv) {
    3772           0 :                         NDR_CHECK(ndr_check_steal_array_size(ndr, (void*)&r->out.pv, r->in.num_requested));
    3773             :                 }
    3774           0 :                 if (r->out.pv) {
    3775           0 :                         NDR_CHECK(ndr_check_steal_array_length(ndr, (void*)&r->out.pv, *r->out.num_read));
    3776             :                 }
    3777             :         }
    3778           0 :         return NDR_ERR_SUCCESS;
    3779             : }
    3780             : 
    3781           0 : _PUBLIC_ void ndr_print_Read(struct ndr_print *ndr, const char *name, int flags, const struct Read *r)
    3782             : {
    3783           0 :         ndr_print_struct(ndr, name, "Read");
    3784           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3785           0 :         ndr->depth++;
    3786           0 :         if (flags & NDR_SET_VALUES) {
    3787           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    3788             :         }
    3789           0 :         if (flags & NDR_IN) {
    3790           0 :                 ndr_print_struct(ndr, "in", "Read");
    3791           0 :                 ndr->depth++;
    3792           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    3793           0 :                 ndr_print_uint32(ndr, "num_requested", r->in.num_requested);
    3794           0 :                 ndr_print_ptr(ndr, "num_readx", r->in.num_readx);
    3795           0 :                 ndr->depth++;
    3796           0 :                 if (r->in.num_readx) {
    3797           0 :                         ndr_print_uint32(ndr, "num_readx", *r->in.num_readx);
    3798             :                 }
    3799           0 :                 ndr->depth--;
    3800           0 :                 ndr->depth--;
    3801             :         }
    3802           0 :         if (flags & NDR_OUT) {
    3803           0 :                 ndr_print_struct(ndr, "out", "Read");
    3804           0 :                 ndr->depth++;
    3805           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    3806           0 :                 ndr->depth++;
    3807           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    3808           0 :                 ndr->depth--;
    3809           0 :                 ndr_print_array_uint8(ndr, "pv", r->out.pv, *r->out.num_read);
    3810           0 :                 ndr_print_ptr(ndr, "num_read", r->out.num_read);
    3811           0 :                 ndr->depth++;
    3812           0 :                 ndr_print_uint32(ndr, "num_read", *r->out.num_read);
    3813           0 :                 ndr->depth--;
    3814           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    3815           0 :                 ndr->depth--;
    3816             :         }
    3817           0 :         ndr->depth--;
    3818             : }
    3819             : 
    3820           0 : static enum ndr_err_code ndr_push_Write(struct ndr_push *ndr, int flags, const struct Write *r)
    3821             : {
    3822           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
    3823           0 :         if (flags & NDR_IN) {
    3824           0 :                 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    3825           0 :                 NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.data));
    3826           0 :                 if (r->in.data) {
    3827           0 :                         NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.num_requested));
    3828           0 :                         NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->in.data, r->in.num_requested));
    3829             :                 }
    3830           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.num_requested));
    3831             :         }
    3832           0 :         if (flags & NDR_OUT) {
    3833           0 :                 if (r->out.ORPCthat == NULL) {
    3834           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    3835             :                 }
    3836           0 :                 if (r->out.num_written == NULL) {
    3837           0 :                         return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
    3838             :                 }
    3839           0 :                 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    3840           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->out.num_written));
    3841           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
    3842             :         }
    3843           0 :         return NDR_ERR_SUCCESS;
    3844             : }
    3845             : 
    3846           0 : static enum ndr_err_code ndr_pull_Write(struct ndr_pull *ndr, int flags, struct Write *r)
    3847             : {
    3848             :         uint32_t _ptr_data;
    3849           0 :         uint32_t size_data_1 = 0;
    3850           0 :         TALLOC_CTX *_mem_save_ORPCthat_0 = NULL;
    3851           0 :         TALLOC_CTX *_mem_save_data_0 = NULL;
    3852           0 :         TALLOC_CTX *_mem_save_num_written_0 = NULL;
    3853           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
    3854           0 :         if (flags & NDR_IN) {
    3855           0 :                 NDR_ZERO_STRUCT(r->out);
    3856             : 
    3857           0 :                 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.ORPCthis));
    3858           0 :                 NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_data));
    3859           0 :                 if (_ptr_data) {
    3860           0 :                         NDR_PULL_ALLOC(ndr, r->in.data);
    3861             :                 } else {
    3862           0 :                         r->in.data = NULL;
    3863             :                 }
    3864           0 :                 if (r->in.data) {
    3865           0 :                         _mem_save_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3866           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->in.data, 0);
    3867           0 :                         NDR_CHECK(ndr_pull_array_size(ndr, &r->in.data));
    3868           0 :                         NDR_CHECK(ndr_get_array_size(ndr, (void*)&r->in.data, &size_data_1));
    3869           0 :                         NDR_PULL_ALLOC_N(ndr, r->in.data, size_data_1);
    3870           0 :                         NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->in.data, size_data_1));
    3871           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_data_0, 0);
    3872             :                 }
    3873           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.num_requested));
    3874           0 :                 NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    3875           0 :                 NDR_ZERO_STRUCTP(r->out.ORPCthat);
    3876           0 :                 NDR_PULL_ALLOC(ndr, r->out.num_written);
    3877           0 :                 NDR_ZERO_STRUCTP(r->out.num_written);
    3878           0 :                 if (r->in.data) {
    3879           0 :                         NDR_CHECK(ndr_check_steal_array_size(ndr, (void*)&r->in.data, r->in.num_requested));
    3880             :                 }
    3881             :         }
    3882           0 :         if (flags & NDR_OUT) {
    3883             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
    3884             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
    3885           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    3886           0 :                         NDR_PULL_ALLOC(ndr, r->out.ORPCthat);
    3887             :                 }
    3888           0 :                 _mem_save_ORPCthat_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3889           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.ORPCthat, LIBNDR_FLAG_REF_ALLOC);
    3890           0 :                 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ORPCthat));
    3891           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ORPCthat_0, LIBNDR_FLAG_REF_ALLOC);
    3892           0 :                 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    3893           0 :                         NDR_PULL_ALLOC(ndr, r->out.num_written);
    3894             :                 }
    3895           0 :                 _mem_save_num_written_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3896           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->out.num_written, LIBNDR_FLAG_REF_ALLOC);
    3897           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->out.num_written));
    3898           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_num_written_0, LIBNDR_FLAG_REF_ALLOC);
    3899           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
    3900             :         }
    3901           0 :         return NDR_ERR_SUCCESS;
    3902             : }
    3903             : 
    3904           0 : _PUBLIC_ void ndr_print_Write(struct ndr_print *ndr, const char *name, int flags, const struct Write *r)
    3905             : {
    3906           0 :         ndr_print_struct(ndr, name, "Write");
    3907           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3908           0 :         ndr->depth++;
    3909           0 :         if (flags & NDR_SET_VALUES) {
    3910           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
    3911             :         }
    3912           0 :         if (flags & NDR_IN) {
    3913           0 :                 ndr_print_struct(ndr, "in", "Write");
    3914           0 :                 ndr->depth++;
    3915           0 :                 ndr_print_ORPCTHIS(ndr, "ORPCthis", &r->in.ORPCthis);
    3916           0 :                 ndr_print_ptr(ndr, "data", r->in.data);
    3917           0 :                 ndr->depth++;
    3918           0 :                 if (r->in.data) {
    3919           0 :                         ndr_print_array_uint8(ndr, "data", r->in.data, r->in.num_requested);
    3920             :                 }
    3921           0 :                 ndr->depth--;
    3922           0 :                 ndr_print_uint32(ndr, "num_requested", r->in.num_requested);
    3923           0 :                 ndr->depth--;
    3924             :         }
    3925           0 :         if (flags & NDR_OUT) {
    3926           0 :                 ndr_print_struct(ndr, "out", "Write");
    3927           0 :                 ndr->depth++;
    3928           0 :                 ndr_print_ptr(ndr, "ORPCthat", r->out.ORPCthat);
    3929           0 :                 ndr->depth++;
    3930           0 :                 ndr_print_ORPCTHAT(ndr, "ORPCthat", r->out.ORPCthat);
    3931           0 :                 ndr->depth--;
    3932           0 :                 ndr_print_ptr(ndr, "num_written", r->out.num_written);
    3933           0 :                 ndr->depth++;
    3934           0 :                 ndr_print_uint32(ndr, "num_written", *r->out.num_written);
    3935           0 :                 ndr->depth--;
    3936           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
    3937           0 :                 ndr->depth--;
    3938             :         }
    3939           0 :         ndr->depth--;
    3940             : }
    3941             : 
    3942             : #ifndef SKIP_NDR_TABLE_IStream
    3943             : static const struct ndr_interface_public_struct IStream_public_structs[] = {
    3944             :         { .name = NULL }
    3945             : };
    3946             : 
    3947             : static const struct ndr_interface_call IStream_calls[] = {
    3948             :         {
    3949             :                 "Read",
    3950             :                 sizeof(struct Read),
    3951             :                 (ndr_push_flags_fn_t) ndr_push_Read,
    3952             :                 (ndr_pull_flags_fn_t) ndr_pull_Read,
    3953             :                 (ndr_print_function_t) ndr_print_Read,
    3954             :                 { 0, NULL },
    3955             :                 { 0, NULL },
    3956             :         },
    3957             :         {
    3958             :                 "Write",
    3959             :                 sizeof(struct Write),
    3960             :                 (ndr_push_flags_fn_t) ndr_push_Write,
    3961             :                 (ndr_pull_flags_fn_t) ndr_pull_Write,
    3962             :                 (ndr_print_function_t) ndr_print_Write,
    3963             :                 { 0, NULL },
    3964             :                 { 0, NULL },
    3965             :         },
    3966             :         { .name = NULL }
    3967             : };
    3968             : 
    3969             : static const char * const IStream_endpoint_strings[] = {
    3970             :         "ncacn_np:[\\pipe\\IStream]", 
    3971             : };
    3972             : 
    3973             : static const struct ndr_interface_string_array IStream_endpoints = {
    3974             :         .count  = 1,
    3975             :         .names  = IStream_endpoint_strings
    3976             : };
    3977             : 
    3978             : static const char * const IStream_authservice_strings[] = {
    3979             :         "host", 
    3980             : };
    3981             : 
    3982             : static const struct ndr_interface_string_array IStream_authservices = {
    3983             :         .count  = 1,
    3984             :         .names  = IStream_authservice_strings
    3985             : };
    3986             : 
    3987             : 
    3988             : const struct ndr_interface_table ndr_table_IStream = {
    3989             :         .name           = "IStream",
    3990             :         .syntax_id      = {
    3991             :                 {0x0000000c,0x0000,0x0000,{0xc0,0x00},{0x00,0x00,0x00,0x00,0x00,0x46}},
    3992             :                 NDR_ISTREAM_VERSION
    3993             :         },
    3994             :         .helpstring     = NDR_ISTREAM_HELPSTRING,
    3995             :         .num_calls      = 2,
    3996             :         .calls          = IStream_calls,
    3997             :         .num_public_structs     = 0,
    3998             :         .public_structs         = IStream_public_structs,
    3999             :         .endpoints      = &IStream_endpoints,
    4000             :         .authservices   = &IStream_authservices
    4001             : };
    4002             : 
    4003             : #endif /* SKIP_NDR_TABLE_IStream */

Generated by: LCOV version 1.13