LCOV - code coverage report
Current view: top level - bin/default/librpc/gen_ndr - ndr_policyagent.c (source / functions) Hit Total Coverage
Test: coverage report for abartlet/fix-coverage dd10fb34 Lines: 0 28 0.0 %
Date: 2021-09-23 10:06:22 Functions: 0 3 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_policyagent.h"
       5             : 
       6           0 : static enum ndr_err_code ndr_push_policyagent_Dummy(struct ndr_push *ndr, int flags, const struct policyagent_Dummy *r)
       7             : {
       8           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
       9           0 :         if (flags & NDR_IN) {
      10             :         }
      11           0 :         if (flags & NDR_OUT) {
      12           0 :                 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
      13             :         }
      14           0 :         return NDR_ERR_SUCCESS;
      15             : }
      16             : 
      17           0 : static enum ndr_err_code ndr_pull_policyagent_Dummy(struct ndr_pull *ndr, int flags, struct policyagent_Dummy *r)
      18             : {
      19           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
      20           0 :         if (flags & NDR_IN) {
      21             :         }
      22           0 :         if (flags & NDR_OUT) {
      23             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
      24             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
      25           0 :                 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
      26             :         }
      27           0 :         return NDR_ERR_SUCCESS;
      28             : }
      29             : 
      30           0 : _PUBLIC_ void ndr_print_policyagent_Dummy(struct ndr_print *ndr, const char *name, int flags, const struct policyagent_Dummy *r)
      31             : {
      32           0 :         ndr_print_struct(ndr, name, "policyagent_Dummy");
      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", "policyagent_Dummy");
      40           0 :                 ndr->depth++;
      41           0 :                 ndr->depth--;
      42             :         }
      43           0 :         if (flags & NDR_OUT) {
      44           0 :                 ndr_print_struct(ndr, "out", "policyagent_Dummy");
      45           0 :                 ndr->depth++;
      46           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
      47           0 :                 ndr->depth--;
      48             :         }
      49           0 :         ndr->depth--;
      50             : }
      51             : 
      52             : #ifndef SKIP_NDR_TABLE_policyagent
      53             : static const struct ndr_interface_public_struct policyagent_public_structs[] = {
      54             :         { .name = NULL }
      55             : };
      56             : 
      57             : static const struct ndr_interface_call policyagent_calls[] = {
      58             :         {
      59             :                 "policyagent_Dummy",
      60             :                 sizeof(struct policyagent_Dummy),
      61             :                 (ndr_push_flags_fn_t) ndr_push_policyagent_Dummy,
      62             :                 (ndr_pull_flags_fn_t) ndr_pull_policyagent_Dummy,
      63             :                 (ndr_print_function_t) ndr_print_policyagent_Dummy,
      64             :                 { 0, NULL },
      65             :                 { 0, NULL },
      66             :         },
      67             :         { .name = NULL }
      68             : };
      69             : 
      70             : static const char * const policyagent_endpoint_strings[] = {
      71             :         "ncacn_np:[\\pipe\\policyagent]", 
      72             : };
      73             : 
      74             : static const struct ndr_interface_string_array policyagent_endpoints = {
      75             :         .count  = 1,
      76             :         .names  = policyagent_endpoint_strings
      77             : };
      78             : 
      79             : static const char * const policyagent_authservice_strings[] = {
      80             :         "host", 
      81             : };
      82             : 
      83             : static const struct ndr_interface_string_array policyagent_authservices = {
      84             :         .count  = 1,
      85             :         .names  = policyagent_authservice_strings
      86             : };
      87             : 
      88             : 
      89             : const struct ndr_interface_table ndr_table_policyagent = {
      90             :         .name           = "policyagent",
      91             :         .syntax_id      = {
      92             :                 {0xd335b8f6,0xcb31,0x11d0,{0xb0,0xf9},{0x00,0x60,0x97,0xba,0x4e,0x54}},
      93             :                 NDR_POLICYAGENT_VERSION
      94             :         },
      95             :         .helpstring     = NDR_POLICYAGENT_HELPSTRING,
      96             :         .num_calls      = 1,
      97             :         .calls          = policyagent_calls,
      98             :         .num_public_structs     = 0,
      99             :         .public_structs         = policyagent_public_structs,
     100             :         .endpoints      = &policyagent_endpoints,
     101             :         .authservices   = &policyagent_authservices
     102             : };
     103             : 
     104             : #endif /* SKIP_NDR_TABLE_policyagent */

Generated by: LCOV version 1.13