LCOV - code coverage report
Current view: top level - bin/default/librpc/gen_ndr - ndr_winstation.c (source / functions) Hit Total Coverage
Test: coverage report for abartlet/fix-coverage dd10fb34 Lines: 0 25 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_winstation.h"
       5             : 
       6           0 : static enum ndr_err_code ndr_push_winstation_foo(struct ndr_push *ndr, int flags, const struct winstation_foo *r)
       7             : {
       8           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
       9           0 :         if (flags & NDR_IN) {
      10             :         }
      11           0 :         if (flags & NDR_OUT) {
      12             :         }
      13           0 :         return NDR_ERR_SUCCESS;
      14             : }
      15             : 
      16           0 : static enum ndr_err_code ndr_pull_winstation_foo(struct ndr_pull *ndr, int flags, struct winstation_foo *r)
      17             : {
      18           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
      19           0 :         if (flags & NDR_IN) {
      20             :         }
      21           0 :         if (flags & NDR_OUT) {
      22             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
      23             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
      24             :         }
      25           0 :         return NDR_ERR_SUCCESS;
      26             : }
      27             : 
      28           0 : _PUBLIC_ void ndr_print_winstation_foo(struct ndr_print *ndr, const char *name, int flags, const struct winstation_foo *r)
      29             : {
      30           0 :         ndr_print_struct(ndr, name, "winstation_foo");
      31           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
      32           0 :         ndr->depth++;
      33           0 :         if (flags & NDR_SET_VALUES) {
      34           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
      35             :         }
      36           0 :         if (flags & NDR_IN) {
      37           0 :                 ndr_print_struct(ndr, "in", "winstation_foo");
      38           0 :                 ndr->depth++;
      39           0 :                 ndr->depth--;
      40             :         }
      41           0 :         if (flags & NDR_OUT) {
      42           0 :                 ndr_print_struct(ndr, "out", "winstation_foo");
      43           0 :                 ndr->depth++;
      44           0 :                 ndr->depth--;
      45             :         }
      46           0 :         ndr->depth--;
      47             : }
      48             : 
      49             : #ifndef SKIP_NDR_TABLE_winstation
      50             : static const struct ndr_interface_public_struct winstation_public_structs[] = {
      51             :         { .name = NULL }
      52             : };
      53             : 
      54             : static const struct ndr_interface_call winstation_calls[] = {
      55             :         {
      56             :                 "winstation_foo",
      57             :                 sizeof(struct winstation_foo),
      58             :                 (ndr_push_flags_fn_t) ndr_push_winstation_foo,
      59             :                 (ndr_pull_flags_fn_t) ndr_pull_winstation_foo,
      60             :                 (ndr_print_function_t) ndr_print_winstation_foo,
      61             :                 { 0, NULL },
      62             :                 { 0, NULL },
      63             :         },
      64             :         { .name = NULL }
      65             : };
      66             : 
      67             : static const char * const winstation_endpoint_strings[] = {
      68             :         "ncacn_np:[\\pipe\\winstation]", 
      69             : };
      70             : 
      71             : static const struct ndr_interface_string_array winstation_endpoints = {
      72             :         .count  = 1,
      73             :         .names  = winstation_endpoint_strings
      74             : };
      75             : 
      76             : static const char * const winstation_authservice_strings[] = {
      77             :         "host", 
      78             : };
      79             : 
      80             : static const struct ndr_interface_string_array winstation_authservices = {
      81             :         .count  = 1,
      82             :         .names  = winstation_authservice_strings
      83             : };
      84             : 
      85             : 
      86             : const struct ndr_interface_table ndr_table_winstation = {
      87             :         .name           = "winstation",
      88             :         .syntax_id      = {
      89             :                 {0x5ca4a760,0xebb1,0x11cf,{0x86,0x11},{0x00,0xa0,0x24,0x54,0x20,0xed}},
      90             :                 NDR_WINSTATION_VERSION
      91             :         },
      92             :         .helpstring     = NDR_WINSTATION_HELPSTRING,
      93             :         .num_calls      = 1,
      94             :         .calls          = winstation_calls,
      95             :         .num_public_structs     = 0,
      96             :         .public_structs         = winstation_public_structs,
      97             :         .endpoints      = &winstation_endpoints,
      98             :         .authservices   = &winstation_authservices
      99             : };
     100             : 
     101             : #endif /* SKIP_NDR_TABLE_winstation */

Generated by: LCOV version 1.13