LCOV - code coverage report
Current view: top level - bin/default/librpc/gen_ndr - ndr_msgsvc.c (source / functions) Hit Total Coverage
Test: coverage report for abartlet/fix-coverage dd10fb34 Lines: 0 125 0.0 %
Date: 2021-09-23 10:06:22 Functions: 0 15 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_msgsvc.h"
       5             : 
       6           0 : static enum ndr_err_code ndr_push_NetrMessageNameAdd(struct ndr_push *ndr, int flags, const struct NetrMessageNameAdd *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_NetrMessageNameAdd(struct ndr_pull *ndr, int flags, struct NetrMessageNameAdd *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_NetrMessageNameAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetrMessageNameAdd *r)
      29             : {
      30           0 :         ndr_print_struct(ndr, name, "NetrMessageNameAdd");
      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", "NetrMessageNameAdd");
      38           0 :                 ndr->depth++;
      39           0 :                 ndr->depth--;
      40             :         }
      41           0 :         if (flags & NDR_OUT) {
      42           0 :                 ndr_print_struct(ndr, "out", "NetrMessageNameAdd");
      43           0 :                 ndr->depth++;
      44           0 :                 ndr->depth--;
      45             :         }
      46           0 :         ndr->depth--;
      47             : }
      48             : 
      49           0 : static enum ndr_err_code ndr_push_NetrMessageNameEnum(struct ndr_push *ndr, int flags, const struct NetrMessageNameEnum *r)
      50             : {
      51           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
      52           0 :         if (flags & NDR_IN) {
      53             :         }
      54           0 :         if (flags & NDR_OUT) {
      55             :         }
      56           0 :         return NDR_ERR_SUCCESS;
      57             : }
      58             : 
      59           0 : static enum ndr_err_code ndr_pull_NetrMessageNameEnum(struct ndr_pull *ndr, int flags, struct NetrMessageNameEnum *r)
      60             : {
      61           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
      62           0 :         if (flags & NDR_IN) {
      63             :         }
      64           0 :         if (flags & NDR_OUT) {
      65             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
      66             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
      67             :         }
      68           0 :         return NDR_ERR_SUCCESS;
      69             : }
      70             : 
      71           0 : _PUBLIC_ void ndr_print_NetrMessageNameEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetrMessageNameEnum *r)
      72             : {
      73           0 :         ndr_print_struct(ndr, name, "NetrMessageNameEnum");
      74           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
      75           0 :         ndr->depth++;
      76           0 :         if (flags & NDR_SET_VALUES) {
      77           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
      78             :         }
      79           0 :         if (flags & NDR_IN) {
      80           0 :                 ndr_print_struct(ndr, "in", "NetrMessageNameEnum");
      81           0 :                 ndr->depth++;
      82           0 :                 ndr->depth--;
      83             :         }
      84           0 :         if (flags & NDR_OUT) {
      85           0 :                 ndr_print_struct(ndr, "out", "NetrMessageNameEnum");
      86           0 :                 ndr->depth++;
      87           0 :                 ndr->depth--;
      88             :         }
      89           0 :         ndr->depth--;
      90             : }
      91             : 
      92           0 : static enum ndr_err_code ndr_push_NetrMessageNameGetInfo(struct ndr_push *ndr, int flags, const struct NetrMessageNameGetInfo *r)
      93             : {
      94           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
      95           0 :         if (flags & NDR_IN) {
      96             :         }
      97           0 :         if (flags & NDR_OUT) {
      98             :         }
      99           0 :         return NDR_ERR_SUCCESS;
     100             : }
     101             : 
     102           0 : static enum ndr_err_code ndr_pull_NetrMessageNameGetInfo(struct ndr_pull *ndr, int flags, struct NetrMessageNameGetInfo *r)
     103             : {
     104           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
     105           0 :         if (flags & NDR_IN) {
     106             :         }
     107           0 :         if (flags & NDR_OUT) {
     108             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
     109             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
     110             :         }
     111           0 :         return NDR_ERR_SUCCESS;
     112             : }
     113             : 
     114           0 : _PUBLIC_ void ndr_print_NetrMessageNameGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetrMessageNameGetInfo *r)
     115             : {
     116           0 :         ndr_print_struct(ndr, name, "NetrMessageNameGetInfo");
     117           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     118           0 :         ndr->depth++;
     119           0 :         if (flags & NDR_SET_VALUES) {
     120           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
     121             :         }
     122           0 :         if (flags & NDR_IN) {
     123           0 :                 ndr_print_struct(ndr, "in", "NetrMessageNameGetInfo");
     124           0 :                 ndr->depth++;
     125           0 :                 ndr->depth--;
     126             :         }
     127           0 :         if (flags & NDR_OUT) {
     128           0 :                 ndr_print_struct(ndr, "out", "NetrMessageNameGetInfo");
     129           0 :                 ndr->depth++;
     130           0 :                 ndr->depth--;
     131             :         }
     132           0 :         ndr->depth--;
     133             : }
     134             : 
     135           0 : static enum ndr_err_code ndr_push_NetrMessageNameDel(struct ndr_push *ndr, int flags, const struct NetrMessageNameDel *r)
     136             : {
     137           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
     138           0 :         if (flags & NDR_IN) {
     139             :         }
     140           0 :         if (flags & NDR_OUT) {
     141             :         }
     142           0 :         return NDR_ERR_SUCCESS;
     143             : }
     144             : 
     145           0 : static enum ndr_err_code ndr_pull_NetrMessageNameDel(struct ndr_pull *ndr, int flags, struct NetrMessageNameDel *r)
     146             : {
     147           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
     148           0 :         if (flags & NDR_IN) {
     149             :         }
     150           0 :         if (flags & NDR_OUT) {
     151             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
     152             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
     153             :         }
     154           0 :         return NDR_ERR_SUCCESS;
     155             : }
     156             : 
     157           0 : _PUBLIC_ void ndr_print_NetrMessageNameDel(struct ndr_print *ndr, const char *name, int flags, const struct NetrMessageNameDel *r)
     158             : {
     159           0 :         ndr_print_struct(ndr, name, "NetrMessageNameDel");
     160           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     161           0 :         ndr->depth++;
     162           0 :         if (flags & NDR_SET_VALUES) {
     163           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
     164             :         }
     165           0 :         if (flags & NDR_IN) {
     166           0 :                 ndr_print_struct(ndr, "in", "NetrMessageNameDel");
     167           0 :                 ndr->depth++;
     168           0 :                 ndr->depth--;
     169             :         }
     170           0 :         if (flags & NDR_OUT) {
     171           0 :                 ndr_print_struct(ndr, "out", "NetrMessageNameDel");
     172           0 :                 ndr->depth++;
     173           0 :                 ndr->depth--;
     174             :         }
     175           0 :         ndr->depth--;
     176             : }
     177             : 
     178             : #ifndef SKIP_NDR_TABLE_msgsvc
     179             : static const struct ndr_interface_public_struct msgsvc_public_structs[] = {
     180             :         { .name = NULL }
     181             : };
     182             : 
     183             : static const struct ndr_interface_call msgsvc_calls[] = {
     184             :         {
     185             :                 "NetrMessageNameAdd",
     186             :                 sizeof(struct NetrMessageNameAdd),
     187             :                 (ndr_push_flags_fn_t) ndr_push_NetrMessageNameAdd,
     188             :                 (ndr_pull_flags_fn_t) ndr_pull_NetrMessageNameAdd,
     189             :                 (ndr_print_function_t) ndr_print_NetrMessageNameAdd,
     190             :                 { 0, NULL },
     191             :                 { 0, NULL },
     192             :         },
     193             :         {
     194             :                 "NetrMessageNameEnum",
     195             :                 sizeof(struct NetrMessageNameEnum),
     196             :                 (ndr_push_flags_fn_t) ndr_push_NetrMessageNameEnum,
     197             :                 (ndr_pull_flags_fn_t) ndr_pull_NetrMessageNameEnum,
     198             :                 (ndr_print_function_t) ndr_print_NetrMessageNameEnum,
     199             :                 { 0, NULL },
     200             :                 { 0, NULL },
     201             :         },
     202             :         {
     203             :                 "NetrMessageNameGetInfo",
     204             :                 sizeof(struct NetrMessageNameGetInfo),
     205             :                 (ndr_push_flags_fn_t) ndr_push_NetrMessageNameGetInfo,
     206             :                 (ndr_pull_flags_fn_t) ndr_pull_NetrMessageNameGetInfo,
     207             :                 (ndr_print_function_t) ndr_print_NetrMessageNameGetInfo,
     208             :                 { 0, NULL },
     209             :                 { 0, NULL },
     210             :         },
     211             :         {
     212             :                 "NetrMessageNameDel",
     213             :                 sizeof(struct NetrMessageNameDel),
     214             :                 (ndr_push_flags_fn_t) ndr_push_NetrMessageNameDel,
     215             :                 (ndr_pull_flags_fn_t) ndr_pull_NetrMessageNameDel,
     216             :                 (ndr_print_function_t) ndr_print_NetrMessageNameDel,
     217             :                 { 0, NULL },
     218             :                 { 0, NULL },
     219             :         },
     220             :         { .name = NULL }
     221             : };
     222             : 
     223             : static const char * const msgsvc_endpoint_strings[] = {
     224             :         "ncacn_np:[\\pipe\\msgsvc]", 
     225             : };
     226             : 
     227             : static const struct ndr_interface_string_array msgsvc_endpoints = {
     228             :         .count  = 1,
     229             :         .names  = msgsvc_endpoint_strings
     230             : };
     231             : 
     232             : static const char * const msgsvc_authservice_strings[] = {
     233             :         "host", 
     234             : };
     235             : 
     236             : static const struct ndr_interface_string_array msgsvc_authservices = {
     237             :         .count  = 1,
     238             :         .names  = msgsvc_authservice_strings
     239             : };
     240             : 
     241             : 
     242             : const struct ndr_interface_table ndr_table_msgsvc = {
     243             :         .name           = "msgsvc",
     244             :         .syntax_id      = {
     245             :                 {0x17fdd703,0x1827,0x4e34,{0x79,0xd4},{0x24,0xa5,0x5c,0x53,0xbb,0x37}},
     246             :                 NDR_MSGSVC_VERSION
     247             :         },
     248             :         .helpstring     = NDR_MSGSVC_HELPSTRING,
     249             :         .num_calls      = 4,
     250             :         .calls          = msgsvc_calls,
     251             :         .num_public_structs     = 0,
     252             :         .public_structs         = msgsvc_public_structs,
     253             :         .endpoints      = &msgsvc_endpoints,
     254             :         .authservices   = &msgsvc_authservices
     255             : };
     256             : 
     257             : #endif /* SKIP_NDR_TABLE_msgsvc */
     258           0 : static enum ndr_err_code ndr_push_NetrSendMessage(struct ndr_push *ndr, int flags, const struct NetrSendMessage *r)
     259             : {
     260           0 :         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
     261           0 :         if (flags & NDR_IN) {
     262             :         }
     263           0 :         if (flags & NDR_OUT) {
     264             :         }
     265           0 :         return NDR_ERR_SUCCESS;
     266             : }
     267             : 
     268           0 : static enum ndr_err_code ndr_pull_NetrSendMessage(struct ndr_pull *ndr, int flags, struct NetrSendMessage *r)
     269             : {
     270           0 :         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
     271           0 :         if (flags & NDR_IN) {
     272             :         }
     273           0 :         if (flags & NDR_OUT) {
     274             : #ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
     275             : #endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
     276             :         }
     277           0 :         return NDR_ERR_SUCCESS;
     278             : }
     279             : 
     280           0 : _PUBLIC_ void ndr_print_NetrSendMessage(struct ndr_print *ndr, const char *name, int flags, const struct NetrSendMessage *r)
     281             : {
     282           0 :         ndr_print_struct(ndr, name, "NetrSendMessage");
     283           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     284           0 :         ndr->depth++;
     285           0 :         if (flags & NDR_SET_VALUES) {
     286           0 :                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
     287             :         }
     288           0 :         if (flags & NDR_IN) {
     289           0 :                 ndr_print_struct(ndr, "in", "NetrSendMessage");
     290           0 :                 ndr->depth++;
     291           0 :                 ndr->depth--;
     292             :         }
     293           0 :         if (flags & NDR_OUT) {
     294           0 :                 ndr_print_struct(ndr, "out", "NetrSendMessage");
     295           0 :                 ndr->depth++;
     296           0 :                 ndr->depth--;
     297             :         }
     298           0 :         ndr->depth--;
     299             : }
     300             : 
     301             : #ifndef SKIP_NDR_TABLE_msgsvcsend
     302             : static const struct ndr_interface_public_struct msgsvcsend_public_structs[] = {
     303             :         { .name = NULL }
     304             : };
     305             : 
     306             : static const struct ndr_interface_call msgsvcsend_calls[] = {
     307             :         {
     308             :                 "NetrSendMessage",
     309             :                 sizeof(struct NetrSendMessage),
     310             :                 (ndr_push_flags_fn_t) ndr_push_NetrSendMessage,
     311             :                 (ndr_pull_flags_fn_t) ndr_pull_NetrSendMessage,
     312             :                 (ndr_print_function_t) ndr_print_NetrSendMessage,
     313             :                 { 0, NULL },
     314             :                 { 0, NULL },
     315             :         },
     316             :         { .name = NULL }
     317             : };
     318             : 
     319             : static const char * const msgsvcsend_endpoint_strings[] = {
     320             :         "ncacn_np:[\\pipe\\msgsvcsend]", 
     321             : };
     322             : 
     323             : static const struct ndr_interface_string_array msgsvcsend_endpoints = {
     324             :         .count  = 1,
     325             :         .names  = msgsvcsend_endpoint_strings
     326             : };
     327             : 
     328             : static const char * const msgsvcsend_authservice_strings[] = {
     329             :         "host", 
     330             : };
     331             : 
     332             : static const struct ndr_interface_string_array msgsvcsend_authservices = {
     333             :         .count  = 1,
     334             :         .names  = msgsvcsend_authservice_strings
     335             : };
     336             : 
     337             : 
     338             : const struct ndr_interface_table ndr_table_msgsvcsend = {
     339             :         .name           = "msgsvcsend",
     340             :         .syntax_id      = {
     341             :                 {0x5a7b91f8,0xff00,0x11d0,{0xa9,0xb2},{0x00,0xc0,0x4f,0xb6,0xe6,0xfc}},
     342             :                 NDR_MSGSVCSEND_VERSION
     343             :         },
     344             :         .helpstring     = NDR_MSGSVCSEND_HELPSTRING,
     345             :         .num_calls      = 1,
     346             :         .calls          = msgsvcsend_calls,
     347             :         .num_public_structs     = 0,
     348             :         .public_structs         = msgsvcsend_public_structs,
     349             :         .endpoints      = &msgsvcsend_endpoints,
     350             :         .authservices   = &msgsvcsend_authservices
     351             : };
     352             : 
     353             : #endif /* SKIP_NDR_TABLE_msgsvcsend */

Generated by: LCOV version 1.13