LCOV - code coverage report
Current view: top level - bin/default/librpc/gen_ndr - ndr_trkwks.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_trkwks.h"
       5             : 
       6           0 : static enum ndr_err_code ndr_push_trkwks_Unknown0(struct ndr_push *ndr, int flags, const struct trkwks_Unknown0 *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_trkwks_Unknown0(struct ndr_pull *ndr, int flags, struct trkwks_Unknown0 *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_trkwks_Unknown0(struct ndr_print *ndr, const char *name, int flags, const struct trkwks_Unknown0 *r)
      31             : {
      32           0 :         ndr_print_struct(ndr, name, "trkwks_Unknown0");
      33           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
      34           0 :         ndr->depth++;
      35           0 :         if (flags & NDR_SET_VALUES) {
      36           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
      37             :         }
      38           0 :         if (flags & NDR_IN) {
      39           0 :                 ndr_print_struct(ndr, "in", "trkwks_Unknown0");
      40           0 :                 ndr->depth++;
      41           0 :                 ndr->depth--;
      42             :         }
      43           0 :         if (flags & NDR_OUT) {
      44           0 :                 ndr_print_struct(ndr, "out", "trkwks_Unknown0");
      45           0 :                 ndr->depth++;
      46           0 :                 ndr_print_WERROR(ndr, "result", r->out.result);
      47           0 :                 ndr->depth--;
      48             :         }
      49           0 :         ndr->depth--;
      50             : }
      51             : 
      52             : #ifndef SKIP_NDR_TABLE_trkwks
      53             : static const struct ndr_interface_public_struct trkwks_public_structs[] = {
      54             :         { .name = NULL }
      55             : };
      56             : 
      57             : static const struct ndr_interface_call trkwks_calls[] = {
      58             :         {
      59             :                 "trkwks_Unknown0",
      60             :                 sizeof(struct trkwks_Unknown0),
      61             :                 (ndr_push_flags_fn_t) ndr_push_trkwks_Unknown0,
      62             :                 (ndr_pull_flags_fn_t) ndr_pull_trkwks_Unknown0,
      63             :                 (ndr_print_function_t) ndr_print_trkwks_Unknown0,
      64             :                 { 0, NULL },
      65             :                 { 0, NULL },
      66             :         },
      67             :         { .name = NULL }
      68             : };
      69             : 
      70             : static const char * const trkwks_endpoint_strings[] = {
      71             :         "ncacn_np:[\\pipe\\trkwks]", 
      72             : };
      73             : 
      74             : static const struct ndr_interface_string_array trkwks_endpoints = {
      75             :         .count  = 1,
      76             :         .names  = trkwks_endpoint_strings
      77             : };
      78             : 
      79             : static const char * const trkwks_authservice_strings[] = {
      80             :         "host", 
      81             : };
      82             : 
      83             : static const struct ndr_interface_string_array trkwks_authservices = {
      84             :         .count  = 1,
      85             :         .names  = trkwks_authservice_strings
      86             : };
      87             : 
      88             : 
      89             : const struct ndr_interface_table ndr_table_trkwks = {
      90             :         .name           = "trkwks",
      91             :         .syntax_id      = {
      92             :                 {0x300f3532,0x38cc,0x11d0,{0xa3,0xf0},{0x00,0x20,0xaf,0x6b,0x0a,0xdd}},
      93             :                 NDR_TRKWKS_VERSION
      94             :         },
      95             :         .helpstring     = NDR_TRKWKS_HELPSTRING,
      96             :         .num_calls      = 1,
      97             :         .calls          = trkwks_calls,
      98             :         .num_public_structs     = 0,
      99             :         .public_structs         = trkwks_public_structs,
     100             :         .endpoints      = &trkwks_endpoints,
     101             :         .authservices   = &trkwks_authservices
     102             : };
     103             : 
     104             : #endif /* SKIP_NDR_TABLE_trkwks */

Generated by: LCOV version 1.13