LCOV - code coverage report
Current view: top level - bin/default/librpc/gen_ndr - ndr_wsp.c (source / functions) Hit Total Coverage
Test: coverage report for master 2f515e9b Lines: 0 9544 0.0 %
Date: 2024-04-21 15:09:00 Functions: 0 558 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_wsp.h"
       5             : 
       6             : #include "librpc/gen_ndr/ndr_wsp_data.h"
       7             : #include "librpc/gen_ndr/ndr_misc.h"
       8           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_variant_wrap(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_variant_wrap *r)
       9             : {
      10           0 :         uint32_t cntr_variant_0;
      11           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
      12           0 :         if (ndr_flags & NDR_SCALARS) {
      13           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
      14           0 :                 for (cntr_variant_0 = 0; cntr_variant_0 < (SINGLE_ITEM); cntr_variant_0++) {
      15           0 :                         NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->variant[cntr_variant_0]));
      16             :                 }
      17           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
      18             :         }
      19           0 :         if (ndr_flags & NDR_BUFFERS) {
      20           0 :                 for (cntr_variant_0 = 0; cntr_variant_0 < (SINGLE_ITEM); cntr_variant_0++) {
      21           0 :                         NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->variant[cntr_variant_0]));
      22             :                 }
      23             :         }
      24           0 :         return NDR_ERR_SUCCESS;
      25             : }
      26             : 
      27           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_variant_wrap(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_variant_wrap *r)
      28             : {
      29           0 :         uint32_t size_variant_0 = 0;
      30           0 :         uint32_t cntr_variant_0;
      31           0 :         TALLOC_CTX *_mem_save_variant_0 = NULL;
      32           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
      33           0 :         if (ndr_flags & NDR_SCALARS) {
      34           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
      35           0 :                 size_variant_0 = SINGLE_ITEM;
      36           0 :                 NDR_PULL_ALLOC_N(ndr, r->variant, size_variant_0);
      37           0 :                 _mem_save_variant_0 = NDR_PULL_GET_MEM_CTX(ndr);
      38           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->variant, 0);
      39           0 :                 for (cntr_variant_0 = 0; cntr_variant_0 < (size_variant_0); cntr_variant_0++) {
      40           0 :                         NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->variant[cntr_variant_0]));
      41             :                 }
      42           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_variant_0, 0);
      43           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
      44             :         }
      45           0 :         if (ndr_flags & NDR_BUFFERS) {
      46           0 :                 size_variant_0 = SINGLE_ITEM;
      47           0 :                 _mem_save_variant_0 = NDR_PULL_GET_MEM_CTX(ndr);
      48           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->variant, 0);
      49           0 :                 for (cntr_variant_0 = 0; cntr_variant_0 < (size_variant_0); cntr_variant_0++) {
      50           0 :                         NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->variant[cntr_variant_0]));
      51             :                 }
      52           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_variant_0, 0);
      53           0 :                 for (cntr_variant_0 = 0; cntr_variant_0 < (size_variant_0); cntr_variant_0++) {
      54             :                 }
      55             :         }
      56           0 :         return NDR_ERR_SUCCESS;
      57             : }
      58             : 
      59           0 : static void ndr_print_flags_vt_variant_wrap(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_variant_wrap *r)
      60             : {
      61           0 :         ndr_print_vt_variant_wrap(ndr, name, r);
      62           0 : }
      63             : 
      64           0 : _PUBLIC_ void ndr_print_vt_variant_wrap(struct ndr_print *ndr, const char *name, const struct vt_variant_wrap *r)
      65             : {
      66           0 :         uint32_t cntr_variant_0;
      67           0 :         ndr_print_struct(ndr, name, "vt_variant_wrap");
      68           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
      69           0 :         ndr->depth++;
      70           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "variant", (uint32_t)(SINGLE_ITEM));
      71           0 :         ndr->depth++;
      72           0 :         for (cntr_variant_0 = 0; cntr_variant_0 < (SINGLE_ITEM); cntr_variant_0++) {
      73           0 :                 ndr_print_wsp_cbasestoragevariant(ndr, "variant", &r->variant[cntr_variant_0]);
      74             :         }
      75           0 :         ndr->depth--;
      76           0 :         ndr->depth--;
      77             : }
      78             : 
      79           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_decimal(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_decimal *r)
      80             : {
      81           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
      82           0 :         if (ndr_flags & NDR_SCALARS) {
      83           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
      84           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->hi32));
      85           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->mid32));
      86           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->lo32));
      87           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
      88             :         }
      89           0 :         if (ndr_flags & NDR_BUFFERS) {
      90           0 :         }
      91           0 :         return NDR_ERR_SUCCESS;
      92             : }
      93             : 
      94           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_decimal(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_decimal *r)
      95             : {
      96           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
      97           0 :         if (ndr_flags & NDR_SCALARS) {
      98           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
      99           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->hi32));
     100           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->mid32));
     101           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->lo32));
     102           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     103             :         }
     104           0 :         if (ndr_flags & NDR_BUFFERS) {
     105           0 :         }
     106           0 :         return NDR_ERR_SUCCESS;
     107             : }
     108             : 
     109           0 : static void ndr_print_flags_vt_decimal(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_decimal *r)
     110             : {
     111           0 :         ndr_print_vt_decimal(ndr, name, r);
     112           0 : }
     113             : 
     114           0 : _PUBLIC_ void ndr_print_vt_decimal(struct ndr_print *ndr, const char *name, const struct vt_decimal *r)
     115             : {
     116           0 :         ndr_print_struct(ndr, name, "vt_decimal");
     117           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     118           0 :         ndr->depth++;
     119           0 :         ndr_print_uint32(ndr, "hi32", r->hi32);
     120           0 :         ndr_print_uint32(ndr, "mid32", r->mid32);
     121           0 :         ndr_print_uint32(ndr, "lo32", r->lo32);
     122           0 :         ndr->depth--;
     123             : }
     124             : 
     125           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_decimal_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_decimal_vec *r)
     126             : {
     127           0 :         uint32_t cntr_vvector_data_0;
     128           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     129           0 :         if (ndr_flags & NDR_SCALARS) {
     130           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     131           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
     132           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     133           0 :                         NDR_CHECK(ndr_push_vt_decimal(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     134             :                 }
     135           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     136             :         }
     137           0 :         if (ndr_flags & NDR_BUFFERS) {
     138           0 :         }
     139           0 :         return NDR_ERR_SUCCESS;
     140             : }
     141             : 
     142           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_decimal_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_decimal_vec *r)
     143             : {
     144           0 :         uint32_t size_vvector_data_0 = 0;
     145           0 :         uint32_t cntr_vvector_data_0;
     146           0 :         TALLOC_CTX *_mem_save_vvector_data_0 = NULL;
     147           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     148           0 :         if (ndr_flags & NDR_SCALARS) {
     149           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     150           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
     151           0 :                 size_vvector_data_0 = r->vvector_elements;
     152           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
     153           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
     154           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
     155           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
     156           0 :                         NDR_CHECK(ndr_pull_vt_decimal(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     157             :                 }
     158           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
     159           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     160             :         }
     161           0 :         if (ndr_flags & NDR_BUFFERS) {
     162           0 :         }
     163           0 :         return NDR_ERR_SUCCESS;
     164             : }
     165             : 
     166           0 : static void ndr_print_flags_vt_decimal_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_decimal_vec *r)
     167             : {
     168           0 :         ndr_print_vt_decimal_vec(ndr, name, r);
     169           0 : }
     170             : 
     171           0 : _PUBLIC_ void ndr_print_vt_decimal_vec(struct ndr_print *ndr, const char *name, const struct vt_decimal_vec *r)
     172             : {
     173           0 :         uint32_t cntr_vvector_data_0;
     174           0 :         ndr_print_struct(ndr, name, "vt_decimal_vec");
     175           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     176           0 :         ndr->depth++;
     177           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
     178           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vvector_data", (uint32_t)(r->vvector_elements));
     179           0 :         ndr->depth++;
     180           0 :         for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     181           0 :                 ndr_print_vt_decimal(ndr, "vvector_data", &r->vvector_data[cntr_vvector_data_0]);
     182             :         }
     183           0 :         ndr->depth--;
     184           0 :         ndr->depth--;
     185             : }
     186             : 
     187           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_bstr(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_bstr *r)
     188             : {
     189           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     190           0 :         if (ndr_flags & NDR_SCALARS) {
     191           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     192           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, strlen_m_term(r->value) * 2));
     193             :                 {
     194           0 :                         libndr_flags _flags_save_string = ndr->flags;
     195           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_NULLTERM);
     196           0 :                         NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->value));
     197           0 :                         ndr->flags = _flags_save_string;
     198             :                 }
     199           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     200             :         }
     201           0 :         if (ndr_flags & NDR_BUFFERS) {
     202           0 :         }
     203           0 :         return NDR_ERR_SUCCESS;
     204             : }
     205             : 
     206           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_bstr(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_bstr *r)
     207             : {
     208           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     209           0 :         if (ndr_flags & NDR_SCALARS) {
     210           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     211           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->nbytes));
     212             :                 {
     213           0 :                         libndr_flags _flags_save_string = ndr->flags;
     214           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_NULLTERM);
     215           0 :                         NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->value));
     216           0 :                         ndr->flags = _flags_save_string;
     217             :                 }
     218           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     219             :         }
     220           0 :         if (ndr_flags & NDR_BUFFERS) {
     221           0 :         }
     222           0 :         return NDR_ERR_SUCCESS;
     223             : }
     224             : 
     225           0 : static void ndr_print_flags_vt_bstr(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_bstr *r)
     226             : {
     227           0 :         ndr_print_vt_bstr(ndr, name, r);
     228           0 : }
     229             : 
     230           0 : _PUBLIC_ void ndr_print_vt_bstr(struct ndr_print *ndr, const char *name, const struct vt_bstr *r)
     231             : {
     232           0 :         ndr_print_struct(ndr, name, "vt_bstr");
     233           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     234           0 :         ndr->depth++;
     235           0 :         ndr_print_uint32(ndr, "nbytes", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?strlen_m_term(r->value) * 2:r->nbytes);
     236             :         {
     237           0 :                 libndr_flags _flags_save_string = ndr->flags;
     238           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_NULLTERM);
     239           0 :                 ndr_print_string(ndr, "value", r->value);
     240           0 :                 ndr->flags = _flags_save_string;
     241             :         }
     242           0 :         ndr->depth--;
     243             : }
     244             : 
     245           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_bstr_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_bstr_vec *r)
     246             : {
     247           0 :         uint32_t cntr_vvector_data_0;
     248           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     249           0 :         if (ndr_flags & NDR_SCALARS) {
     250           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     251           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
     252           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     253           0 :                         NDR_CHECK(ndr_push_vt_bstr(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     254             :                 }
     255           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     256             :         }
     257           0 :         if (ndr_flags & NDR_BUFFERS) {
     258           0 :         }
     259           0 :         return NDR_ERR_SUCCESS;
     260             : }
     261             : 
     262           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_bstr_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_bstr_vec *r)
     263             : {
     264           0 :         uint32_t size_vvector_data_0 = 0;
     265           0 :         uint32_t cntr_vvector_data_0;
     266           0 :         TALLOC_CTX *_mem_save_vvector_data_0 = NULL;
     267           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     268           0 :         if (ndr_flags & NDR_SCALARS) {
     269           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     270           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
     271           0 :                 size_vvector_data_0 = r->vvector_elements;
     272           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
     273           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
     274           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
     275           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
     276           0 :                         NDR_CHECK(ndr_pull_vt_bstr(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     277             :                 }
     278           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
     279           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     280             :         }
     281           0 :         if (ndr_flags & NDR_BUFFERS) {
     282           0 :         }
     283           0 :         return NDR_ERR_SUCCESS;
     284             : }
     285             : 
     286           0 : static void ndr_print_flags_vt_bstr_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_bstr_vec *r)
     287             : {
     288           0 :         ndr_print_vt_bstr_vec(ndr, name, r);
     289           0 : }
     290             : 
     291           0 : _PUBLIC_ void ndr_print_vt_bstr_vec(struct ndr_print *ndr, const char *name, const struct vt_bstr_vec *r)
     292             : {
     293           0 :         uint32_t cntr_vvector_data_0;
     294           0 :         ndr_print_struct(ndr, name, "vt_bstr_vec");
     295           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     296           0 :         ndr->depth++;
     297           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
     298           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vvector_data", (uint32_t)(r->vvector_elements));
     299           0 :         ndr->depth++;
     300           0 :         for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     301           0 :                 ndr_print_vt_bstr(ndr, "vvector_data", &r->vvector_data[cntr_vvector_data_0]);
     302             :         }
     303           0 :         ndr->depth--;
     304           0 :         ndr->depth--;
     305             : }
     306             : 
     307           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_lpwstr(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_lpwstr *r)
     308             : {
     309           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     310           0 :         if (ndr_flags & NDR_SCALARS) {
     311           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     312           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, strlen_m_term(r->value)));
     313             :                 {
     314           0 :                         libndr_flags _flags_save_string = ndr->flags;
     315           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_NULLTERM);
     316           0 :                         NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->value));
     317           0 :                         ndr->flags = _flags_save_string;
     318             :                 }
     319           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     320             :         }
     321           0 :         if (ndr_flags & NDR_BUFFERS) {
     322           0 :         }
     323           0 :         return NDR_ERR_SUCCESS;
     324             : }
     325             : 
     326           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_lpwstr(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_lpwstr *r)
     327             : {
     328           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     329           0 :         if (ndr_flags & NDR_SCALARS) {
     330           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     331           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->nbytes));
     332             :                 {
     333           0 :                         libndr_flags _flags_save_string = ndr->flags;
     334           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_NULLTERM);
     335           0 :                         NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->value));
     336           0 :                         ndr->flags = _flags_save_string;
     337             :                 }
     338           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     339             :         }
     340           0 :         if (ndr_flags & NDR_BUFFERS) {
     341           0 :         }
     342           0 :         return NDR_ERR_SUCCESS;
     343             : }
     344             : 
     345           0 : static void ndr_print_flags_vt_lpwstr(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_lpwstr *r)
     346             : {
     347           0 :         ndr_print_vt_lpwstr(ndr, name, r);
     348           0 : }
     349             : 
     350           0 : _PUBLIC_ void ndr_print_vt_lpwstr(struct ndr_print *ndr, const char *name, const struct vt_lpwstr *r)
     351             : {
     352           0 :         ndr_print_struct(ndr, name, "vt_lpwstr");
     353           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     354           0 :         ndr->depth++;
     355           0 :         ndr_print_uint32(ndr, "nbytes", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?strlen_m_term(r->value):r->nbytes);
     356             :         {
     357           0 :                 libndr_flags _flags_save_string = ndr->flags;
     358           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_NULLTERM);
     359           0 :                 ndr_print_string(ndr, "value", r->value);
     360           0 :                 ndr->flags = _flags_save_string;
     361             :         }
     362           0 :         ndr->depth--;
     363             : }
     364             : 
     365           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_lpwstr_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_lpwstr_vec *r)
     366             : {
     367           0 :         uint32_t cntr_vvector_data_0;
     368           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     369           0 :         if (ndr_flags & NDR_SCALARS) {
     370           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     371           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
     372           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     373           0 :                         NDR_CHECK(ndr_push_vt_lpwstr(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     374             :                 }
     375           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     376             :         }
     377           0 :         if (ndr_flags & NDR_BUFFERS) {
     378           0 :         }
     379           0 :         return NDR_ERR_SUCCESS;
     380             : }
     381             : 
     382           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_lpwstr_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_lpwstr_vec *r)
     383             : {
     384           0 :         uint32_t size_vvector_data_0 = 0;
     385           0 :         uint32_t cntr_vvector_data_0;
     386           0 :         TALLOC_CTX *_mem_save_vvector_data_0 = NULL;
     387           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     388           0 :         if (ndr_flags & NDR_SCALARS) {
     389           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     390           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
     391           0 :                 size_vvector_data_0 = r->vvector_elements;
     392           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
     393           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
     394           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
     395           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
     396           0 :                         NDR_CHECK(ndr_pull_vt_lpwstr(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     397             :                 }
     398           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
     399           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     400             :         }
     401           0 :         if (ndr_flags & NDR_BUFFERS) {
     402           0 :         }
     403           0 :         return NDR_ERR_SUCCESS;
     404             : }
     405             : 
     406           0 : static void ndr_print_flags_vt_lpwstr_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_lpwstr_vec *r)
     407             : {
     408           0 :         ndr_print_vt_lpwstr_vec(ndr, name, r);
     409           0 : }
     410             : 
     411           0 : _PUBLIC_ void ndr_print_vt_lpwstr_vec(struct ndr_print *ndr, const char *name, const struct vt_lpwstr_vec *r)
     412             : {
     413           0 :         uint32_t cntr_vvector_data_0;
     414           0 :         ndr_print_struct(ndr, name, "vt_lpwstr_vec");
     415           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     416           0 :         ndr->depth++;
     417           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
     418           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vvector_data", (uint32_t)(r->vvector_elements));
     419           0 :         ndr->depth++;
     420           0 :         for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     421           0 :                 ndr_print_vt_lpwstr(ndr, "vvector_data", &r->vvector_data[cntr_vvector_data_0]);
     422             :         }
     423           0 :         ndr->depth--;
     424           0 :         ndr->depth--;
     425             : }
     426             : 
     427           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_compressed_lpwstr(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_compressed_lpwstr *r)
     428             : {
     429           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     430           0 :         if (ndr_flags & NDR_SCALARS) {
     431           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     432           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cclen));
     433           0 :                 NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->bytes, r->cclen));
     434           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     435             :         }
     436           0 :         if (ndr_flags & NDR_BUFFERS) {
     437           0 :         }
     438           0 :         return NDR_ERR_SUCCESS;
     439             : }
     440             : 
     441           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_compressed_lpwstr(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_compressed_lpwstr *r)
     442             : {
     443           0 :         uint32_t size_bytes_0 = 0;
     444           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     445           0 :         if (ndr_flags & NDR_SCALARS) {
     446           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     447           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cclen));
     448           0 :                 size_bytes_0 = r->cclen;
     449           0 :                 NDR_PULL_ALLOC_N(ndr, r->bytes, size_bytes_0);
     450           0 :                 NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->bytes, size_bytes_0));
     451           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     452             :         }
     453           0 :         if (ndr_flags & NDR_BUFFERS) {
     454           0 :         }
     455           0 :         return NDR_ERR_SUCCESS;
     456             : }
     457             : 
     458           0 : static void ndr_print_flags_vt_compressed_lpwstr(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_compressed_lpwstr *r)
     459             : {
     460           0 :         ndr_print_vt_compressed_lpwstr(ndr, name, r);
     461           0 : }
     462             : 
     463           0 : _PUBLIC_ void ndr_print_vt_compressed_lpwstr(struct ndr_print *ndr, const char *name, const struct vt_compressed_lpwstr *r)
     464             : {
     465           0 :         ndr_print_struct(ndr, name, "vt_compressed_lpwstr");
     466           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     467           0 :         ndr->depth++;
     468           0 :         ndr_print_uint32(ndr, "cclen", r->cclen);
     469           0 :         ndr_print_array_uint8(ndr, "bytes", r->bytes, r->cclen);
     470           0 :         ndr->depth--;
     471             : }
     472             : 
     473           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_compressed_lpwstr_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_compressed_lpwstr_vec *r)
     474             : {
     475           0 :         uint32_t cntr_vvector_data_0;
     476           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     477           0 :         if (ndr_flags & NDR_SCALARS) {
     478           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     479           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
     480           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     481           0 :                         NDR_CHECK(ndr_push_vt_compressed_lpwstr(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     482             :                 }
     483           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     484             :         }
     485           0 :         if (ndr_flags & NDR_BUFFERS) {
     486           0 :         }
     487           0 :         return NDR_ERR_SUCCESS;
     488             : }
     489             : 
     490           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_compressed_lpwstr_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_compressed_lpwstr_vec *r)
     491             : {
     492           0 :         uint32_t size_vvector_data_0 = 0;
     493           0 :         uint32_t cntr_vvector_data_0;
     494           0 :         TALLOC_CTX *_mem_save_vvector_data_0 = NULL;
     495           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     496           0 :         if (ndr_flags & NDR_SCALARS) {
     497           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     498           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
     499           0 :                 size_vvector_data_0 = r->vvector_elements;
     500           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
     501           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
     502           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
     503           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
     504           0 :                         NDR_CHECK(ndr_pull_vt_compressed_lpwstr(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     505             :                 }
     506           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
     507           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     508             :         }
     509           0 :         if (ndr_flags & NDR_BUFFERS) {
     510           0 :         }
     511           0 :         return NDR_ERR_SUCCESS;
     512             : }
     513             : 
     514           0 : static void ndr_print_flags_vt_compressed_lpwstr_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_compressed_lpwstr_vec *r)
     515             : {
     516           0 :         ndr_print_vt_compressed_lpwstr_vec(ndr, name, r);
     517           0 : }
     518             : 
     519           0 : _PUBLIC_ void ndr_print_vt_compressed_lpwstr_vec(struct ndr_print *ndr, const char *name, const struct vt_compressed_lpwstr_vec *r)
     520             : {
     521           0 :         uint32_t cntr_vvector_data_0;
     522           0 :         ndr_print_struct(ndr, name, "vt_compressed_lpwstr_vec");
     523           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     524           0 :         ndr->depth++;
     525           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
     526           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vvector_data", (uint32_t)(r->vvector_elements));
     527           0 :         ndr->depth++;
     528           0 :         for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     529           0 :                 ndr_print_vt_compressed_lpwstr(ndr, "vvector_data", &r->vvector_data[cntr_vvector_data_0]);
     530             :         }
     531           0 :         ndr->depth--;
     532           0 :         ndr->depth--;
     533             : }
     534             : 
     535           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_i1_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_i1_vec *r)
     536             : {
     537           0 :         uint32_t cntr_vvector_data_0;
     538           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     539           0 :         if (ndr_flags & NDR_SCALARS) {
     540           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     541           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
     542           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     543           0 :                         NDR_CHECK(ndr_push_int8(ndr, NDR_SCALARS, r->vvector_data[cntr_vvector_data_0]));
     544             :                 }
     545           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     546             :         }
     547           0 :         if (ndr_flags & NDR_BUFFERS) {
     548           0 :         }
     549           0 :         return NDR_ERR_SUCCESS;
     550             : }
     551             : 
     552           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_i1_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_i1_vec *r)
     553             : {
     554           0 :         uint32_t size_vvector_data_0 = 0;
     555           0 :         uint32_t cntr_vvector_data_0;
     556           0 :         TALLOC_CTX *_mem_save_vvector_data_0 = NULL;
     557           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     558           0 :         if (ndr_flags & NDR_SCALARS) {
     559           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     560           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
     561           0 :                 size_vvector_data_0 = r->vvector_elements;
     562           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
     563           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
     564           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
     565           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
     566           0 :                         NDR_CHECK(ndr_pull_int8(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     567             :                 }
     568           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
     569           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     570             :         }
     571           0 :         if (ndr_flags & NDR_BUFFERS) {
     572           0 :         }
     573           0 :         return NDR_ERR_SUCCESS;
     574             : }
     575             : 
     576           0 : static void ndr_print_flags_vt_i1_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_i1_vec *r)
     577             : {
     578           0 :         ndr_print_vt_i1_vec(ndr, name, r);
     579           0 : }
     580             : 
     581           0 : _PUBLIC_ void ndr_print_vt_i1_vec(struct ndr_print *ndr, const char *name, const struct vt_i1_vec *r)
     582             : {
     583           0 :         uint32_t cntr_vvector_data_0;
     584           0 :         ndr_print_struct(ndr, name, "vt_i1_vec");
     585           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     586           0 :         ndr->depth++;
     587           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
     588           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vvector_data", (uint32_t)(r->vvector_elements));
     589           0 :         ndr->depth++;
     590           0 :         for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     591           0 :                 ndr_print_int8(ndr, "vvector_data", r->vvector_data[cntr_vvector_data_0]);
     592             :         }
     593           0 :         ndr->depth--;
     594           0 :         ndr->depth--;
     595             : }
     596             : 
     597           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_ui1_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_ui1_vec *r)
     598             : {
     599           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     600           0 :         if (ndr_flags & NDR_SCALARS) {
     601           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     602           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
     603           0 :                 NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->vvector_data, r->vvector_elements));
     604           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     605             :         }
     606           0 :         if (ndr_flags & NDR_BUFFERS) {
     607           0 :         }
     608           0 :         return NDR_ERR_SUCCESS;
     609             : }
     610             : 
     611           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_ui1_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_ui1_vec *r)
     612             : {
     613           0 :         uint32_t size_vvector_data_0 = 0;
     614           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     615           0 :         if (ndr_flags & NDR_SCALARS) {
     616           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     617           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
     618           0 :                 size_vvector_data_0 = r->vvector_elements;
     619           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
     620           0 :                 NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->vvector_data, size_vvector_data_0));
     621           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     622             :         }
     623           0 :         if (ndr_flags & NDR_BUFFERS) {
     624           0 :         }
     625           0 :         return NDR_ERR_SUCCESS;
     626             : }
     627             : 
     628           0 : static void ndr_print_flags_vt_ui1_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_ui1_vec *r)
     629             : {
     630           0 :         ndr_print_vt_ui1_vec(ndr, name, r);
     631           0 : }
     632             : 
     633           0 : _PUBLIC_ void ndr_print_vt_ui1_vec(struct ndr_print *ndr, const char *name, const struct vt_ui1_vec *r)
     634             : {
     635           0 :         ndr_print_struct(ndr, name, "vt_ui1_vec");
     636           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     637           0 :         ndr->depth++;
     638           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
     639           0 :         ndr_print_array_uint8(ndr, "vvector_data", r->vvector_data, r->vvector_elements);
     640           0 :         ndr->depth--;
     641             : }
     642             : 
     643           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_i2_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_i2_vec *r)
     644             : {
     645           0 :         uint32_t cntr_vvector_data_0;
     646           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     647           0 :         if (ndr_flags & NDR_SCALARS) {
     648           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     649           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
     650           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     651           0 :                         NDR_CHECK(ndr_push_int16(ndr, NDR_SCALARS, r->vvector_data[cntr_vvector_data_0]));
     652             :                 }
     653           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     654             :         }
     655           0 :         if (ndr_flags & NDR_BUFFERS) {
     656           0 :         }
     657           0 :         return NDR_ERR_SUCCESS;
     658             : }
     659             : 
     660           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_i2_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_i2_vec *r)
     661             : {
     662           0 :         uint32_t size_vvector_data_0 = 0;
     663           0 :         uint32_t cntr_vvector_data_0;
     664           0 :         TALLOC_CTX *_mem_save_vvector_data_0 = NULL;
     665           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     666           0 :         if (ndr_flags & NDR_SCALARS) {
     667           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     668           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
     669           0 :                 size_vvector_data_0 = r->vvector_elements;
     670           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
     671           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
     672           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
     673           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
     674           0 :                         NDR_CHECK(ndr_pull_int16(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     675             :                 }
     676           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
     677           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     678             :         }
     679           0 :         if (ndr_flags & NDR_BUFFERS) {
     680           0 :         }
     681           0 :         return NDR_ERR_SUCCESS;
     682             : }
     683             : 
     684           0 : static void ndr_print_flags_vt_i2_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_i2_vec *r)
     685             : {
     686           0 :         ndr_print_vt_i2_vec(ndr, name, r);
     687           0 : }
     688             : 
     689           0 : _PUBLIC_ void ndr_print_vt_i2_vec(struct ndr_print *ndr, const char *name, const struct vt_i2_vec *r)
     690             : {
     691           0 :         uint32_t cntr_vvector_data_0;
     692           0 :         ndr_print_struct(ndr, name, "vt_i2_vec");
     693           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     694           0 :         ndr->depth++;
     695           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
     696           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vvector_data", (uint32_t)(r->vvector_elements));
     697           0 :         ndr->depth++;
     698           0 :         for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     699           0 :                 ndr_print_int16(ndr, "vvector_data", r->vvector_data[cntr_vvector_data_0]);
     700             :         }
     701           0 :         ndr->depth--;
     702           0 :         ndr->depth--;
     703             : }
     704             : 
     705           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_ui2_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_ui2_vec *r)
     706             : {
     707           0 :         uint32_t cntr_vvector_data_0;
     708           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     709           0 :         if (ndr_flags & NDR_SCALARS) {
     710           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     711           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
     712           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     713           0 :                         NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->vvector_data[cntr_vvector_data_0]));
     714             :                 }
     715           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     716             :         }
     717           0 :         if (ndr_flags & NDR_BUFFERS) {
     718           0 :         }
     719           0 :         return NDR_ERR_SUCCESS;
     720             : }
     721             : 
     722           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_ui2_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_ui2_vec *r)
     723             : {
     724           0 :         uint32_t size_vvector_data_0 = 0;
     725           0 :         uint32_t cntr_vvector_data_0;
     726           0 :         TALLOC_CTX *_mem_save_vvector_data_0 = NULL;
     727           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     728           0 :         if (ndr_flags & NDR_SCALARS) {
     729           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     730           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
     731           0 :                 size_vvector_data_0 = r->vvector_elements;
     732           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
     733           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
     734           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
     735           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
     736           0 :                         NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     737             :                 }
     738           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
     739           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     740             :         }
     741           0 :         if (ndr_flags & NDR_BUFFERS) {
     742           0 :         }
     743           0 :         return NDR_ERR_SUCCESS;
     744             : }
     745             : 
     746           0 : static void ndr_print_flags_vt_ui2_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_ui2_vec *r)
     747             : {
     748           0 :         ndr_print_vt_ui2_vec(ndr, name, r);
     749           0 : }
     750             : 
     751           0 : _PUBLIC_ void ndr_print_vt_ui2_vec(struct ndr_print *ndr, const char *name, const struct vt_ui2_vec *r)
     752             : {
     753           0 :         uint32_t cntr_vvector_data_0;
     754           0 :         ndr_print_struct(ndr, name, "vt_ui2_vec");
     755           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     756           0 :         ndr->depth++;
     757           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
     758           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vvector_data", (uint32_t)(r->vvector_elements));
     759           0 :         ndr->depth++;
     760           0 :         for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     761           0 :                 ndr_print_uint16(ndr, "vvector_data", r->vvector_data[cntr_vvector_data_0]);
     762             :         }
     763           0 :         ndr->depth--;
     764           0 :         ndr->depth--;
     765             : }
     766             : 
     767           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_i4_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_i4_vec *r)
     768             : {
     769           0 :         uint32_t cntr_vvector_data_0;
     770           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     771           0 :         if (ndr_flags & NDR_SCALARS) {
     772           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     773           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
     774           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     775           0 :                         NDR_CHECK(ndr_push_int32(ndr, NDR_SCALARS, r->vvector_data[cntr_vvector_data_0]));
     776             :                 }
     777           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     778             :         }
     779           0 :         if (ndr_flags & NDR_BUFFERS) {
     780           0 :         }
     781           0 :         return NDR_ERR_SUCCESS;
     782             : }
     783             : 
     784           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_i4_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_i4_vec *r)
     785             : {
     786           0 :         uint32_t size_vvector_data_0 = 0;
     787           0 :         uint32_t cntr_vvector_data_0;
     788           0 :         TALLOC_CTX *_mem_save_vvector_data_0 = NULL;
     789           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     790           0 :         if (ndr_flags & NDR_SCALARS) {
     791           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     792           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
     793           0 :                 size_vvector_data_0 = r->vvector_elements;
     794           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
     795           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
     796           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
     797           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
     798           0 :                         NDR_CHECK(ndr_pull_int32(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     799             :                 }
     800           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
     801           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     802             :         }
     803           0 :         if (ndr_flags & NDR_BUFFERS) {
     804           0 :         }
     805           0 :         return NDR_ERR_SUCCESS;
     806             : }
     807             : 
     808           0 : static void ndr_print_flags_vt_i4_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_i4_vec *r)
     809             : {
     810           0 :         ndr_print_vt_i4_vec(ndr, name, r);
     811           0 : }
     812             : 
     813           0 : _PUBLIC_ void ndr_print_vt_i4_vec(struct ndr_print *ndr, const char *name, const struct vt_i4_vec *r)
     814             : {
     815           0 :         uint32_t cntr_vvector_data_0;
     816           0 :         ndr_print_struct(ndr, name, "vt_i4_vec");
     817           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     818           0 :         ndr->depth++;
     819           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
     820           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vvector_data", (uint32_t)(r->vvector_elements));
     821           0 :         ndr->depth++;
     822           0 :         for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     823           0 :                 ndr_print_int32(ndr, "vvector_data", r->vvector_data[cntr_vvector_data_0]);
     824             :         }
     825           0 :         ndr->depth--;
     826           0 :         ndr->depth--;
     827             : }
     828             : 
     829           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_ui4_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_ui4_vec *r)
     830             : {
     831           0 :         uint32_t cntr_vvector_data_0;
     832           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     833           0 :         if (ndr_flags & NDR_SCALARS) {
     834           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     835           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
     836           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     837           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_data[cntr_vvector_data_0]));
     838             :                 }
     839           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     840             :         }
     841           0 :         if (ndr_flags & NDR_BUFFERS) {
     842           0 :         }
     843           0 :         return NDR_ERR_SUCCESS;
     844             : }
     845             : 
     846           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_ui4_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_ui4_vec *r)
     847             : {
     848           0 :         uint32_t size_vvector_data_0 = 0;
     849           0 :         uint32_t cntr_vvector_data_0;
     850           0 :         TALLOC_CTX *_mem_save_vvector_data_0 = NULL;
     851           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     852           0 :         if (ndr_flags & NDR_SCALARS) {
     853           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     854           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
     855           0 :                 size_vvector_data_0 = r->vvector_elements;
     856           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
     857           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
     858           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
     859           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
     860           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     861             :                 }
     862           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
     863           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     864             :         }
     865           0 :         if (ndr_flags & NDR_BUFFERS) {
     866           0 :         }
     867           0 :         return NDR_ERR_SUCCESS;
     868             : }
     869             : 
     870           0 : static void ndr_print_flags_vt_ui4_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_ui4_vec *r)
     871             : {
     872           0 :         ndr_print_vt_ui4_vec(ndr, name, r);
     873           0 : }
     874             : 
     875           0 : _PUBLIC_ void ndr_print_vt_ui4_vec(struct ndr_print *ndr, const char *name, const struct vt_ui4_vec *r)
     876             : {
     877           0 :         uint32_t cntr_vvector_data_0;
     878           0 :         ndr_print_struct(ndr, name, "vt_ui4_vec");
     879           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     880           0 :         ndr->depth++;
     881           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
     882           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vvector_data", (uint32_t)(r->vvector_elements));
     883           0 :         ndr->depth++;
     884           0 :         for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     885           0 :                 ndr_print_uint32(ndr, "vvector_data", r->vvector_data[cntr_vvector_data_0]);
     886             :         }
     887           0 :         ndr->depth--;
     888           0 :         ndr->depth--;
     889             : }
     890             : 
     891           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_dlong_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_dlong_vec *r)
     892             : {
     893           0 :         uint32_t cntr_vvector_data_0;
     894           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     895           0 :         if (ndr_flags & NDR_SCALARS) {
     896           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     897           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
     898           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     899           0 :                         NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->vvector_data[cntr_vvector_data_0]));
     900             :                 }
     901           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     902             :         }
     903           0 :         if (ndr_flags & NDR_BUFFERS) {
     904           0 :         }
     905           0 :         return NDR_ERR_SUCCESS;
     906             : }
     907             : 
     908           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_dlong_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_dlong_vec *r)
     909             : {
     910           0 :         uint32_t size_vvector_data_0 = 0;
     911           0 :         uint32_t cntr_vvector_data_0;
     912           0 :         TALLOC_CTX *_mem_save_vvector_data_0 = NULL;
     913           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     914           0 :         if (ndr_flags & NDR_SCALARS) {
     915           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     916           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
     917           0 :                 size_vvector_data_0 = r->vvector_elements;
     918           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
     919           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
     920           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
     921           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
     922           0 :                         NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     923             :                 }
     924           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
     925           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     926             :         }
     927           0 :         if (ndr_flags & NDR_BUFFERS) {
     928           0 :         }
     929           0 :         return NDR_ERR_SUCCESS;
     930             : }
     931             : 
     932           0 : static void ndr_print_flags_vt_dlong_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_dlong_vec *r)
     933             : {
     934           0 :         ndr_print_vt_dlong_vec(ndr, name, r);
     935           0 : }
     936             : 
     937           0 : _PUBLIC_ void ndr_print_vt_dlong_vec(struct ndr_print *ndr, const char *name, const struct vt_dlong_vec *r)
     938             : {
     939           0 :         uint32_t cntr_vvector_data_0;
     940           0 :         ndr_print_struct(ndr, name, "vt_dlong_vec");
     941           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
     942           0 :         ndr->depth++;
     943           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
     944           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vvector_data", (uint32_t)(r->vvector_elements));
     945           0 :         ndr->depth++;
     946           0 :         for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     947           0 :                 ndr_print_dlong(ndr, "vvector_data", r->vvector_data[cntr_vvector_data_0]);
     948             :         }
     949           0 :         ndr->depth--;
     950           0 :         ndr->depth--;
     951             : }
     952             : 
     953           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_udlong_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_udlong_vec *r)
     954             : {
     955           0 :         uint32_t cntr_vvector_data_0;
     956           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     957           0 :         if (ndr_flags & NDR_SCALARS) {
     958           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
     959           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
     960           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
     961           0 :                         NDR_CHECK(ndr_push_udlong(ndr, NDR_SCALARS, r->vvector_data[cntr_vvector_data_0]));
     962             :                 }
     963           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     964             :         }
     965           0 :         if (ndr_flags & NDR_BUFFERS) {
     966           0 :         }
     967           0 :         return NDR_ERR_SUCCESS;
     968             : }
     969             : 
     970           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_udlong_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_udlong_vec *r)
     971             : {
     972           0 :         uint32_t size_vvector_data_0 = 0;
     973           0 :         uint32_t cntr_vvector_data_0;
     974           0 :         TALLOC_CTX *_mem_save_vvector_data_0 = NULL;
     975           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
     976           0 :         if (ndr_flags & NDR_SCALARS) {
     977           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
     978           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
     979           0 :                 size_vvector_data_0 = r->vvector_elements;
     980           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
     981           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
     982           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
     983           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
     984           0 :                         NDR_CHECK(ndr_pull_udlong(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
     985             :                 }
     986           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
     987           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
     988             :         }
     989           0 :         if (ndr_flags & NDR_BUFFERS) {
     990           0 :         }
     991           0 :         return NDR_ERR_SUCCESS;
     992             : }
     993             : 
     994           0 : static void ndr_print_flags_vt_udlong_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_udlong_vec *r)
     995             : {
     996           0 :         ndr_print_vt_udlong_vec(ndr, name, r);
     997           0 : }
     998             : 
     999           0 : _PUBLIC_ void ndr_print_vt_udlong_vec(struct ndr_print *ndr, const char *name, const struct vt_udlong_vec *r)
    1000             : {
    1001           0 :         uint32_t cntr_vvector_data_0;
    1002           0 :         ndr_print_struct(ndr, name, "vt_udlong_vec");
    1003           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1004           0 :         ndr->depth++;
    1005           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
    1006           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vvector_data", (uint32_t)(r->vvector_elements));
    1007           0 :         ndr->depth++;
    1008           0 :         for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
    1009           0 :                 ndr_print_udlong(ndr, "vvector_data", r->vvector_data[cntr_vvector_data_0]);
    1010             :         }
    1011           0 :         ndr->depth--;
    1012           0 :         ndr->depth--;
    1013             : }
    1014             : 
    1015           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_clsid_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_clsid_vec *r)
    1016             : {
    1017           0 :         uint32_t cntr_vvector_data_0;
    1018           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1019           0 :         if (ndr_flags & NDR_SCALARS) {
    1020           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1021           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
    1022           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
    1023           0 :                         NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
    1024             :                 }
    1025           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1026             :         }
    1027           0 :         if (ndr_flags & NDR_BUFFERS) {
    1028           0 :         }
    1029           0 :         return NDR_ERR_SUCCESS;
    1030             : }
    1031             : 
    1032           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_clsid_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_clsid_vec *r)
    1033             : {
    1034           0 :         uint32_t size_vvector_data_0 = 0;
    1035           0 :         uint32_t cntr_vvector_data_0;
    1036           0 :         TALLOC_CTX *_mem_save_vvector_data_0 = NULL;
    1037           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1038           0 :         if (ndr_flags & NDR_SCALARS) {
    1039           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1040           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
    1041           0 :                 size_vvector_data_0 = r->vvector_elements;
    1042           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
    1043           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1044           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
    1045           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
    1046           0 :                         NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
    1047             :                 }
    1048           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
    1049           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1050             :         }
    1051           0 :         if (ndr_flags & NDR_BUFFERS) {
    1052           0 :         }
    1053           0 :         return NDR_ERR_SUCCESS;
    1054             : }
    1055             : 
    1056           0 : static void ndr_print_flags_vt_clsid_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_clsid_vec *r)
    1057             : {
    1058           0 :         ndr_print_vt_clsid_vec(ndr, name, r);
    1059           0 : }
    1060             : 
    1061           0 : _PUBLIC_ void ndr_print_vt_clsid_vec(struct ndr_print *ndr, const char *name, const struct vt_clsid_vec *r)
    1062             : {
    1063           0 :         uint32_t cntr_vvector_data_0;
    1064           0 :         ndr_print_struct(ndr, name, "vt_clsid_vec");
    1065           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1066           0 :         ndr->depth++;
    1067           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
    1068           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vvector_data", (uint32_t)(r->vvector_elements));
    1069           0 :         ndr->depth++;
    1070           0 :         for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
    1071           0 :                 ndr_print_GUID(ndr, "vvector_data", &r->vvector_data[cntr_vvector_data_0]);
    1072             :         }
    1073           0 :         ndr->depth--;
    1074           0 :         ndr->depth--;
    1075             : }
    1076             : 
    1077           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_variant_wrap_vec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_variant_wrap_vec *r)
    1078             : {
    1079           0 :         uint32_t cntr_vvector_data_0;
    1080           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1081           0 :         if (ndr_flags & NDR_SCALARS) {
    1082           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1083           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vvector_elements));
    1084           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
    1085           0 :                         NDR_CHECK(ndr_push_vt_variant_wrap(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
    1086             :                 }
    1087           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1088             :         }
    1089           0 :         if (ndr_flags & NDR_BUFFERS) {
    1090           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
    1091           0 :                         NDR_CHECK(ndr_push_vt_variant_wrap(ndr, NDR_BUFFERS, &r->vvector_data[cntr_vvector_data_0]));
    1092             :                 }
    1093             :         }
    1094           0 :         return NDR_ERR_SUCCESS;
    1095             : }
    1096             : 
    1097           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_variant_wrap_vec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_variant_wrap_vec *r)
    1098             : {
    1099           0 :         uint32_t size_vvector_data_0 = 0;
    1100           0 :         uint32_t cntr_vvector_data_0;
    1101           0 :         TALLOC_CTX *_mem_save_vvector_data_0 = NULL;
    1102           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1103           0 :         if (ndr_flags & NDR_SCALARS) {
    1104           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1105           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vvector_elements));
    1106           0 :                 size_vvector_data_0 = r->vvector_elements;
    1107           0 :                 NDR_PULL_ALLOC_N(ndr, r->vvector_data, size_vvector_data_0);
    1108           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1109           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
    1110           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
    1111           0 :                         NDR_CHECK(ndr_pull_vt_variant_wrap(ndr, NDR_SCALARS, &r->vvector_data[cntr_vvector_data_0]));
    1112             :                 }
    1113           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
    1114           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1115             :         }
    1116           0 :         if (ndr_flags & NDR_BUFFERS) {
    1117           0 :                 size_vvector_data_0 = r->vvector_elements;
    1118           0 :                 _mem_save_vvector_data_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1119           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vvector_data, 0);
    1120           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
    1121           0 :                         NDR_CHECK(ndr_pull_vt_variant_wrap(ndr, NDR_BUFFERS, &r->vvector_data[cntr_vvector_data_0]));
    1122             :                 }
    1123           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vvector_data_0, 0);
    1124           0 :                 for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (size_vvector_data_0); cntr_vvector_data_0++) {
    1125             :                 }
    1126             :         }
    1127           0 :         return NDR_ERR_SUCCESS;
    1128             : }
    1129             : 
    1130           0 : static void ndr_print_flags_vt_variant_wrap_vec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_variant_wrap_vec *r)
    1131             : {
    1132           0 :         ndr_print_vt_variant_wrap_vec(ndr, name, r);
    1133           0 : }
    1134             : 
    1135           0 : _PUBLIC_ void ndr_print_vt_variant_wrap_vec(struct ndr_print *ndr, const char *name, const struct vt_variant_wrap_vec *r)
    1136             : {
    1137           0 :         uint32_t cntr_vvector_data_0;
    1138           0 :         ndr_print_struct(ndr, name, "vt_variant_wrap_vec");
    1139           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1140           0 :         ndr->depth++;
    1141           0 :         ndr_print_uint32(ndr, "vvector_elements", r->vvector_elements);
    1142           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vvector_data", (uint32_t)(r->vvector_elements));
    1143           0 :         ndr->depth++;
    1144           0 :         for (cntr_vvector_data_0 = 0; cntr_vvector_data_0 < (r->vvector_elements); cntr_vvector_data_0++) {
    1145           0 :                 ndr_print_vt_variant_wrap(ndr, "vvector_data", &r->vvector_data[cntr_vvector_data_0]);
    1146             :         }
    1147           0 :         ndr->depth--;
    1148           0 :         ndr->depth--;
    1149             : }
    1150             : 
    1151           0 : _PUBLIC_ enum ndr_err_code ndr_push_safearraybound(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct safearraybound *r)
    1152             : {
    1153           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1154           0 :         if (ndr_flags & NDR_SCALARS) {
    1155           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1156           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->celements));
    1157           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ilbound));
    1158           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1159             :         }
    1160           0 :         if (ndr_flags & NDR_BUFFERS) {
    1161           0 :         }
    1162           0 :         return NDR_ERR_SUCCESS;
    1163             : }
    1164             : 
    1165           0 : _PUBLIC_ enum ndr_err_code ndr_pull_safearraybound(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct safearraybound *r)
    1166             : {
    1167           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1168           0 :         if (ndr_flags & NDR_SCALARS) {
    1169           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1170           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->celements));
    1171           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ilbound));
    1172           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1173             :         }
    1174           0 :         if (ndr_flags & NDR_BUFFERS) {
    1175           0 :         }
    1176           0 :         return NDR_ERR_SUCCESS;
    1177             : }
    1178             : 
    1179           0 : static void ndr_print_flags_safearraybound(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct safearraybound *r)
    1180             : {
    1181           0 :         ndr_print_safearraybound(ndr, name, r);
    1182           0 : }
    1183             : 
    1184           0 : _PUBLIC_ void ndr_print_safearraybound(struct ndr_print *ndr, const char *name, const struct safearraybound *r)
    1185             : {
    1186           0 :         ndr_print_struct(ndr, name, "safearraybound");
    1187           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1188           0 :         ndr->depth++;
    1189           0 :         ndr_print_uint32(ndr, "celements", r->celements);
    1190           0 :         ndr_print_uint32(ndr, "ilbound", r->ilbound);
    1191           0 :         ndr->depth--;
    1192             : }
    1193             : 
    1194           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_i4_safe_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_i4_safe_array *r)
    1195             : {
    1196           0 :         uint32_t cntr_rgsabound_0;
    1197           0 :         uint32_t cntr_vdata_0;
    1198           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1199           0 :         if (ndr_flags & NDR_SCALARS) {
    1200           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1201           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
    1202           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->ffeatures));
    1203           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbelements));
    1204           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1205           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1206             :                 }
    1207           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1208           0 :                         NDR_CHECK(ndr_push_int32(ndr, NDR_SCALARS, r->vdata[cntr_vdata_0]));
    1209             :                 }
    1210           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1211             :         }
    1212           0 :         if (ndr_flags & NDR_BUFFERS) {
    1213           0 :         }
    1214           0 :         return NDR_ERR_SUCCESS;
    1215             : }
    1216             : 
    1217           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_i4_safe_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_i4_safe_array *r)
    1218             : {
    1219           0 :         uint32_t size_rgsabound_0 = 0;
    1220           0 :         uint32_t cntr_rgsabound_0;
    1221           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
    1222           0 :         uint32_t size_vdata_0 = 0;
    1223           0 :         uint32_t cntr_vdata_0;
    1224           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
    1225           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1226           0 :         if (ndr_flags & NDR_SCALARS) {
    1227           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1228           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
    1229           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->ffeatures));
    1230           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbelements));
    1231           0 :                 size_rgsabound_0 = r->cdims;
    1232           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
    1233           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1234           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
    1235           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
    1236           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1237             :                 }
    1238           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
    1239           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    1240           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
    1241           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1242           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
    1243           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
    1244           0 :                         NDR_CHECK(ndr_pull_int32(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
    1245             :                 }
    1246           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
    1247           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1248             :         }
    1249           0 :         if (ndr_flags & NDR_BUFFERS) {
    1250           0 :         }
    1251           0 :         return NDR_ERR_SUCCESS;
    1252             : }
    1253             : 
    1254           0 : static void ndr_print_flags_vt_i4_safe_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_i4_safe_array *r)
    1255             : {
    1256           0 :         ndr_print_vt_i4_safe_array(ndr, name, r);
    1257           0 : }
    1258             : 
    1259           0 : _PUBLIC_ void ndr_print_vt_i4_safe_array(struct ndr_print *ndr, const char *name, const struct vt_i4_safe_array *r)
    1260             : {
    1261           0 :         uint32_t cntr_rgsabound_0;
    1262           0 :         uint32_t cntr_vdata_0;
    1263           0 :         ndr_print_struct(ndr, name, "vt_i4_safe_array");
    1264           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1265           0 :         ndr->depth++;
    1266           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
    1267           0 :         ndr_print_uint16(ndr, "ffeatures", r->ffeatures);
    1268           0 :         ndr_print_uint32(ndr, "cbelements", r->cbelements);
    1269           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
    1270           0 :         ndr->depth++;
    1271           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1272           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
    1273             :         }
    1274           0 :         ndr->depth--;
    1275           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
    1276           0 :         ndr->depth++;
    1277           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1278           0 :                 ndr_print_int32(ndr, "vdata", r->vdata[cntr_vdata_0]);
    1279             :         }
    1280           0 :         ndr->depth--;
    1281           0 :         ndr->depth--;
    1282             : }
    1283             : 
    1284           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_ui4_safe_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_ui4_safe_array *r)
    1285             : {
    1286           0 :         uint32_t cntr_rgsabound_0;
    1287           0 :         uint32_t cntr_vdata_0;
    1288           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1289           0 :         if (ndr_flags & NDR_SCALARS) {
    1290           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1291           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
    1292           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->ffeatures));
    1293           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbelements));
    1294           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1295           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1296             :                 }
    1297           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1298           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vdata[cntr_vdata_0]));
    1299             :                 }
    1300           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1301             :         }
    1302           0 :         if (ndr_flags & NDR_BUFFERS) {
    1303           0 :         }
    1304           0 :         return NDR_ERR_SUCCESS;
    1305             : }
    1306             : 
    1307           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_ui4_safe_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_ui4_safe_array *r)
    1308             : {
    1309           0 :         uint32_t size_rgsabound_0 = 0;
    1310           0 :         uint32_t cntr_rgsabound_0;
    1311           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
    1312           0 :         uint32_t size_vdata_0 = 0;
    1313           0 :         uint32_t cntr_vdata_0;
    1314           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
    1315           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1316           0 :         if (ndr_flags & NDR_SCALARS) {
    1317           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1318           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
    1319           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->ffeatures));
    1320           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbelements));
    1321           0 :                 size_rgsabound_0 = r->cdims;
    1322           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
    1323           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1324           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
    1325           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
    1326           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1327             :                 }
    1328           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
    1329           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    1330           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
    1331           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1332           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
    1333           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
    1334           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
    1335             :                 }
    1336           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
    1337           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1338             :         }
    1339           0 :         if (ndr_flags & NDR_BUFFERS) {
    1340           0 :         }
    1341           0 :         return NDR_ERR_SUCCESS;
    1342             : }
    1343             : 
    1344           0 : static void ndr_print_flags_vt_ui4_safe_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_ui4_safe_array *r)
    1345             : {
    1346           0 :         ndr_print_vt_ui4_safe_array(ndr, name, r);
    1347           0 : }
    1348             : 
    1349           0 : _PUBLIC_ void ndr_print_vt_ui4_safe_array(struct ndr_print *ndr, const char *name, const struct vt_ui4_safe_array *r)
    1350             : {
    1351           0 :         uint32_t cntr_rgsabound_0;
    1352           0 :         uint32_t cntr_vdata_0;
    1353           0 :         ndr_print_struct(ndr, name, "vt_ui4_safe_array");
    1354           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1355           0 :         ndr->depth++;
    1356           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
    1357           0 :         ndr_print_uint16(ndr, "ffeatures", r->ffeatures);
    1358           0 :         ndr_print_uint32(ndr, "cbelements", r->cbelements);
    1359           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
    1360           0 :         ndr->depth++;
    1361           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1362           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
    1363             :         }
    1364           0 :         ndr->depth--;
    1365           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
    1366           0 :         ndr->depth++;
    1367           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1368           0 :                 ndr_print_uint32(ndr, "vdata", r->vdata[cntr_vdata_0]);
    1369             :         }
    1370           0 :         ndr->depth--;
    1371           0 :         ndr->depth--;
    1372             : }
    1373             : 
    1374           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_bstr_safe_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_bstr_safe_array *r)
    1375             : {
    1376           0 :         uint32_t cntr_rgsabound_0;
    1377           0 :         uint32_t cntr_vdata_0;
    1378           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1379           0 :         if (ndr_flags & NDR_SCALARS) {
    1380           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1381           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
    1382           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->ffeatures));
    1383           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbelements));
    1384           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1385           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1386             :                 }
    1387           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1388           0 :                         NDR_CHECK(ndr_push_vt_bstr(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
    1389             :                 }
    1390           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1391             :         }
    1392           0 :         if (ndr_flags & NDR_BUFFERS) {
    1393           0 :         }
    1394           0 :         return NDR_ERR_SUCCESS;
    1395             : }
    1396             : 
    1397           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_bstr_safe_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_bstr_safe_array *r)
    1398             : {
    1399           0 :         uint32_t size_rgsabound_0 = 0;
    1400           0 :         uint32_t cntr_rgsabound_0;
    1401           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
    1402           0 :         uint32_t size_vdata_0 = 0;
    1403           0 :         uint32_t cntr_vdata_0;
    1404           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
    1405           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1406           0 :         if (ndr_flags & NDR_SCALARS) {
    1407           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1408           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
    1409           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->ffeatures));
    1410           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbelements));
    1411           0 :                 size_rgsabound_0 = r->cdims;
    1412           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
    1413           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1414           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
    1415           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
    1416           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1417             :                 }
    1418           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
    1419           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    1420           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
    1421           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1422           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
    1423           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
    1424           0 :                         NDR_CHECK(ndr_pull_vt_bstr(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
    1425             :                 }
    1426           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
    1427           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1428             :         }
    1429           0 :         if (ndr_flags & NDR_BUFFERS) {
    1430           0 :         }
    1431           0 :         return NDR_ERR_SUCCESS;
    1432             : }
    1433             : 
    1434           0 : static void ndr_print_flags_vt_bstr_safe_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_bstr_safe_array *r)
    1435             : {
    1436           0 :         ndr_print_vt_bstr_safe_array(ndr, name, r);
    1437           0 : }
    1438             : 
    1439           0 : _PUBLIC_ void ndr_print_vt_bstr_safe_array(struct ndr_print *ndr, const char *name, const struct vt_bstr_safe_array *r)
    1440             : {
    1441           0 :         uint32_t cntr_rgsabound_0;
    1442           0 :         uint32_t cntr_vdata_0;
    1443           0 :         ndr_print_struct(ndr, name, "vt_bstr_safe_array");
    1444           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1445           0 :         ndr->depth++;
    1446           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
    1447           0 :         ndr_print_uint16(ndr, "ffeatures", r->ffeatures);
    1448           0 :         ndr_print_uint32(ndr, "cbelements", r->cbelements);
    1449           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
    1450           0 :         ndr->depth++;
    1451           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1452           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
    1453             :         }
    1454           0 :         ndr->depth--;
    1455           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
    1456           0 :         ndr->depth++;
    1457           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1458           0 :                 ndr_print_vt_bstr(ndr, "vdata", &r->vdata[cntr_vdata_0]);
    1459             :         }
    1460           0 :         ndr->depth--;
    1461           0 :         ndr->depth--;
    1462             : }
    1463             : 
    1464           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_i1_safe_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_i1_safe_array *r)
    1465             : {
    1466           0 :         uint32_t cntr_rgsabound_0;
    1467           0 :         uint32_t cntr_vdata_0;
    1468           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1469           0 :         if (ndr_flags & NDR_SCALARS) {
    1470           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1471           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
    1472           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->ffeatures));
    1473           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbelements));
    1474           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1475           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1476             :                 }
    1477           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1478           0 :                         NDR_CHECK(ndr_push_int8(ndr, NDR_SCALARS, r->vdata[cntr_vdata_0]));
    1479             :                 }
    1480           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1481             :         }
    1482           0 :         if (ndr_flags & NDR_BUFFERS) {
    1483           0 :         }
    1484           0 :         return NDR_ERR_SUCCESS;
    1485             : }
    1486             : 
    1487           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_i1_safe_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_i1_safe_array *r)
    1488             : {
    1489           0 :         uint32_t size_rgsabound_0 = 0;
    1490           0 :         uint32_t cntr_rgsabound_0;
    1491           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
    1492           0 :         uint32_t size_vdata_0 = 0;
    1493           0 :         uint32_t cntr_vdata_0;
    1494           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
    1495           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1496           0 :         if (ndr_flags & NDR_SCALARS) {
    1497           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1498           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
    1499           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->ffeatures));
    1500           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbelements));
    1501           0 :                 size_rgsabound_0 = r->cdims;
    1502           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
    1503           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1504           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
    1505           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
    1506           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1507             :                 }
    1508           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
    1509           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    1510           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
    1511           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1512           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
    1513           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
    1514           0 :                         NDR_CHECK(ndr_pull_int8(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
    1515             :                 }
    1516           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
    1517           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1518             :         }
    1519           0 :         if (ndr_flags & NDR_BUFFERS) {
    1520           0 :         }
    1521           0 :         return NDR_ERR_SUCCESS;
    1522             : }
    1523             : 
    1524           0 : static void ndr_print_flags_vt_i1_safe_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_i1_safe_array *r)
    1525             : {
    1526           0 :         ndr_print_vt_i1_safe_array(ndr, name, r);
    1527           0 : }
    1528             : 
    1529           0 : _PUBLIC_ void ndr_print_vt_i1_safe_array(struct ndr_print *ndr, const char *name, const struct vt_i1_safe_array *r)
    1530             : {
    1531           0 :         uint32_t cntr_rgsabound_0;
    1532           0 :         uint32_t cntr_vdata_0;
    1533           0 :         ndr_print_struct(ndr, name, "vt_i1_safe_array");
    1534           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1535           0 :         ndr->depth++;
    1536           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
    1537           0 :         ndr_print_uint16(ndr, "ffeatures", r->ffeatures);
    1538           0 :         ndr_print_uint32(ndr, "cbelements", r->cbelements);
    1539           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
    1540           0 :         ndr->depth++;
    1541           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1542           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
    1543             :         }
    1544           0 :         ndr->depth--;
    1545           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
    1546           0 :         ndr->depth++;
    1547           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1548           0 :                 ndr_print_int8(ndr, "vdata", r->vdata[cntr_vdata_0]);
    1549             :         }
    1550           0 :         ndr->depth--;
    1551           0 :         ndr->depth--;
    1552             : }
    1553             : 
    1554           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_ui1_safe_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_ui1_safe_array *r)
    1555             : {
    1556           0 :         uint32_t cntr_rgsabound_0;
    1557           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1558           0 :         if (ndr_flags & NDR_SCALARS) {
    1559           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1560           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
    1561           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->ffeatures));
    1562           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbelements));
    1563           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1564           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1565             :                 }
    1566           0 :                 NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->vdata, calc_array_size(r->rgsabound, r->cdims)));
    1567           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1568             :         }
    1569           0 :         if (ndr_flags & NDR_BUFFERS) {
    1570           0 :         }
    1571           0 :         return NDR_ERR_SUCCESS;
    1572             : }
    1573             : 
    1574           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_ui1_safe_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_ui1_safe_array *r)
    1575             : {
    1576           0 :         uint32_t size_rgsabound_0 = 0;
    1577           0 :         uint32_t cntr_rgsabound_0;
    1578           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
    1579           0 :         uint32_t size_vdata_0 = 0;
    1580           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1581           0 :         if (ndr_flags & NDR_SCALARS) {
    1582           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1583           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
    1584           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->ffeatures));
    1585           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbelements));
    1586           0 :                 size_rgsabound_0 = r->cdims;
    1587           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
    1588           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1589           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
    1590           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
    1591           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1592             :                 }
    1593           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
    1594           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    1595           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
    1596           0 :                 NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->vdata, size_vdata_0));
    1597           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1598             :         }
    1599           0 :         if (ndr_flags & NDR_BUFFERS) {
    1600           0 :         }
    1601           0 :         return NDR_ERR_SUCCESS;
    1602             : }
    1603             : 
    1604           0 : static void ndr_print_flags_vt_ui1_safe_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_ui1_safe_array *r)
    1605             : {
    1606           0 :         ndr_print_vt_ui1_safe_array(ndr, name, r);
    1607           0 : }
    1608             : 
    1609           0 : _PUBLIC_ void ndr_print_vt_ui1_safe_array(struct ndr_print *ndr, const char *name, const struct vt_ui1_safe_array *r)
    1610             : {
    1611           0 :         uint32_t cntr_rgsabound_0;
    1612           0 :         ndr_print_struct(ndr, name, "vt_ui1_safe_array");
    1613           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1614           0 :         ndr->depth++;
    1615           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
    1616           0 :         ndr_print_uint16(ndr, "ffeatures", r->ffeatures);
    1617           0 :         ndr_print_uint32(ndr, "cbelements", r->cbelements);
    1618           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
    1619           0 :         ndr->depth++;
    1620           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1621           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
    1622             :         }
    1623           0 :         ndr->depth--;
    1624           0 :         ndr_print_array_uint8(ndr, "vdata", r->vdata, calc_array_size(r->rgsabound, r->cdims));
    1625           0 :         ndr->depth--;
    1626             : }
    1627             : 
    1628           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_i2_safe_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_i2_safe_array *r)
    1629             : {
    1630           0 :         uint32_t cntr_rgsabound_0;
    1631           0 :         uint32_t cntr_vdata_0;
    1632           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1633           0 :         if (ndr_flags & NDR_SCALARS) {
    1634           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1635           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
    1636           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->ffeatures));
    1637           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbelements));
    1638           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1639           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1640             :                 }
    1641           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1642           0 :                         NDR_CHECK(ndr_push_int16(ndr, NDR_SCALARS, r->vdata[cntr_vdata_0]));
    1643             :                 }
    1644           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1645             :         }
    1646           0 :         if (ndr_flags & NDR_BUFFERS) {
    1647           0 :         }
    1648           0 :         return NDR_ERR_SUCCESS;
    1649             : }
    1650             : 
    1651           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_i2_safe_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_i2_safe_array *r)
    1652             : {
    1653           0 :         uint32_t size_rgsabound_0 = 0;
    1654           0 :         uint32_t cntr_rgsabound_0;
    1655           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
    1656           0 :         uint32_t size_vdata_0 = 0;
    1657           0 :         uint32_t cntr_vdata_0;
    1658           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
    1659           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1660           0 :         if (ndr_flags & NDR_SCALARS) {
    1661           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1662           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
    1663           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->ffeatures));
    1664           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbelements));
    1665           0 :                 size_rgsabound_0 = r->cdims;
    1666           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
    1667           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1668           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
    1669           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
    1670           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1671             :                 }
    1672           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
    1673           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    1674           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
    1675           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1676           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
    1677           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
    1678           0 :                         NDR_CHECK(ndr_pull_int16(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
    1679             :                 }
    1680           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
    1681           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1682             :         }
    1683           0 :         if (ndr_flags & NDR_BUFFERS) {
    1684           0 :         }
    1685           0 :         return NDR_ERR_SUCCESS;
    1686             : }
    1687             : 
    1688           0 : static void ndr_print_flags_vt_i2_safe_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_i2_safe_array *r)
    1689             : {
    1690           0 :         ndr_print_vt_i2_safe_array(ndr, name, r);
    1691           0 : }
    1692             : 
    1693           0 : _PUBLIC_ void ndr_print_vt_i2_safe_array(struct ndr_print *ndr, const char *name, const struct vt_i2_safe_array *r)
    1694             : {
    1695           0 :         uint32_t cntr_rgsabound_0;
    1696           0 :         uint32_t cntr_vdata_0;
    1697           0 :         ndr_print_struct(ndr, name, "vt_i2_safe_array");
    1698           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1699           0 :         ndr->depth++;
    1700           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
    1701           0 :         ndr_print_uint16(ndr, "ffeatures", r->ffeatures);
    1702           0 :         ndr_print_uint32(ndr, "cbelements", r->cbelements);
    1703           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
    1704           0 :         ndr->depth++;
    1705           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1706           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
    1707             :         }
    1708           0 :         ndr->depth--;
    1709           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
    1710           0 :         ndr->depth++;
    1711           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1712           0 :                 ndr_print_int16(ndr, "vdata", r->vdata[cntr_vdata_0]);
    1713             :         }
    1714           0 :         ndr->depth--;
    1715           0 :         ndr->depth--;
    1716             : }
    1717             : 
    1718           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_ui2_safe_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_ui2_safe_array *r)
    1719             : {
    1720           0 :         uint32_t cntr_rgsabound_0;
    1721           0 :         uint32_t cntr_vdata_0;
    1722           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1723           0 :         if (ndr_flags & NDR_SCALARS) {
    1724           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1725           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
    1726           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->ffeatures));
    1727           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbelements));
    1728           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1729           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1730             :                 }
    1731           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1732           0 :                         NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->vdata[cntr_vdata_0]));
    1733             :                 }
    1734           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1735             :         }
    1736           0 :         if (ndr_flags & NDR_BUFFERS) {
    1737           0 :         }
    1738           0 :         return NDR_ERR_SUCCESS;
    1739             : }
    1740             : 
    1741           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_ui2_safe_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_ui2_safe_array *r)
    1742             : {
    1743           0 :         uint32_t size_rgsabound_0 = 0;
    1744           0 :         uint32_t cntr_rgsabound_0;
    1745           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
    1746           0 :         uint32_t size_vdata_0 = 0;
    1747           0 :         uint32_t cntr_vdata_0;
    1748           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
    1749           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1750           0 :         if (ndr_flags & NDR_SCALARS) {
    1751           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1752           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
    1753           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->ffeatures));
    1754           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbelements));
    1755           0 :                 size_rgsabound_0 = r->cdims;
    1756           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
    1757           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1758           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
    1759           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
    1760           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1761             :                 }
    1762           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
    1763           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    1764           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
    1765           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1766           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
    1767           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
    1768           0 :                         NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
    1769             :                 }
    1770           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
    1771           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1772             :         }
    1773           0 :         if (ndr_flags & NDR_BUFFERS) {
    1774           0 :         }
    1775           0 :         return NDR_ERR_SUCCESS;
    1776             : }
    1777             : 
    1778           0 : static void ndr_print_flags_vt_ui2_safe_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_ui2_safe_array *r)
    1779             : {
    1780           0 :         ndr_print_vt_ui2_safe_array(ndr, name, r);
    1781           0 : }
    1782             : 
    1783           0 : _PUBLIC_ void ndr_print_vt_ui2_safe_array(struct ndr_print *ndr, const char *name, const struct vt_ui2_safe_array *r)
    1784             : {
    1785           0 :         uint32_t cntr_rgsabound_0;
    1786           0 :         uint32_t cntr_vdata_0;
    1787           0 :         ndr_print_struct(ndr, name, "vt_ui2_safe_array");
    1788           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1789           0 :         ndr->depth++;
    1790           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
    1791           0 :         ndr_print_uint16(ndr, "ffeatures", r->ffeatures);
    1792           0 :         ndr_print_uint32(ndr, "cbelements", r->cbelements);
    1793           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
    1794           0 :         ndr->depth++;
    1795           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1796           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
    1797             :         }
    1798           0 :         ndr->depth--;
    1799           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
    1800           0 :         ndr->depth++;
    1801           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1802           0 :                 ndr_print_uint16(ndr, "vdata", r->vdata[cntr_vdata_0]);
    1803             :         }
    1804           0 :         ndr->depth--;
    1805           0 :         ndr->depth--;
    1806             : }
    1807             : 
    1808           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_dlong_safe_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_dlong_safe_array *r)
    1809             : {
    1810           0 :         uint32_t cntr_rgsabound_0;
    1811           0 :         uint32_t cntr_vdata_0;
    1812           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1813           0 :         if (ndr_flags & NDR_SCALARS) {
    1814           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1815           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
    1816           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->ffeatures));
    1817           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbelements));
    1818           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1819           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1820             :                 }
    1821           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1822           0 :                         NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->vdata[cntr_vdata_0]));
    1823             :                 }
    1824           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1825             :         }
    1826           0 :         if (ndr_flags & NDR_BUFFERS) {
    1827           0 :         }
    1828           0 :         return NDR_ERR_SUCCESS;
    1829             : }
    1830             : 
    1831           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_dlong_safe_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_dlong_safe_array *r)
    1832             : {
    1833           0 :         uint32_t size_rgsabound_0 = 0;
    1834           0 :         uint32_t cntr_rgsabound_0;
    1835           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
    1836           0 :         uint32_t size_vdata_0 = 0;
    1837           0 :         uint32_t cntr_vdata_0;
    1838           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
    1839           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1840           0 :         if (ndr_flags & NDR_SCALARS) {
    1841           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1842           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
    1843           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->ffeatures));
    1844           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbelements));
    1845           0 :                 size_rgsabound_0 = r->cdims;
    1846           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
    1847           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1848           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
    1849           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
    1850           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1851             :                 }
    1852           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
    1853           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    1854           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
    1855           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1856           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
    1857           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
    1858           0 :                         NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
    1859             :                 }
    1860           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
    1861           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1862             :         }
    1863           0 :         if (ndr_flags & NDR_BUFFERS) {
    1864           0 :         }
    1865           0 :         return NDR_ERR_SUCCESS;
    1866             : }
    1867             : 
    1868           0 : static void ndr_print_flags_vt_dlong_safe_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_dlong_safe_array *r)
    1869             : {
    1870           0 :         ndr_print_vt_dlong_safe_array(ndr, name, r);
    1871           0 : }
    1872             : 
    1873           0 : _PUBLIC_ void ndr_print_vt_dlong_safe_array(struct ndr_print *ndr, const char *name, const struct vt_dlong_safe_array *r)
    1874             : {
    1875           0 :         uint32_t cntr_rgsabound_0;
    1876           0 :         uint32_t cntr_vdata_0;
    1877           0 :         ndr_print_struct(ndr, name, "vt_dlong_safe_array");
    1878           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1879           0 :         ndr->depth++;
    1880           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
    1881           0 :         ndr_print_uint16(ndr, "ffeatures", r->ffeatures);
    1882           0 :         ndr_print_uint32(ndr, "cbelements", r->cbelements);
    1883           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
    1884           0 :         ndr->depth++;
    1885           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1886           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
    1887             :         }
    1888           0 :         ndr->depth--;
    1889           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
    1890           0 :         ndr->depth++;
    1891           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1892           0 :                 ndr_print_dlong(ndr, "vdata", r->vdata[cntr_vdata_0]);
    1893             :         }
    1894           0 :         ndr->depth--;
    1895           0 :         ndr->depth--;
    1896             : }
    1897             : 
    1898           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_variant_wrap_safearray(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_variant_wrap_safearray *r)
    1899             : {
    1900           0 :         uint32_t cntr_rgsabound_0;
    1901           0 :         uint32_t cntr_vdata_0;
    1902           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    1903           0 :         if (ndr_flags & NDR_SCALARS) {
    1904           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    1905           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
    1906           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->ffeatures));
    1907           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbelements));
    1908           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1909           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1910             :                 }
    1911           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1912           0 :                         NDR_CHECK(ndr_push_vt_variant_wrap(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
    1913             :                 }
    1914           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    1915             :         }
    1916           0 :         if (ndr_flags & NDR_BUFFERS) {
    1917           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1918           0 :                         NDR_CHECK(ndr_push_vt_variant_wrap(ndr, NDR_BUFFERS, &r->vdata[cntr_vdata_0]));
    1919             :                 }
    1920             :         }
    1921           0 :         return NDR_ERR_SUCCESS;
    1922             : }
    1923             : 
    1924           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_variant_wrap_safearray(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_variant_wrap_safearray *r)
    1925             : {
    1926           0 :         uint32_t size_rgsabound_0 = 0;
    1927           0 :         uint32_t cntr_rgsabound_0;
    1928           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
    1929           0 :         uint32_t size_vdata_0 = 0;
    1930           0 :         uint32_t cntr_vdata_0;
    1931           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
    1932           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    1933           0 :         if (ndr_flags & NDR_SCALARS) {
    1934           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    1935           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
    1936           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->ffeatures));
    1937           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbelements));
    1938           0 :                 size_rgsabound_0 = r->cdims;
    1939           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
    1940           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1941           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
    1942           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
    1943           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    1944             :                 }
    1945           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
    1946           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    1947           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
    1948           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1949           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
    1950           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
    1951           0 :                         NDR_CHECK(ndr_pull_vt_variant_wrap(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
    1952             :                 }
    1953           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
    1954           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    1955             :         }
    1956           0 :         if (ndr_flags & NDR_BUFFERS) {
    1957           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    1958           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
    1959           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
    1960           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
    1961           0 :                         NDR_CHECK(ndr_pull_vt_variant_wrap(ndr, NDR_BUFFERS, &r->vdata[cntr_vdata_0]));
    1962             :                 }
    1963           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
    1964           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
    1965             :                 }
    1966             :         }
    1967           0 :         return NDR_ERR_SUCCESS;
    1968             : }
    1969             : 
    1970           0 : static void ndr_print_flags_vt_variant_wrap_safearray(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_variant_wrap_safearray *r)
    1971             : {
    1972           0 :         ndr_print_vt_variant_wrap_safearray(ndr, name, r);
    1973           0 : }
    1974             : 
    1975           0 : _PUBLIC_ void ndr_print_vt_variant_wrap_safearray(struct ndr_print *ndr, const char *name, const struct vt_variant_wrap_safearray *r)
    1976             : {
    1977           0 :         uint32_t cntr_rgsabound_0;
    1978           0 :         uint32_t cntr_vdata_0;
    1979           0 :         ndr_print_struct(ndr, name, "vt_variant_wrap_safearray");
    1980           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    1981           0 :         ndr->depth++;
    1982           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
    1983           0 :         ndr_print_uint16(ndr, "ffeatures", r->ffeatures);
    1984           0 :         ndr_print_uint32(ndr, "cbelements", r->cbelements);
    1985           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
    1986           0 :         ndr->depth++;
    1987           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    1988           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
    1989             :         }
    1990           0 :         ndr->depth--;
    1991           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
    1992           0 :         ndr->depth++;
    1993           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    1994           0 :                 ndr_print_vt_variant_wrap(ndr, "vdata", &r->vdata[cntr_vdata_0]);
    1995             :         }
    1996           0 :         ndr->depth--;
    1997           0 :         ndr->depth--;
    1998             : }
    1999             : 
    2000           0 : _PUBLIC_ enum ndr_err_code ndr_push_variant_types(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union variant_types *r)
    2001             : {
    2002           0 :         uint32_t level;
    2003           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    2004           0 :         if (ndr_flags & NDR_SCALARS) {
    2005             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    2006           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    2007           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    2008           0 :                 switch (level) {
    2009           0 :                         case VT_I1: {
    2010           0 :                                 NDR_CHECK(ndr_push_int8(ndr, NDR_SCALARS, r->vt_i1));
    2011           0 :                         break; }
    2012             : 
    2013           0 :                         case VT_I1|VT_ARRAY: {
    2014           0 :                                 NDR_CHECK(ndr_push_vt_i1_safe_array(ndr, NDR_SCALARS, &r->vt_i1_array));
    2015           0 :                         break; }
    2016             : 
    2017           0 :                         case VT_I1|VT_VECTOR: {
    2018           0 :                                 NDR_CHECK(ndr_push_vt_i1_vec(ndr, NDR_SCALARS, &r->vt_i1_vec));
    2019           0 :                         break; }
    2020             : 
    2021           0 :                         case VT_UI1: {
    2022           0 :                                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->vt_ui1));
    2023           0 :                         break; }
    2024             : 
    2025           0 :                         case VT_UI1|VT_ARRAY: {
    2026           0 :                                 NDR_CHECK(ndr_push_vt_ui1_safe_array(ndr, NDR_SCALARS, &r->vt_ui1_array));
    2027           0 :                         break; }
    2028             : 
    2029           0 :                         case VT_UI1|VT_VECTOR: {
    2030           0 :                                 NDR_CHECK(ndr_push_vt_ui1_vec(ndr, NDR_SCALARS, &r->vt_ui1_vec));
    2031           0 :                         break; }
    2032             : 
    2033           0 :                         case VT_I2: {
    2034           0 :                                 NDR_CHECK(ndr_push_int16(ndr, NDR_SCALARS, r->vt_i2));
    2035           0 :                         break; }
    2036             : 
    2037           0 :                         case VT_I2|VT_ARRAY: {
    2038           0 :                                 NDR_CHECK(ndr_push_vt_i2_safe_array(ndr, NDR_SCALARS, &r->vt_i2_array));
    2039           0 :                         break; }
    2040             : 
    2041           0 :                         case VT_I2|VT_VECTOR: {
    2042           0 :                                 NDR_CHECK(ndr_push_vt_i2_vec(ndr, NDR_SCALARS, &r->vt_i2_vec));
    2043           0 :                         break; }
    2044             : 
    2045           0 :                         case VT_UI2: {
    2046           0 :                                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->vt_ui2));
    2047           0 :                         break; }
    2048             : 
    2049           0 :                         case VT_UI2|VT_ARRAY: {
    2050           0 :                                 NDR_CHECK(ndr_push_vt_ui2_safe_array(ndr, NDR_SCALARS, &r->vt_ui2_array));
    2051           0 :                         break; }
    2052             : 
    2053           0 :                         case VT_UI2|VT_VECTOR: {
    2054           0 :                                 NDR_CHECK(ndr_push_vt_ui2_vec(ndr, NDR_SCALARS, &r->vt_ui2_vec));
    2055           0 :                         break; }
    2056             : 
    2057           0 :                         case VT_BOOL: {
    2058           0 :                                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->vt_bool));
    2059           0 :                         break; }
    2060             : 
    2061           0 :                         case VT_BOOL|VT_ARRAY: {
    2062           0 :                                 NDR_CHECK(ndr_push_vt_ui2_safe_array(ndr, NDR_SCALARS, &r->vt_bool_array));
    2063           0 :                         break; }
    2064             : 
    2065           0 :                         case VT_BOOL|VT_VECTOR: {
    2066           0 :                                 NDR_CHECK(ndr_push_vt_ui2_vec(ndr, NDR_SCALARS, &r->vt_bool_vec));
    2067           0 :                         break; }
    2068             : 
    2069           0 :                         case VT_I4: {
    2070           0 :                                 NDR_CHECK(ndr_push_int32(ndr, NDR_SCALARS, r->vt_i4));
    2071           0 :                         break; }
    2072             : 
    2073           0 :                         case VT_I4|VT_VECTOR: {
    2074           0 :                                 NDR_CHECK(ndr_push_vt_i4_vec(ndr, NDR_SCALARS, &r->vt_i4_vec));
    2075           0 :                         break; }
    2076             : 
    2077           0 :                         case VT_I4|VT_ARRAY: {
    2078           0 :                                 NDR_CHECK(ndr_push_vt_i4_safe_array(ndr, NDR_SCALARS, &r->vt_i4_array));
    2079           0 :                         break; }
    2080             : 
    2081           0 :                         case VT_UI4: {
    2082           0 :                                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vt_ui4));
    2083           0 :                         break; }
    2084             : 
    2085           0 :                         case VT_UI4|VT_VECTOR: {
    2086           0 :                                 NDR_CHECK(ndr_push_vt_ui4_vec(ndr, NDR_SCALARS, &r->vt_ui4_vec));
    2087           0 :                         break; }
    2088             : 
    2089           0 :                         case VT_UI4|VT_ARRAY: {
    2090           0 :                                 NDR_CHECK(ndr_push_vt_ui4_safe_array(ndr, NDR_SCALARS, &r->vt_ui4_array));
    2091           0 :                         break; }
    2092             : 
    2093           0 :                         case VT_R4: {
    2094           0 :                                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vt_r4));
    2095           0 :                         break; }
    2096             : 
    2097           0 :                         case VT_R4|VT_VECTOR: {
    2098           0 :                                 NDR_CHECK(ndr_push_vt_i4_vec(ndr, NDR_SCALARS, &r->vt_r4_vec));
    2099           0 :                         break; }
    2100             : 
    2101           0 :                         case VT_R4|VT_ARRAY: {
    2102           0 :                                 NDR_CHECK(ndr_push_vt_i4_safe_array(ndr, NDR_SCALARS, &r->vt_r4_array));
    2103           0 :                         break; }
    2104             : 
    2105           0 :                         case VT_INT: {
    2106           0 :                                 NDR_CHECK(ndr_push_int32(ndr, NDR_SCALARS, r->vt_int));
    2107           0 :                         break; }
    2108             : 
    2109           0 :                         case VT_INT|VT_ARRAY: {
    2110           0 :                                 NDR_CHECK(ndr_push_vt_i4_safe_array(ndr, NDR_SCALARS, &r->vt_int_array));
    2111           0 :                         break; }
    2112             : 
    2113           0 :                         case VT_UINT: {
    2114           0 :                                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vt_uint));
    2115           0 :                         break; }
    2116             : 
    2117           0 :                         case VT_UINT|VT_ARRAY: {
    2118           0 :                                 NDR_CHECK(ndr_push_vt_ui4_safe_array(ndr, NDR_SCALARS, &r->vt_uint_array));
    2119           0 :                         break; }
    2120             : 
    2121           0 :                         case VT_ERROR: {
    2122           0 :                                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vt_error));
    2123           0 :                         break; }
    2124             : 
    2125           0 :                         case VT_ERROR|VT_VECTOR: {
    2126           0 :                                 NDR_CHECK(ndr_push_vt_ui4_vec(ndr, NDR_SCALARS, &r->vt_error_vec));
    2127           0 :                         break; }
    2128             : 
    2129           0 :                         case VT_ERROR|VT_ARRAY: {
    2130           0 :                                 NDR_CHECK(ndr_push_vt_ui4_safe_array(ndr, NDR_SCALARS, &r->vt_error_array));
    2131           0 :                         break; }
    2132             : 
    2133           0 :                         case VT_I8: {
    2134           0 :                                 NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->vt_i8));
    2135           0 :                         break; }
    2136             : 
    2137           0 :                         case VT_I8|VT_VECTOR: {
    2138           0 :                                 NDR_CHECK(ndr_push_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_i8_vec));
    2139           0 :                         break; }
    2140             : 
    2141           0 :                         case VT_UI8: {
    2142           0 :                                 NDR_CHECK(ndr_push_udlong(ndr, NDR_SCALARS, r->vt_ui8));
    2143           0 :                         break; }
    2144             : 
    2145           0 :                         case VT_UI8|VT_VECTOR: {
    2146           0 :                                 NDR_CHECK(ndr_push_vt_udlong_vec(ndr, NDR_SCALARS, &r->vt_ui8_vec));
    2147           0 :                         break; }
    2148             : 
    2149           0 :                         case VT_R8: {
    2150           0 :                                 NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->vt_r8));
    2151           0 :                         break; }
    2152             : 
    2153           0 :                         case VT_R8|VT_VECTOR: {
    2154           0 :                                 NDR_CHECK(ndr_push_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_r8_vec));
    2155           0 :                         break; }
    2156             : 
    2157           0 :                         case VT_R8|VT_ARRAY: {
    2158           0 :                                 NDR_CHECK(ndr_push_vt_dlong_safe_array(ndr, NDR_SCALARS, &r->vt_r8_array));
    2159           0 :                         break; }
    2160             : 
    2161           0 :                         case VT_CY: {
    2162           0 :                                 NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->vt_cy));
    2163           0 :                         break; }
    2164             : 
    2165           0 :                         case VT_CY|VT_VECTOR: {
    2166           0 :                                 NDR_CHECK(ndr_push_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_cy_vec));
    2167           0 :                         break; }
    2168             : 
    2169           0 :                         case VT_CY|VT_ARRAY: {
    2170           0 :                                 NDR_CHECK(ndr_push_vt_dlong_safe_array(ndr, NDR_SCALARS, &r->vt_cy_array));
    2171           0 :                         break; }
    2172             : 
    2173           0 :                         case VT_DATE: {
    2174           0 :                                 NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->vt_date));
    2175           0 :                         break; }
    2176             : 
    2177           0 :                         case VT_DATE|VT_VECTOR: {
    2178           0 :                                 NDR_CHECK(ndr_push_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_date_vec));
    2179           0 :                         break; }
    2180             : 
    2181           0 :                         case VT_DATE|VT_ARRAY: {
    2182           0 :                                 NDR_CHECK(ndr_push_vt_dlong_safe_array(ndr, NDR_SCALARS, &r->vt_date_array));
    2183           0 :                         break; }
    2184             : 
    2185           0 :                         case VT_FILETIME: {
    2186           0 :                                 NDR_CHECK(ndr_push_udlong(ndr, NDR_SCALARS, r->vt_filetime));
    2187           0 :                         break; }
    2188             : 
    2189           0 :                         case VT_FILETIME|VT_VECTOR: {
    2190           0 :                                 NDR_CHECK(ndr_push_vt_udlong_vec(ndr, NDR_SCALARS, &r->vt_filetime_vec));
    2191           0 :                         break; }
    2192             : 
    2193           0 :                         case VT_BSTR: {
    2194           0 :                                 NDR_CHECK(ndr_push_vt_bstr(ndr, NDR_SCALARS, &r->vt_bstr));
    2195           0 :                         break; }
    2196             : 
    2197           0 :                         case VT_BSTR|VT_VECTOR: {
    2198           0 :                                 NDR_CHECK(ndr_push_vt_bstr_vec(ndr, NDR_SCALARS, &r->vt_bstr_v));
    2199           0 :                         break; }
    2200             : 
    2201           0 :                         case VT_BSTR|VT_ARRAY: {
    2202           0 :                                 NDR_CHECK(ndr_push_vt_bstr_safe_array(ndr, NDR_SCALARS, &r->vt_bstr_array));
    2203           0 :                         break; }
    2204             : 
    2205           0 :                         case VT_LPWSTR: {
    2206           0 :                                 NDR_CHECK(ndr_push_vt_lpwstr(ndr, NDR_SCALARS, &r->vt_lpwstr));
    2207           0 :                         break; }
    2208             : 
    2209           0 :                         case VT_LPWSTR|VT_VECTOR: {
    2210           0 :                                 NDR_CHECK(ndr_push_vt_lpwstr_vec(ndr, NDR_SCALARS, &r->vt_lpwstr_v));
    2211           0 :                         break; }
    2212             : 
    2213           0 :                         case VT_COMPRESSED_LPWSTR: {
    2214           0 :                                 NDR_CHECK(ndr_push_vt_compressed_lpwstr(ndr, NDR_SCALARS, &r->vt_compressed_lpwstr));
    2215           0 :                         break; }
    2216             : 
    2217           0 :                         case VT_COMPRESSED_LPWSTR|VT_VECTOR: {
    2218           0 :                                 NDR_CHECK(ndr_push_vt_compressed_lpwstr_vec(ndr, NDR_SCALARS, &r->vt_compresseed_lpwstr_v));
    2219           0 :                         break; }
    2220             : 
    2221           0 :                         case VT_DECIMAL: {
    2222           0 :                                 NDR_CHECK(ndr_push_vt_decimal(ndr, NDR_SCALARS, &r->vt_decimal));
    2223           0 :                         break; }
    2224             : 
    2225           0 :                         case VT_DECIMAL|VT_VECTOR: {
    2226           0 :                                 NDR_CHECK(ndr_push_vt_decimal_vec(ndr, NDR_SCALARS, &r->vt_decimal_v));
    2227           0 :                         break; }
    2228             : 
    2229           0 :                         case VT_CLSID: {
    2230           0 :                                 NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->vt_clid));
    2231           0 :                         break; }
    2232             : 
    2233           0 :                         case VT_CLSID|VT_VECTOR: {
    2234           0 :                                 NDR_CHECK(ndr_push_vt_clsid_vec(ndr, NDR_SCALARS, &r->vt_clsid_v));
    2235           0 :                         break; }
    2236             : 
    2237           0 :                         case VT_BLOB: {
    2238           0 :                                 NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->vt_blob));
    2239           0 :                         break; }
    2240             : 
    2241           0 :                         case VT_BLOB_OBJECT: {
    2242           0 :                                 NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->vt_blob_object));
    2243           0 :                         break; }
    2244             : 
    2245           0 :                         case VT_NULL: {
    2246           0 :                         break; }
    2247             : 
    2248           0 :                         case VT_EMPTY: {
    2249           0 :                         break; }
    2250             : 
    2251           0 :                         case VT_VARIANT: {
    2252           0 :                                 NDR_CHECK(ndr_push_vt_variant_wrap(ndr, NDR_SCALARS, &r->vt_variant_wrap));
    2253           0 :                         break; }
    2254             : 
    2255           0 :                         case VT_VARIANT|VT_VECTOR: {
    2256           0 :                                 NDR_CHECK(ndr_push_vt_variant_wrap_vec(ndr, NDR_SCALARS, &r->vt_variant_wrap_vec));
    2257           0 :                         break; }
    2258             : 
    2259           0 :                         case VT_VARIANT|VT_ARRAY: {
    2260           0 :                                 NDR_CHECK(ndr_push_vt_variant_wrap_safearray(ndr, NDR_SCALARS, &r->vt_variant_wrap_array));
    2261           0 :                         break; }
    2262             : 
    2263           0 :                         default:
    2264           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    2265             :                 }
    2266             :         }
    2267           0 :         if (ndr_flags & NDR_BUFFERS) {
    2268           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    2269             :                         /* We didn't get it above, and the token is not needed after this. */
    2270           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    2271             :                 }
    2272           0 :                 switch (level) {
    2273           0 :                         case VT_I1:
    2274           0 :                         break;
    2275             : 
    2276           0 :                         case VT_I1|VT_ARRAY:
    2277           0 :                         break;
    2278             : 
    2279           0 :                         case VT_I1|VT_VECTOR:
    2280           0 :                         break;
    2281             : 
    2282           0 :                         case VT_UI1:
    2283           0 :                         break;
    2284             : 
    2285           0 :                         case VT_UI1|VT_ARRAY:
    2286           0 :                         break;
    2287             : 
    2288           0 :                         case VT_UI1|VT_VECTOR:
    2289           0 :                         break;
    2290             : 
    2291           0 :                         case VT_I2:
    2292           0 :                         break;
    2293             : 
    2294           0 :                         case VT_I2|VT_ARRAY:
    2295           0 :                         break;
    2296             : 
    2297           0 :                         case VT_I2|VT_VECTOR:
    2298           0 :                         break;
    2299             : 
    2300           0 :                         case VT_UI2:
    2301           0 :                         break;
    2302             : 
    2303           0 :                         case VT_UI2|VT_ARRAY:
    2304           0 :                         break;
    2305             : 
    2306           0 :                         case VT_UI2|VT_VECTOR:
    2307           0 :                         break;
    2308             : 
    2309           0 :                         case VT_BOOL:
    2310           0 :                         break;
    2311             : 
    2312           0 :                         case VT_BOOL|VT_ARRAY:
    2313           0 :                         break;
    2314             : 
    2315           0 :                         case VT_BOOL|VT_VECTOR:
    2316           0 :                         break;
    2317             : 
    2318           0 :                         case VT_I4:
    2319           0 :                         break;
    2320             : 
    2321           0 :                         case VT_I4|VT_VECTOR:
    2322           0 :                         break;
    2323             : 
    2324           0 :                         case VT_I4|VT_ARRAY:
    2325           0 :                         break;
    2326             : 
    2327           0 :                         case VT_UI4:
    2328           0 :                         break;
    2329             : 
    2330           0 :                         case VT_UI4|VT_VECTOR:
    2331           0 :                         break;
    2332             : 
    2333           0 :                         case VT_UI4|VT_ARRAY:
    2334           0 :                         break;
    2335             : 
    2336           0 :                         case VT_R4:
    2337           0 :                         break;
    2338             : 
    2339           0 :                         case VT_R4|VT_VECTOR:
    2340           0 :                         break;
    2341             : 
    2342           0 :                         case VT_R4|VT_ARRAY:
    2343           0 :                         break;
    2344             : 
    2345           0 :                         case VT_INT:
    2346           0 :                         break;
    2347             : 
    2348           0 :                         case VT_INT|VT_ARRAY:
    2349           0 :                         break;
    2350             : 
    2351           0 :                         case VT_UINT:
    2352           0 :                         break;
    2353             : 
    2354           0 :                         case VT_UINT|VT_ARRAY:
    2355           0 :                         break;
    2356             : 
    2357           0 :                         case VT_ERROR:
    2358           0 :                         break;
    2359             : 
    2360           0 :                         case VT_ERROR|VT_VECTOR:
    2361           0 :                         break;
    2362             : 
    2363           0 :                         case VT_ERROR|VT_ARRAY:
    2364           0 :                         break;
    2365             : 
    2366           0 :                         case VT_I8:
    2367           0 :                         break;
    2368             : 
    2369           0 :                         case VT_I8|VT_VECTOR:
    2370           0 :                         break;
    2371             : 
    2372           0 :                         case VT_UI8:
    2373           0 :                         break;
    2374             : 
    2375           0 :                         case VT_UI8|VT_VECTOR:
    2376           0 :                         break;
    2377             : 
    2378           0 :                         case VT_R8:
    2379           0 :                         break;
    2380             : 
    2381           0 :                         case VT_R8|VT_VECTOR:
    2382           0 :                         break;
    2383             : 
    2384           0 :                         case VT_R8|VT_ARRAY:
    2385           0 :                         break;
    2386             : 
    2387           0 :                         case VT_CY:
    2388           0 :                         break;
    2389             : 
    2390           0 :                         case VT_CY|VT_VECTOR:
    2391           0 :                         break;
    2392             : 
    2393           0 :                         case VT_CY|VT_ARRAY:
    2394           0 :                         break;
    2395             : 
    2396           0 :                         case VT_DATE:
    2397           0 :                         break;
    2398             : 
    2399           0 :                         case VT_DATE|VT_VECTOR:
    2400           0 :                         break;
    2401             : 
    2402           0 :                         case VT_DATE|VT_ARRAY:
    2403           0 :                         break;
    2404             : 
    2405           0 :                         case VT_FILETIME:
    2406           0 :                         break;
    2407             : 
    2408           0 :                         case VT_FILETIME|VT_VECTOR:
    2409           0 :                         break;
    2410             : 
    2411           0 :                         case VT_BSTR:
    2412           0 :                         break;
    2413             : 
    2414           0 :                         case VT_BSTR|VT_VECTOR:
    2415           0 :                         break;
    2416             : 
    2417           0 :                         case VT_BSTR|VT_ARRAY:
    2418           0 :                         break;
    2419             : 
    2420           0 :                         case VT_LPWSTR:
    2421           0 :                         break;
    2422             : 
    2423           0 :                         case VT_LPWSTR|VT_VECTOR:
    2424           0 :                         break;
    2425             : 
    2426           0 :                         case VT_COMPRESSED_LPWSTR:
    2427           0 :                         break;
    2428             : 
    2429           0 :                         case VT_COMPRESSED_LPWSTR|VT_VECTOR:
    2430           0 :                         break;
    2431             : 
    2432           0 :                         case VT_DECIMAL:
    2433           0 :                         break;
    2434             : 
    2435           0 :                         case VT_DECIMAL|VT_VECTOR:
    2436           0 :                         break;
    2437             : 
    2438           0 :                         case VT_CLSID:
    2439           0 :                         break;
    2440             : 
    2441           0 :                         case VT_CLSID|VT_VECTOR:
    2442           0 :                         break;
    2443             : 
    2444           0 :                         case VT_BLOB:
    2445           0 :                         break;
    2446             : 
    2447           0 :                         case VT_BLOB_OBJECT:
    2448           0 :                         break;
    2449             : 
    2450           0 :                         case VT_NULL:
    2451           0 :                         break;
    2452             : 
    2453           0 :                         case VT_EMPTY:
    2454           0 :                         break;
    2455             : 
    2456           0 :                         case VT_VARIANT:
    2457           0 :                                 NDR_CHECK(ndr_push_vt_variant_wrap(ndr, NDR_BUFFERS, &r->vt_variant_wrap));
    2458           0 :                         break;
    2459             : 
    2460           0 :                         case VT_VARIANT|VT_VECTOR:
    2461           0 :                                 NDR_CHECK(ndr_push_vt_variant_wrap_vec(ndr, NDR_BUFFERS, &r->vt_variant_wrap_vec));
    2462           0 :                         break;
    2463             : 
    2464           0 :                         case VT_VARIANT|VT_ARRAY:
    2465           0 :                                 NDR_CHECK(ndr_push_vt_variant_wrap_safearray(ndr, NDR_BUFFERS, &r->vt_variant_wrap_array));
    2466           0 :                         break;
    2467             : 
    2468           0 :                         default:
    2469           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    2470             :                 }
    2471             :         }
    2472           0 :         return NDR_ERR_SUCCESS;
    2473             : }
    2474             : 
    2475           0 : _PUBLIC_ enum ndr_err_code ndr_pull_variant_types(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union variant_types *r)
    2476             : {
    2477           0 :         uint32_t level;
    2478           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    2479           0 :         if (ndr_flags & NDR_SCALARS) {
    2480             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    2481           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    2482           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    2483           0 :                 switch (level) {
    2484           0 :                         case VT_I1: {
    2485           0 :                                 NDR_CHECK(ndr_pull_int8(ndr, NDR_SCALARS, &r->vt_i1));
    2486           0 :                         break; }
    2487             : 
    2488           0 :                         case VT_I1|VT_ARRAY: {
    2489           0 :                                 NDR_CHECK(ndr_pull_vt_i1_safe_array(ndr, NDR_SCALARS, &r->vt_i1_array));
    2490           0 :                         break; }
    2491             : 
    2492           0 :                         case VT_I1|VT_VECTOR: {
    2493           0 :                                 NDR_CHECK(ndr_pull_vt_i1_vec(ndr, NDR_SCALARS, &r->vt_i1_vec));
    2494           0 :                         break; }
    2495             : 
    2496           0 :                         case VT_UI1: {
    2497           0 :                                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->vt_ui1));
    2498           0 :                         break; }
    2499             : 
    2500           0 :                         case VT_UI1|VT_ARRAY: {
    2501           0 :                                 NDR_CHECK(ndr_pull_vt_ui1_safe_array(ndr, NDR_SCALARS, &r->vt_ui1_array));
    2502           0 :                         break; }
    2503             : 
    2504           0 :                         case VT_UI1|VT_VECTOR: {
    2505           0 :                                 NDR_CHECK(ndr_pull_vt_ui1_vec(ndr, NDR_SCALARS, &r->vt_ui1_vec));
    2506           0 :                         break; }
    2507             : 
    2508           0 :                         case VT_I2: {
    2509           0 :                                 NDR_CHECK(ndr_pull_int16(ndr, NDR_SCALARS, &r->vt_i2));
    2510           0 :                         break; }
    2511             : 
    2512           0 :                         case VT_I2|VT_ARRAY: {
    2513           0 :                                 NDR_CHECK(ndr_pull_vt_i2_safe_array(ndr, NDR_SCALARS, &r->vt_i2_array));
    2514           0 :                         break; }
    2515             : 
    2516           0 :                         case VT_I2|VT_VECTOR: {
    2517           0 :                                 NDR_CHECK(ndr_pull_vt_i2_vec(ndr, NDR_SCALARS, &r->vt_i2_vec));
    2518           0 :                         break; }
    2519             : 
    2520           0 :                         case VT_UI2: {
    2521           0 :                                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->vt_ui2));
    2522           0 :                         break; }
    2523             : 
    2524           0 :                         case VT_UI2|VT_ARRAY: {
    2525           0 :                                 NDR_CHECK(ndr_pull_vt_ui2_safe_array(ndr, NDR_SCALARS, &r->vt_ui2_array));
    2526           0 :                         break; }
    2527             : 
    2528           0 :                         case VT_UI2|VT_VECTOR: {
    2529           0 :                                 NDR_CHECK(ndr_pull_vt_ui2_vec(ndr, NDR_SCALARS, &r->vt_ui2_vec));
    2530           0 :                         break; }
    2531             : 
    2532           0 :                         case VT_BOOL: {
    2533           0 :                                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->vt_bool));
    2534           0 :                         break; }
    2535             : 
    2536           0 :                         case VT_BOOL|VT_ARRAY: {
    2537           0 :                                 NDR_CHECK(ndr_pull_vt_ui2_safe_array(ndr, NDR_SCALARS, &r->vt_bool_array));
    2538           0 :                         break; }
    2539             : 
    2540           0 :                         case VT_BOOL|VT_VECTOR: {
    2541           0 :                                 NDR_CHECK(ndr_pull_vt_ui2_vec(ndr, NDR_SCALARS, &r->vt_bool_vec));
    2542           0 :                         break; }
    2543             : 
    2544           0 :                         case VT_I4: {
    2545           0 :                                 NDR_CHECK(ndr_pull_int32(ndr, NDR_SCALARS, &r->vt_i4));
    2546           0 :                         break; }
    2547             : 
    2548           0 :                         case VT_I4|VT_VECTOR: {
    2549           0 :                                 NDR_CHECK(ndr_pull_vt_i4_vec(ndr, NDR_SCALARS, &r->vt_i4_vec));
    2550           0 :                         break; }
    2551             : 
    2552           0 :                         case VT_I4|VT_ARRAY: {
    2553           0 :                                 NDR_CHECK(ndr_pull_vt_i4_safe_array(ndr, NDR_SCALARS, &r->vt_i4_array));
    2554           0 :                         break; }
    2555             : 
    2556           0 :                         case VT_UI4: {
    2557           0 :                                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vt_ui4));
    2558           0 :                         break; }
    2559             : 
    2560           0 :                         case VT_UI4|VT_VECTOR: {
    2561           0 :                                 NDR_CHECK(ndr_pull_vt_ui4_vec(ndr, NDR_SCALARS, &r->vt_ui4_vec));
    2562           0 :                         break; }
    2563             : 
    2564           0 :                         case VT_UI4|VT_ARRAY: {
    2565           0 :                                 NDR_CHECK(ndr_pull_vt_ui4_safe_array(ndr, NDR_SCALARS, &r->vt_ui4_array));
    2566           0 :                         break; }
    2567             : 
    2568           0 :                         case VT_R4: {
    2569           0 :                                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vt_r4));
    2570           0 :                         break; }
    2571             : 
    2572           0 :                         case VT_R4|VT_VECTOR: {
    2573           0 :                                 NDR_CHECK(ndr_pull_vt_i4_vec(ndr, NDR_SCALARS, &r->vt_r4_vec));
    2574           0 :                         break; }
    2575             : 
    2576           0 :                         case VT_R4|VT_ARRAY: {
    2577           0 :                                 NDR_CHECK(ndr_pull_vt_i4_safe_array(ndr, NDR_SCALARS, &r->vt_r4_array));
    2578           0 :                         break; }
    2579             : 
    2580           0 :                         case VT_INT: {
    2581           0 :                                 NDR_CHECK(ndr_pull_int32(ndr, NDR_SCALARS, &r->vt_int));
    2582           0 :                         break; }
    2583             : 
    2584           0 :                         case VT_INT|VT_ARRAY: {
    2585           0 :                                 NDR_CHECK(ndr_pull_vt_i4_safe_array(ndr, NDR_SCALARS, &r->vt_int_array));
    2586           0 :                         break; }
    2587             : 
    2588           0 :                         case VT_UINT: {
    2589           0 :                                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vt_uint));
    2590           0 :                         break; }
    2591             : 
    2592           0 :                         case VT_UINT|VT_ARRAY: {
    2593           0 :                                 NDR_CHECK(ndr_pull_vt_ui4_safe_array(ndr, NDR_SCALARS, &r->vt_uint_array));
    2594           0 :                         break; }
    2595             : 
    2596           0 :                         case VT_ERROR: {
    2597           0 :                                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vt_error));
    2598           0 :                         break; }
    2599             : 
    2600           0 :                         case VT_ERROR|VT_VECTOR: {
    2601           0 :                                 NDR_CHECK(ndr_pull_vt_ui4_vec(ndr, NDR_SCALARS, &r->vt_error_vec));
    2602           0 :                         break; }
    2603             : 
    2604           0 :                         case VT_ERROR|VT_ARRAY: {
    2605           0 :                                 NDR_CHECK(ndr_pull_vt_ui4_safe_array(ndr, NDR_SCALARS, &r->vt_error_array));
    2606           0 :                         break; }
    2607             : 
    2608           0 :                         case VT_I8: {
    2609           0 :                                 NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->vt_i8));
    2610           0 :                         break; }
    2611             : 
    2612           0 :                         case VT_I8|VT_VECTOR: {
    2613           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_i8_vec));
    2614           0 :                         break; }
    2615             : 
    2616           0 :                         case VT_UI8: {
    2617           0 :                                 NDR_CHECK(ndr_pull_udlong(ndr, NDR_SCALARS, &r->vt_ui8));
    2618           0 :                         break; }
    2619             : 
    2620           0 :                         case VT_UI8|VT_VECTOR: {
    2621           0 :                                 NDR_CHECK(ndr_pull_vt_udlong_vec(ndr, NDR_SCALARS, &r->vt_ui8_vec));
    2622           0 :                         break; }
    2623             : 
    2624           0 :                         case VT_R8: {
    2625           0 :                                 NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->vt_r8));
    2626           0 :                         break; }
    2627             : 
    2628           0 :                         case VT_R8|VT_VECTOR: {
    2629           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_r8_vec));
    2630           0 :                         break; }
    2631             : 
    2632           0 :                         case VT_R8|VT_ARRAY: {
    2633           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_safe_array(ndr, NDR_SCALARS, &r->vt_r8_array));
    2634           0 :                         break; }
    2635             : 
    2636           0 :                         case VT_CY: {
    2637           0 :                                 NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->vt_cy));
    2638           0 :                         break; }
    2639             : 
    2640           0 :                         case VT_CY|VT_VECTOR: {
    2641           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_cy_vec));
    2642           0 :                         break; }
    2643             : 
    2644           0 :                         case VT_CY|VT_ARRAY: {
    2645           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_safe_array(ndr, NDR_SCALARS, &r->vt_cy_array));
    2646           0 :                         break; }
    2647             : 
    2648           0 :                         case VT_DATE: {
    2649           0 :                                 NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->vt_date));
    2650           0 :                         break; }
    2651             : 
    2652           0 :                         case VT_DATE|VT_VECTOR: {
    2653           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_date_vec));
    2654           0 :                         break; }
    2655             : 
    2656           0 :                         case VT_DATE|VT_ARRAY: {
    2657           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_safe_array(ndr, NDR_SCALARS, &r->vt_date_array));
    2658           0 :                         break; }
    2659             : 
    2660           0 :                         case VT_FILETIME: {
    2661           0 :                                 NDR_CHECK(ndr_pull_udlong(ndr, NDR_SCALARS, &r->vt_filetime));
    2662           0 :                         break; }
    2663             : 
    2664           0 :                         case VT_FILETIME|VT_VECTOR: {
    2665           0 :                                 NDR_CHECK(ndr_pull_vt_udlong_vec(ndr, NDR_SCALARS, &r->vt_filetime_vec));
    2666           0 :                         break; }
    2667             : 
    2668           0 :                         case VT_BSTR: {
    2669           0 :                                 NDR_CHECK(ndr_pull_vt_bstr(ndr, NDR_SCALARS, &r->vt_bstr));
    2670           0 :                         break; }
    2671             : 
    2672           0 :                         case VT_BSTR|VT_VECTOR: {
    2673           0 :                                 NDR_CHECK(ndr_pull_vt_bstr_vec(ndr, NDR_SCALARS, &r->vt_bstr_v));
    2674           0 :                         break; }
    2675             : 
    2676           0 :                         case VT_BSTR|VT_ARRAY: {
    2677           0 :                                 NDR_CHECK(ndr_pull_vt_bstr_safe_array(ndr, NDR_SCALARS, &r->vt_bstr_array));
    2678           0 :                         break; }
    2679             : 
    2680           0 :                         case VT_LPWSTR: {
    2681           0 :                                 NDR_CHECK(ndr_pull_vt_lpwstr(ndr, NDR_SCALARS, &r->vt_lpwstr));
    2682           0 :                         break; }
    2683             : 
    2684           0 :                         case VT_LPWSTR|VT_VECTOR: {
    2685           0 :                                 NDR_CHECK(ndr_pull_vt_lpwstr_vec(ndr, NDR_SCALARS, &r->vt_lpwstr_v));
    2686           0 :                         break; }
    2687             : 
    2688           0 :                         case VT_COMPRESSED_LPWSTR: {
    2689           0 :                                 NDR_CHECK(ndr_pull_vt_compressed_lpwstr(ndr, NDR_SCALARS, &r->vt_compressed_lpwstr));
    2690           0 :                         break; }
    2691             : 
    2692           0 :                         case VT_COMPRESSED_LPWSTR|VT_VECTOR: {
    2693           0 :                                 NDR_CHECK(ndr_pull_vt_compressed_lpwstr_vec(ndr, NDR_SCALARS, &r->vt_compresseed_lpwstr_v));
    2694           0 :                         break; }
    2695             : 
    2696           0 :                         case VT_DECIMAL: {
    2697           0 :                                 NDR_CHECK(ndr_pull_vt_decimal(ndr, NDR_SCALARS, &r->vt_decimal));
    2698           0 :                         break; }
    2699             : 
    2700           0 :                         case VT_DECIMAL|VT_VECTOR: {
    2701           0 :                                 NDR_CHECK(ndr_pull_vt_decimal_vec(ndr, NDR_SCALARS, &r->vt_decimal_v));
    2702           0 :                         break; }
    2703             : 
    2704           0 :                         case VT_CLSID: {
    2705           0 :                                 NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->vt_clid));
    2706           0 :                         break; }
    2707             : 
    2708           0 :                         case VT_CLSID|VT_VECTOR: {
    2709           0 :                                 NDR_CHECK(ndr_pull_vt_clsid_vec(ndr, NDR_SCALARS, &r->vt_clsid_v));
    2710           0 :                         break; }
    2711             : 
    2712           0 :                         case VT_BLOB: {
    2713           0 :                                 NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->vt_blob));
    2714           0 :                         break; }
    2715             : 
    2716           0 :                         case VT_BLOB_OBJECT: {
    2717           0 :                                 NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->vt_blob_object));
    2718           0 :                         break; }
    2719             : 
    2720           0 :                         case VT_NULL: {
    2721           0 :                         break; }
    2722             : 
    2723           0 :                         case VT_EMPTY: {
    2724           0 :                         break; }
    2725             : 
    2726           0 :                         case VT_VARIANT: {
    2727           0 :                                 NDR_CHECK(ndr_pull_vt_variant_wrap(ndr, NDR_SCALARS, &r->vt_variant_wrap));
    2728           0 :                         break; }
    2729             : 
    2730           0 :                         case VT_VARIANT|VT_VECTOR: {
    2731           0 :                                 NDR_CHECK(ndr_pull_vt_variant_wrap_vec(ndr, NDR_SCALARS, &r->vt_variant_wrap_vec));
    2732           0 :                         break; }
    2733             : 
    2734           0 :                         case VT_VARIANT|VT_ARRAY: {
    2735           0 :                                 NDR_CHECK(ndr_pull_vt_variant_wrap_safearray(ndr, NDR_SCALARS, &r->vt_variant_wrap_array));
    2736           0 :                         break; }
    2737             : 
    2738           0 :                         default:
    2739           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    2740             :                 }
    2741             :         }
    2742           0 :         if (ndr_flags & NDR_BUFFERS) {
    2743           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    2744             :                         /* We didn't get it above, and the token is not needed after this. */
    2745           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    2746             :                 }
    2747           0 :                 switch (level) {
    2748           0 :                         case VT_I1:
    2749           0 :                         break;
    2750             : 
    2751           0 :                         case VT_I1|VT_ARRAY:
    2752           0 :                         break;
    2753             : 
    2754           0 :                         case VT_I1|VT_VECTOR:
    2755           0 :                         break;
    2756             : 
    2757           0 :                         case VT_UI1:
    2758           0 :                         break;
    2759             : 
    2760           0 :                         case VT_UI1|VT_ARRAY:
    2761           0 :                         break;
    2762             : 
    2763           0 :                         case VT_UI1|VT_VECTOR:
    2764           0 :                         break;
    2765             : 
    2766           0 :                         case VT_I2:
    2767           0 :                         break;
    2768             : 
    2769           0 :                         case VT_I2|VT_ARRAY:
    2770           0 :                         break;
    2771             : 
    2772           0 :                         case VT_I2|VT_VECTOR:
    2773           0 :                         break;
    2774             : 
    2775           0 :                         case VT_UI2:
    2776           0 :                         break;
    2777             : 
    2778           0 :                         case VT_UI2|VT_ARRAY:
    2779           0 :                         break;
    2780             : 
    2781           0 :                         case VT_UI2|VT_VECTOR:
    2782           0 :                         break;
    2783             : 
    2784           0 :                         case VT_BOOL:
    2785           0 :                         break;
    2786             : 
    2787           0 :                         case VT_BOOL|VT_ARRAY:
    2788           0 :                         break;
    2789             : 
    2790           0 :                         case VT_BOOL|VT_VECTOR:
    2791           0 :                         break;
    2792             : 
    2793           0 :                         case VT_I4:
    2794           0 :                         break;
    2795             : 
    2796           0 :                         case VT_I4|VT_VECTOR:
    2797           0 :                         break;
    2798             : 
    2799           0 :                         case VT_I4|VT_ARRAY:
    2800           0 :                         break;
    2801             : 
    2802           0 :                         case VT_UI4:
    2803           0 :                         break;
    2804             : 
    2805           0 :                         case VT_UI4|VT_VECTOR:
    2806           0 :                         break;
    2807             : 
    2808           0 :                         case VT_UI4|VT_ARRAY:
    2809           0 :                         break;
    2810             : 
    2811           0 :                         case VT_R4:
    2812           0 :                         break;
    2813             : 
    2814           0 :                         case VT_R4|VT_VECTOR:
    2815           0 :                         break;
    2816             : 
    2817           0 :                         case VT_R4|VT_ARRAY:
    2818           0 :                         break;
    2819             : 
    2820           0 :                         case VT_INT:
    2821           0 :                         break;
    2822             : 
    2823           0 :                         case VT_INT|VT_ARRAY:
    2824           0 :                         break;
    2825             : 
    2826           0 :                         case VT_UINT:
    2827           0 :                         break;
    2828             : 
    2829           0 :                         case VT_UINT|VT_ARRAY:
    2830           0 :                         break;
    2831             : 
    2832           0 :                         case VT_ERROR:
    2833           0 :                         break;
    2834             : 
    2835           0 :                         case VT_ERROR|VT_VECTOR:
    2836           0 :                         break;
    2837             : 
    2838           0 :                         case VT_ERROR|VT_ARRAY:
    2839           0 :                         break;
    2840             : 
    2841           0 :                         case VT_I8:
    2842           0 :                         break;
    2843             : 
    2844           0 :                         case VT_I8|VT_VECTOR:
    2845           0 :                         break;
    2846             : 
    2847           0 :                         case VT_UI8:
    2848           0 :                         break;
    2849             : 
    2850           0 :                         case VT_UI8|VT_VECTOR:
    2851           0 :                         break;
    2852             : 
    2853           0 :                         case VT_R8:
    2854           0 :                         break;
    2855             : 
    2856           0 :                         case VT_R8|VT_VECTOR:
    2857           0 :                         break;
    2858             : 
    2859           0 :                         case VT_R8|VT_ARRAY:
    2860           0 :                         break;
    2861             : 
    2862           0 :                         case VT_CY:
    2863           0 :                         break;
    2864             : 
    2865           0 :                         case VT_CY|VT_VECTOR:
    2866           0 :                         break;
    2867             : 
    2868           0 :                         case VT_CY|VT_ARRAY:
    2869           0 :                         break;
    2870             : 
    2871           0 :                         case VT_DATE:
    2872           0 :                         break;
    2873             : 
    2874           0 :                         case VT_DATE|VT_VECTOR:
    2875           0 :                         break;
    2876             : 
    2877           0 :                         case VT_DATE|VT_ARRAY:
    2878           0 :                         break;
    2879             : 
    2880           0 :                         case VT_FILETIME:
    2881           0 :                         break;
    2882             : 
    2883           0 :                         case VT_FILETIME|VT_VECTOR:
    2884           0 :                         break;
    2885             : 
    2886           0 :                         case VT_BSTR:
    2887           0 :                         break;
    2888             : 
    2889           0 :                         case VT_BSTR|VT_VECTOR:
    2890           0 :                         break;
    2891             : 
    2892           0 :                         case VT_BSTR|VT_ARRAY:
    2893           0 :                         break;
    2894             : 
    2895           0 :                         case VT_LPWSTR:
    2896           0 :                         break;
    2897             : 
    2898           0 :                         case VT_LPWSTR|VT_VECTOR:
    2899           0 :                         break;
    2900             : 
    2901           0 :                         case VT_COMPRESSED_LPWSTR:
    2902           0 :                         break;
    2903             : 
    2904           0 :                         case VT_COMPRESSED_LPWSTR|VT_VECTOR:
    2905           0 :                         break;
    2906             : 
    2907           0 :                         case VT_DECIMAL:
    2908           0 :                         break;
    2909             : 
    2910           0 :                         case VT_DECIMAL|VT_VECTOR:
    2911           0 :                         break;
    2912             : 
    2913           0 :                         case VT_CLSID:
    2914           0 :                         break;
    2915             : 
    2916           0 :                         case VT_CLSID|VT_VECTOR:
    2917           0 :                         break;
    2918             : 
    2919           0 :                         case VT_BLOB:
    2920           0 :                         break;
    2921             : 
    2922           0 :                         case VT_BLOB_OBJECT:
    2923           0 :                         break;
    2924             : 
    2925           0 :                         case VT_NULL:
    2926           0 :                         break;
    2927             : 
    2928           0 :                         case VT_EMPTY:
    2929           0 :                         break;
    2930             : 
    2931           0 :                         case VT_VARIANT:
    2932           0 :                                 NDR_CHECK(ndr_pull_vt_variant_wrap(ndr, NDR_BUFFERS, &r->vt_variant_wrap));
    2933           0 :                         break;
    2934             : 
    2935           0 :                         case VT_VARIANT|VT_VECTOR:
    2936           0 :                                 NDR_CHECK(ndr_pull_vt_variant_wrap_vec(ndr, NDR_BUFFERS, &r->vt_variant_wrap_vec));
    2937           0 :                         break;
    2938             : 
    2939           0 :                         case VT_VARIANT|VT_ARRAY:
    2940           0 :                                 NDR_CHECK(ndr_pull_vt_variant_wrap_safearray(ndr, NDR_BUFFERS, &r->vt_variant_wrap_array));
    2941           0 :                         break;
    2942             : 
    2943           0 :                         default:
    2944           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    2945             :                 }
    2946             :         }
    2947           0 :         return NDR_ERR_SUCCESS;
    2948             : }
    2949             : 
    2950           0 : _PUBLIC_ void ndr_print_variant_types(struct ndr_print *ndr, const char *name, const union variant_types *r)
    2951             : {
    2952           0 :         uint32_t level;
    2953           0 :         level = ndr_print_steal_switch_value(ndr, r);
    2954           0 :         ndr_print_union(ndr, name, level, "variant_types");
    2955           0 :         switch (level) {
    2956           0 :                 case VT_I1:
    2957           0 :                         ndr_print_int8(ndr, "vt_i1", r->vt_i1);
    2958           0 :                 break;
    2959             : 
    2960           0 :                 case VT_I1|VT_ARRAY:
    2961           0 :                         ndr_print_vt_i1_safe_array(ndr, "vt_i1_array", &r->vt_i1_array);
    2962           0 :                 break;
    2963             : 
    2964           0 :                 case VT_I1|VT_VECTOR:
    2965           0 :                         ndr_print_vt_i1_vec(ndr, "vt_i1_vec", &r->vt_i1_vec);
    2966           0 :                 break;
    2967             : 
    2968           0 :                 case VT_UI1:
    2969           0 :                         ndr_print_uint8(ndr, "vt_ui1", r->vt_ui1);
    2970           0 :                 break;
    2971             : 
    2972           0 :                 case VT_UI1|VT_ARRAY:
    2973           0 :                         ndr_print_vt_ui1_safe_array(ndr, "vt_ui1_array", &r->vt_ui1_array);
    2974           0 :                 break;
    2975             : 
    2976           0 :                 case VT_UI1|VT_VECTOR:
    2977           0 :                         ndr_print_vt_ui1_vec(ndr, "vt_ui1_vec", &r->vt_ui1_vec);
    2978           0 :                 break;
    2979             : 
    2980           0 :                 case VT_I2:
    2981           0 :                         ndr_print_int16(ndr, "vt_i2", r->vt_i2);
    2982           0 :                 break;
    2983             : 
    2984           0 :                 case VT_I2|VT_ARRAY:
    2985           0 :                         ndr_print_vt_i2_safe_array(ndr, "vt_i2_array", &r->vt_i2_array);
    2986           0 :                 break;
    2987             : 
    2988           0 :                 case VT_I2|VT_VECTOR:
    2989           0 :                         ndr_print_vt_i2_vec(ndr, "vt_i2_vec", &r->vt_i2_vec);
    2990           0 :                 break;
    2991             : 
    2992           0 :                 case VT_UI2:
    2993           0 :                         ndr_print_uint16(ndr, "vt_ui2", r->vt_ui2);
    2994           0 :                 break;
    2995             : 
    2996           0 :                 case VT_UI2|VT_ARRAY:
    2997           0 :                         ndr_print_vt_ui2_safe_array(ndr, "vt_ui2_array", &r->vt_ui2_array);
    2998           0 :                 break;
    2999             : 
    3000           0 :                 case VT_UI2|VT_VECTOR:
    3001           0 :                         ndr_print_vt_ui2_vec(ndr, "vt_ui2_vec", &r->vt_ui2_vec);
    3002           0 :                 break;
    3003             : 
    3004           0 :                 case VT_BOOL:
    3005           0 :                         ndr_print_uint16(ndr, "vt_bool", r->vt_bool);
    3006           0 :                 break;
    3007             : 
    3008           0 :                 case VT_BOOL|VT_ARRAY:
    3009           0 :                         ndr_print_vt_ui2_safe_array(ndr, "vt_bool_array", &r->vt_bool_array);
    3010           0 :                 break;
    3011             : 
    3012           0 :                 case VT_BOOL|VT_VECTOR:
    3013           0 :                         ndr_print_vt_ui2_vec(ndr, "vt_bool_vec", &r->vt_bool_vec);
    3014           0 :                 break;
    3015             : 
    3016           0 :                 case VT_I4:
    3017           0 :                         ndr_print_int32(ndr, "vt_i4", r->vt_i4);
    3018           0 :                 break;
    3019             : 
    3020           0 :                 case VT_I4|VT_VECTOR:
    3021           0 :                         ndr_print_vt_i4_vec(ndr, "vt_i4_vec", &r->vt_i4_vec);
    3022           0 :                 break;
    3023             : 
    3024           0 :                 case VT_I4|VT_ARRAY:
    3025           0 :                         ndr_print_vt_i4_safe_array(ndr, "vt_i4_array", &r->vt_i4_array);
    3026           0 :                 break;
    3027             : 
    3028           0 :                 case VT_UI4:
    3029           0 :                         ndr_print_uint32(ndr, "vt_ui4", r->vt_ui4);
    3030           0 :                 break;
    3031             : 
    3032           0 :                 case VT_UI4|VT_VECTOR:
    3033           0 :                         ndr_print_vt_ui4_vec(ndr, "vt_ui4_vec", &r->vt_ui4_vec);
    3034           0 :                 break;
    3035             : 
    3036           0 :                 case VT_UI4|VT_ARRAY:
    3037           0 :                         ndr_print_vt_ui4_safe_array(ndr, "vt_ui4_array", &r->vt_ui4_array);
    3038           0 :                 break;
    3039             : 
    3040           0 :                 case VT_R4:
    3041           0 :                         ndr_print_uint32(ndr, "vt_r4", r->vt_r4);
    3042           0 :                 break;
    3043             : 
    3044           0 :                 case VT_R4|VT_VECTOR:
    3045           0 :                         ndr_print_vt_i4_vec(ndr, "vt_r4_vec", &r->vt_r4_vec);
    3046           0 :                 break;
    3047             : 
    3048           0 :                 case VT_R4|VT_ARRAY:
    3049           0 :                         ndr_print_vt_i4_safe_array(ndr, "vt_r4_array", &r->vt_r4_array);
    3050           0 :                 break;
    3051             : 
    3052           0 :                 case VT_INT:
    3053           0 :                         ndr_print_int32(ndr, "vt_int", r->vt_int);
    3054           0 :                 break;
    3055             : 
    3056           0 :                 case VT_INT|VT_ARRAY:
    3057           0 :                         ndr_print_vt_i4_safe_array(ndr, "vt_int_array", &r->vt_int_array);
    3058           0 :                 break;
    3059             : 
    3060           0 :                 case VT_UINT:
    3061           0 :                         ndr_print_uint32(ndr, "vt_uint", r->vt_uint);
    3062           0 :                 break;
    3063             : 
    3064           0 :                 case VT_UINT|VT_ARRAY:
    3065           0 :                         ndr_print_vt_ui4_safe_array(ndr, "vt_uint_array", &r->vt_uint_array);
    3066           0 :                 break;
    3067             : 
    3068           0 :                 case VT_ERROR:
    3069           0 :                         ndr_print_uint32(ndr, "vt_error", r->vt_error);
    3070           0 :                 break;
    3071             : 
    3072           0 :                 case VT_ERROR|VT_VECTOR:
    3073           0 :                         ndr_print_vt_ui4_vec(ndr, "vt_error_vec", &r->vt_error_vec);
    3074           0 :                 break;
    3075             : 
    3076           0 :                 case VT_ERROR|VT_ARRAY:
    3077           0 :                         ndr_print_vt_ui4_safe_array(ndr, "vt_error_array", &r->vt_error_array);
    3078           0 :                 break;
    3079             : 
    3080           0 :                 case VT_I8:
    3081           0 :                         ndr_print_dlong(ndr, "vt_i8", r->vt_i8);
    3082           0 :                 break;
    3083             : 
    3084           0 :                 case VT_I8|VT_VECTOR:
    3085           0 :                         ndr_print_vt_dlong_vec(ndr, "vt_i8_vec", &r->vt_i8_vec);
    3086           0 :                 break;
    3087             : 
    3088           0 :                 case VT_UI8:
    3089           0 :                         ndr_print_udlong(ndr, "vt_ui8", r->vt_ui8);
    3090           0 :                 break;
    3091             : 
    3092           0 :                 case VT_UI8|VT_VECTOR:
    3093           0 :                         ndr_print_vt_udlong_vec(ndr, "vt_ui8_vec", &r->vt_ui8_vec);
    3094           0 :                 break;
    3095             : 
    3096           0 :                 case VT_R8:
    3097           0 :                         ndr_print_dlong(ndr, "vt_r8", r->vt_r8);
    3098           0 :                 break;
    3099             : 
    3100           0 :                 case VT_R8|VT_VECTOR:
    3101           0 :                         ndr_print_vt_dlong_vec(ndr, "vt_r8_vec", &r->vt_r8_vec);
    3102           0 :                 break;
    3103             : 
    3104           0 :                 case VT_R8|VT_ARRAY:
    3105           0 :                         ndr_print_vt_dlong_safe_array(ndr, "vt_r8_array", &r->vt_r8_array);
    3106           0 :                 break;
    3107             : 
    3108           0 :                 case VT_CY:
    3109           0 :                         ndr_print_dlong(ndr, "vt_cy", r->vt_cy);
    3110           0 :                 break;
    3111             : 
    3112           0 :                 case VT_CY|VT_VECTOR:
    3113           0 :                         ndr_print_vt_dlong_vec(ndr, "vt_cy_vec", &r->vt_cy_vec);
    3114           0 :                 break;
    3115             : 
    3116           0 :                 case VT_CY|VT_ARRAY:
    3117           0 :                         ndr_print_vt_dlong_safe_array(ndr, "vt_cy_array", &r->vt_cy_array);
    3118           0 :                 break;
    3119             : 
    3120           0 :                 case VT_DATE:
    3121           0 :                         ndr_print_dlong(ndr, "vt_date", r->vt_date);
    3122           0 :                 break;
    3123             : 
    3124           0 :                 case VT_DATE|VT_VECTOR:
    3125           0 :                         ndr_print_vt_dlong_vec(ndr, "vt_date_vec", &r->vt_date_vec);
    3126           0 :                 break;
    3127             : 
    3128           0 :                 case VT_DATE|VT_ARRAY:
    3129           0 :                         ndr_print_vt_dlong_safe_array(ndr, "vt_date_array", &r->vt_date_array);
    3130           0 :                 break;
    3131             : 
    3132           0 :                 case VT_FILETIME:
    3133           0 :                         ndr_print_udlong(ndr, "vt_filetime", r->vt_filetime);
    3134           0 :                 break;
    3135             : 
    3136           0 :                 case VT_FILETIME|VT_VECTOR:
    3137           0 :                         ndr_print_vt_udlong_vec(ndr, "vt_filetime_vec", &r->vt_filetime_vec);
    3138           0 :                 break;
    3139             : 
    3140           0 :                 case VT_BSTR:
    3141           0 :                         ndr_print_vt_bstr(ndr, "vt_bstr", &r->vt_bstr);
    3142           0 :                 break;
    3143             : 
    3144           0 :                 case VT_BSTR|VT_VECTOR:
    3145           0 :                         ndr_print_vt_bstr_vec(ndr, "vt_bstr_v", &r->vt_bstr_v);
    3146           0 :                 break;
    3147             : 
    3148           0 :                 case VT_BSTR|VT_ARRAY:
    3149           0 :                         ndr_print_vt_bstr_safe_array(ndr, "vt_bstr_array", &r->vt_bstr_array);
    3150           0 :                 break;
    3151             : 
    3152           0 :                 case VT_LPWSTR:
    3153           0 :                         ndr_print_vt_lpwstr(ndr, "vt_lpwstr", &r->vt_lpwstr);
    3154           0 :                 break;
    3155             : 
    3156           0 :                 case VT_LPWSTR|VT_VECTOR:
    3157           0 :                         ndr_print_vt_lpwstr_vec(ndr, "vt_lpwstr_v", &r->vt_lpwstr_v);
    3158           0 :                 break;
    3159             : 
    3160           0 :                 case VT_COMPRESSED_LPWSTR:
    3161           0 :                         ndr_print_vt_compressed_lpwstr(ndr, "vt_compressed_lpwstr", &r->vt_compressed_lpwstr);
    3162           0 :                 break;
    3163             : 
    3164           0 :                 case VT_COMPRESSED_LPWSTR|VT_VECTOR:
    3165           0 :                         ndr_print_vt_compressed_lpwstr_vec(ndr, "vt_compresseed_lpwstr_v", &r->vt_compresseed_lpwstr_v);
    3166           0 :                 break;
    3167             : 
    3168           0 :                 case VT_DECIMAL:
    3169           0 :                         ndr_print_vt_decimal(ndr, "vt_decimal", &r->vt_decimal);
    3170           0 :                 break;
    3171             : 
    3172           0 :                 case VT_DECIMAL|VT_VECTOR:
    3173           0 :                         ndr_print_vt_decimal_vec(ndr, "vt_decimal_v", &r->vt_decimal_v);
    3174           0 :                 break;
    3175             : 
    3176           0 :                 case VT_CLSID:
    3177           0 :                         ndr_print_GUID(ndr, "vt_clid", &r->vt_clid);
    3178           0 :                 break;
    3179             : 
    3180           0 :                 case VT_CLSID|VT_VECTOR:
    3181           0 :                         ndr_print_vt_clsid_vec(ndr, "vt_clsid_v", &r->vt_clsid_v);
    3182           0 :                 break;
    3183             : 
    3184           0 :                 case VT_BLOB:
    3185           0 :                         ndr_print_DATA_BLOB(ndr, "vt_blob", r->vt_blob);
    3186           0 :                 break;
    3187             : 
    3188           0 :                 case VT_BLOB_OBJECT:
    3189           0 :                         ndr_print_DATA_BLOB(ndr, "vt_blob_object", r->vt_blob_object);
    3190           0 :                 break;
    3191             : 
    3192           0 :                 case VT_NULL:
    3193           0 :                 break;
    3194             : 
    3195           0 :                 case VT_EMPTY:
    3196           0 :                 break;
    3197             : 
    3198           0 :                 case VT_VARIANT:
    3199           0 :                         ndr_print_vt_variant_wrap(ndr, "vt_variant_wrap", &r->vt_variant_wrap);
    3200           0 :                 break;
    3201             : 
    3202           0 :                 case VT_VARIANT|VT_VECTOR:
    3203           0 :                         ndr_print_vt_variant_wrap_vec(ndr, "vt_variant_wrap_vec", &r->vt_variant_wrap_vec);
    3204           0 :                 break;
    3205             : 
    3206           0 :                 case VT_VARIANT|VT_ARRAY:
    3207           0 :                         ndr_print_vt_variant_wrap_safearray(ndr, "vt_variant_wrap_array", &r->vt_variant_wrap_array);
    3208           0 :                 break;
    3209             : 
    3210           0 :                 default:
    3211           0 :                         ndr_print_bad_level(ndr, name, level);
    3212             :         }
    3213           0 : }
    3214             : 
    3215           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cbasestoragevariant(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cbasestoragevariant *r)
    3216             : {
    3217           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    3218           0 :         if (ndr_flags & NDR_SCALARS) {
    3219           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    3220           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->vtype));
    3221           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->vdata1));
    3222           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->vdata2));
    3223           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->vvalue, r->vtype));
    3224           0 :                 NDR_CHECK(ndr_push_variant_types(ndr, NDR_SCALARS, &r->vvalue));
    3225           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    3226             :         }
    3227           0 :         if (ndr_flags & NDR_BUFFERS) {
    3228           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->vvalue, r->vtype));
    3229           0 :                 NDR_CHECK(ndr_push_variant_types(ndr, NDR_BUFFERS, &r->vvalue));
    3230             :         }
    3231           0 :         return NDR_ERR_SUCCESS;
    3232             : }
    3233             : 
    3234           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cbasestoragevariant(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cbasestoragevariant *r)
    3235             : {
    3236           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    3237           0 :         if (ndr_flags & NDR_SCALARS) {
    3238           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    3239           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->vtype));
    3240           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->vdata1));
    3241           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->vdata2));
    3242           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->vvalue, r->vtype));
    3243           0 :                 NDR_RECURSION_CHECK(ndr, 102);
    3244           0 :                 NDR_CHECK(ndr_pull_variant_types(ndr, NDR_SCALARS, &r->vvalue));
    3245           0 :                 NDR_RECURSION_UNWIND(ndr);
    3246           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    3247             :         }
    3248           0 :         if (ndr_flags & NDR_BUFFERS) {
    3249           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->vvalue, r->vtype));
    3250           0 :                 NDR_RECURSION_CHECK(ndr, 102);
    3251           0 :                 NDR_CHECK(ndr_pull_variant_types(ndr, NDR_BUFFERS, &r->vvalue));
    3252           0 :                 NDR_RECURSION_UNWIND(ndr);
    3253             :         }
    3254           0 :         return NDR_ERR_SUCCESS;
    3255             : }
    3256             : 
    3257           0 : static void ndr_print_flags_wsp_cbasestoragevariant(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cbasestoragevariant *r)
    3258             : {
    3259           0 :         ndr_print_wsp_cbasestoragevariant(ndr, name, r);
    3260           0 : }
    3261             : 
    3262           0 : _PUBLIC_ void ndr_print_wsp_cbasestoragevariant(struct ndr_print *ndr, const char *name, const struct wsp_cbasestoragevariant *r)
    3263             : {
    3264           0 :         ndr_print_struct(ndr, name, "wsp_cbasestoragevariant");
    3265           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3266           0 :         ndr->depth++;
    3267           0 :         ndr_print_uint16(ndr, "vtype", r->vtype);
    3268           0 :         ndr_print_uint8(ndr, "vdata1", r->vdata1);
    3269           0 :         ndr_print_uint8(ndr, "vdata2", r->vdata2);
    3270           0 :         ndr_print_set_switch_value(ndr, &r->vvalue, r->vtype);
    3271           0 :         ndr_print_variant_types(ndr, "vvalue", &r->vvalue);
    3272           0 :         ndr->depth--;
    3273             : }
    3274             : 
    3275           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cdbcolid_opt_name(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union wsp_cdbcolid_opt_name *r)
    3276             : {
    3277           0 :         uint32_t level;
    3278           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    3279           0 :         if (ndr_flags & NDR_SCALARS) {
    3280             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    3281           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    3282           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    3283           0 :                 switch (level) {
    3284           0 :                         case DBKIND_GUID_NAME: {
    3285           0 :                                 NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->vstring));
    3286           0 :                         break; }
    3287             : 
    3288           0 :                         default: {
    3289           0 :                         break; }
    3290             : 
    3291             :                 }
    3292             :         }
    3293           0 :         return NDR_ERR_SUCCESS;
    3294             : }
    3295             : 
    3296           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cdbcolid_opt_name(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union wsp_cdbcolid_opt_name *r)
    3297             : {
    3298           0 :         uint32_t level;
    3299           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    3300           0 :         if (ndr_flags & NDR_SCALARS) {
    3301             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    3302           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    3303           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    3304           0 :                 switch (level) {
    3305           0 :                         case DBKIND_GUID_NAME: {
    3306           0 :                                 NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->vstring));
    3307           0 :                         break; }
    3308             : 
    3309           0 :                         default: {
    3310           0 :                         break; }
    3311             : 
    3312             :                 }
    3313             :         }
    3314           0 :         return NDR_ERR_SUCCESS;
    3315             : }
    3316             : 
    3317           0 : _PUBLIC_ void ndr_print_wsp_cdbcolid_opt_name(struct ndr_print *ndr, const char *name, const union wsp_cdbcolid_opt_name *r)
    3318             : {
    3319           0 :         uint32_t level;
    3320           0 :         level = ndr_print_steal_switch_value(ndr, r);
    3321           0 :         ndr_print_union(ndr, name, level, "wsp_cdbcolid_opt_name");
    3322           0 :         switch (level) {
    3323           0 :                 case DBKIND_GUID_NAME:
    3324           0 :                         ndr_print_string(ndr, "vstring", r->vstring);
    3325           0 :                 break;
    3326             : 
    3327           0 :                 default:
    3328           0 :                 break;
    3329             : 
    3330             :         }
    3331           0 : }
    3332             : 
    3333           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cdbcolid(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cdbcolid *r)
    3334             : {
    3335           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    3336           0 :         if (ndr_flags & NDR_SCALARS) {
    3337           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    3338           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ekind));
    3339             :                 {
    3340           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    3341           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN8);
    3342           0 :                         NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad1));
    3343           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    3344             :                 }
    3345           0 :                 NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->guid));
    3346           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->uiid));
    3347           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->vstring, r->ekind));
    3348           0 :                 NDR_CHECK(ndr_push_wsp_cdbcolid_opt_name(ndr, NDR_SCALARS, &r->vstring));
    3349           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    3350             :         }
    3351           0 :         if (ndr_flags & NDR_BUFFERS) {
    3352           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->vstring, r->ekind));
    3353           0 :                 NDR_CHECK(ndr_push_wsp_cdbcolid_opt_name(ndr, NDR_BUFFERS, &r->vstring));
    3354             :         }
    3355           0 :         return NDR_ERR_SUCCESS;
    3356             : }
    3357             : 
    3358           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cdbcolid(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cdbcolid *r)
    3359             : {
    3360           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    3361           0 :         if (ndr_flags & NDR_SCALARS) {
    3362           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    3363           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ekind));
    3364             :                 {
    3365           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    3366           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN8);
    3367           0 :                         NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad1));
    3368           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    3369             :                 }
    3370           0 :                 NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->guid));
    3371           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->uiid));
    3372           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->vstring, r->ekind));
    3373           0 :                 NDR_CHECK(ndr_pull_wsp_cdbcolid_opt_name(ndr, NDR_SCALARS, &r->vstring));
    3374           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    3375             :         }
    3376           0 :         if (ndr_flags & NDR_BUFFERS) {
    3377           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->vstring, r->ekind));
    3378           0 :                 NDR_CHECK(ndr_pull_wsp_cdbcolid_opt_name(ndr, NDR_BUFFERS, &r->vstring));
    3379             :         }
    3380           0 :         return NDR_ERR_SUCCESS;
    3381             : }
    3382             : 
    3383           0 : static void ndr_print_flags_wsp_cdbcolid(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cdbcolid *r)
    3384             : {
    3385           0 :         ndr_print_wsp_cdbcolid(ndr, name, r);
    3386           0 : }
    3387             : 
    3388           0 : _PUBLIC_ void ndr_print_wsp_cdbcolid(struct ndr_print *ndr, const char *name, const struct wsp_cdbcolid *r)
    3389             : {
    3390           0 :         ndr_print_struct(ndr, name, "wsp_cdbcolid");
    3391           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3392           0 :         ndr->depth++;
    3393           0 :         ndr_print_uint32(ndr, "ekind", r->ekind);
    3394             :         {
    3395           0 :                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    3396           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN8);
    3397           0 :                 ndr_print_DATA_BLOB(ndr, "_pad1", r->_pad1);
    3398           0 :                 ndr->flags = _flags_save_DATA_BLOB;
    3399             :         }
    3400           0 :         ndr_print_GUID(ndr, "guid", &r->guid);
    3401           0 :         ndr_print_uint32(ndr, "uiid", r->uiid);
    3402           0 :         ndr_print_set_switch_value(ndr, &r->vstring, r->ekind);
    3403           0 :         ndr_print_wsp_cdbcolid_opt_name(ndr, "vstring", &r->vstring);
    3404           0 :         ndr->depth--;
    3405             : }
    3406             : 
    3407           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_header(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_header *r)
    3408             : {
    3409           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    3410           0 :         if (ndr_flags & NDR_SCALARS) {
    3411           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    3412           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->msg));
    3413           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->status));
    3414           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->checksum));
    3415           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ulreserved2));
    3416           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    3417             :         }
    3418           0 :         if (ndr_flags & NDR_BUFFERS) {
    3419           0 :         }
    3420           0 :         return NDR_ERR_SUCCESS;
    3421             : }
    3422             : 
    3423           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_header(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_header *r)
    3424             : {
    3425           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    3426           0 :         if (ndr_flags & NDR_SCALARS) {
    3427           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    3428           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->msg));
    3429           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->status));
    3430           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->checksum));
    3431           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ulreserved2));
    3432           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    3433             :         }
    3434           0 :         if (ndr_flags & NDR_BUFFERS) {
    3435           0 :         }
    3436           0 :         return NDR_ERR_SUCCESS;
    3437             : }
    3438             : 
    3439           0 : static void ndr_print_flags_wsp_header(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_header *r)
    3440             : {
    3441           0 :         ndr_print_wsp_header(ndr, name, r);
    3442           0 : }
    3443             : 
    3444           0 : _PUBLIC_ void ndr_print_wsp_header(struct ndr_print *ndr, const char *name, const struct wsp_header *r)
    3445             : {
    3446           0 :         ndr_print_struct(ndr, name, "wsp_header");
    3447           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3448           0 :         ndr->depth++;
    3449           0 :         ndr_print_uint32(ndr, "msg", r->msg);
    3450           0 :         ndr_print_uint32(ndr, "status", r->status);
    3451           0 :         ndr_print_uint32(ndr, "checksum", r->checksum);
    3452           0 :         ndr_print_uint32(ndr, "ulreserved2", r->ulreserved2);
    3453           0 :         ndr->depth--;
    3454             : }
    3455             : 
    3456           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cdbprop(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cdbprop *r)
    3457             : {
    3458             :         {
    3459           0 :                 libndr_flags _flags_save_STRUCT = ndr->flags;
    3460           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    3461           0 :                 NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    3462           0 :                 if (ndr_flags & NDR_SCALARS) {
    3463           0 :                         NDR_CHECK(ndr_push_align(ndr, 4));
    3464           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dbpropid));
    3465           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dbpropoptions));
    3466           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dbpropstatus));
    3467           0 :                         NDR_CHECK(ndr_push_wsp_cdbcolid(ndr, NDR_SCALARS, &r->colid));
    3468           0 :                         NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->vvalue));
    3469           0 :                         NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    3470             :                 }
    3471           0 :                 if (ndr_flags & NDR_BUFFERS) {
    3472           0 :                         NDR_CHECK(ndr_push_wsp_cdbcolid(ndr, NDR_BUFFERS, &r->colid));
    3473           0 :                         NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->vvalue));
    3474             :                 }
    3475           0 :                 ndr->flags = _flags_save_STRUCT;
    3476             :         }
    3477           0 :         return NDR_ERR_SUCCESS;
    3478             : }
    3479             : 
    3480           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cdbprop(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cdbprop *r)
    3481             : {
    3482             :         {
    3483           0 :                 libndr_flags _flags_save_STRUCT = ndr->flags;
    3484           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    3485           0 :                 NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    3486           0 :                 if (ndr_flags & NDR_SCALARS) {
    3487           0 :                         NDR_CHECK(ndr_pull_align(ndr, 4));
    3488           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dbpropid));
    3489           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dbpropoptions));
    3490           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dbpropstatus));
    3491           0 :                         NDR_CHECK(ndr_pull_wsp_cdbcolid(ndr, NDR_SCALARS, &r->colid));
    3492           0 :                         NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->vvalue));
    3493           0 :                         NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    3494             :                 }
    3495           0 :                 if (ndr_flags & NDR_BUFFERS) {
    3496           0 :                         NDR_CHECK(ndr_pull_wsp_cdbcolid(ndr, NDR_BUFFERS, &r->colid));
    3497           0 :                         NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->vvalue));
    3498             :                 }
    3499           0 :                 ndr->flags = _flags_save_STRUCT;
    3500             :         }
    3501           0 :         return NDR_ERR_SUCCESS;
    3502             : }
    3503             : 
    3504           0 : static void ndr_print_flags_wsp_cdbprop(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cdbprop *r)
    3505             : {
    3506           0 :         ndr_print_wsp_cdbprop(ndr, name, r);
    3507           0 : }
    3508             : 
    3509           0 : _PUBLIC_ void ndr_print_wsp_cdbprop(struct ndr_print *ndr, const char *name, const struct wsp_cdbprop *r)
    3510             : {
    3511           0 :         ndr_print_struct(ndr, name, "wsp_cdbprop");
    3512           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3513             :         {
    3514           0 :                 libndr_flags _flags_save_STRUCT = ndr->flags;
    3515           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    3516           0 :                 ndr->depth++;
    3517           0 :                 ndr_print_uint32(ndr, "dbpropid", r->dbpropid);
    3518           0 :                 ndr_print_uint32(ndr, "dbpropoptions", r->dbpropoptions);
    3519           0 :                 ndr_print_uint32(ndr, "dbpropstatus", r->dbpropstatus);
    3520           0 :                 ndr_print_wsp_cdbcolid(ndr, "colid", &r->colid);
    3521           0 :                 ndr_print_wsp_cbasestoragevariant(ndr, "vvalue", &r->vvalue);
    3522           0 :                 ndr->depth--;
    3523           0 :                 ndr->flags = _flags_save_STRUCT;
    3524             :         }
    3525             : }
    3526             : 
    3527           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cdbpropset(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cdbpropset *r)
    3528             : {
    3529           0 :         uint32_t cntr_aprops_0;
    3530             :         {
    3531           0 :                 libndr_flags _flags_save_STRUCT = ndr->flags;
    3532           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN);
    3533           0 :                 NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    3534           0 :                 if (ndr_flags & NDR_SCALARS) {
    3535           0 :                         NDR_CHECK(ndr_push_align(ndr, 4));
    3536           0 :                         NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->guidpropertyset));
    3537             :                         {
    3538           0 :                                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    3539           0 :                                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    3540           0 :                                 NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad1));
    3541           0 :                                 ndr->flags = _flags_save_DATA_BLOB;
    3542             :                         }
    3543           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cproperties));
    3544           0 :                         for (cntr_aprops_0 = 0; cntr_aprops_0 < (r->cproperties); cntr_aprops_0++) {
    3545           0 :                                 NDR_CHECK(ndr_push_wsp_cdbprop(ndr, NDR_SCALARS, &r->aprops[cntr_aprops_0]));
    3546             :                         }
    3547           0 :                         NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    3548             :                 }
    3549           0 :                 if (ndr_flags & NDR_BUFFERS) {
    3550           0 :                         for (cntr_aprops_0 = 0; cntr_aprops_0 < (r->cproperties); cntr_aprops_0++) {
    3551           0 :                                 NDR_CHECK(ndr_push_wsp_cdbprop(ndr, NDR_BUFFERS, &r->aprops[cntr_aprops_0]));
    3552             :                         }
    3553             :                 }
    3554           0 :                 ndr->flags = _flags_save_STRUCT;
    3555             :         }
    3556           0 :         return NDR_ERR_SUCCESS;
    3557             : }
    3558             : 
    3559           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cdbpropset(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cdbpropset *r)
    3560             : {
    3561           0 :         uint32_t size_aprops_0 = 0;
    3562           0 :         uint32_t cntr_aprops_0;
    3563           0 :         TALLOC_CTX *_mem_save_aprops_0 = NULL;
    3564             :         {
    3565           0 :                 libndr_flags _flags_save_STRUCT = ndr->flags;
    3566           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN);
    3567           0 :                 NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    3568           0 :                 if (ndr_flags & NDR_SCALARS) {
    3569           0 :                         NDR_CHECK(ndr_pull_align(ndr, 4));
    3570           0 :                         NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->guidpropertyset));
    3571             :                         {
    3572           0 :                                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    3573           0 :                                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    3574           0 :                                 NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad1));
    3575           0 :                                 ndr->flags = _flags_save_DATA_BLOB;
    3576             :                         }
    3577           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cproperties));
    3578           0 :                         size_aprops_0 = r->cproperties;
    3579           0 :                         NDR_PULL_ALLOC_N(ndr, r->aprops, size_aprops_0);
    3580           0 :                         _mem_save_aprops_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3581           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->aprops, 0);
    3582           0 :                         for (cntr_aprops_0 = 0; cntr_aprops_0 < (size_aprops_0); cntr_aprops_0++) {
    3583           0 :                                 NDR_CHECK(ndr_pull_wsp_cdbprop(ndr, NDR_SCALARS, &r->aprops[cntr_aprops_0]));
    3584             :                         }
    3585           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_aprops_0, 0);
    3586           0 :                         NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    3587             :                 }
    3588           0 :                 if (ndr_flags & NDR_BUFFERS) {
    3589           0 :                         size_aprops_0 = r->cproperties;
    3590           0 :                         _mem_save_aprops_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3591           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->aprops, 0);
    3592           0 :                         for (cntr_aprops_0 = 0; cntr_aprops_0 < (size_aprops_0); cntr_aprops_0++) {
    3593           0 :                                 NDR_CHECK(ndr_pull_wsp_cdbprop(ndr, NDR_BUFFERS, &r->aprops[cntr_aprops_0]));
    3594             :                         }
    3595           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_aprops_0, 0);
    3596           0 :                         for (cntr_aprops_0 = 0; cntr_aprops_0 < (size_aprops_0); cntr_aprops_0++) {
    3597             :                         }
    3598             :                 }
    3599           0 :                 ndr->flags = _flags_save_STRUCT;
    3600             :         }
    3601           0 :         return NDR_ERR_SUCCESS;
    3602             : }
    3603             : 
    3604           0 : static void ndr_print_flags_wsp_cdbpropset(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cdbpropset *r)
    3605             : {
    3606           0 :         ndr_print_wsp_cdbpropset(ndr, name, r);
    3607           0 : }
    3608             : 
    3609           0 : _PUBLIC_ void ndr_print_wsp_cdbpropset(struct ndr_print *ndr, const char *name, const struct wsp_cdbpropset *r)
    3610             : {
    3611           0 :         uint32_t cntr_aprops_0;
    3612           0 :         ndr_print_struct(ndr, name, "wsp_cdbpropset");
    3613           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3614             :         {
    3615           0 :                 libndr_flags _flags_save_STRUCT = ndr->flags;
    3616           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN);
    3617           0 :                 ndr->depth++;
    3618           0 :                 ndr_print_GUID(ndr, "guidpropertyset", &r->guidpropertyset);
    3619             :                 {
    3620           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    3621           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    3622           0 :                         ndr_print_DATA_BLOB(ndr, "_pad1", r->_pad1);
    3623           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    3624             :                 }
    3625           0 :                 ndr_print_uint32(ndr, "cproperties", r->cproperties);
    3626           0 :                 ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "aprops", (uint32_t)(r->cproperties));
    3627           0 :                 ndr->depth++;
    3628           0 :                 for (cntr_aprops_0 = 0; cntr_aprops_0 < (r->cproperties); cntr_aprops_0++) {
    3629           0 :                         ndr_print_wsp_cdbprop(ndr, "aprops", &r->aprops[cntr_aprops_0]);
    3630             :                 }
    3631           0 :                 ndr->depth--;
    3632           0 :                 ndr->depth--;
    3633           0 :                 ndr->flags = _flags_save_STRUCT;
    3634             :         }
    3635             : }
    3636             : 
    3637           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_csort(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_csort *r)
    3638             : {
    3639           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    3640           0 :         if (ndr_flags & NDR_SCALARS) {
    3641           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    3642           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->pidcolumn));
    3643           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dworder));
    3644           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwindividual));
    3645           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->locale));
    3646           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    3647             :         }
    3648           0 :         if (ndr_flags & NDR_BUFFERS) {
    3649           0 :         }
    3650           0 :         return NDR_ERR_SUCCESS;
    3651             : }
    3652             : 
    3653           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_csort(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_csort *r)
    3654             : {
    3655           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    3656           0 :         if (ndr_flags & NDR_SCALARS) {
    3657           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    3658           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->pidcolumn));
    3659           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dworder));
    3660           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwindividual));
    3661           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->locale));
    3662           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    3663             :         }
    3664           0 :         if (ndr_flags & NDR_BUFFERS) {
    3665           0 :         }
    3666           0 :         return NDR_ERR_SUCCESS;
    3667             : }
    3668             : 
    3669           0 : static void ndr_print_flags_wsp_csort(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_csort *r)
    3670             : {
    3671           0 :         ndr_print_wsp_csort(ndr, name, r);
    3672           0 : }
    3673             : 
    3674           0 : _PUBLIC_ void ndr_print_wsp_csort(struct ndr_print *ndr, const char *name, const struct wsp_csort *r)
    3675             : {
    3676           0 :         ndr_print_struct(ndr, name, "wsp_csort");
    3677           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3678           0 :         ndr->depth++;
    3679           0 :         ndr_print_uint32(ndr, "pidcolumn", r->pidcolumn);
    3680           0 :         ndr_print_uint32(ndr, "dworder", r->dworder);
    3681           0 :         ndr_print_uint32(ndr, "dwindividual", r->dwindividual);
    3682           0 :         ndr_print_uint32(ndr, "locale", r->locale);
    3683           0 :         ndr->depth--;
    3684             : }
    3685             : 
    3686           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_csortset(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_csortset *r)
    3687             : {
    3688           0 :         uint32_t cntr_sortarray_0;
    3689           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    3690           0 :         if (ndr_flags & NDR_SCALARS) {
    3691           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    3692           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->count));
    3693           0 :                 for (cntr_sortarray_0 = 0; cntr_sortarray_0 < (r->count); cntr_sortarray_0++) {
    3694           0 :                         NDR_CHECK(ndr_push_wsp_csort(ndr, NDR_SCALARS, &r->sortarray[cntr_sortarray_0]));
    3695             :                 }
    3696           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    3697             :         }
    3698           0 :         if (ndr_flags & NDR_BUFFERS) {
    3699           0 :         }
    3700           0 :         return NDR_ERR_SUCCESS;
    3701             : }
    3702             : 
    3703           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_csortset(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_csortset *r)
    3704             : {
    3705           0 :         uint32_t size_sortarray_0 = 0;
    3706           0 :         uint32_t cntr_sortarray_0;
    3707           0 :         TALLOC_CTX *_mem_save_sortarray_0 = NULL;
    3708           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    3709           0 :         if (ndr_flags & NDR_SCALARS) {
    3710           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    3711           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->count));
    3712           0 :                 size_sortarray_0 = r->count;
    3713           0 :                 NDR_PULL_ALLOC_N(ndr, r->sortarray, size_sortarray_0);
    3714           0 :                 _mem_save_sortarray_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3715           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->sortarray, 0);
    3716           0 :                 for (cntr_sortarray_0 = 0; cntr_sortarray_0 < (size_sortarray_0); cntr_sortarray_0++) {
    3717           0 :                         NDR_CHECK(ndr_pull_wsp_csort(ndr, NDR_SCALARS, &r->sortarray[cntr_sortarray_0]));
    3718             :                 }
    3719           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sortarray_0, 0);
    3720           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    3721             :         }
    3722           0 :         if (ndr_flags & NDR_BUFFERS) {
    3723           0 :         }
    3724           0 :         return NDR_ERR_SUCCESS;
    3725             : }
    3726             : 
    3727           0 : static void ndr_print_flags_wsp_csortset(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_csortset *r)
    3728             : {
    3729           0 :         ndr_print_wsp_csortset(ndr, name, r);
    3730           0 : }
    3731             : 
    3732           0 : _PUBLIC_ void ndr_print_wsp_csortset(struct ndr_print *ndr, const char *name, const struct wsp_csortset *r)
    3733             : {
    3734           0 :         uint32_t cntr_sortarray_0;
    3735           0 :         ndr_print_struct(ndr, name, "wsp_csortset");
    3736           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3737           0 :         ndr->depth++;
    3738           0 :         ndr_print_uint32(ndr, "count", r->count);
    3739           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "sortarray", (uint32_t)(r->count));
    3740           0 :         ndr->depth++;
    3741           0 :         for (cntr_sortarray_0 = 0; cntr_sortarray_0 < (r->count); cntr_sortarray_0++) {
    3742           0 :                 ndr_print_wsp_csort(ndr, "sortarray", &r->sortarray[cntr_sortarray_0]);
    3743             :         }
    3744           0 :         ndr->depth--;
    3745           0 :         ndr->depth--;
    3746             : }
    3747             : 
    3748           0 : _PUBLIC_ enum ndr_err_code ndr_push_connectin_propsets(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct connectin_propsets *r)
    3749             : {
    3750           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    3751           0 :         if (ndr_flags & NDR_SCALARS) {
    3752           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    3753           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cpropsets));
    3754           0 :                 NDR_CHECK(ndr_push_wsp_cdbpropset(ndr, NDR_SCALARS, &r->propertyset1));
    3755           0 :                 NDR_CHECK(ndr_push_wsp_cdbpropset(ndr, NDR_SCALARS, &r->propertyset2));
    3756           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    3757             :         }
    3758           0 :         if (ndr_flags & NDR_BUFFERS) {
    3759           0 :                 NDR_CHECK(ndr_push_wsp_cdbpropset(ndr, NDR_BUFFERS, &r->propertyset1));
    3760           0 :                 NDR_CHECK(ndr_push_wsp_cdbpropset(ndr, NDR_BUFFERS, &r->propertyset2));
    3761             :         }
    3762           0 :         return NDR_ERR_SUCCESS;
    3763             : }
    3764             : 
    3765           0 : _PUBLIC_ enum ndr_err_code ndr_pull_connectin_propsets(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct connectin_propsets *r)
    3766             : {
    3767           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    3768           0 :         if (ndr_flags & NDR_SCALARS) {
    3769           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    3770           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cpropsets));
    3771           0 :                 NDR_CHECK(ndr_pull_wsp_cdbpropset(ndr, NDR_SCALARS, &r->propertyset1));
    3772           0 :                 NDR_CHECK(ndr_pull_wsp_cdbpropset(ndr, NDR_SCALARS, &r->propertyset2));
    3773           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    3774             :         }
    3775           0 :         if (ndr_flags & NDR_BUFFERS) {
    3776           0 :                 NDR_CHECK(ndr_pull_wsp_cdbpropset(ndr, NDR_BUFFERS, &r->propertyset1));
    3777           0 :                 NDR_CHECK(ndr_pull_wsp_cdbpropset(ndr, NDR_BUFFERS, &r->propertyset2));
    3778             :         }
    3779           0 :         return NDR_ERR_SUCCESS;
    3780             : }
    3781             : 
    3782           0 : static void ndr_print_flags_connectin_propsets(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct connectin_propsets *r)
    3783             : {
    3784           0 :         ndr_print_connectin_propsets(ndr, name, r);
    3785           0 : }
    3786             : 
    3787           0 : _PUBLIC_ void ndr_print_connectin_propsets(struct ndr_print *ndr, const char *name, const struct connectin_propsets *r)
    3788             : {
    3789           0 :         ndr_print_struct(ndr, name, "connectin_propsets");
    3790           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3791           0 :         ndr->depth++;
    3792           0 :         ndr_print_uint32(ndr, "cpropsets", r->cpropsets);
    3793           0 :         ndr_print_wsp_cdbpropset(ndr, "propertyset1", &r->propertyset1);
    3794           0 :         ndr_print_wsp_cdbpropset(ndr, "propertyset2", &r->propertyset2);
    3795           0 :         ndr->depth--;
    3796             : }
    3797             : 
    3798           0 : _PUBLIC_ enum ndr_err_code ndr_push_connectin_extpropsets(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct connectin_extpropsets *r)
    3799             : {
    3800           0 :         uint32_t cntr_apropertysets_0;
    3801           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    3802           0 :         if (ndr_flags & NDR_SCALARS) {
    3803           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    3804           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cextpropset));
    3805           0 :                 for (cntr_apropertysets_0 = 0; cntr_apropertysets_0 < (r->cextpropset); cntr_apropertysets_0++) {
    3806           0 :                         NDR_CHECK(ndr_push_wsp_cdbpropset(ndr, NDR_SCALARS, &r->apropertysets[cntr_apropertysets_0]));
    3807             :                 }
    3808           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    3809             :         }
    3810           0 :         if (ndr_flags & NDR_BUFFERS) {
    3811           0 :                 for (cntr_apropertysets_0 = 0; cntr_apropertysets_0 < (r->cextpropset); cntr_apropertysets_0++) {
    3812           0 :                         NDR_CHECK(ndr_push_wsp_cdbpropset(ndr, NDR_BUFFERS, &r->apropertysets[cntr_apropertysets_0]));
    3813             :                 }
    3814             :         }
    3815           0 :         return NDR_ERR_SUCCESS;
    3816             : }
    3817             : 
    3818           0 : _PUBLIC_ enum ndr_err_code ndr_pull_connectin_extpropsets(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct connectin_extpropsets *r)
    3819             : {
    3820           0 :         uint32_t size_apropertysets_0 = 0;
    3821           0 :         uint32_t cntr_apropertysets_0;
    3822           0 :         TALLOC_CTX *_mem_save_apropertysets_0 = NULL;
    3823           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    3824           0 :         if (ndr_flags & NDR_SCALARS) {
    3825           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    3826           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cextpropset));
    3827           0 :                 size_apropertysets_0 = r->cextpropset;
    3828           0 :                 NDR_PULL_ALLOC_N(ndr, r->apropertysets, size_apropertysets_0);
    3829           0 :                 _mem_save_apropertysets_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3830           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->apropertysets, 0);
    3831           0 :                 for (cntr_apropertysets_0 = 0; cntr_apropertysets_0 < (size_apropertysets_0); cntr_apropertysets_0++) {
    3832           0 :                         NDR_CHECK(ndr_pull_wsp_cdbpropset(ndr, NDR_SCALARS, &r->apropertysets[cntr_apropertysets_0]));
    3833             :                 }
    3834           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_apropertysets_0, 0);
    3835           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    3836             :         }
    3837           0 :         if (ndr_flags & NDR_BUFFERS) {
    3838           0 :                 size_apropertysets_0 = r->cextpropset;
    3839           0 :                 _mem_save_apropertysets_0 = NDR_PULL_GET_MEM_CTX(ndr);
    3840           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->apropertysets, 0);
    3841           0 :                 for (cntr_apropertysets_0 = 0; cntr_apropertysets_0 < (size_apropertysets_0); cntr_apropertysets_0++) {
    3842           0 :                         NDR_CHECK(ndr_pull_wsp_cdbpropset(ndr, NDR_BUFFERS, &r->apropertysets[cntr_apropertysets_0]));
    3843             :                 }
    3844           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_apropertysets_0, 0);
    3845           0 :                 for (cntr_apropertysets_0 = 0; cntr_apropertysets_0 < (size_apropertysets_0); cntr_apropertysets_0++) {
    3846             :                 }
    3847             :         }
    3848           0 :         return NDR_ERR_SUCCESS;
    3849             : }
    3850             : 
    3851           0 : static void ndr_print_flags_connectin_extpropsets(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct connectin_extpropsets *r)
    3852             : {
    3853           0 :         ndr_print_connectin_extpropsets(ndr, name, r);
    3854           0 : }
    3855             : 
    3856           0 : _PUBLIC_ void ndr_print_connectin_extpropsets(struct ndr_print *ndr, const char *name, const struct connectin_extpropsets *r)
    3857             : {
    3858           0 :         uint32_t cntr_apropertysets_0;
    3859           0 :         ndr_print_struct(ndr, name, "connectin_extpropsets");
    3860           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3861           0 :         ndr->depth++;
    3862           0 :         ndr_print_uint32(ndr, "cextpropset", r->cextpropset);
    3863           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "apropertysets", (uint32_t)(r->cextpropset));
    3864           0 :         ndr->depth++;
    3865           0 :         for (cntr_apropertysets_0 = 0; cntr_apropertysets_0 < (r->cextpropset); cntr_apropertysets_0++) {
    3866           0 :                 ndr_print_wsp_cdbpropset(ndr, "apropertysets", &r->apropertysets[cntr_apropertysets_0]);
    3867             :         }
    3868           0 :         ndr->depth--;
    3869           0 :         ndr->depth--;
    3870             : }
    3871             : 
    3872           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmconnectin(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmconnectin *r)
    3873             : {
    3874           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    3875           0 :         if (ndr_flags & NDR_SCALARS) {
    3876           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    3877           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->iclientversion));
    3878           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->fclientisremote));
    3879           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbblob1));
    3880           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->paddingcbblob2));
    3881           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbblob2));
    3882           0 :                 NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->padding, 12));
    3883             :                 {
    3884           0 :                         libndr_flags _flags_save_string = ndr->flags;
    3885           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_NULLTERM);
    3886           0 :                         NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->machinename));
    3887           0 :                         ndr->flags = _flags_save_string;
    3888             :                 }
    3889             :                 {
    3890           0 :                         libndr_flags _flags_save_string = ndr->flags;
    3891           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_NULLTERM);
    3892           0 :                         NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->username));
    3893           0 :                         ndr->flags = _flags_save_string;
    3894             :                 }
    3895             :                 {
    3896           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    3897           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN8);
    3898           0 :                         NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad1));
    3899           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    3900             :                 }
    3901           0 :                 NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->propsets, r->cbblob1));
    3902             :                 {
    3903           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    3904           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN8);
    3905           0 :                         NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad2));
    3906           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    3907             :                 }
    3908           0 :                 NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->extpropsets, r->cbblob2));
    3909           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    3910             :         }
    3911           0 :         if (ndr_flags & NDR_BUFFERS) {
    3912           0 :         }
    3913           0 :         return NDR_ERR_SUCCESS;
    3914             : }
    3915             : 
    3916           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmconnectin(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmconnectin *r)
    3917             : {
    3918           0 :         uint32_t size_padding_0 = 0;
    3919           0 :         uint32_t size_propsets_0 = 0;
    3920           0 :         uint32_t size_extpropsets_0 = 0;
    3921           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    3922           0 :         if (ndr_flags & NDR_SCALARS) {
    3923           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    3924           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->iclientversion));
    3925           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->fclientisremote));
    3926           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbblob1));
    3927           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->paddingcbblob2));
    3928           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbblob2));
    3929           0 :                 size_padding_0 = 12;
    3930           0 :                 NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->padding, size_padding_0));
    3931             :                 {
    3932           0 :                         libndr_flags _flags_save_string = ndr->flags;
    3933           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_NULLTERM);
    3934           0 :                         NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->machinename));
    3935           0 :                         ndr->flags = _flags_save_string;
    3936             :                 }
    3937             :                 {
    3938           0 :                         libndr_flags _flags_save_string = ndr->flags;
    3939           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_NULLTERM);
    3940           0 :                         NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->username));
    3941           0 :                         ndr->flags = _flags_save_string;
    3942             :                 }
    3943             :                 {
    3944           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    3945           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN8);
    3946           0 :                         NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad1));
    3947           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    3948             :                 }
    3949           0 :                 size_propsets_0 = r->cbblob1;
    3950           0 :                 NDR_PULL_ALLOC_N(ndr, r->propsets, size_propsets_0);
    3951           0 :                 NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->propsets, size_propsets_0));
    3952             :                 {
    3953           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    3954           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN8);
    3955           0 :                         NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad2));
    3956           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    3957             :                 }
    3958           0 :                 size_extpropsets_0 = r->cbblob2;
    3959           0 :                 NDR_PULL_ALLOC_N(ndr, r->extpropsets, size_extpropsets_0);
    3960           0 :                 NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->extpropsets, size_extpropsets_0));
    3961           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    3962             :         }
    3963           0 :         if (ndr_flags & NDR_BUFFERS) {
    3964           0 :         }
    3965           0 :         return NDR_ERR_SUCCESS;
    3966             : }
    3967             : 
    3968           0 : static void ndr_print_flags_wsp_cpmconnectin(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmconnectin *r)
    3969             : {
    3970           0 :         ndr_print_wsp_cpmconnectin(ndr, name, r);
    3971           0 : }
    3972             : 
    3973           0 : _PUBLIC_ void ndr_print_wsp_cpmconnectin(struct ndr_print *ndr, const char *name, const struct wsp_cpmconnectin *r)
    3974             : {
    3975           0 :         ndr_print_struct(ndr, name, "wsp_cpmconnectin");
    3976           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    3977           0 :         ndr->depth++;
    3978           0 :         ndr_print_uint32(ndr, "iclientversion", r->iclientversion);
    3979           0 :         ndr_print_uint32(ndr, "fclientisremote", r->fclientisremote);
    3980           0 :         ndr_print_uint32(ndr, "cbblob1", r->cbblob1);
    3981           0 :         ndr_print_uint32(ndr, "paddingcbblob2", r->paddingcbblob2);
    3982           0 :         ndr_print_uint32(ndr, "cbblob2", r->cbblob2);
    3983           0 :         ndr_print_array_uint8(ndr, "padding", r->padding, 12);
    3984             :         {
    3985           0 :                 libndr_flags _flags_save_string = ndr->flags;
    3986           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_NULLTERM);
    3987           0 :                 ndr_print_string(ndr, "machinename", r->machinename);
    3988           0 :                 ndr->flags = _flags_save_string;
    3989             :         }
    3990             :         {
    3991           0 :                 libndr_flags _flags_save_string = ndr->flags;
    3992           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_NULLTERM);
    3993           0 :                 ndr_print_string(ndr, "username", r->username);
    3994           0 :                 ndr->flags = _flags_save_string;
    3995             :         }
    3996             :         {
    3997           0 :                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    3998           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN8);
    3999           0 :                 ndr_print_DATA_BLOB(ndr, "_pad1", r->_pad1);
    4000           0 :                 ndr->flags = _flags_save_DATA_BLOB;
    4001             :         }
    4002           0 :         ndr_print_array_uint8(ndr, "propsets", r->propsets, r->cbblob1);
    4003             :         {
    4004           0 :                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    4005           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN8);
    4006           0 :                 ndr_print_DATA_BLOB(ndr, "_pad2", r->_pad2);
    4007           0 :                 ndr->flags = _flags_save_DATA_BLOB;
    4008             :         }
    4009           0 :         ndr_print_array_uint8(ndr, "extpropsets", r->extpropsets, r->cbblob2);
    4010           0 :         ndr->depth--;
    4011             : }
    4012             : 
    4013           0 : _PUBLIC_ enum ndr_err_code ndr_push_version_info(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct version_info *r)
    4014             : {
    4015           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4016           0 :         if (ndr_flags & NDR_SCALARS) {
    4017           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    4018           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->reserved));
    4019           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwwinvermajor));
    4020           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwwinverminor));
    4021           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwnlsvermajor));
    4022           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwnlsverminor));
    4023           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    4024             :         }
    4025           0 :         if (ndr_flags & NDR_BUFFERS) {
    4026           0 :         }
    4027           0 :         return NDR_ERR_SUCCESS;
    4028             : }
    4029             : 
    4030           0 : _PUBLIC_ enum ndr_err_code ndr_pull_version_info(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct version_info *r)
    4031             : {
    4032           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4033           0 :         if (ndr_flags & NDR_SCALARS) {
    4034           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    4035           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->reserved));
    4036           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwwinvermajor));
    4037           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwwinverminor));
    4038           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwnlsvermajor));
    4039           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwnlsverminor));
    4040           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    4041             :         }
    4042           0 :         if (ndr_flags & NDR_BUFFERS) {
    4043           0 :         }
    4044           0 :         return NDR_ERR_SUCCESS;
    4045             : }
    4046             : 
    4047           0 : static void ndr_print_flags_version_info(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct version_info *r)
    4048             : {
    4049           0 :         ndr_print_version_info(ndr, name, r);
    4050           0 : }
    4051             : 
    4052           0 : _PUBLIC_ void ndr_print_version_info(struct ndr_print *ndr, const char *name, const struct version_info *r)
    4053             : {
    4054           0 :         ndr_print_struct(ndr, name, "version_info");
    4055           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    4056           0 :         ndr->depth++;
    4057           0 :         ndr_print_uint32(ndr, "reserved", r->reserved);
    4058           0 :         ndr_print_uint32(ndr, "dwwinvermajor", r->dwwinvermajor);
    4059           0 :         ndr_print_uint32(ndr, "dwwinverminor", r->dwwinverminor);
    4060           0 :         ndr_print_uint32(ndr, "dwnlsvermajor", r->dwnlsvermajor);
    4061           0 :         ndr_print_uint32(ndr, "dwnlsverminor", r->dwnlsverminor);
    4062           0 :         ndr->depth--;
    4063             : }
    4064             : 
    4065           0 : _PUBLIC_ enum ndr_err_code ndr_push_version_dependant(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union version_dependant *r)
    4066             : {
    4067           0 :         uint32_t level;
    4068           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4069           0 :         if (ndr_flags & NDR_SCALARS) {
    4070             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    4071           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    4072           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    4073           0 :                 switch (level) {
    4074           0 :                         case WINDOWS_7: {
    4075           0 :                                 NDR_CHECK(ndr_push_version_info(ndr, NDR_SCALARS, &r->version_info));
    4076           0 :                         break; }
    4077             : 
    4078           0 :                         case WINDOWS_2008: {
    4079           0 :                                 NDR_CHECK(ndr_push_version_info(ndr, NDR_SCALARS, &r->version_info));
    4080           0 :                         break; }
    4081             : 
    4082           0 :                         default: {
    4083             :                                 uint32_t cntr_reserved_0;
    4084           0 :                                 for (cntr_reserved_0 = 0; cntr_reserved_0 < (4); cntr_reserved_0++) {
    4085           0 :                                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->reserved[cntr_reserved_0]));
    4086             :                                 }
    4087           0 :                         break; }
    4088             : 
    4089             :                 }
    4090             :         }
    4091           0 :         return NDR_ERR_SUCCESS;
    4092             : }
    4093             : 
    4094           0 : _PUBLIC_ enum ndr_err_code ndr_pull_version_dependant(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union version_dependant *r)
    4095             : {
    4096           0 :         uint32_t level;
    4097           0 :         uint32_t size_reserved_0 = 0;
    4098           0 :         uint32_t cntr_reserved_0;
    4099           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4100           0 :         if (ndr_flags & NDR_SCALARS) {
    4101             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    4102           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    4103           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    4104           0 :                 switch (level) {
    4105           0 :                         case WINDOWS_7: {
    4106           0 :                                 NDR_CHECK(ndr_pull_version_info(ndr, NDR_SCALARS, &r->version_info));
    4107           0 :                         break; }
    4108             : 
    4109           0 :                         case WINDOWS_2008: {
    4110           0 :                                 NDR_CHECK(ndr_pull_version_info(ndr, NDR_SCALARS, &r->version_info));
    4111           0 :                         break; }
    4112             : 
    4113           0 :                         default: {
    4114           0 :                                 size_reserved_0 = 4;
    4115           0 :                                 for (cntr_reserved_0 = 0; cntr_reserved_0 < (size_reserved_0); cntr_reserved_0++) {
    4116           0 :                                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->reserved[cntr_reserved_0]));
    4117             :                                 }
    4118           0 :                         break; }
    4119             : 
    4120             :                 }
    4121             :         }
    4122           0 :         return NDR_ERR_SUCCESS;
    4123             : }
    4124             : 
    4125           0 : _PUBLIC_ void ndr_print_version_dependant(struct ndr_print *ndr, const char *name, const union version_dependant *r)
    4126             : {
    4127           0 :         uint32_t level;
    4128           0 :         uint32_t cntr_reserved_0;
    4129           0 :         level = ndr_print_steal_switch_value(ndr, r);
    4130           0 :         ndr_print_union(ndr, name, level, "version_dependant");
    4131           0 :         switch (level) {
    4132           0 :                 case WINDOWS_7:
    4133           0 :                         ndr_print_version_info(ndr, "version_info", &r->version_info);
    4134           0 :                 break;
    4135             : 
    4136           0 :                 case WINDOWS_2008:
    4137           0 :                         ndr_print_version_info(ndr, "version_info", &r->version_info);
    4138           0 :                 break;
    4139             : 
    4140           0 :                 default:
    4141           0 :                         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "reserved", (uint32_t)(4));
    4142           0 :                         ndr->depth++;
    4143           0 :                         for (cntr_reserved_0 = 0; cntr_reserved_0 < (4); cntr_reserved_0++) {
    4144           0 :                                 ndr_print_uint32(ndr, "reserved", r->reserved[cntr_reserved_0]);
    4145             :                         }
    4146           0 :                         ndr->depth--;
    4147           0 :                 break;
    4148             : 
    4149             :         }
    4150           0 : }
    4151             : 
    4152           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmconnectout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmconnectout *r)
    4153             : {
    4154           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4155           0 :         if (ndr_flags & NDR_SCALARS) {
    4156           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    4157           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->server_version));
    4158           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->version_dependant, r->server_version));
    4159           0 :                 NDR_CHECK(ndr_push_version_dependant(ndr, NDR_SCALARS, &r->version_dependant));
    4160           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    4161             :         }
    4162           0 :         if (ndr_flags & NDR_BUFFERS) {
    4163           0 :         }
    4164           0 :         return NDR_ERR_SUCCESS;
    4165             : }
    4166             : 
    4167           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmconnectout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmconnectout *r)
    4168             : {
    4169           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4170           0 :         if (ndr_flags & NDR_SCALARS) {
    4171           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    4172           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->server_version));
    4173           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->version_dependant, r->server_version));
    4174           0 :                 NDR_CHECK(ndr_pull_version_dependant(ndr, NDR_SCALARS, &r->version_dependant));
    4175           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    4176             :         }
    4177           0 :         if (ndr_flags & NDR_BUFFERS) {
    4178           0 :         }
    4179           0 :         return NDR_ERR_SUCCESS;
    4180             : }
    4181             : 
    4182           0 : static void ndr_print_flags_wsp_cpmconnectout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmconnectout *r)
    4183             : {
    4184           0 :         ndr_print_wsp_cpmconnectout(ndr, name, r);
    4185           0 : }
    4186             : 
    4187           0 : _PUBLIC_ void ndr_print_wsp_cpmconnectout(struct ndr_print *ndr, const char *name, const struct wsp_cpmconnectout *r)
    4188             : {
    4189           0 :         ndr_print_struct(ndr, name, "wsp_cpmconnectout");
    4190           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    4191           0 :         ndr->depth++;
    4192           0 :         ndr_print_uint32(ndr, "server_version", r->server_version);
    4193           0 :         ndr_print_set_switch_value(ndr, &r->version_dependant, r->server_version);
    4194           0 :         ndr_print_version_dependant(ndr, "version_dependant", &r->version_dependant);
    4195           0 :         ndr->depth--;
    4196             : }
    4197             : 
    4198           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_ccolumnset(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_ccolumnset *r)
    4199             : {
    4200           0 :         uint32_t cntr_indexes_0;
    4201           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4202           0 :         if (ndr_flags & NDR_SCALARS) {
    4203           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    4204           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->count));
    4205           0 :                 for (cntr_indexes_0 = 0; cntr_indexes_0 < (r->count); cntr_indexes_0++) {
    4206           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->indexes[cntr_indexes_0]));
    4207             :                 }
    4208           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    4209             :         }
    4210           0 :         if (ndr_flags & NDR_BUFFERS) {
    4211           0 :         }
    4212           0 :         return NDR_ERR_SUCCESS;
    4213             : }
    4214             : 
    4215           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_ccolumnset(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_ccolumnset *r)
    4216             : {
    4217           0 :         uint32_t size_indexes_0 = 0;
    4218           0 :         uint32_t cntr_indexes_0;
    4219           0 :         TALLOC_CTX *_mem_save_indexes_0 = NULL;
    4220           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4221           0 :         if (ndr_flags & NDR_SCALARS) {
    4222           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    4223           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->count));
    4224           0 :                 size_indexes_0 = r->count;
    4225           0 :                 NDR_PULL_ALLOC_N(ndr, r->indexes, size_indexes_0);
    4226           0 :                 _mem_save_indexes_0 = NDR_PULL_GET_MEM_CTX(ndr);
    4227           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->indexes, 0);
    4228           0 :                 for (cntr_indexes_0 = 0; cntr_indexes_0 < (size_indexes_0); cntr_indexes_0++) {
    4229           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->indexes[cntr_indexes_0]));
    4230             :                 }
    4231           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_indexes_0, 0);
    4232           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    4233             :         }
    4234           0 :         if (ndr_flags & NDR_BUFFERS) {
    4235           0 :         }
    4236           0 :         return NDR_ERR_SUCCESS;
    4237             : }
    4238             : 
    4239           0 : static void ndr_print_flags_wsp_ccolumnset(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_ccolumnset *r)
    4240             : {
    4241           0 :         ndr_print_wsp_ccolumnset(ndr, name, r);
    4242           0 : }
    4243             : 
    4244           0 : _PUBLIC_ void ndr_print_wsp_ccolumnset(struct ndr_print *ndr, const char *name, const struct wsp_ccolumnset *r)
    4245             : {
    4246           0 :         uint32_t cntr_indexes_0;
    4247           0 :         ndr_print_struct(ndr, name, "wsp_ccolumnset");
    4248           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    4249           0 :         ndr->depth++;
    4250           0 :         ndr_print_uint32(ndr, "count", r->count);
    4251           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "indexes", (uint32_t)(r->count));
    4252           0 :         ndr->depth++;
    4253           0 :         for (cntr_indexes_0 = 0; cntr_indexes_0 < (r->count); cntr_indexes_0++) {
    4254           0 :                 ndr_print_uint32(ndr, "indexes", r->indexes[cntr_indexes_0]);
    4255             :         }
    4256           0 :         ndr->depth--;
    4257           0 :         ndr->depth--;
    4258             : }
    4259             : 
    4260           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cnoderestriction(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cnoderestriction *r)
    4261             : {
    4262           0 :         uint32_t cntr_panode_0;
    4263           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4264           0 :         if (ndr_flags & NDR_SCALARS) {
    4265           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    4266           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cnode));
    4267           0 :                 for (cntr_panode_0 = 0; cntr_panode_0 < (r->cnode); cntr_panode_0++) {
    4268           0 :                         NDR_CHECK(ndr_push_wsp_crestriction(ndr, NDR_SCALARS, &r->panode[cntr_panode_0]));
    4269             :                 }
    4270           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    4271             :         }
    4272           0 :         if (ndr_flags & NDR_BUFFERS) {
    4273           0 :                 for (cntr_panode_0 = 0; cntr_panode_0 < (r->cnode); cntr_panode_0++) {
    4274           0 :                         NDR_CHECK(ndr_push_wsp_crestriction(ndr, NDR_BUFFERS, &r->panode[cntr_panode_0]));
    4275             :                 }
    4276             :         }
    4277           0 :         return NDR_ERR_SUCCESS;
    4278             : }
    4279             : 
    4280           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cnoderestriction(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cnoderestriction *r)
    4281             : {
    4282           0 :         uint32_t size_panode_0 = 0;
    4283           0 :         uint32_t cntr_panode_0;
    4284           0 :         TALLOC_CTX *_mem_save_panode_0 = NULL;
    4285           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4286           0 :         if (ndr_flags & NDR_SCALARS) {
    4287           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    4288           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cnode));
    4289           0 :                 size_panode_0 = r->cnode;
    4290           0 :                 NDR_PULL_ALLOC_N(ndr, r->panode, size_panode_0);
    4291           0 :                 _mem_save_panode_0 = NDR_PULL_GET_MEM_CTX(ndr);
    4292           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->panode, 0);
    4293           0 :                 for (cntr_panode_0 = 0; cntr_panode_0 < (size_panode_0); cntr_panode_0++) {
    4294           0 :                         NDR_RECURSION_CHECK(ndr, 100);
    4295           0 :                         NDR_CHECK(ndr_pull_wsp_crestriction(ndr, NDR_SCALARS, &r->panode[cntr_panode_0]));
    4296           0 :                         NDR_RECURSION_UNWIND(ndr);
    4297             :                 }
    4298           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_panode_0, 0);
    4299           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    4300             :         }
    4301           0 :         if (ndr_flags & NDR_BUFFERS) {
    4302           0 :                 size_panode_0 = r->cnode;
    4303           0 :                 _mem_save_panode_0 = NDR_PULL_GET_MEM_CTX(ndr);
    4304           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->panode, 0);
    4305           0 :                 for (cntr_panode_0 = 0; cntr_panode_0 < (size_panode_0); cntr_panode_0++) {
    4306           0 :                         NDR_RECURSION_CHECK(ndr, 100);
    4307           0 :                         NDR_CHECK(ndr_pull_wsp_crestriction(ndr, NDR_BUFFERS, &r->panode[cntr_panode_0]));
    4308           0 :                         NDR_RECURSION_UNWIND(ndr);
    4309             :                 }
    4310           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_panode_0, 0);
    4311           0 :                 for (cntr_panode_0 = 0; cntr_panode_0 < (size_panode_0); cntr_panode_0++) {
    4312             :                 }
    4313             :         }
    4314           0 :         return NDR_ERR_SUCCESS;
    4315             : }
    4316             : 
    4317           0 : static void ndr_print_flags_wsp_cnoderestriction(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cnoderestriction *r)
    4318             : {
    4319           0 :         ndr_print_wsp_cnoderestriction(ndr, name, r);
    4320           0 : }
    4321             : 
    4322           0 : _PUBLIC_ void ndr_print_wsp_cnoderestriction(struct ndr_print *ndr, const char *name, const struct wsp_cnoderestriction *r)
    4323             : {
    4324           0 :         uint32_t cntr_panode_0;
    4325           0 :         ndr_print_struct(ndr, name, "wsp_cnoderestriction");
    4326           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    4327           0 :         ndr->depth++;
    4328           0 :         ndr_print_uint32(ndr, "cnode", r->cnode);
    4329           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "panode", (uint32_t)(r->cnode));
    4330           0 :         ndr->depth++;
    4331           0 :         for (cntr_panode_0 = 0; cntr_panode_0 < (r->cnode); cntr_panode_0++) {
    4332           0 :                 ndr_print_wsp_crestriction(ndr, "panode", &r->panode[cntr_panode_0]);
    4333             :         }
    4334           0 :         ndr->depth--;
    4335           0 :         ndr->depth--;
    4336             : }
    4337             : 
    4338           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_len_string_pair(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_len_string_pair *r)
    4339             : {
    4340           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4341           0 :         if (ndr_flags & NDR_SCALARS) {
    4342           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    4343           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->len));
    4344           0 :                 NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->vstring, r->len * 2, sizeof(uint8_t), CH_UTF16));
    4345           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    4346             :         }
    4347           0 :         if (ndr_flags & NDR_BUFFERS) {
    4348           0 :         }
    4349           0 :         return NDR_ERR_SUCCESS;
    4350             : }
    4351             : 
    4352           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_len_string_pair(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_len_string_pair *r)
    4353             : {
    4354           0 :         uint32_t size_vstring_0 = 0;
    4355           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4356           0 :         if (ndr_flags & NDR_SCALARS) {
    4357           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    4358           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->len));
    4359           0 :                 size_vstring_0 = r->len * 2;
    4360           0 :                 NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->vstring, size_vstring_0, sizeof(uint8_t), CH_UTF16));
    4361           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    4362             :         }
    4363           0 :         if (ndr_flags & NDR_BUFFERS) {
    4364           0 :         }
    4365           0 :         return NDR_ERR_SUCCESS;
    4366             : }
    4367             : 
    4368           0 : static void ndr_print_flags_wsp_len_string_pair(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_len_string_pair *r)
    4369             : {
    4370           0 :         ndr_print_wsp_len_string_pair(ndr, name, r);
    4371           0 : }
    4372             : 
    4373           0 : _PUBLIC_ void ndr_print_wsp_len_string_pair(struct ndr_print *ndr, const char *name, const struct wsp_len_string_pair *r)
    4374             : {
    4375           0 :         ndr_print_struct(ndr, name, "wsp_len_string_pair");
    4376           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    4377           0 :         ndr->depth++;
    4378           0 :         ndr_print_uint32(ndr, "len", r->len);
    4379           0 :         ndr_print_string(ndr, "vstring", r->vstring);
    4380           0 :         ndr->depth--;
    4381             : }
    4382             : 
    4383           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_propname_or_propid(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union wsp_propname_or_propid *r)
    4384             : {
    4385           0 :         uint32_t level;
    4386           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4387           0 :         if (ndr_flags & NDR_SCALARS) {
    4388             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    4389           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    4390           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    4391           0 :                 switch (level) {
    4392           0 :                         case PRSPEC_LPWSTR: {
    4393           0 :                                 NDR_CHECK(ndr_push_wsp_len_string_pair(ndr, NDR_SCALARS, &r->propname));
    4394           0 :                         break; }
    4395             : 
    4396           0 :                         case PRSPEC_PROPID: {
    4397           0 :                                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->prspec));
    4398           0 :                         break; }
    4399             : 
    4400           0 :                         default:
    4401           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    4402             :                 }
    4403             :         }
    4404           0 :         if (ndr_flags & NDR_BUFFERS) {
    4405           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    4406             :                         /* We didn't get it above, and the token is not needed after this. */
    4407           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    4408             :                 }
    4409           0 :                 switch (level) {
    4410           0 :                         case PRSPEC_LPWSTR:
    4411           0 :                         break;
    4412             : 
    4413           0 :                         case PRSPEC_PROPID:
    4414           0 :                         break;
    4415             : 
    4416           0 :                         default:
    4417           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    4418             :                 }
    4419             :         }
    4420           0 :         return NDR_ERR_SUCCESS;
    4421             : }
    4422             : 
    4423           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_propname_or_propid(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union wsp_propname_or_propid *r)
    4424             : {
    4425           0 :         uint32_t level;
    4426           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4427           0 :         if (ndr_flags & NDR_SCALARS) {
    4428             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    4429           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    4430           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    4431           0 :                 switch (level) {
    4432           0 :                         case PRSPEC_LPWSTR: {
    4433           0 :                                 NDR_CHECK(ndr_pull_wsp_len_string_pair(ndr, NDR_SCALARS, &r->propname));
    4434           0 :                         break; }
    4435             : 
    4436           0 :                         case PRSPEC_PROPID: {
    4437           0 :                                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->prspec));
    4438           0 :                         break; }
    4439             : 
    4440           0 :                         default:
    4441           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    4442             :                 }
    4443             :         }
    4444           0 :         if (ndr_flags & NDR_BUFFERS) {
    4445           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    4446             :                         /* We didn't get it above, and the token is not needed after this. */
    4447           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    4448             :                 }
    4449           0 :                 switch (level) {
    4450           0 :                         case PRSPEC_LPWSTR:
    4451           0 :                         break;
    4452             : 
    4453           0 :                         case PRSPEC_PROPID:
    4454           0 :                         break;
    4455             : 
    4456           0 :                         default:
    4457           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    4458             :                 }
    4459             :         }
    4460           0 :         return NDR_ERR_SUCCESS;
    4461             : }
    4462             : 
    4463           0 : _PUBLIC_ void ndr_print_wsp_propname_or_propid(struct ndr_print *ndr, const char *name, const union wsp_propname_or_propid *r)
    4464             : {
    4465           0 :         uint32_t level;
    4466           0 :         level = ndr_print_steal_switch_value(ndr, r);
    4467           0 :         ndr_print_union(ndr, name, level, "wsp_propname_or_propid");
    4468           0 :         switch (level) {
    4469           0 :                 case PRSPEC_LPWSTR:
    4470           0 :                         ndr_print_wsp_len_string_pair(ndr, "propname", &r->propname);
    4471           0 :                 break;
    4472             : 
    4473           0 :                 case PRSPEC_PROPID:
    4474           0 :                         ndr_print_uint32(ndr, "prspec", r->prspec);
    4475           0 :                 break;
    4476             : 
    4477           0 :                 default:
    4478           0 :                         ndr_print_bad_level(ndr, name, level);
    4479             :         }
    4480           0 : }
    4481             : 
    4482           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_labeldata(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_labeldata *r)
    4483             : {
    4484           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4485           0 :         if (ndr_flags & NDR_SCALARS) {
    4486           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    4487           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cclabel));
    4488           0 :                 NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->vstring, r->cclabel * 2, sizeof(uint8_t), CH_UTF16));
    4489           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    4490             :         }
    4491           0 :         if (ndr_flags & NDR_BUFFERS) {
    4492           0 :         }
    4493           0 :         return NDR_ERR_SUCCESS;
    4494             : }
    4495             : 
    4496           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_labeldata(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_labeldata *r)
    4497             : {
    4498           0 :         uint32_t size_vstring_0 = 0;
    4499           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4500           0 :         if (ndr_flags & NDR_SCALARS) {
    4501           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    4502           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cclabel));
    4503           0 :                 size_vstring_0 = r->cclabel * 2;
    4504           0 :                 NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->vstring, size_vstring_0, sizeof(uint8_t), CH_UTF16));
    4505           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    4506             :         }
    4507           0 :         if (ndr_flags & NDR_BUFFERS) {
    4508           0 :         }
    4509           0 :         return NDR_ERR_SUCCESS;
    4510             : }
    4511             : 
    4512           0 : static void ndr_print_flags_wsp_labeldata(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_labeldata *r)
    4513             : {
    4514           0 :         ndr_print_wsp_labeldata(ndr, name, r);
    4515           0 : }
    4516             : 
    4517           0 : _PUBLIC_ void ndr_print_wsp_labeldata(struct ndr_print *ndr, const char *name, const struct wsp_labeldata *r)
    4518             : {
    4519           0 :         ndr_print_struct(ndr, name, "wsp_labeldata");
    4520           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    4521           0 :         ndr->depth++;
    4522           0 :         ndr_print_uint32(ndr, "cclabel", r->cclabel);
    4523           0 :         ndr_print_string(ndr, "vstring", r->vstring);
    4524           0 :         ndr->depth--;
    4525             : }
    4526             : 
    4527           0 : _PUBLIC_ enum ndr_err_code ndr_push_opt_labeldata(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union opt_labeldata *r)
    4528             : {
    4529           0 :         uint32_t level;
    4530           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4531           0 :         if (ndr_flags & NDR_SCALARS) {
    4532             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    4533           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    4534           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    4535           0 :                 switch (level) {
    4536           0 :                         case 0: {
    4537           0 :                         break; }
    4538             : 
    4539           0 :                         case 1: {
    4540           0 :                                 NDR_CHECK(ndr_push_wsp_labeldata(ndr, NDR_SCALARS, &r->data));
    4541           0 :                         break; }
    4542             : 
    4543           0 :                         default:
    4544           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    4545             :                 }
    4546             :         }
    4547           0 :         if (ndr_flags & NDR_BUFFERS) {
    4548           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    4549             :                         /* We didn't get it above, and the token is not needed after this. */
    4550           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    4551             :                 }
    4552           0 :                 switch (level) {
    4553           0 :                         case 0:
    4554           0 :                         break;
    4555             : 
    4556           0 :                         case 1:
    4557           0 :                         break;
    4558             : 
    4559           0 :                         default:
    4560           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    4561             :                 }
    4562             :         }
    4563           0 :         return NDR_ERR_SUCCESS;
    4564             : }
    4565             : 
    4566           0 : _PUBLIC_ enum ndr_err_code ndr_pull_opt_labeldata(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union opt_labeldata *r)
    4567             : {
    4568           0 :         uint32_t level;
    4569           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4570           0 :         if (ndr_flags & NDR_SCALARS) {
    4571             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    4572           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    4573           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    4574           0 :                 switch (level) {
    4575           0 :                         case 0: {
    4576           0 :                         break; }
    4577             : 
    4578           0 :                         case 1: {
    4579           0 :                                 NDR_CHECK(ndr_pull_wsp_labeldata(ndr, NDR_SCALARS, &r->data));
    4580           0 :                         break; }
    4581             : 
    4582           0 :                         default:
    4583           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    4584             :                 }
    4585             :         }
    4586           0 :         if (ndr_flags & NDR_BUFFERS) {
    4587           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    4588             :                         /* We didn't get it above, and the token is not needed after this. */
    4589           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    4590             :                 }
    4591           0 :                 switch (level) {
    4592           0 :                         case 0:
    4593           0 :                         break;
    4594             : 
    4595           0 :                         case 1:
    4596           0 :                         break;
    4597             : 
    4598           0 :                         default:
    4599           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    4600             :                 }
    4601             :         }
    4602           0 :         return NDR_ERR_SUCCESS;
    4603             : }
    4604             : 
    4605           0 : _PUBLIC_ void ndr_print_opt_labeldata(struct ndr_print *ndr, const char *name, const union opt_labeldata *r)
    4606             : {
    4607           0 :         uint32_t level;
    4608           0 :         level = ndr_print_steal_switch_value(ndr, r);
    4609           0 :         ndr_print_union(ndr, name, level, "opt_labeldata");
    4610           0 :         switch (level) {
    4611           0 :                 case 0:
    4612           0 :                 break;
    4613             : 
    4614           0 :                 case 1:
    4615           0 :                         ndr_print_wsp_labeldata(ndr, "data", &r->data);
    4616           0 :                 break;
    4617             : 
    4618           0 :                 default:
    4619           0 :                         ndr_print_bad_level(ndr, name, level);
    4620             :         }
    4621           0 : }
    4622             : 
    4623           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_rangeboundary(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_rangeboundary *r)
    4624             : {
    4625           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4626           0 :         if (ndr_flags & NDR_SCALARS) {
    4627           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    4628           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ultype));
    4629           0 :                 NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->prval));
    4630           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->labelpresent));
    4631           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->opt_data, r->labelpresent));
    4632           0 :                 NDR_CHECK(ndr_push_opt_labeldata(ndr, NDR_SCALARS, &r->opt_data));
    4633           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    4634             :         }
    4635           0 :         if (ndr_flags & NDR_BUFFERS) {
    4636           0 :                 NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->prval));
    4637           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->opt_data, r->labelpresent));
    4638           0 :                 NDR_CHECK(ndr_push_opt_labeldata(ndr, NDR_BUFFERS, &r->opt_data));
    4639             :         }
    4640           0 :         return NDR_ERR_SUCCESS;
    4641             : }
    4642             : 
    4643           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_rangeboundary(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_rangeboundary *r)
    4644             : {
    4645           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4646           0 :         if (ndr_flags & NDR_SCALARS) {
    4647           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    4648           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ultype));
    4649           0 :                 NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->prval));
    4650           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->labelpresent));
    4651           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->opt_data, r->labelpresent));
    4652           0 :                 NDR_CHECK(ndr_pull_opt_labeldata(ndr, NDR_SCALARS, &r->opt_data));
    4653           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    4654             :         }
    4655           0 :         if (ndr_flags & NDR_BUFFERS) {
    4656           0 :                 NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->prval));
    4657           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->opt_data, r->labelpresent));
    4658           0 :                 NDR_CHECK(ndr_pull_opt_labeldata(ndr, NDR_BUFFERS, &r->opt_data));
    4659             :         }
    4660           0 :         return NDR_ERR_SUCCESS;
    4661             : }
    4662             : 
    4663           0 : static void ndr_print_flags_wsp_rangeboundary(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_rangeboundary *r)
    4664             : {
    4665           0 :         ndr_print_wsp_rangeboundary(ndr, name, r);
    4666           0 : }
    4667             : 
    4668           0 : _PUBLIC_ void ndr_print_wsp_rangeboundary(struct ndr_print *ndr, const char *name, const struct wsp_rangeboundary *r)
    4669             : {
    4670           0 :         ndr_print_struct(ndr, name, "wsp_rangeboundary");
    4671           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    4672           0 :         ndr->depth++;
    4673           0 :         ndr_print_uint32(ndr, "ultype", r->ultype);
    4674           0 :         ndr_print_wsp_cbasestoragevariant(ndr, "prval", &r->prval);
    4675           0 :         ndr_print_uint8(ndr, "labelpresent", r->labelpresent);
    4676           0 :         ndr_print_set_switch_value(ndr, &r->opt_data, r->labelpresent);
    4677           0 :         ndr_print_opt_labeldata(ndr, "opt_data", &r->opt_data);
    4678           0 :         ndr->depth--;
    4679             : }
    4680             : 
    4681           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_crangecategspec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_crangecategspec *r)
    4682             : {
    4683           0 :         uint32_t cntr_arangebegin_0;
    4684           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4685           0 :         if (ndr_flags & NDR_SCALARS) {
    4686           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    4687           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->lcid));
    4688           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->crange));
    4689           0 :                 for (cntr_arangebegin_0 = 0; cntr_arangebegin_0 < (r->crange + 1); cntr_arangebegin_0++) {
    4690           0 :                         NDR_CHECK(ndr_push_wsp_rangeboundary(ndr, NDR_SCALARS, &r->arangebegin[cntr_arangebegin_0]));
    4691             :                 }
    4692           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    4693             :         }
    4694           0 :         if (ndr_flags & NDR_BUFFERS) {
    4695           0 :                 for (cntr_arangebegin_0 = 0; cntr_arangebegin_0 < (r->crange + 1); cntr_arangebegin_0++) {
    4696           0 :                         NDR_CHECK(ndr_push_wsp_rangeboundary(ndr, NDR_BUFFERS, &r->arangebegin[cntr_arangebegin_0]));
    4697             :                 }
    4698             :         }
    4699           0 :         return NDR_ERR_SUCCESS;
    4700             : }
    4701             : 
    4702           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_crangecategspec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_crangecategspec *r)
    4703             : {
    4704           0 :         uint32_t size_arangebegin_0 = 0;
    4705           0 :         uint32_t cntr_arangebegin_0;
    4706           0 :         TALLOC_CTX *_mem_save_arangebegin_0 = NULL;
    4707           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4708           0 :         if (ndr_flags & NDR_SCALARS) {
    4709           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    4710           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->lcid));
    4711           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->crange));
    4712           0 :                 size_arangebegin_0 = r->crange + 1;
    4713           0 :                 NDR_PULL_ALLOC_N(ndr, r->arangebegin, size_arangebegin_0);
    4714           0 :                 _mem_save_arangebegin_0 = NDR_PULL_GET_MEM_CTX(ndr);
    4715           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->arangebegin, 0);
    4716           0 :                 for (cntr_arangebegin_0 = 0; cntr_arangebegin_0 < (size_arangebegin_0); cntr_arangebegin_0++) {
    4717           0 :                         NDR_CHECK(ndr_pull_wsp_rangeboundary(ndr, NDR_SCALARS, &r->arangebegin[cntr_arangebegin_0]));
    4718             :                 }
    4719           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_arangebegin_0, 0);
    4720           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    4721             :         }
    4722           0 :         if (ndr_flags & NDR_BUFFERS) {
    4723           0 :                 size_arangebegin_0 = r->crange + 1;
    4724           0 :                 _mem_save_arangebegin_0 = NDR_PULL_GET_MEM_CTX(ndr);
    4725           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->arangebegin, 0);
    4726           0 :                 for (cntr_arangebegin_0 = 0; cntr_arangebegin_0 < (size_arangebegin_0); cntr_arangebegin_0++) {
    4727           0 :                         NDR_CHECK(ndr_pull_wsp_rangeboundary(ndr, NDR_BUFFERS, &r->arangebegin[cntr_arangebegin_0]));
    4728             :                 }
    4729           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_arangebegin_0, 0);
    4730           0 :                 for (cntr_arangebegin_0 = 0; cntr_arangebegin_0 < (size_arangebegin_0); cntr_arangebegin_0++) {
    4731             :                 }
    4732             :         }
    4733           0 :         return NDR_ERR_SUCCESS;
    4734             : }
    4735             : 
    4736           0 : static void ndr_print_flags_wsp_crangecategspec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_crangecategspec *r)
    4737             : {
    4738           0 :         ndr_print_wsp_crangecategspec(ndr, name, r);
    4739           0 : }
    4740             : 
    4741           0 : _PUBLIC_ void ndr_print_wsp_crangecategspec(struct ndr_print *ndr, const char *name, const struct wsp_crangecategspec *r)
    4742             : {
    4743           0 :         uint32_t cntr_arangebegin_0;
    4744           0 :         ndr_print_struct(ndr, name, "wsp_crangecategspec");
    4745           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    4746           0 :         ndr->depth++;
    4747           0 :         ndr_print_uint32(ndr, "lcid", r->lcid);
    4748           0 :         ndr_print_uint32(ndr, "crange", r->crange);
    4749           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "arangebegin", (uint32_t)(r->crange + 1));
    4750           0 :         ndr->depth++;
    4751           0 :         for (cntr_arangebegin_0 = 0; cntr_arangebegin_0 < (r->crange + 1); cntr_arangebegin_0++) {
    4752           0 :                 ndr_print_wsp_rangeboundary(ndr, "arangebegin", &r->arangebegin[cntr_arangebegin_0]);
    4753             :         }
    4754           0 :         ndr->depth--;
    4755           0 :         ndr->depth--;
    4756             : }
    4757             : 
    4758           0 : _PUBLIC_ enum ndr_err_code ndr_push_opt_crangecatespec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union opt_crangecatespec *r)
    4759             : {
    4760           0 :         uint32_t level;
    4761           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4762           0 :         if (ndr_flags & NDR_SCALARS) {
    4763             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    4764           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    4765           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    4766           0 :                 switch (level) {
    4767           0 :                         case 0: {
    4768           0 :                         break; }
    4769             : 
    4770           0 :                         default: {
    4771           0 :                                 NDR_CHECK(ndr_push_wsp_crangecategspec(ndr, NDR_SCALARS, &r->crangecategspec));
    4772           0 :                         break; }
    4773             : 
    4774             :                 }
    4775             :         }
    4776           0 :         if (ndr_flags & NDR_BUFFERS) {
    4777           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    4778             :                         /* We didn't get it above, and the token is not needed after this. */
    4779           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    4780             :                 }
    4781           0 :                 switch (level) {
    4782           0 :                         case 0:
    4783           0 :                         break;
    4784             : 
    4785           0 :                         default:
    4786           0 :                                 NDR_CHECK(ndr_push_wsp_crangecategspec(ndr, NDR_BUFFERS, &r->crangecategspec));
    4787           0 :                         break;
    4788             : 
    4789             :                 }
    4790             :         }
    4791           0 :         return NDR_ERR_SUCCESS;
    4792             : }
    4793             : 
    4794           0 : _PUBLIC_ enum ndr_err_code ndr_pull_opt_crangecatespec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union opt_crangecatespec *r)
    4795             : {
    4796           0 :         uint32_t level;
    4797           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4798           0 :         if (ndr_flags & NDR_SCALARS) {
    4799             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    4800           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    4801           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    4802           0 :                 switch (level) {
    4803           0 :                         case 0: {
    4804           0 :                         break; }
    4805             : 
    4806           0 :                         default: {
    4807           0 :                                 NDR_CHECK(ndr_pull_wsp_crangecategspec(ndr, NDR_SCALARS, &r->crangecategspec));
    4808           0 :                         break; }
    4809             : 
    4810             :                 }
    4811             :         }
    4812           0 :         if (ndr_flags & NDR_BUFFERS) {
    4813           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    4814             :                         /* We didn't get it above, and the token is not needed after this. */
    4815           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    4816             :                 }
    4817           0 :                 switch (level) {
    4818           0 :                         case 0:
    4819           0 :                         break;
    4820             : 
    4821           0 :                         default:
    4822           0 :                                 NDR_CHECK(ndr_pull_wsp_crangecategspec(ndr, NDR_BUFFERS, &r->crangecategspec));
    4823           0 :                         break;
    4824             : 
    4825             :                 }
    4826             :         }
    4827           0 :         return NDR_ERR_SUCCESS;
    4828             : }
    4829             : 
    4830           0 : _PUBLIC_ void ndr_print_opt_crangecatespec(struct ndr_print *ndr, const char *name, const union opt_crangecatespec *r)
    4831             : {
    4832           0 :         uint32_t level;
    4833           0 :         level = ndr_print_steal_switch_value(ndr, r);
    4834           0 :         ndr_print_union(ndr, name, level, "opt_crangecatespec");
    4835           0 :         switch (level) {
    4836           0 :                 case 0:
    4837           0 :                 break;
    4838             : 
    4839           0 :                 default:
    4840           0 :                         ndr_print_wsp_crangecategspec(ndr, "crangecategspec", &r->crangecategspec);
    4841           0 :                 break;
    4842             : 
    4843             :         }
    4844           0 : }
    4845             : 
    4846           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_ccategspec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_ccategspec *r)
    4847             : {
    4848           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4849           0 :         if (ndr_flags & NDR_SCALARS) {
    4850           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    4851           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ulcategtype));
    4852           0 :                 NDR_CHECK(ndr_push_wsp_csort(ndr, NDR_SCALARS, &r->sortkey));
    4853           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->opt, r->ulcategtype));
    4854           0 :                 NDR_CHECK(ndr_push_opt_crangecatespec(ndr, NDR_SCALARS, &r->opt));
    4855           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    4856             :         }
    4857           0 :         if (ndr_flags & NDR_BUFFERS) {
    4858           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->opt, r->ulcategtype));
    4859           0 :                 NDR_CHECK(ndr_push_opt_crangecatespec(ndr, NDR_BUFFERS, &r->opt));
    4860             :         }
    4861           0 :         return NDR_ERR_SUCCESS;
    4862             : }
    4863             : 
    4864           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_ccategspec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_ccategspec *r)
    4865             : {
    4866           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4867           0 :         if (ndr_flags & NDR_SCALARS) {
    4868           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    4869           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ulcategtype));
    4870           0 :                 NDR_CHECK(ndr_pull_wsp_csort(ndr, NDR_SCALARS, &r->sortkey));
    4871           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->opt, r->ulcategtype));
    4872           0 :                 NDR_CHECK(ndr_pull_opt_crangecatespec(ndr, NDR_SCALARS, &r->opt));
    4873           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    4874             :         }
    4875           0 :         if (ndr_flags & NDR_BUFFERS) {
    4876           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->opt, r->ulcategtype));
    4877           0 :                 NDR_CHECK(ndr_pull_opt_crangecatespec(ndr, NDR_BUFFERS, &r->opt));
    4878             :         }
    4879           0 :         return NDR_ERR_SUCCESS;
    4880             : }
    4881             : 
    4882           0 : static void ndr_print_flags_wsp_ccategspec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_ccategspec *r)
    4883             : {
    4884           0 :         ndr_print_wsp_ccategspec(ndr, name, r);
    4885           0 : }
    4886             : 
    4887           0 : _PUBLIC_ void ndr_print_wsp_ccategspec(struct ndr_print *ndr, const char *name, const struct wsp_ccategspec *r)
    4888             : {
    4889           0 :         ndr_print_struct(ndr, name, "wsp_ccategspec");
    4890           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    4891           0 :         ndr->depth++;
    4892           0 :         ndr_print_uint32(ndr, "ulcategtype", r->ulcategtype);
    4893           0 :         ndr_print_wsp_csort(ndr, "sortkey", &r->sortkey);
    4894           0 :         ndr_print_set_switch_value(ndr, &r->opt, r->ulcategtype);
    4895           0 :         ndr_print_opt_crangecatespec(ndr, "opt", &r->opt);
    4896           0 :         ndr->depth--;
    4897             : }
    4898             : 
    4899           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_repofdata(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_repofdata *r)
    4900             : {
    4901           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4902           0 :         if (ndr_flags & NDR_SCALARS) {
    4903           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    4904           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ulmaxnumtoret));
    4905           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->idrepresentitive));
    4906           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    4907             :         }
    4908           0 :         if (ndr_flags & NDR_BUFFERS) {
    4909           0 :         }
    4910           0 :         return NDR_ERR_SUCCESS;
    4911             : }
    4912             : 
    4913           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_repofdata(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_repofdata *r)
    4914             : {
    4915           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4916           0 :         if (ndr_flags & NDR_SCALARS) {
    4917           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    4918           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ulmaxnumtoret));
    4919           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->idrepresentitive));
    4920           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    4921             :         }
    4922           0 :         if (ndr_flags & NDR_BUFFERS) {
    4923           0 :         }
    4924           0 :         return NDR_ERR_SUCCESS;
    4925             : }
    4926             : 
    4927           0 : static void ndr_print_flags_wsp_repofdata(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_repofdata *r)
    4928             : {
    4929           0 :         ndr_print_wsp_repofdata(ndr, name, r);
    4930           0 : }
    4931             : 
    4932           0 : _PUBLIC_ void ndr_print_wsp_repofdata(struct ndr_print *ndr, const char *name, const struct wsp_repofdata *r)
    4933             : {
    4934           0 :         ndr_print_struct(ndr, name, "wsp_repofdata");
    4935           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    4936           0 :         ndr->depth++;
    4937           0 :         ndr_print_uint32(ndr, "ulmaxnumtoret", r->ulmaxnumtoret);
    4938           0 :         ndr_print_uint32(ndr, "idrepresentitive", r->idrepresentitive);
    4939           0 :         ndr->depth--;
    4940             : }
    4941             : 
    4942           0 : _PUBLIC_ enum ndr_err_code ndr_push_opt_type_data(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union opt_type_data *r)
    4943             : {
    4944           0 :         uint32_t level;
    4945           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    4946           0 :         if (ndr_flags & NDR_SCALARS) {
    4947             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    4948           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    4949           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    4950           0 :                 switch (level) {
    4951           0 :                         case DBAGGTTYPE_FIRST: {
    4952           0 :                                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->firstmaxnumret));
    4953           0 :                         break; }
    4954             : 
    4955           0 :                         case DBAGGTTYPE_BYFREQ: {
    4956           0 :                                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->firstbyfreq));
    4957           0 :                         break; }
    4958             : 
    4959           0 :                         case DBAGGTTYPE_REPRESENTATIVEOF: {
    4960           0 :                                 NDR_CHECK(ndr_push_wsp_repofdata(ndr, NDR_SCALARS, &r->repofdata));
    4961           0 :                         break; }
    4962             : 
    4963           0 :                         default: {
    4964           0 :                         break; }
    4965             : 
    4966             :                 }
    4967             :         }
    4968           0 :         return NDR_ERR_SUCCESS;
    4969             : }
    4970             : 
    4971           0 : _PUBLIC_ enum ndr_err_code ndr_pull_opt_type_data(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union opt_type_data *r)
    4972             : {
    4973           0 :         uint32_t level;
    4974           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    4975           0 :         if (ndr_flags & NDR_SCALARS) {
    4976             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    4977           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    4978           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    4979           0 :                 switch (level) {
    4980           0 :                         case DBAGGTTYPE_FIRST: {
    4981           0 :                                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->firstmaxnumret));
    4982           0 :                         break; }
    4983             : 
    4984           0 :                         case DBAGGTTYPE_BYFREQ: {
    4985           0 :                                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->firstbyfreq));
    4986           0 :                         break; }
    4987             : 
    4988           0 :                         case DBAGGTTYPE_REPRESENTATIVEOF: {
    4989           0 :                                 NDR_CHECK(ndr_pull_wsp_repofdata(ndr, NDR_SCALARS, &r->repofdata));
    4990           0 :                         break; }
    4991             : 
    4992           0 :                         default: {
    4993           0 :                         break; }
    4994             : 
    4995             :                 }
    4996             :         }
    4997           0 :         return NDR_ERR_SUCCESS;
    4998             : }
    4999             : 
    5000           0 : _PUBLIC_ void ndr_print_opt_type_data(struct ndr_print *ndr, const char *name, const union opt_type_data *r)
    5001             : {
    5002           0 :         uint32_t level;
    5003           0 :         level = ndr_print_steal_switch_value(ndr, r);
    5004           0 :         ndr_print_union(ndr, name, level, "opt_type_data");
    5005           0 :         switch (level) {
    5006           0 :                 case DBAGGTTYPE_FIRST:
    5007           0 :                         ndr_print_uint32(ndr, "firstmaxnumret", r->firstmaxnumret);
    5008           0 :                 break;
    5009             : 
    5010           0 :                 case DBAGGTTYPE_BYFREQ:
    5011           0 :                         ndr_print_uint32(ndr, "firstbyfreq", r->firstbyfreq);
    5012           0 :                 break;
    5013             : 
    5014           0 :                 case DBAGGTTYPE_REPRESENTATIVEOF:
    5015           0 :                         ndr_print_wsp_repofdata(ndr, "repofdata", &r->repofdata);
    5016           0 :                 break;
    5017             : 
    5018           0 :                 default:
    5019           0 :                 break;
    5020             : 
    5021             :         }
    5022           0 : }
    5023             : 
    5024           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_caggregspec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_caggregspec *r)
    5025             : {
    5026           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5027           0 :         if (ndr_flags & NDR_SCALARS) {
    5028           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    5029           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->type));
    5030             :                 {
    5031           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5032           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5033           0 :                         NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad1));
    5034           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5035             :                 }
    5036           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ccalias));
    5037           0 :                 NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->alias, r->ccalias * 2, sizeof(uint8_t), CH_UTF16));
    5038           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->idcolumn));
    5039           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->opt_data, r->type));
    5040           0 :                 NDR_CHECK(ndr_push_opt_type_data(ndr, NDR_SCALARS, &r->opt_data));
    5041           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    5042             :         }
    5043           0 :         if (ndr_flags & NDR_BUFFERS) {
    5044           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->opt_data, r->type));
    5045           0 :                 NDR_CHECK(ndr_push_opt_type_data(ndr, NDR_BUFFERS, &r->opt_data));
    5046             :         }
    5047           0 :         return NDR_ERR_SUCCESS;
    5048             : }
    5049             : 
    5050           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_caggregspec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_caggregspec *r)
    5051             : {
    5052           0 :         uint32_t size_alias_0 = 0;
    5053           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    5054           0 :         if (ndr_flags & NDR_SCALARS) {
    5055           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    5056           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->type));
    5057             :                 {
    5058           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5059           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5060           0 :                         NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad1));
    5061           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5062             :                 }
    5063           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ccalias));
    5064           0 :                 size_alias_0 = r->ccalias * 2;
    5065           0 :                 NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->alias, size_alias_0, sizeof(uint8_t), CH_UTF16));
    5066           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->idcolumn));
    5067           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->opt_data, r->type));
    5068           0 :                 NDR_CHECK(ndr_pull_opt_type_data(ndr, NDR_SCALARS, &r->opt_data));
    5069           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    5070             :         }
    5071           0 :         if (ndr_flags & NDR_BUFFERS) {
    5072           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->opt_data, r->type));
    5073           0 :                 NDR_CHECK(ndr_pull_opt_type_data(ndr, NDR_BUFFERS, &r->opt_data));
    5074             :         }
    5075           0 :         return NDR_ERR_SUCCESS;
    5076             : }
    5077             : 
    5078           0 : static void ndr_print_flags_wsp_caggregspec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_caggregspec *r)
    5079             : {
    5080           0 :         ndr_print_wsp_caggregspec(ndr, name, r);
    5081           0 : }
    5082             : 
    5083           0 : _PUBLIC_ void ndr_print_wsp_caggregspec(struct ndr_print *ndr, const char *name, const struct wsp_caggregspec *r)
    5084             : {
    5085           0 :         ndr_print_struct(ndr, name, "wsp_caggregspec");
    5086           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    5087           0 :         ndr->depth++;
    5088           0 :         ndr_print_uint8(ndr, "type", r->type);
    5089             :         {
    5090           0 :                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5091           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5092           0 :                 ndr_print_DATA_BLOB(ndr, "_pad1", r->_pad1);
    5093           0 :                 ndr->flags = _flags_save_DATA_BLOB;
    5094             :         }
    5095           0 :         ndr_print_uint32(ndr, "ccalias", r->ccalias);
    5096           0 :         ndr_print_string(ndr, "alias", r->alias);
    5097           0 :         ndr_print_uint32(ndr, "idcolumn", r->idcolumn);
    5098           0 :         ndr_print_set_switch_value(ndr, &r->opt_data, r->type);
    5099           0 :         ndr_print_opt_type_data(ndr, "opt_data", &r->opt_data);
    5100           0 :         ndr->depth--;
    5101             : }
    5102             : 
    5103           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_caggregset(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_caggregset *r)
    5104             : {
    5105           0 :         uint32_t cntr_aggregspecs_0;
    5106           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5107           0 :         if (ndr_flags & NDR_SCALARS) {
    5108           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    5109           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ccount));
    5110           0 :                 for (cntr_aggregspecs_0 = 0; cntr_aggregspecs_0 < (r->ccount); cntr_aggregspecs_0++) {
    5111           0 :                         NDR_CHECK(ndr_push_wsp_caggregspec(ndr, NDR_SCALARS, &r->aggregspecs[cntr_aggregspecs_0]));
    5112             :                 }
    5113           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    5114             :         }
    5115           0 :         if (ndr_flags & NDR_BUFFERS) {
    5116           0 :                 for (cntr_aggregspecs_0 = 0; cntr_aggregspecs_0 < (r->ccount); cntr_aggregspecs_0++) {
    5117           0 :                         NDR_CHECK(ndr_push_wsp_caggregspec(ndr, NDR_BUFFERS, &r->aggregspecs[cntr_aggregspecs_0]));
    5118             :                 }
    5119             :         }
    5120           0 :         return NDR_ERR_SUCCESS;
    5121             : }
    5122             : 
    5123           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_caggregset(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_caggregset *r)
    5124             : {
    5125           0 :         uint32_t size_aggregspecs_0 = 0;
    5126           0 :         uint32_t cntr_aggregspecs_0;
    5127           0 :         TALLOC_CTX *_mem_save_aggregspecs_0 = NULL;
    5128           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    5129           0 :         if (ndr_flags & NDR_SCALARS) {
    5130           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    5131           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ccount));
    5132           0 :                 size_aggregspecs_0 = r->ccount;
    5133           0 :                 NDR_PULL_ALLOC_N(ndr, r->aggregspecs, size_aggregspecs_0);
    5134           0 :                 _mem_save_aggregspecs_0 = NDR_PULL_GET_MEM_CTX(ndr);
    5135           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->aggregspecs, 0);
    5136           0 :                 for (cntr_aggregspecs_0 = 0; cntr_aggregspecs_0 < (size_aggregspecs_0); cntr_aggregspecs_0++) {
    5137           0 :                         NDR_CHECK(ndr_pull_wsp_caggregspec(ndr, NDR_SCALARS, &r->aggregspecs[cntr_aggregspecs_0]));
    5138             :                 }
    5139           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_aggregspecs_0, 0);
    5140           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    5141             :         }
    5142           0 :         if (ndr_flags & NDR_BUFFERS) {
    5143           0 :                 size_aggregspecs_0 = r->ccount;
    5144           0 :                 _mem_save_aggregspecs_0 = NDR_PULL_GET_MEM_CTX(ndr);
    5145           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->aggregspecs, 0);
    5146           0 :                 for (cntr_aggregspecs_0 = 0; cntr_aggregspecs_0 < (size_aggregspecs_0); cntr_aggregspecs_0++) {
    5147           0 :                         NDR_CHECK(ndr_pull_wsp_caggregspec(ndr, NDR_BUFFERS, &r->aggregspecs[cntr_aggregspecs_0]));
    5148             :                 }
    5149           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_aggregspecs_0, 0);
    5150           0 :                 for (cntr_aggregspecs_0 = 0; cntr_aggregspecs_0 < (size_aggregspecs_0); cntr_aggregspecs_0++) {
    5151             :                 }
    5152             :         }
    5153           0 :         return NDR_ERR_SUCCESS;
    5154             : }
    5155             : 
    5156           0 : static void ndr_print_flags_wsp_caggregset(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_caggregset *r)
    5157             : {
    5158           0 :         ndr_print_wsp_caggregset(ndr, name, r);
    5159           0 : }
    5160             : 
    5161           0 : _PUBLIC_ void ndr_print_wsp_caggregset(struct ndr_print *ndr, const char *name, const struct wsp_caggregset *r)
    5162             : {
    5163           0 :         uint32_t cntr_aggregspecs_0;
    5164           0 :         ndr_print_struct(ndr, name, "wsp_caggregset");
    5165           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    5166           0 :         ndr->depth++;
    5167           0 :         ndr_print_uint32(ndr, "ccount", r->ccount);
    5168           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "aggregspecs", (uint32_t)(r->ccount));
    5169           0 :         ndr->depth++;
    5170           0 :         for (cntr_aggregspecs_0 = 0; cntr_aggregspecs_0 < (r->ccount); cntr_aggregspecs_0++) {
    5171           0 :                 ndr_print_wsp_caggregspec(ndr, "aggregspecs", &r->aggregspecs[cntr_aggregspecs_0]);
    5172             :         }
    5173           0 :         ndr->depth--;
    5174           0 :         ndr->depth--;
    5175             : }
    5176             : 
    5177           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_caggregsortkey(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_caggregsortkey *r)
    5178             : {
    5179           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5180           0 :         if (ndr_flags & NDR_SCALARS) {
    5181           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    5182           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->order));
    5183           0 :                 NDR_CHECK(ndr_push_wsp_caggregspec(ndr, NDR_SCALARS, &r->columnspec));
    5184           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    5185             :         }
    5186           0 :         if (ndr_flags & NDR_BUFFERS) {
    5187           0 :                 NDR_CHECK(ndr_push_wsp_caggregspec(ndr, NDR_BUFFERS, &r->columnspec));
    5188             :         }
    5189           0 :         return NDR_ERR_SUCCESS;
    5190             : }
    5191             : 
    5192           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_caggregsortkey(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_caggregsortkey *r)
    5193             : {
    5194           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    5195           0 :         if (ndr_flags & NDR_SCALARS) {
    5196           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    5197           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->order));
    5198           0 :                 NDR_CHECK(ndr_pull_wsp_caggregspec(ndr, NDR_SCALARS, &r->columnspec));
    5199           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    5200             :         }
    5201           0 :         if (ndr_flags & NDR_BUFFERS) {
    5202           0 :                 NDR_CHECK(ndr_pull_wsp_caggregspec(ndr, NDR_BUFFERS, &r->columnspec));
    5203             :         }
    5204           0 :         return NDR_ERR_SUCCESS;
    5205             : }
    5206             : 
    5207           0 : static void ndr_print_flags_wsp_caggregsortkey(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_caggregsortkey *r)
    5208             : {
    5209           0 :         ndr_print_wsp_caggregsortkey(ndr, name, r);
    5210           0 : }
    5211             : 
    5212           0 : _PUBLIC_ void ndr_print_wsp_caggregsortkey(struct ndr_print *ndr, const char *name, const struct wsp_caggregsortkey *r)
    5213             : {
    5214           0 :         ndr_print_struct(ndr, name, "wsp_caggregsortkey");
    5215           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    5216           0 :         ndr->depth++;
    5217           0 :         ndr_print_uint32(ndr, "order", r->order);
    5218           0 :         ndr_print_wsp_caggregspec(ndr, "columnspec", &r->columnspec);
    5219           0 :         ndr->depth--;
    5220             : }
    5221             : 
    5222           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_csortaggregset(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_csortaggregset *r)
    5223             : {
    5224           0 :         uint32_t cntr_sortkeys_0;
    5225           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5226           0 :         if (ndr_flags & NDR_SCALARS) {
    5227           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    5228           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ccount));
    5229           0 :                 for (cntr_sortkeys_0 = 0; cntr_sortkeys_0 < (r->ccount); cntr_sortkeys_0++) {
    5230           0 :                         NDR_CHECK(ndr_push_wsp_caggregsortkey(ndr, NDR_SCALARS, &r->sortkeys[cntr_sortkeys_0]));
    5231             :                 }
    5232           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    5233             :         }
    5234           0 :         if (ndr_flags & NDR_BUFFERS) {
    5235           0 :                 for (cntr_sortkeys_0 = 0; cntr_sortkeys_0 < (r->ccount); cntr_sortkeys_0++) {
    5236           0 :                         NDR_CHECK(ndr_push_wsp_caggregsortkey(ndr, NDR_BUFFERS, &r->sortkeys[cntr_sortkeys_0]));
    5237             :                 }
    5238             :         }
    5239           0 :         return NDR_ERR_SUCCESS;
    5240             : }
    5241             : 
    5242           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_csortaggregset(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_csortaggregset *r)
    5243             : {
    5244           0 :         uint32_t size_sortkeys_0 = 0;
    5245           0 :         uint32_t cntr_sortkeys_0;
    5246           0 :         TALLOC_CTX *_mem_save_sortkeys_0 = NULL;
    5247           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    5248           0 :         if (ndr_flags & NDR_SCALARS) {
    5249           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    5250           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ccount));
    5251           0 :                 size_sortkeys_0 = r->ccount;
    5252           0 :                 NDR_PULL_ALLOC_N(ndr, r->sortkeys, size_sortkeys_0);
    5253           0 :                 _mem_save_sortkeys_0 = NDR_PULL_GET_MEM_CTX(ndr);
    5254           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->sortkeys, 0);
    5255           0 :                 for (cntr_sortkeys_0 = 0; cntr_sortkeys_0 < (size_sortkeys_0); cntr_sortkeys_0++) {
    5256           0 :                         NDR_CHECK(ndr_pull_wsp_caggregsortkey(ndr, NDR_SCALARS, &r->sortkeys[cntr_sortkeys_0]));
    5257             :                 }
    5258           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sortkeys_0, 0);
    5259           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    5260             :         }
    5261           0 :         if (ndr_flags & NDR_BUFFERS) {
    5262           0 :                 size_sortkeys_0 = r->ccount;
    5263           0 :                 _mem_save_sortkeys_0 = NDR_PULL_GET_MEM_CTX(ndr);
    5264           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->sortkeys, 0);
    5265           0 :                 for (cntr_sortkeys_0 = 0; cntr_sortkeys_0 < (size_sortkeys_0); cntr_sortkeys_0++) {
    5266           0 :                         NDR_CHECK(ndr_pull_wsp_caggregsortkey(ndr, NDR_BUFFERS, &r->sortkeys[cntr_sortkeys_0]));
    5267             :                 }
    5268           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sortkeys_0, 0);
    5269           0 :                 for (cntr_sortkeys_0 = 0; cntr_sortkeys_0 < (size_sortkeys_0); cntr_sortkeys_0++) {
    5270             :                 }
    5271             :         }
    5272           0 :         return NDR_ERR_SUCCESS;
    5273             : }
    5274             : 
    5275           0 : static void ndr_print_flags_wsp_csortaggregset(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_csortaggregset *r)
    5276             : {
    5277           0 :         ndr_print_wsp_csortaggregset(ndr, name, r);
    5278           0 : }
    5279             : 
    5280           0 : _PUBLIC_ void ndr_print_wsp_csortaggregset(struct ndr_print *ndr, const char *name, const struct wsp_csortaggregset *r)
    5281             : {
    5282           0 :         uint32_t cntr_sortkeys_0;
    5283           0 :         ndr_print_struct(ndr, name, "wsp_csortaggregset");
    5284           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    5285           0 :         ndr->depth++;
    5286           0 :         ndr_print_uint32(ndr, "ccount", r->ccount);
    5287           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "sortkeys", (uint32_t)(r->ccount));
    5288           0 :         ndr->depth++;
    5289           0 :         for (cntr_sortkeys_0 = 0; cntr_sortkeys_0 < (r->ccount); cntr_sortkeys_0++) {
    5290           0 :                 ndr_print_wsp_caggregsortkey(ndr, "sortkeys", &r->sortkeys[cntr_sortkeys_0]);
    5291             :         }
    5292           0 :         ndr->depth--;
    5293           0 :         ndr->depth--;
    5294             : }
    5295             : 
    5296           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_opt_ingroupid(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union wsp_opt_ingroupid *r)
    5297             : {
    5298           0 :         uint32_t level;
    5299           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5300           0 :         if (ndr_flags & NDR_SCALARS) {
    5301             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    5302           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    5303           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    5304           0 :                 switch (level) {
    5305           0 :                         case 0x03: {
    5306           0 :                                 NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->ingroupid));
    5307           0 :                         break; }
    5308             : 
    5309           0 :                         default: {
    5310           0 :                         break; }
    5311             : 
    5312             :                 }
    5313             :         }
    5314           0 :         if (ndr_flags & NDR_BUFFERS) {
    5315           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    5316             :                         /* We didn't get it above, and the token is not needed after this. */
    5317           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    5318             :                 }
    5319           0 :                 switch (level) {
    5320           0 :                         case 0x03:
    5321           0 :                                 NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->ingroupid));
    5322           0 :                         break;
    5323             : 
    5324           0 :                         default:
    5325           0 :                         break;
    5326             : 
    5327             :                 }
    5328             :         }
    5329           0 :         return NDR_ERR_SUCCESS;
    5330             : }
    5331             : 
    5332           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_opt_ingroupid(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union wsp_opt_ingroupid *r)
    5333             : {
    5334           0 :         uint32_t level;
    5335           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    5336           0 :         if (ndr_flags & NDR_SCALARS) {
    5337             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    5338           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    5339           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    5340           0 :                 switch (level) {
    5341           0 :                         case 0x03: {
    5342           0 :                                 NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->ingroupid));
    5343           0 :                         break; }
    5344             : 
    5345           0 :                         default: {
    5346           0 :                         break; }
    5347             : 
    5348             :                 }
    5349             :         }
    5350           0 :         if (ndr_flags & NDR_BUFFERS) {
    5351           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    5352             :                         /* We didn't get it above, and the token is not needed after this. */
    5353           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    5354             :                 }
    5355           0 :                 switch (level) {
    5356           0 :                         case 0x03:
    5357           0 :                                 NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->ingroupid));
    5358           0 :                         break;
    5359             : 
    5360           0 :                         default:
    5361           0 :                         break;
    5362             : 
    5363             :                 }
    5364             :         }
    5365           0 :         return NDR_ERR_SUCCESS;
    5366             : }
    5367             : 
    5368           0 : _PUBLIC_ void ndr_print_wsp_opt_ingroupid(struct ndr_print *ndr, const char *name, const union wsp_opt_ingroupid *r)
    5369             : {
    5370           0 :         uint32_t level;
    5371           0 :         level = ndr_print_steal_switch_value(ndr, r);
    5372           0 :         ndr_print_union(ndr, name, level, "wsp_opt_ingroupid");
    5373           0 :         switch (level) {
    5374           0 :                 case 0x03:
    5375           0 :                         ndr_print_wsp_cbasestoragevariant(ndr, "ingroupid", &r->ingroupid);
    5376           0 :                 break;
    5377             : 
    5378           0 :                 default:
    5379           0 :                 break;
    5380             : 
    5381             :         }
    5382           0 : }
    5383             : 
    5384           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cingroupsortaggregset(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cingroupsortaggregset *r)
    5385             : {
    5386           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5387           0 :         if (ndr_flags & NDR_SCALARS) {
    5388           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    5389           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->type));
    5390             :                 {
    5391           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5392           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5393           0 :                         NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad1));
    5394           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5395             :                 }
    5396           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->opt_groupid, r->type));
    5397           0 :                 NDR_CHECK(ndr_push_wsp_opt_ingroupid(ndr, NDR_SCALARS, &r->opt_groupid));
    5398           0 :                 NDR_CHECK(ndr_push_wsp_csortset(ndr, NDR_SCALARS, &r->sortaggregset));
    5399           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    5400             :         }
    5401           0 :         if (ndr_flags & NDR_BUFFERS) {
    5402           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->opt_groupid, r->type));
    5403           0 :                 NDR_CHECK(ndr_push_wsp_opt_ingroupid(ndr, NDR_BUFFERS, &r->opt_groupid));
    5404             :         }
    5405           0 :         return NDR_ERR_SUCCESS;
    5406             : }
    5407             : 
    5408           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cingroupsortaggregset(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cingroupsortaggregset *r)
    5409             : {
    5410           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    5411           0 :         if (ndr_flags & NDR_SCALARS) {
    5412           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    5413           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->type));
    5414             :                 {
    5415           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5416           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5417           0 :                         NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad1));
    5418           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5419             :                 }
    5420           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->opt_groupid, r->type));
    5421           0 :                 NDR_CHECK(ndr_pull_wsp_opt_ingroupid(ndr, NDR_SCALARS, &r->opt_groupid));
    5422           0 :                 NDR_CHECK(ndr_pull_wsp_csortset(ndr, NDR_SCALARS, &r->sortaggregset));
    5423           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    5424             :         }
    5425           0 :         if (ndr_flags & NDR_BUFFERS) {
    5426           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->opt_groupid, r->type));
    5427           0 :                 NDR_CHECK(ndr_pull_wsp_opt_ingroupid(ndr, NDR_BUFFERS, &r->opt_groupid));
    5428             :         }
    5429           0 :         return NDR_ERR_SUCCESS;
    5430             : }
    5431             : 
    5432           0 : static void ndr_print_flags_wsp_cingroupsortaggregset(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cingroupsortaggregset *r)
    5433             : {
    5434           0 :         ndr_print_wsp_cingroupsortaggregset(ndr, name, r);
    5435           0 : }
    5436             : 
    5437           0 : _PUBLIC_ void ndr_print_wsp_cingroupsortaggregset(struct ndr_print *ndr, const char *name, const struct wsp_cingroupsortaggregset *r)
    5438             : {
    5439           0 :         ndr_print_struct(ndr, name, "wsp_cingroupsortaggregset");
    5440           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    5441           0 :         ndr->depth++;
    5442           0 :         ndr_print_uint8(ndr, "type", r->type);
    5443             :         {
    5444           0 :                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5445           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5446           0 :                 ndr_print_DATA_BLOB(ndr, "_pad1", r->_pad1);
    5447           0 :                 ndr->flags = _flags_save_DATA_BLOB;
    5448             :         }
    5449           0 :         ndr_print_set_switch_value(ndr, &r->opt_groupid, r->type);
    5450           0 :         ndr_print_wsp_opt_ingroupid(ndr, "opt_groupid", &r->opt_groupid);
    5451           0 :         ndr_print_wsp_csortset(ndr, "sortaggregset", &r->sortaggregset);
    5452           0 :         ndr->depth--;
    5453             : }
    5454             : 
    5455           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cingroupsortaggregsets(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cingroupsortaggregsets *r)
    5456             : {
    5457           0 :         uint32_t cntr_sortsets_0;
    5458           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5459           0 :         if (ndr_flags & NDR_SCALARS) {
    5460           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    5461           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ccount));
    5462           0 :                 for (cntr_sortsets_0 = 0; cntr_sortsets_0 < (r->ccount); cntr_sortsets_0++) {
    5463           0 :                         NDR_CHECK(ndr_push_wsp_cingroupsortaggregset(ndr, NDR_SCALARS, &r->sortsets[cntr_sortsets_0]));
    5464             :                 }
    5465           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    5466             :         }
    5467           0 :         if (ndr_flags & NDR_BUFFERS) {
    5468           0 :                 for (cntr_sortsets_0 = 0; cntr_sortsets_0 < (r->ccount); cntr_sortsets_0++) {
    5469           0 :                         NDR_CHECK(ndr_push_wsp_cingroupsortaggregset(ndr, NDR_BUFFERS, &r->sortsets[cntr_sortsets_0]));
    5470             :                 }
    5471             :         }
    5472           0 :         return NDR_ERR_SUCCESS;
    5473             : }
    5474             : 
    5475           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cingroupsortaggregsets(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cingroupsortaggregsets *r)
    5476             : {
    5477           0 :         uint32_t size_sortsets_0 = 0;
    5478           0 :         uint32_t cntr_sortsets_0;
    5479           0 :         TALLOC_CTX *_mem_save_sortsets_0 = NULL;
    5480           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    5481           0 :         if (ndr_flags & NDR_SCALARS) {
    5482           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    5483           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ccount));
    5484           0 :                 size_sortsets_0 = r->ccount;
    5485           0 :                 NDR_PULL_ALLOC_N(ndr, r->sortsets, size_sortsets_0);
    5486           0 :                 _mem_save_sortsets_0 = NDR_PULL_GET_MEM_CTX(ndr);
    5487           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->sortsets, 0);
    5488           0 :                 for (cntr_sortsets_0 = 0; cntr_sortsets_0 < (size_sortsets_0); cntr_sortsets_0++) {
    5489           0 :                         NDR_CHECK(ndr_pull_wsp_cingroupsortaggregset(ndr, NDR_SCALARS, &r->sortsets[cntr_sortsets_0]));
    5490             :                 }
    5491           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sortsets_0, 0);
    5492           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    5493             :         }
    5494           0 :         if (ndr_flags & NDR_BUFFERS) {
    5495           0 :                 size_sortsets_0 = r->ccount;
    5496           0 :                 _mem_save_sortsets_0 = NDR_PULL_GET_MEM_CTX(ndr);
    5497           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->sortsets, 0);
    5498           0 :                 for (cntr_sortsets_0 = 0; cntr_sortsets_0 < (size_sortsets_0); cntr_sortsets_0++) {
    5499           0 :                         NDR_CHECK(ndr_pull_wsp_cingroupsortaggregset(ndr, NDR_BUFFERS, &r->sortsets[cntr_sortsets_0]));
    5500             :                 }
    5501           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sortsets_0, 0);
    5502           0 :                 for (cntr_sortsets_0 = 0; cntr_sortsets_0 < (size_sortsets_0); cntr_sortsets_0++) {
    5503             :                 }
    5504             :         }
    5505           0 :         return NDR_ERR_SUCCESS;
    5506             : }
    5507             : 
    5508           0 : static void ndr_print_flags_wsp_cingroupsortaggregsets(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cingroupsortaggregsets *r)
    5509             : {
    5510           0 :         ndr_print_wsp_cingroupsortaggregsets(ndr, name, r);
    5511           0 : }
    5512             : 
    5513           0 : _PUBLIC_ void ndr_print_wsp_cingroupsortaggregsets(struct ndr_print *ndr, const char *name, const struct wsp_cingroupsortaggregsets *r)
    5514             : {
    5515           0 :         uint32_t cntr_sortsets_0;
    5516           0 :         ndr_print_struct(ndr, name, "wsp_cingroupsortaggregsets");
    5517           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    5518           0 :         ndr->depth++;
    5519           0 :         ndr_print_uint32(ndr, "ccount", r->ccount);
    5520           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "sortsets", (uint32_t)(r->ccount));
    5521           0 :         ndr->depth++;
    5522           0 :         for (cntr_sortsets_0 = 0; cntr_sortsets_0 < (r->ccount); cntr_sortsets_0++) {
    5523           0 :                 ndr_print_wsp_cingroupsortaggregset(ndr, "sortsets", &r->sortsets[cntr_sortsets_0]);
    5524             :         }
    5525           0 :         ndr->depth--;
    5526           0 :         ndr->depth--;
    5527             : }
    5528             : 
    5529           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_ccategorizationspec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_ccategorizationspec *r)
    5530             : {
    5531           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5532           0 :         if (ndr_flags & NDR_SCALARS) {
    5533           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    5534           0 :                 NDR_CHECK(ndr_push_wsp_ccolumnset(ndr, NDR_SCALARS, &r->cscolumns));
    5535           0 :                 NDR_CHECK(ndr_push_wsp_ccategspec(ndr, NDR_SCALARS, &r->spec));
    5536           0 :                 NDR_CHECK(ndr_push_wsp_caggregset(ndr, NDR_SCALARS, &r->aggregset));
    5537           0 :                 NDR_CHECK(ndr_push_wsp_csortaggregset(ndr, NDR_SCALARS, &r->sortaggregset));
    5538           0 :                 NDR_CHECK(ndr_push_wsp_cingroupsortaggregsets(ndr, NDR_SCALARS, &r->ingroupsortaggset));
    5539           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cmaxresults));
    5540           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    5541             :         }
    5542           0 :         if (ndr_flags & NDR_BUFFERS) {
    5543           0 :                 NDR_CHECK(ndr_push_wsp_ccategspec(ndr, NDR_BUFFERS, &r->spec));
    5544           0 :                 NDR_CHECK(ndr_push_wsp_caggregset(ndr, NDR_BUFFERS, &r->aggregset));
    5545           0 :                 NDR_CHECK(ndr_push_wsp_csortaggregset(ndr, NDR_BUFFERS, &r->sortaggregset));
    5546           0 :                 NDR_CHECK(ndr_push_wsp_cingroupsortaggregsets(ndr, NDR_BUFFERS, &r->ingroupsortaggset));
    5547             :         }
    5548           0 :         return NDR_ERR_SUCCESS;
    5549             : }
    5550             : 
    5551           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_ccategorizationspec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_ccategorizationspec *r)
    5552             : {
    5553           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    5554           0 :         if (ndr_flags & NDR_SCALARS) {
    5555           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    5556           0 :                 NDR_CHECK(ndr_pull_wsp_ccolumnset(ndr, NDR_SCALARS, &r->cscolumns));
    5557           0 :                 NDR_CHECK(ndr_pull_wsp_ccategspec(ndr, NDR_SCALARS, &r->spec));
    5558           0 :                 NDR_CHECK(ndr_pull_wsp_caggregset(ndr, NDR_SCALARS, &r->aggregset));
    5559           0 :                 NDR_CHECK(ndr_pull_wsp_csortaggregset(ndr, NDR_SCALARS, &r->sortaggregset));
    5560           0 :                 NDR_CHECK(ndr_pull_wsp_cingroupsortaggregsets(ndr, NDR_SCALARS, &r->ingroupsortaggset));
    5561           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cmaxresults));
    5562           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    5563             :         }
    5564           0 :         if (ndr_flags & NDR_BUFFERS) {
    5565           0 :                 NDR_CHECK(ndr_pull_wsp_ccategspec(ndr, NDR_BUFFERS, &r->spec));
    5566           0 :                 NDR_CHECK(ndr_pull_wsp_caggregset(ndr, NDR_BUFFERS, &r->aggregset));
    5567           0 :                 NDR_CHECK(ndr_pull_wsp_csortaggregset(ndr, NDR_BUFFERS, &r->sortaggregset));
    5568           0 :                 NDR_CHECK(ndr_pull_wsp_cingroupsortaggregsets(ndr, NDR_BUFFERS, &r->ingroupsortaggset));
    5569             :         }
    5570           0 :         return NDR_ERR_SUCCESS;
    5571             : }
    5572             : 
    5573           0 : static void ndr_print_flags_wsp_ccategorizationspec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_ccategorizationspec *r)
    5574             : {
    5575           0 :         ndr_print_wsp_ccategorizationspec(ndr, name, r);
    5576           0 : }
    5577             : 
    5578           0 : _PUBLIC_ void ndr_print_wsp_ccategorizationspec(struct ndr_print *ndr, const char *name, const struct wsp_ccategorizationspec *r)
    5579             : {
    5580           0 :         ndr_print_struct(ndr, name, "wsp_ccategorizationspec");
    5581           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    5582           0 :         ndr->depth++;
    5583           0 :         ndr_print_wsp_ccolumnset(ndr, "cscolumns", &r->cscolumns);
    5584           0 :         ndr_print_wsp_ccategspec(ndr, "spec", &r->spec);
    5585           0 :         ndr_print_wsp_caggregset(ndr, "aggregset", &r->aggregset);
    5586           0 :         ndr_print_wsp_csortaggregset(ndr, "sortaggregset", &r->sortaggregset);
    5587           0 :         ndr_print_wsp_cingroupsortaggregsets(ndr, "ingroupsortaggset", &r->ingroupsortaggset);
    5588           0 :         ndr_print_uint32(ndr, "cmaxresults", r->cmaxresults);
    5589           0 :         ndr->depth--;
    5590             : }
    5591             : 
    5592           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_ccategorizationset(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_ccategorizationset *r)
    5593             : {
    5594           0 :         uint32_t cntr_categories_0;
    5595           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5596           0 :         if (ndr_flags & NDR_SCALARS) {
    5597           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    5598           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->size));
    5599           0 :                 for (cntr_categories_0 = 0; cntr_categories_0 < (r->size); cntr_categories_0++) {
    5600           0 :                         NDR_CHECK(ndr_push_wsp_ccategorizationspec(ndr, NDR_SCALARS, &r->categories[cntr_categories_0]));
    5601             :                 }
    5602           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    5603             :         }
    5604           0 :         if (ndr_flags & NDR_BUFFERS) {
    5605           0 :                 for (cntr_categories_0 = 0; cntr_categories_0 < (r->size); cntr_categories_0++) {
    5606           0 :                         NDR_CHECK(ndr_push_wsp_ccategorizationspec(ndr, NDR_BUFFERS, &r->categories[cntr_categories_0]));
    5607             :                 }
    5608             :         }
    5609           0 :         return NDR_ERR_SUCCESS;
    5610             : }
    5611             : 
    5612           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_ccategorizationset(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_ccategorizationset *r)
    5613             : {
    5614           0 :         uint32_t size_categories_0 = 0;
    5615           0 :         uint32_t cntr_categories_0;
    5616           0 :         TALLOC_CTX *_mem_save_categories_0 = NULL;
    5617           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    5618           0 :         if (ndr_flags & NDR_SCALARS) {
    5619           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    5620           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->size));
    5621           0 :                 size_categories_0 = r->size;
    5622           0 :                 NDR_PULL_ALLOC_N(ndr, r->categories, size_categories_0);
    5623           0 :                 _mem_save_categories_0 = NDR_PULL_GET_MEM_CTX(ndr);
    5624           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->categories, 0);
    5625           0 :                 for (cntr_categories_0 = 0; cntr_categories_0 < (size_categories_0); cntr_categories_0++) {
    5626           0 :                         NDR_CHECK(ndr_pull_wsp_ccategorizationspec(ndr, NDR_SCALARS, &r->categories[cntr_categories_0]));
    5627             :                 }
    5628           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_categories_0, 0);
    5629           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    5630             :         }
    5631           0 :         if (ndr_flags & NDR_BUFFERS) {
    5632           0 :                 size_categories_0 = r->size;
    5633           0 :                 _mem_save_categories_0 = NDR_PULL_GET_MEM_CTX(ndr);
    5634           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->categories, 0);
    5635           0 :                 for (cntr_categories_0 = 0; cntr_categories_0 < (size_categories_0); cntr_categories_0++) {
    5636           0 :                         NDR_CHECK(ndr_pull_wsp_ccategorizationspec(ndr, NDR_BUFFERS, &r->categories[cntr_categories_0]));
    5637             :                 }
    5638           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_categories_0, 0);
    5639           0 :                 for (cntr_categories_0 = 0; cntr_categories_0 < (size_categories_0); cntr_categories_0++) {
    5640             :                 }
    5641             :         }
    5642           0 :         return NDR_ERR_SUCCESS;
    5643             : }
    5644             : 
    5645           0 : static void ndr_print_flags_wsp_ccategorizationset(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_ccategorizationset *r)
    5646             : {
    5647           0 :         ndr_print_wsp_ccategorizationset(ndr, name, r);
    5648           0 : }
    5649             : 
    5650           0 : _PUBLIC_ void ndr_print_wsp_ccategorizationset(struct ndr_print *ndr, const char *name, const struct wsp_ccategorizationset *r)
    5651             : {
    5652           0 :         uint32_t cntr_categories_0;
    5653           0 :         ndr_print_struct(ndr, name, "wsp_ccategorizationset");
    5654           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    5655           0 :         ndr->depth++;
    5656           0 :         ndr_print_uint32(ndr, "size", r->size);
    5657           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "categories", (uint32_t)(r->size));
    5658           0 :         ndr->depth++;
    5659           0 :         for (cntr_categories_0 = 0; cntr_categories_0 < (r->size); cntr_categories_0++) {
    5660           0 :                 ndr_print_wsp_ccategorizationspec(ndr, "categories", &r->categories[cntr_categories_0]);
    5661             :         }
    5662           0 :         ndr->depth--;
    5663           0 :         ndr->depth--;
    5664             : }
    5665             : 
    5666           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cfullpropspec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cfullpropspec *r)
    5667             : {
    5668             :         {
    5669           0 :                 libndr_flags _flags_save_STRUCT = ndr->flags;
    5670           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN);
    5671           0 :                 NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5672           0 :                 if (ndr_flags & NDR_SCALARS) {
    5673           0 :                         NDR_CHECK(ndr_push_align(ndr, 4));
    5674             :                         {
    5675           0 :                                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5676           0 :                                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN8);
    5677           0 :                                 NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad1));
    5678           0 :                                 ndr->flags = _flags_save_DATA_BLOB;
    5679             :                         }
    5680           0 :                         NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->guidpropset));
    5681           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ulkind));
    5682           0 :                         NDR_CHECK(ndr_push_set_switch_value(ndr, &r->name_or_id, r->ulkind));
    5683           0 :                         NDR_CHECK(ndr_push_wsp_propname_or_propid(ndr, NDR_SCALARS, &r->name_or_id));
    5684           0 :                         NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    5685             :                 }
    5686           0 :                 if (ndr_flags & NDR_BUFFERS) {
    5687           0 :                 }
    5688           0 :                 ndr->flags = _flags_save_STRUCT;
    5689             :         }
    5690           0 :         return NDR_ERR_SUCCESS;
    5691             : }
    5692             : 
    5693           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cfullpropspec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cfullpropspec *r)
    5694             : {
    5695             :         {
    5696           0 :                 libndr_flags _flags_save_STRUCT = ndr->flags;
    5697           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN);
    5698           0 :                 NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    5699           0 :                 if (ndr_flags & NDR_SCALARS) {
    5700           0 :                         NDR_CHECK(ndr_pull_align(ndr, 4));
    5701             :                         {
    5702           0 :                                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5703           0 :                                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN8);
    5704           0 :                                 NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad1));
    5705           0 :                                 ndr->flags = _flags_save_DATA_BLOB;
    5706             :                         }
    5707           0 :                         NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->guidpropset));
    5708           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ulkind));
    5709           0 :                         NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->name_or_id, r->ulkind));
    5710           0 :                         NDR_CHECK(ndr_pull_wsp_propname_or_propid(ndr, NDR_SCALARS, &r->name_or_id));
    5711           0 :                         NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    5712             :                 }
    5713           0 :                 if (ndr_flags & NDR_BUFFERS) {
    5714           0 :                 }
    5715           0 :                 ndr->flags = _flags_save_STRUCT;
    5716             :         }
    5717           0 :         return NDR_ERR_SUCCESS;
    5718             : }
    5719             : 
    5720           0 : static void ndr_print_flags_wsp_cfullpropspec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cfullpropspec *r)
    5721             : {
    5722           0 :         ndr_print_wsp_cfullpropspec(ndr, name, r);
    5723           0 : }
    5724             : 
    5725           0 : _PUBLIC_ void ndr_print_wsp_cfullpropspec(struct ndr_print *ndr, const char *name, const struct wsp_cfullpropspec *r)
    5726             : {
    5727           0 :         ndr_print_struct(ndr, name, "wsp_cfullpropspec");
    5728           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    5729             :         {
    5730           0 :                 libndr_flags _flags_save_STRUCT = ndr->flags;
    5731           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN);
    5732           0 :                 ndr->depth++;
    5733             :                 {
    5734           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5735           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN8);
    5736           0 :                         ndr_print_DATA_BLOB(ndr, "_pad1", r->_pad1);
    5737           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5738             :                 }
    5739           0 :                 ndr_print_GUID(ndr, "guidpropset", &r->guidpropset);
    5740           0 :                 ndr_print_uint32(ndr, "ulkind", r->ulkind);
    5741           0 :                 ndr_print_set_switch_value(ndr, &r->name_or_id, r->ulkind);
    5742           0 :                 ndr_print_wsp_propname_or_propid(ndr, "name_or_id", &r->name_or_id);
    5743           0 :                 ndr->depth--;
    5744           0 :                 ndr->flags = _flags_save_STRUCT;
    5745             :         }
    5746             : }
    5747             : 
    5748           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_ccontentrestriction(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_ccontentrestriction *r)
    5749             : {
    5750           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5751           0 :         if (ndr_flags & NDR_SCALARS) {
    5752           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    5753           0 :                 NDR_CHECK(ndr_push_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->property));
    5754             :                 {
    5755           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5756           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5757           0 :                         NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad1));
    5758           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5759             :                 }
    5760           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cc));
    5761           0 :                 NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->pwcsphrase, r->cc * 2, sizeof(uint8_t), CH_UTF16));
    5762             :                 {
    5763           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5764           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5765           0 :                         NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad2));
    5766           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5767             :                 }
    5768           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->lcid));
    5769           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ulgeneratemethod));
    5770           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    5771             :         }
    5772           0 :         if (ndr_flags & NDR_BUFFERS) {
    5773           0 :         }
    5774           0 :         return NDR_ERR_SUCCESS;
    5775             : }
    5776             : 
    5777           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_ccontentrestriction(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_ccontentrestriction *r)
    5778             : {
    5779           0 :         uint32_t size_pwcsphrase_0 = 0;
    5780           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    5781           0 :         if (ndr_flags & NDR_SCALARS) {
    5782           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    5783           0 :                 NDR_CHECK(ndr_pull_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->property));
    5784             :                 {
    5785           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5786           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5787           0 :                         NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad1));
    5788           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5789             :                 }
    5790           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cc));
    5791           0 :                 size_pwcsphrase_0 = r->cc * 2;
    5792           0 :                 NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->pwcsphrase, size_pwcsphrase_0, sizeof(uint8_t), CH_UTF16));
    5793             :                 {
    5794           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5795           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5796           0 :                         NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad2));
    5797           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5798             :                 }
    5799           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->lcid));
    5800           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ulgeneratemethod));
    5801           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    5802             :         }
    5803           0 :         if (ndr_flags & NDR_BUFFERS) {
    5804           0 :         }
    5805           0 :         return NDR_ERR_SUCCESS;
    5806             : }
    5807             : 
    5808           0 : static void ndr_print_flags_wsp_ccontentrestriction(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_ccontentrestriction *r)
    5809             : {
    5810           0 :         ndr_print_wsp_ccontentrestriction(ndr, name, r);
    5811           0 : }
    5812             : 
    5813           0 : _PUBLIC_ void ndr_print_wsp_ccontentrestriction(struct ndr_print *ndr, const char *name, const struct wsp_ccontentrestriction *r)
    5814             : {
    5815           0 :         ndr_print_struct(ndr, name, "wsp_ccontentrestriction");
    5816           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    5817           0 :         ndr->depth++;
    5818           0 :         ndr_print_wsp_cfullpropspec(ndr, "property", &r->property);
    5819             :         {
    5820           0 :                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5821           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5822           0 :                 ndr_print_DATA_BLOB(ndr, "_pad1", r->_pad1);
    5823           0 :                 ndr->flags = _flags_save_DATA_BLOB;
    5824             :         }
    5825           0 :         ndr_print_uint32(ndr, "cc", r->cc);
    5826           0 :         ndr_print_string(ndr, "pwcsphrase", r->pwcsphrase);
    5827             :         {
    5828           0 :                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5829           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5830           0 :                 ndr_print_DATA_BLOB(ndr, "_pad2", r->_pad2);
    5831           0 :                 ndr->flags = _flags_save_DATA_BLOB;
    5832             :         }
    5833           0 :         ndr_print_uint32(ndr, "lcid", r->lcid);
    5834           0 :         ndr_print_uint32(ndr, "ulgeneratemethod", r->ulgeneratemethod);
    5835           0 :         ndr->depth--;
    5836             : }
    5837             : 
    5838           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpropertyrestriction(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpropertyrestriction *r)
    5839             : {
    5840           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5841           0 :         if (ndr_flags & NDR_SCALARS) {
    5842           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    5843           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->relop));
    5844           0 :                 NDR_CHECK(ndr_push_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->property));
    5845           0 :                 NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->prval));
    5846             :                 {
    5847           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5848           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5849           0 :                         NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad1));
    5850           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5851             :                 }
    5852           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->lcid));
    5853           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    5854             :         }
    5855           0 :         if (ndr_flags & NDR_BUFFERS) {
    5856           0 :                 NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->prval));
    5857             :         }
    5858           0 :         return NDR_ERR_SUCCESS;
    5859             : }
    5860             : 
    5861           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpropertyrestriction(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpropertyrestriction *r)
    5862             : {
    5863           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    5864           0 :         if (ndr_flags & NDR_SCALARS) {
    5865           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    5866           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->relop));
    5867           0 :                 NDR_CHECK(ndr_pull_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->property));
    5868           0 :                 NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->prval));
    5869             :                 {
    5870           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5871           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5872           0 :                         NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad1));
    5873           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5874             :                 }
    5875           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->lcid));
    5876           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    5877             :         }
    5878           0 :         if (ndr_flags & NDR_BUFFERS) {
    5879           0 :                 NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->prval));
    5880             :         }
    5881           0 :         return NDR_ERR_SUCCESS;
    5882             : }
    5883             : 
    5884           0 : static void ndr_print_flags_wsp_cpropertyrestriction(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpropertyrestriction *r)
    5885             : {
    5886           0 :         ndr_print_wsp_cpropertyrestriction(ndr, name, r);
    5887           0 : }
    5888             : 
    5889           0 : _PUBLIC_ void ndr_print_wsp_cpropertyrestriction(struct ndr_print *ndr, const char *name, const struct wsp_cpropertyrestriction *r)
    5890             : {
    5891           0 :         ndr_print_struct(ndr, name, "wsp_cpropertyrestriction");
    5892           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    5893           0 :         ndr->depth++;
    5894           0 :         ndr_print_uint32(ndr, "relop", r->relop);
    5895           0 :         ndr_print_wsp_cfullpropspec(ndr, "property", &r->property);
    5896           0 :         ndr_print_wsp_cbasestoragevariant(ndr, "prval", &r->prval);
    5897             :         {
    5898           0 :                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5899           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5900           0 :                 ndr_print_DATA_BLOB(ndr, "_pad1", r->_pad1);
    5901           0 :                 ndr->flags = _flags_save_DATA_BLOB;
    5902             :         }
    5903           0 :         ndr_print_uint32(ndr, "lcid", r->lcid);
    5904           0 :         ndr->depth--;
    5905             : }
    5906             : 
    5907           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cnatlanguagerestriction(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cnatlanguagerestriction *r)
    5908             : {
    5909           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5910           0 :         if (ndr_flags & NDR_SCALARS) {
    5911           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    5912           0 :                 NDR_CHECK(ndr_push_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->property));
    5913             :                 {
    5914           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5915           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5916           0 :                         NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad1));
    5917           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5918             :                 }
    5919           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cc));
    5920           0 :                 NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->pwcsphrase, r->cc * 2, sizeof(uint8_t), CH_UTF16));
    5921             :                 {
    5922           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5923           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5924           0 :                         NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad2));
    5925           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5926             :                 }
    5927           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->lcid));
    5928           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    5929             :         }
    5930           0 :         if (ndr_flags & NDR_BUFFERS) {
    5931           0 :         }
    5932           0 :         return NDR_ERR_SUCCESS;
    5933             : }
    5934             : 
    5935           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cnatlanguagerestriction(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cnatlanguagerestriction *r)
    5936             : {
    5937           0 :         uint32_t size_pwcsphrase_0 = 0;
    5938           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    5939           0 :         if (ndr_flags & NDR_SCALARS) {
    5940           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    5941           0 :                 NDR_CHECK(ndr_pull_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->property));
    5942             :                 {
    5943           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5944           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5945           0 :                         NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad1));
    5946           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5947             :                 }
    5948           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cc));
    5949           0 :                 size_pwcsphrase_0 = r->cc * 2;
    5950           0 :                 NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->pwcsphrase, size_pwcsphrase_0, sizeof(uint8_t), CH_UTF16));
    5951             :                 {
    5952           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5953           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5954           0 :                         NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad2));
    5955           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    5956             :                 }
    5957           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->lcid));
    5958           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    5959             :         }
    5960           0 :         if (ndr_flags & NDR_BUFFERS) {
    5961           0 :         }
    5962           0 :         return NDR_ERR_SUCCESS;
    5963             : }
    5964             : 
    5965           0 : static void ndr_print_flags_wsp_cnatlanguagerestriction(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cnatlanguagerestriction *r)
    5966             : {
    5967           0 :         ndr_print_wsp_cnatlanguagerestriction(ndr, name, r);
    5968           0 : }
    5969             : 
    5970           0 : _PUBLIC_ void ndr_print_wsp_cnatlanguagerestriction(struct ndr_print *ndr, const char *name, const struct wsp_cnatlanguagerestriction *r)
    5971             : {
    5972           0 :         ndr_print_struct(ndr, name, "wsp_cnatlanguagerestriction");
    5973           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    5974           0 :         ndr->depth++;
    5975           0 :         ndr_print_wsp_cfullpropspec(ndr, "property", &r->property);
    5976             :         {
    5977           0 :                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5978           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5979           0 :                 ndr_print_DATA_BLOB(ndr, "_pad1", r->_pad1);
    5980           0 :                 ndr->flags = _flags_save_DATA_BLOB;
    5981             :         }
    5982           0 :         ndr_print_uint32(ndr, "cc", r->cc);
    5983           0 :         ndr_print_string(ndr, "pwcsphrase", r->pwcsphrase);
    5984             :         {
    5985           0 :                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    5986           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    5987           0 :                 ndr_print_DATA_BLOB(ndr, "_pad2", r->_pad2);
    5988           0 :                 ndr->flags = _flags_save_DATA_BLOB;
    5989             :         }
    5990           0 :         ndr_print_uint32(ndr, "lcid", r->lcid);
    5991           0 :         ndr->depth--;
    5992             : }
    5993             : 
    5994           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_wrap_crestriction(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_wrap_crestriction *r)
    5995             : {
    5996           0 :         uint32_t cntr_restriction_0;
    5997           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    5998           0 :         if (ndr_flags & NDR_SCALARS) {
    5999           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    6000           0 :                 for (cntr_restriction_0 = 0; cntr_restriction_0 < (SINGLE_ITEM); cntr_restriction_0++) {
    6001           0 :                         NDR_CHECK(ndr_push_wsp_crestriction(ndr, NDR_SCALARS, &r->restriction[cntr_restriction_0]));
    6002             :                 }
    6003           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    6004             :         }
    6005           0 :         if (ndr_flags & NDR_BUFFERS) {
    6006           0 :                 for (cntr_restriction_0 = 0; cntr_restriction_0 < (SINGLE_ITEM); cntr_restriction_0++) {
    6007           0 :                         NDR_CHECK(ndr_push_wsp_crestriction(ndr, NDR_BUFFERS, &r->restriction[cntr_restriction_0]));
    6008             :                 }
    6009             :         }
    6010           0 :         return NDR_ERR_SUCCESS;
    6011             : }
    6012             : 
    6013           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_wrap_crestriction(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_wrap_crestriction *r)
    6014             : {
    6015           0 :         uint32_t size_restriction_0 = 0;
    6016           0 :         uint32_t cntr_restriction_0;
    6017           0 :         TALLOC_CTX *_mem_save_restriction_0 = NULL;
    6018           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    6019           0 :         if (ndr_flags & NDR_SCALARS) {
    6020           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    6021           0 :                 size_restriction_0 = SINGLE_ITEM;
    6022           0 :                 NDR_PULL_ALLOC_N(ndr, r->restriction, size_restriction_0);
    6023           0 :                 _mem_save_restriction_0 = NDR_PULL_GET_MEM_CTX(ndr);
    6024           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->restriction, 0);
    6025           0 :                 for (cntr_restriction_0 = 0; cntr_restriction_0 < (size_restriction_0); cntr_restriction_0++) {
    6026           0 :                         NDR_CHECK(ndr_pull_wsp_crestriction(ndr, NDR_SCALARS, &r->restriction[cntr_restriction_0]));
    6027             :                 }
    6028           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_restriction_0, 0);
    6029           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    6030             :         }
    6031           0 :         if (ndr_flags & NDR_BUFFERS) {
    6032           0 :                 size_restriction_0 = SINGLE_ITEM;
    6033           0 :                 _mem_save_restriction_0 = NDR_PULL_GET_MEM_CTX(ndr);
    6034           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->restriction, 0);
    6035           0 :                 for (cntr_restriction_0 = 0; cntr_restriction_0 < (size_restriction_0); cntr_restriction_0++) {
    6036           0 :                         NDR_CHECK(ndr_pull_wsp_crestriction(ndr, NDR_BUFFERS, &r->restriction[cntr_restriction_0]));
    6037             :                 }
    6038           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_restriction_0, 0);
    6039           0 :                 for (cntr_restriction_0 = 0; cntr_restriction_0 < (size_restriction_0); cntr_restriction_0++) {
    6040             :                 }
    6041             :         }
    6042           0 :         return NDR_ERR_SUCCESS;
    6043             : }
    6044             : 
    6045           0 : static void ndr_print_flags_wsp_wrap_crestriction(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_wrap_crestriction *r)
    6046             : {
    6047           0 :         ndr_print_wsp_wrap_crestriction(ndr, name, r);
    6048           0 : }
    6049             : 
    6050           0 : _PUBLIC_ void ndr_print_wsp_wrap_crestriction(struct ndr_print *ndr, const char *name, const struct wsp_wrap_crestriction *r)
    6051             : {
    6052           0 :         uint32_t cntr_restriction_0;
    6053           0 :         ndr_print_struct(ndr, name, "wsp_wrap_crestriction");
    6054           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    6055           0 :         ndr->depth++;
    6056           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "restriction", (uint32_t)(SINGLE_ITEM));
    6057           0 :         ndr->depth++;
    6058           0 :         for (cntr_restriction_0 = 0; cntr_restriction_0 < (SINGLE_ITEM); cntr_restriction_0++) {
    6059           0 :                 ndr_print_wsp_crestriction(ndr, "restriction", &r->restriction[cntr_restriction_0]);
    6060             :         }
    6061           0 :         ndr->depth--;
    6062           0 :         ndr->depth--;
    6063             : }
    6064             : 
    6065           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_ccoercionrestriction(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_ccoercionrestriction *r)
    6066             : {
    6067           0 :         uint32_t cntr_childres_0;
    6068           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    6069           0 :         if (ndr_flags & NDR_SCALARS) {
    6070           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    6071           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ffvalue));
    6072           0 :                 for (cntr_childres_0 = 0; cntr_childres_0 < (SINGLE_ITEM); cntr_childres_0++) {
    6073           0 :                         NDR_CHECK(ndr_push_wsp_crestriction(ndr, NDR_SCALARS, &r->childres[cntr_childres_0]));
    6074             :                 }
    6075           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    6076             :         }
    6077           0 :         if (ndr_flags & NDR_BUFFERS) {
    6078           0 :                 for (cntr_childres_0 = 0; cntr_childres_0 < (SINGLE_ITEM); cntr_childres_0++) {
    6079           0 :                         NDR_CHECK(ndr_push_wsp_crestriction(ndr, NDR_BUFFERS, &r->childres[cntr_childres_0]));
    6080             :                 }
    6081             :         }
    6082           0 :         return NDR_ERR_SUCCESS;
    6083             : }
    6084             : 
    6085           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_ccoercionrestriction(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_ccoercionrestriction *r)
    6086             : {
    6087           0 :         uint32_t size_childres_0 = 0;
    6088           0 :         uint32_t cntr_childres_0;
    6089           0 :         TALLOC_CTX *_mem_save_childres_0 = NULL;
    6090           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    6091           0 :         if (ndr_flags & NDR_SCALARS) {
    6092           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    6093           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ffvalue));
    6094           0 :                 size_childres_0 = SINGLE_ITEM;
    6095           0 :                 NDR_PULL_ALLOC_N(ndr, r->childres, size_childres_0);
    6096           0 :                 _mem_save_childres_0 = NDR_PULL_GET_MEM_CTX(ndr);
    6097           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->childres, 0);
    6098           0 :                 for (cntr_childres_0 = 0; cntr_childres_0 < (size_childres_0); cntr_childres_0++) {
    6099           0 :                         NDR_CHECK(ndr_pull_wsp_crestriction(ndr, NDR_SCALARS, &r->childres[cntr_childres_0]));
    6100             :                 }
    6101           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_childres_0, 0);
    6102           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    6103             :         }
    6104           0 :         if (ndr_flags & NDR_BUFFERS) {
    6105           0 :                 size_childres_0 = SINGLE_ITEM;
    6106           0 :                 _mem_save_childres_0 = NDR_PULL_GET_MEM_CTX(ndr);
    6107           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->childres, 0);
    6108           0 :                 for (cntr_childres_0 = 0; cntr_childres_0 < (size_childres_0); cntr_childres_0++) {
    6109           0 :                         NDR_CHECK(ndr_pull_wsp_crestriction(ndr, NDR_BUFFERS, &r->childres[cntr_childres_0]));
    6110             :                 }
    6111           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_childres_0, 0);
    6112           0 :                 for (cntr_childres_0 = 0; cntr_childres_0 < (size_childres_0); cntr_childres_0++) {
    6113             :                 }
    6114             :         }
    6115           0 :         return NDR_ERR_SUCCESS;
    6116             : }
    6117             : 
    6118           0 : static void ndr_print_flags_wsp_ccoercionrestriction(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_ccoercionrestriction *r)
    6119             : {
    6120           0 :         ndr_print_wsp_ccoercionrestriction(ndr, name, r);
    6121           0 : }
    6122             : 
    6123           0 : _PUBLIC_ void ndr_print_wsp_ccoercionrestriction(struct ndr_print *ndr, const char *name, const struct wsp_ccoercionrestriction *r)
    6124             : {
    6125           0 :         uint32_t cntr_childres_0;
    6126           0 :         ndr_print_struct(ndr, name, "wsp_ccoercionrestriction");
    6127           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    6128           0 :         ndr->depth++;
    6129           0 :         ndr_print_uint32(ndr, "ffvalue", r->ffvalue);
    6130           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "childres", (uint32_t)(SINGLE_ITEM));
    6131           0 :         ndr->depth++;
    6132           0 :         for (cntr_childres_0 = 0; cntr_childres_0 < (SINGLE_ITEM); cntr_childres_0++) {
    6133           0 :                 ndr_print_wsp_crestriction(ndr, "childres", &r->childres[cntr_childres_0]);
    6134             :         }
    6135           0 :         ndr->depth--;
    6136           0 :         ndr->depth--;
    6137             : }
    6138             : 
    6139           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cvectorrestriction(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cvectorrestriction *r)
    6140             : {
    6141           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    6142           0 :         if (ndr_flags & NDR_SCALARS) {
    6143           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    6144           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->pres));
    6145             :                 {
    6146           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    6147           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    6148           0 :                         NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->padding));
    6149           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    6150             :                 }
    6151           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->uirankmethod));
    6152           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    6153             :         }
    6154           0 :         if (ndr_flags & NDR_BUFFERS) {
    6155           0 :         }
    6156           0 :         return NDR_ERR_SUCCESS;
    6157             : }
    6158             : 
    6159           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cvectorrestriction(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cvectorrestriction *r)
    6160             : {
    6161           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    6162           0 :         if (ndr_flags & NDR_SCALARS) {
    6163           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    6164           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->pres));
    6165             :                 {
    6166           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    6167           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    6168           0 :                         NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->padding));
    6169           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    6170             :                 }
    6171           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->uirankmethod));
    6172           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    6173             :         }
    6174           0 :         if (ndr_flags & NDR_BUFFERS) {
    6175           0 :         }
    6176           0 :         return NDR_ERR_SUCCESS;
    6177             : }
    6178             : 
    6179           0 : static void ndr_print_flags_wsp_cvectorrestriction(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cvectorrestriction *r)
    6180             : {
    6181           0 :         ndr_print_wsp_cvectorrestriction(ndr, name, r);
    6182           0 : }
    6183             : 
    6184           0 : _PUBLIC_ void ndr_print_wsp_cvectorrestriction(struct ndr_print *ndr, const char *name, const struct wsp_cvectorrestriction *r)
    6185             : {
    6186           0 :         ndr_print_struct(ndr, name, "wsp_cvectorrestriction");
    6187           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    6188           0 :         ndr->depth++;
    6189           0 :         ndr_print_uint32(ndr, "pres", r->pres);
    6190             :         {
    6191           0 :                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    6192           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    6193           0 :                 ndr_print_DATA_BLOB(ndr, "padding", r->padding);
    6194           0 :                 ndr->flags = _flags_save_DATA_BLOB;
    6195             :         }
    6196           0 :         ndr_print_uint32(ndr, "uirankmethod", r->uirankmethod);
    6197           0 :         ndr->depth--;
    6198             : }
    6199             : 
    6200           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cscoperestriction(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cscoperestriction *r)
    6201             : {
    6202           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    6203           0 :         if (ndr_flags & NDR_SCALARS) {
    6204           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    6205           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cclowerpath));
    6206           0 :                 NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->lowerpath, r->cclowerpath * 2, sizeof(uint8_t), CH_UTF16));
    6207             :                 {
    6208           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    6209           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    6210           0 :                         NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->padding));
    6211           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    6212             :                 }
    6213           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->length));
    6214           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->frecursive));
    6215           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->fvirtual));
    6216           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    6217             :         }
    6218           0 :         if (ndr_flags & NDR_BUFFERS) {
    6219           0 :         }
    6220           0 :         return NDR_ERR_SUCCESS;
    6221             : }
    6222             : 
    6223           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cscoperestriction(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cscoperestriction *r)
    6224             : {
    6225           0 :         uint32_t size_lowerpath_0 = 0;
    6226           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    6227           0 :         if (ndr_flags & NDR_SCALARS) {
    6228           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    6229           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cclowerpath));
    6230           0 :                 size_lowerpath_0 = r->cclowerpath * 2;
    6231           0 :                 NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->lowerpath, size_lowerpath_0, sizeof(uint8_t), CH_UTF16));
    6232             :                 {
    6233           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    6234           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    6235           0 :                         NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->padding));
    6236           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    6237             :                 }
    6238           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->length));
    6239           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->frecursive));
    6240           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->fvirtual));
    6241           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    6242             :         }
    6243           0 :         if (ndr_flags & NDR_BUFFERS) {
    6244           0 :         }
    6245           0 :         return NDR_ERR_SUCCESS;
    6246             : }
    6247             : 
    6248           0 : static void ndr_print_flags_wsp_cscoperestriction(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cscoperestriction *r)
    6249             : {
    6250           0 :         ndr_print_wsp_cscoperestriction(ndr, name, r);
    6251           0 : }
    6252             : 
    6253           0 : _PUBLIC_ void ndr_print_wsp_cscoperestriction(struct ndr_print *ndr, const char *name, const struct wsp_cscoperestriction *r)
    6254             : {
    6255           0 :         ndr_print_struct(ndr, name, "wsp_cscoperestriction");
    6256           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    6257           0 :         ndr->depth++;
    6258           0 :         ndr_print_uint32(ndr, "cclowerpath", r->cclowerpath);
    6259           0 :         ndr_print_string(ndr, "lowerpath", r->lowerpath);
    6260             :         {
    6261           0 :                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    6262           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    6263           0 :                 ndr_print_DATA_BLOB(ndr, "padding", r->padding);
    6264           0 :                 ndr->flags = _flags_save_DATA_BLOB;
    6265             :         }
    6266           0 :         ndr_print_uint32(ndr, "length", r->length);
    6267           0 :         ndr_print_uint32(ndr, "frecursive", r->frecursive);
    6268           0 :         ndr_print_uint32(ndr, "fvirtual", r->fvirtual);
    6269           0 :         ndr->depth--;
    6270             : }
    6271             : 
    6272           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_creusewhere(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_creusewhere *r)
    6273             : {
    6274           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    6275           0 :         if (ndr_flags & NDR_SCALARS) {
    6276           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    6277           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->whereid));
    6278           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    6279             :         }
    6280           0 :         if (ndr_flags & NDR_BUFFERS) {
    6281           0 :         }
    6282           0 :         return NDR_ERR_SUCCESS;
    6283             : }
    6284             : 
    6285           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_creusewhere(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_creusewhere *r)
    6286             : {
    6287           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    6288           0 :         if (ndr_flags & NDR_SCALARS) {
    6289           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    6290           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->whereid));
    6291           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    6292             :         }
    6293           0 :         if (ndr_flags & NDR_BUFFERS) {
    6294           0 :         }
    6295           0 :         return NDR_ERR_SUCCESS;
    6296             : }
    6297             : 
    6298           0 : static void ndr_print_flags_wsp_creusewhere(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_creusewhere *r)
    6299             : {
    6300           0 :         ndr_print_wsp_creusewhere(ndr, name, r);
    6301           0 : }
    6302             : 
    6303           0 : _PUBLIC_ void ndr_print_wsp_creusewhere(struct ndr_print *ndr, const char *name, const struct wsp_creusewhere *r)
    6304             : {
    6305           0 :         ndr_print_struct(ndr, name, "wsp_creusewhere");
    6306           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    6307           0 :         ndr->depth++;
    6308           0 :         ndr_print_uint32(ndr, "whereid", r->whereid);
    6309           0 :         ndr->depth--;
    6310             : }
    6311             : 
    6312           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cinternalpropertyrestriction(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cinternalpropertyrestriction *r)
    6313             : {
    6314           0 :         uint32_t cntr_nextrestriction_0;
    6315           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    6316           0 :         if (ndr_flags & NDR_SCALARS) {
    6317           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    6318           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->relop));
    6319           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->pid));
    6320           0 :                 NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->prval));
    6321           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->lcid));
    6322           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->restrictionpresent));
    6323           0 :                 for (cntr_nextrestriction_0 = 0; cntr_nextrestriction_0 < (SINGLE_ITEM); cntr_nextrestriction_0++) {
    6324           0 :                         NDR_CHECK(ndr_push_wsp_crestriction(ndr, NDR_SCALARS, &r->nextrestriction[cntr_nextrestriction_0]));
    6325             :                 }
    6326           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    6327             :         }
    6328           0 :         if (ndr_flags & NDR_BUFFERS) {
    6329           0 :                 NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->prval));
    6330           0 :                 for (cntr_nextrestriction_0 = 0; cntr_nextrestriction_0 < (SINGLE_ITEM); cntr_nextrestriction_0++) {
    6331           0 :                         NDR_CHECK(ndr_push_wsp_crestriction(ndr, NDR_BUFFERS, &r->nextrestriction[cntr_nextrestriction_0]));
    6332             :                 }
    6333             :         }
    6334           0 :         return NDR_ERR_SUCCESS;
    6335             : }
    6336             : 
    6337           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cinternalpropertyrestriction(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cinternalpropertyrestriction *r)
    6338             : {
    6339           0 :         uint32_t size_nextrestriction_0 = 0;
    6340           0 :         uint32_t cntr_nextrestriction_0;
    6341           0 :         TALLOC_CTX *_mem_save_nextrestriction_0 = NULL;
    6342           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    6343           0 :         if (ndr_flags & NDR_SCALARS) {
    6344           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    6345           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->relop));
    6346           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->pid));
    6347           0 :                 NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->prval));
    6348           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->lcid));
    6349           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->restrictionpresent));
    6350           0 :                 size_nextrestriction_0 = SINGLE_ITEM;
    6351           0 :                 NDR_PULL_ALLOC_N(ndr, r->nextrestriction, size_nextrestriction_0);
    6352           0 :                 _mem_save_nextrestriction_0 = NDR_PULL_GET_MEM_CTX(ndr);
    6353           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->nextrestriction, 0);
    6354           0 :                 for (cntr_nextrestriction_0 = 0; cntr_nextrestriction_0 < (size_nextrestriction_0); cntr_nextrestriction_0++) {
    6355           0 :                         NDR_CHECK(ndr_pull_wsp_crestriction(ndr, NDR_SCALARS, &r->nextrestriction[cntr_nextrestriction_0]));
    6356             :                 }
    6357           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_nextrestriction_0, 0);
    6358           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    6359             :         }
    6360           0 :         if (ndr_flags & NDR_BUFFERS) {
    6361           0 :                 NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->prval));
    6362           0 :                 size_nextrestriction_0 = SINGLE_ITEM;
    6363           0 :                 _mem_save_nextrestriction_0 = NDR_PULL_GET_MEM_CTX(ndr);
    6364           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->nextrestriction, 0);
    6365           0 :                 for (cntr_nextrestriction_0 = 0; cntr_nextrestriction_0 < (size_nextrestriction_0); cntr_nextrestriction_0++) {
    6366           0 :                         NDR_CHECK(ndr_pull_wsp_crestriction(ndr, NDR_BUFFERS, &r->nextrestriction[cntr_nextrestriction_0]));
    6367             :                 }
    6368           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_nextrestriction_0, 0);
    6369           0 :                 for (cntr_nextrestriction_0 = 0; cntr_nextrestriction_0 < (size_nextrestriction_0); cntr_nextrestriction_0++) {
    6370             :                 }
    6371             :         }
    6372           0 :         return NDR_ERR_SUCCESS;
    6373             : }
    6374             : 
    6375           0 : static void ndr_print_flags_wsp_cinternalpropertyrestriction(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cinternalpropertyrestriction *r)
    6376             : {
    6377           0 :         ndr_print_wsp_cinternalpropertyrestriction(ndr, name, r);
    6378           0 : }
    6379             : 
    6380           0 : _PUBLIC_ void ndr_print_wsp_cinternalpropertyrestriction(struct ndr_print *ndr, const char *name, const struct wsp_cinternalpropertyrestriction *r)
    6381             : {
    6382           0 :         uint32_t cntr_nextrestriction_0;
    6383           0 :         ndr_print_struct(ndr, name, "wsp_cinternalpropertyrestriction");
    6384           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    6385           0 :         ndr->depth++;
    6386           0 :         ndr_print_uint32(ndr, "relop", r->relop);
    6387           0 :         ndr_print_uint32(ndr, "pid", r->pid);
    6388           0 :         ndr_print_wsp_cbasestoragevariant(ndr, "prval", &r->prval);
    6389           0 :         ndr_print_uint32(ndr, "lcid", r->lcid);
    6390           0 :         ndr_print_uint8(ndr, "restrictionpresent", r->restrictionpresent);
    6391           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "nextrestriction", (uint32_t)(SINGLE_ITEM));
    6392           0 :         ndr->depth++;
    6393           0 :         for (cntr_nextrestriction_0 = 0; cntr_nextrestriction_0 < (SINGLE_ITEM); cntr_nextrestriction_0++) {
    6394           0 :                 ndr_print_wsp_crestriction(ndr, "nextrestriction", &r->nextrestriction[cntr_nextrestriction_0]);
    6395             :         }
    6396           0 :         ndr->depth--;
    6397           0 :         ndr->depth--;
    6398             : }
    6399             : 
    6400           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cprobrestriction(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cprobrestriction *r)
    6401             : {
    6402           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    6403           0 :         if (ndr_flags & NDR_SCALARS) {
    6404           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    6405           0 :                 NDR_CHECK(ndr_push_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->property));
    6406           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->fik1));
    6407           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->fik2));
    6408           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->fik3));
    6409           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->flb));
    6410           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cfeedbackdoc));
    6411           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->probquerypid));
    6412           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    6413             :         }
    6414           0 :         if (ndr_flags & NDR_BUFFERS) {
    6415           0 :         }
    6416           0 :         return NDR_ERR_SUCCESS;
    6417             : }
    6418             : 
    6419           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cprobrestriction(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cprobrestriction *r)
    6420             : {
    6421           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    6422           0 :         if (ndr_flags & NDR_SCALARS) {
    6423           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    6424           0 :                 NDR_CHECK(ndr_pull_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->property));
    6425           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->fik1));
    6426           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->fik2));
    6427           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->fik3));
    6428           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->flb));
    6429           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cfeedbackdoc));
    6430           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->probquerypid));
    6431           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    6432             :         }
    6433           0 :         if (ndr_flags & NDR_BUFFERS) {
    6434           0 :         }
    6435           0 :         return NDR_ERR_SUCCESS;
    6436             : }
    6437             : 
    6438           0 : static void ndr_print_flags_wsp_cprobrestriction(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cprobrestriction *r)
    6439             : {
    6440           0 :         ndr_print_wsp_cprobrestriction(ndr, name, r);
    6441           0 : }
    6442             : 
    6443           0 : _PUBLIC_ void ndr_print_wsp_cprobrestriction(struct ndr_print *ndr, const char *name, const struct wsp_cprobrestriction *r)
    6444             : {
    6445           0 :         ndr_print_struct(ndr, name, "wsp_cprobrestriction");
    6446           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    6447           0 :         ndr->depth++;
    6448           0 :         ndr_print_wsp_cfullpropspec(ndr, "property", &r->property);
    6449           0 :         ndr_print_uint32(ndr, "fik1", r->fik1);
    6450           0 :         ndr_print_uint32(ndr, "fik2", r->fik2);
    6451           0 :         ndr_print_uint32(ndr, "fik3", r->fik3);
    6452           0 :         ndr_print_uint32(ndr, "flb", r->flb);
    6453           0 :         ndr_print_uint32(ndr, "cfeedbackdoc", r->cfeedbackdoc);
    6454           0 :         ndr_print_uint32(ndr, "probquerypid", r->probquerypid);
    6455           0 :         ndr->depth--;
    6456             : }
    6457             : 
    6458           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cfeedbackrestriction(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cfeedbackrestriction *r)
    6459             : {
    6460           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    6461           0 :         if (ndr_flags & NDR_SCALARS) {
    6462           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    6463           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->feedbackdoc));
    6464           0 :                 NDR_CHECK(ndr_push_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->property));
    6465           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    6466             :         }
    6467           0 :         if (ndr_flags & NDR_BUFFERS) {
    6468           0 :         }
    6469           0 :         return NDR_ERR_SUCCESS;
    6470             : }
    6471             : 
    6472           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cfeedbackrestriction(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cfeedbackrestriction *r)
    6473             : {
    6474           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    6475           0 :         if (ndr_flags & NDR_SCALARS) {
    6476           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    6477           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->feedbackdoc));
    6478           0 :                 NDR_CHECK(ndr_pull_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->property));
    6479           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    6480             :         }
    6481           0 :         if (ndr_flags & NDR_BUFFERS) {
    6482           0 :         }
    6483           0 :         return NDR_ERR_SUCCESS;
    6484             : }
    6485             : 
    6486           0 : static void ndr_print_flags_wsp_cfeedbackrestriction(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cfeedbackrestriction *r)
    6487             : {
    6488           0 :         ndr_print_wsp_cfeedbackrestriction(ndr, name, r);
    6489           0 : }
    6490             : 
    6491           0 : _PUBLIC_ void ndr_print_wsp_cfeedbackrestriction(struct ndr_print *ndr, const char *name, const struct wsp_cfeedbackrestriction *r)
    6492             : {
    6493           0 :         ndr_print_struct(ndr, name, "wsp_cfeedbackrestriction");
    6494           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    6495           0 :         ndr->depth++;
    6496           0 :         ndr_print_uint32(ndr, "feedbackdoc", r->feedbackdoc);
    6497           0 :         ndr_print_wsp_cfullpropspec(ndr, "property", &r->property);
    6498           0 :         ndr->depth--;
    6499             : }
    6500             : 
    6501           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_creldocrestriction(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_creldocrestriction *r)
    6502             : {
    6503           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    6504           0 :         if (ndr_flags & NDR_SCALARS) {
    6505           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    6506           0 :                 NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->vdocument));
    6507           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    6508             :         }
    6509           0 :         if (ndr_flags & NDR_BUFFERS) {
    6510           0 :                 NDR_CHECK(ndr_push_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->vdocument));
    6511             :         }
    6512           0 :         return NDR_ERR_SUCCESS;
    6513             : }
    6514             : 
    6515           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_creldocrestriction(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_creldocrestriction *r)
    6516             : {
    6517           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    6518           0 :         if (ndr_flags & NDR_SCALARS) {
    6519           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    6520           0 :                 NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_SCALARS, &r->vdocument));
    6521           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    6522             :         }
    6523           0 :         if (ndr_flags & NDR_BUFFERS) {
    6524           0 :                 NDR_CHECK(ndr_pull_wsp_cbasestoragevariant(ndr, NDR_BUFFERS, &r->vdocument));
    6525             :         }
    6526           0 :         return NDR_ERR_SUCCESS;
    6527             : }
    6528             : 
    6529           0 : static void ndr_print_flags_wsp_creldocrestriction(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_creldocrestriction *r)
    6530             : {
    6531           0 :         ndr_print_wsp_creldocrestriction(ndr, name, r);
    6532           0 : }
    6533             : 
    6534           0 : _PUBLIC_ void ndr_print_wsp_creldocrestriction(struct ndr_print *ndr, const char *name, const struct wsp_creldocrestriction *r)
    6535             : {
    6536           0 :         ndr_print_struct(ndr, name, "wsp_creldocrestriction");
    6537           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    6538           0 :         ndr->depth++;
    6539           0 :         ndr_print_wsp_cbasestoragevariant(ndr, "vdocument", &r->vdocument);
    6540           0 :         ndr->depth--;
    6541             : }
    6542             : 
    6543           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_crestrictions(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union wsp_crestrictions *r)
    6544             : {
    6545           0 :         uint32_t level;
    6546           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    6547           0 :         if (ndr_flags & NDR_SCALARS) {
    6548             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    6549           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    6550           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    6551           0 :                 switch (level) {
    6552           0 :                         case RTNONE: {
    6553           0 :                         break; }
    6554             : 
    6555           0 :                         case RTNOT: {
    6556           0 :                                 NDR_CHECK(ndr_push_wsp_wrap_crestriction(ndr, NDR_SCALARS, &r->restriction));
    6557           0 :                         break; }
    6558             : 
    6559           0 :                         case RTAND: {
    6560           0 :                                 NDR_CHECK(ndr_push_wsp_cnoderestriction(ndr, NDR_SCALARS, &r->cnoderestriction));
    6561           0 :                         break; }
    6562             : 
    6563           0 :                         case RTOR: {
    6564           0 :                                 NDR_CHECK(ndr_push_wsp_cnoderestriction(ndr, NDR_SCALARS, &r->orcnoderestriction));
    6565           0 :                         break; }
    6566             : 
    6567           0 :                         case RTCONTENT: {
    6568           0 :                                 NDR_CHECK(ndr_push_wsp_ccontentrestriction(ndr, NDR_SCALARS, &r->ccontentrestriction));
    6569           0 :                         break; }
    6570             : 
    6571           0 :                         case RTPROPERTY: {
    6572           0 :                                 NDR_CHECK(ndr_push_wsp_cpropertyrestriction(ndr, NDR_SCALARS, &r->cpropertyrestriction));
    6573           0 :                         break; }
    6574             : 
    6575           0 :                         case RTPROXIMITY: {
    6576           0 :                                 NDR_CHECK(ndr_push_wsp_cnoderestriction(ndr, NDR_SCALARS, &r->proximityrestriction));
    6577           0 :                         break; }
    6578             : 
    6579           0 :                         case RTVECTOR: {
    6580           0 :                                 NDR_CHECK(ndr_push_wsp_cvectorrestriction(ndr, NDR_SCALARS, &r->vectorrestriction));
    6581           0 :                         break; }
    6582             : 
    6583           0 :                         case RTNATLANGUAGE: {
    6584           0 :                                 NDR_CHECK(ndr_push_wsp_cnatlanguagerestriction(ndr, NDR_SCALARS, &r->cnatlanguagerestriction));
    6585           0 :                         break; }
    6586             : 
    6587           0 :                         case RTSCOPE: {
    6588           0 :                                 NDR_CHECK(ndr_push_wsp_cscoperestriction(ndr, NDR_SCALARS, &r->scoperestriction));
    6589           0 :                         break; }
    6590             : 
    6591           0 :                         case RTREUSEWHERE: {
    6592           0 :                                 NDR_CHECK(ndr_push_wsp_creusewhere(ndr, NDR_SCALARS, &r->reusewhere));
    6593           0 :                         break; }
    6594             : 
    6595           0 :                         case RTINTERNALPROP: {
    6596           0 :                                 NDR_CHECK(ndr_push_wsp_cinternalpropertyrestriction(ndr, NDR_SCALARS, &r->internalpropertyrestriction));
    6597           0 :                         break; }
    6598             : 
    6599           0 :                         case RTPHRASE: {
    6600           0 :                                 NDR_CHECK(ndr_push_wsp_cnoderestriction(ndr, NDR_SCALARS, &r->phraserestriction));
    6601           0 :                         break; }
    6602             : 
    6603           0 :                         case RTCOERCE_ABSOLUTE: {
    6604           0 :                                 NDR_CHECK(ndr_push_wsp_ccoercionrestriction(ndr, NDR_SCALARS, &r->ccoercionrestriction_abs));
    6605           0 :                         break; }
    6606             : 
    6607           0 :                         case RTCOERCE_ADD: {
    6608           0 :                                 NDR_CHECK(ndr_push_wsp_ccoercionrestriction(ndr, NDR_SCALARS, &r->ccoercionrestriction_add));
    6609           0 :                         break; }
    6610             : 
    6611           0 :                         case RTCOERCE_MULTIPLY: {
    6612           0 :                                 NDR_CHECK(ndr_push_wsp_ccoercionrestriction(ndr, NDR_SCALARS, &r->ccoercionrestriction_mul));
    6613           0 :                         break; }
    6614             : 
    6615           0 :                         case RTPROB: {
    6616           0 :                                 NDR_CHECK(ndr_push_wsp_cprobrestriction(ndr, NDR_SCALARS, &r->probrestriction));
    6617           0 :                         break; }
    6618             : 
    6619           0 :                         case RTFEEDBACK: {
    6620           0 :                                 NDR_CHECK(ndr_push_wsp_cfeedbackrestriction(ndr, NDR_SCALARS, &r->feedbackrestriction));
    6621           0 :                         break; }
    6622             : 
    6623           0 :                         case RTRELDOC: {
    6624           0 :                                 NDR_CHECK(ndr_push_wsp_creldocrestriction(ndr, NDR_SCALARS, &r->reldocrestriction));
    6625           0 :                         break; }
    6626             : 
    6627           0 :                         default:
    6628           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    6629             :                 }
    6630             :         }
    6631           0 :         if (ndr_flags & NDR_BUFFERS) {
    6632           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    6633             :                         /* We didn't get it above, and the token is not needed after this. */
    6634           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    6635             :                 }
    6636           0 :                 switch (level) {
    6637           0 :                         case RTNONE:
    6638           0 :                         break;
    6639             : 
    6640           0 :                         case RTNOT:
    6641           0 :                                 NDR_CHECK(ndr_push_wsp_wrap_crestriction(ndr, NDR_BUFFERS, &r->restriction));
    6642           0 :                         break;
    6643             : 
    6644           0 :                         case RTAND:
    6645           0 :                                 NDR_CHECK(ndr_push_wsp_cnoderestriction(ndr, NDR_BUFFERS, &r->cnoderestriction));
    6646           0 :                         break;
    6647             : 
    6648           0 :                         case RTOR:
    6649           0 :                                 NDR_CHECK(ndr_push_wsp_cnoderestriction(ndr, NDR_BUFFERS, &r->orcnoderestriction));
    6650           0 :                         break;
    6651             : 
    6652           0 :                         case RTCONTENT:
    6653           0 :                         break;
    6654             : 
    6655           0 :                         case RTPROPERTY:
    6656           0 :                                 NDR_CHECK(ndr_push_wsp_cpropertyrestriction(ndr, NDR_BUFFERS, &r->cpropertyrestriction));
    6657           0 :                         break;
    6658             : 
    6659           0 :                         case RTPROXIMITY:
    6660           0 :                                 NDR_CHECK(ndr_push_wsp_cnoderestriction(ndr, NDR_BUFFERS, &r->proximityrestriction));
    6661           0 :                         break;
    6662             : 
    6663           0 :                         case RTVECTOR:
    6664           0 :                         break;
    6665             : 
    6666           0 :                         case RTNATLANGUAGE:
    6667           0 :                         break;
    6668             : 
    6669           0 :                         case RTSCOPE:
    6670           0 :                         break;
    6671             : 
    6672           0 :                         case RTREUSEWHERE:
    6673           0 :                         break;
    6674             : 
    6675           0 :                         case RTINTERNALPROP:
    6676           0 :                                 NDR_CHECK(ndr_push_wsp_cinternalpropertyrestriction(ndr, NDR_BUFFERS, &r->internalpropertyrestriction));
    6677           0 :                         break;
    6678             : 
    6679           0 :                         case RTPHRASE:
    6680           0 :                                 NDR_CHECK(ndr_push_wsp_cnoderestriction(ndr, NDR_BUFFERS, &r->phraserestriction));
    6681           0 :                         break;
    6682             : 
    6683           0 :                         case RTCOERCE_ABSOLUTE:
    6684           0 :                                 NDR_CHECK(ndr_push_wsp_ccoercionrestriction(ndr, NDR_BUFFERS, &r->ccoercionrestriction_abs));
    6685           0 :                         break;
    6686             : 
    6687           0 :                         case RTCOERCE_ADD:
    6688           0 :                                 NDR_CHECK(ndr_push_wsp_ccoercionrestriction(ndr, NDR_BUFFERS, &r->ccoercionrestriction_add));
    6689           0 :                         break;
    6690             : 
    6691           0 :                         case RTCOERCE_MULTIPLY:
    6692           0 :                                 NDR_CHECK(ndr_push_wsp_ccoercionrestriction(ndr, NDR_BUFFERS, &r->ccoercionrestriction_mul));
    6693           0 :                         break;
    6694             : 
    6695           0 :                         case RTPROB:
    6696           0 :                         break;
    6697             : 
    6698           0 :                         case RTFEEDBACK:
    6699           0 :                         break;
    6700             : 
    6701           0 :                         case RTRELDOC:
    6702           0 :                                 NDR_CHECK(ndr_push_wsp_creldocrestriction(ndr, NDR_BUFFERS, &r->reldocrestriction));
    6703           0 :                         break;
    6704             : 
    6705           0 :                         default:
    6706           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    6707             :                 }
    6708             :         }
    6709           0 :         return NDR_ERR_SUCCESS;
    6710             : }
    6711             : 
    6712           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_crestrictions(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union wsp_crestrictions *r)
    6713             : {
    6714           0 :         uint32_t level;
    6715           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    6716           0 :         if (ndr_flags & NDR_SCALARS) {
    6717             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    6718           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    6719           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    6720           0 :                 switch (level) {
    6721           0 :                         case RTNONE: {
    6722           0 :                         break; }
    6723             : 
    6724           0 :                         case RTNOT: {
    6725           0 :                                 NDR_CHECK(ndr_pull_wsp_wrap_crestriction(ndr, NDR_SCALARS, &r->restriction));
    6726           0 :                         break; }
    6727             : 
    6728           0 :                         case RTAND: {
    6729           0 :                                 NDR_CHECK(ndr_pull_wsp_cnoderestriction(ndr, NDR_SCALARS, &r->cnoderestriction));
    6730           0 :                         break; }
    6731             : 
    6732           0 :                         case RTOR: {
    6733           0 :                                 NDR_CHECK(ndr_pull_wsp_cnoderestriction(ndr, NDR_SCALARS, &r->orcnoderestriction));
    6734           0 :                         break; }
    6735             : 
    6736           0 :                         case RTCONTENT: {
    6737           0 :                                 NDR_CHECK(ndr_pull_wsp_ccontentrestriction(ndr, NDR_SCALARS, &r->ccontentrestriction));
    6738           0 :                         break; }
    6739             : 
    6740           0 :                         case RTPROPERTY: {
    6741           0 :                                 NDR_CHECK(ndr_pull_wsp_cpropertyrestriction(ndr, NDR_SCALARS, &r->cpropertyrestriction));
    6742           0 :                         break; }
    6743             : 
    6744           0 :                         case RTPROXIMITY: {
    6745           0 :                                 NDR_CHECK(ndr_pull_wsp_cnoderestriction(ndr, NDR_SCALARS, &r->proximityrestriction));
    6746           0 :                         break; }
    6747             : 
    6748           0 :                         case RTVECTOR: {
    6749           0 :                                 NDR_CHECK(ndr_pull_wsp_cvectorrestriction(ndr, NDR_SCALARS, &r->vectorrestriction));
    6750           0 :                         break; }
    6751             : 
    6752           0 :                         case RTNATLANGUAGE: {
    6753           0 :                                 NDR_CHECK(ndr_pull_wsp_cnatlanguagerestriction(ndr, NDR_SCALARS, &r->cnatlanguagerestriction));
    6754           0 :                         break; }
    6755             : 
    6756           0 :                         case RTSCOPE: {
    6757           0 :                                 NDR_CHECK(ndr_pull_wsp_cscoperestriction(ndr, NDR_SCALARS, &r->scoperestriction));
    6758           0 :                         break; }
    6759             : 
    6760           0 :                         case RTREUSEWHERE: {
    6761           0 :                                 NDR_CHECK(ndr_pull_wsp_creusewhere(ndr, NDR_SCALARS, &r->reusewhere));
    6762           0 :                         break; }
    6763             : 
    6764           0 :                         case RTINTERNALPROP: {
    6765           0 :                                 NDR_CHECK(ndr_pull_wsp_cinternalpropertyrestriction(ndr, NDR_SCALARS, &r->internalpropertyrestriction));
    6766           0 :                         break; }
    6767             : 
    6768           0 :                         case RTPHRASE: {
    6769           0 :                                 NDR_CHECK(ndr_pull_wsp_cnoderestriction(ndr, NDR_SCALARS, &r->phraserestriction));
    6770           0 :                         break; }
    6771             : 
    6772           0 :                         case RTCOERCE_ABSOLUTE: {
    6773           0 :                                 NDR_CHECK(ndr_pull_wsp_ccoercionrestriction(ndr, NDR_SCALARS, &r->ccoercionrestriction_abs));
    6774           0 :                         break; }
    6775             : 
    6776           0 :                         case RTCOERCE_ADD: {
    6777           0 :                                 NDR_CHECK(ndr_pull_wsp_ccoercionrestriction(ndr, NDR_SCALARS, &r->ccoercionrestriction_add));
    6778           0 :                         break; }
    6779             : 
    6780           0 :                         case RTCOERCE_MULTIPLY: {
    6781           0 :                                 NDR_CHECK(ndr_pull_wsp_ccoercionrestriction(ndr, NDR_SCALARS, &r->ccoercionrestriction_mul));
    6782           0 :                         break; }
    6783             : 
    6784           0 :                         case RTPROB: {
    6785           0 :                                 NDR_CHECK(ndr_pull_wsp_cprobrestriction(ndr, NDR_SCALARS, &r->probrestriction));
    6786           0 :                         break; }
    6787             : 
    6788           0 :                         case RTFEEDBACK: {
    6789           0 :                                 NDR_CHECK(ndr_pull_wsp_cfeedbackrestriction(ndr, NDR_SCALARS, &r->feedbackrestriction));
    6790           0 :                         break; }
    6791             : 
    6792           0 :                         case RTRELDOC: {
    6793           0 :                                 NDR_CHECK(ndr_pull_wsp_creldocrestriction(ndr, NDR_SCALARS, &r->reldocrestriction));
    6794           0 :                         break; }
    6795             : 
    6796           0 :                         default:
    6797           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    6798             :                 }
    6799             :         }
    6800           0 :         if (ndr_flags & NDR_BUFFERS) {
    6801           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    6802             :                         /* We didn't get it above, and the token is not needed after this. */
    6803           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    6804             :                 }
    6805           0 :                 switch (level) {
    6806           0 :                         case RTNONE:
    6807           0 :                         break;
    6808             : 
    6809           0 :                         case RTNOT:
    6810           0 :                                 NDR_CHECK(ndr_pull_wsp_wrap_crestriction(ndr, NDR_BUFFERS, &r->restriction));
    6811           0 :                         break;
    6812             : 
    6813           0 :                         case RTAND:
    6814           0 :                                 NDR_CHECK(ndr_pull_wsp_cnoderestriction(ndr, NDR_BUFFERS, &r->cnoderestriction));
    6815           0 :                         break;
    6816             : 
    6817           0 :                         case RTOR:
    6818           0 :                                 NDR_CHECK(ndr_pull_wsp_cnoderestriction(ndr, NDR_BUFFERS, &r->orcnoderestriction));
    6819           0 :                         break;
    6820             : 
    6821           0 :                         case RTCONTENT:
    6822           0 :                         break;
    6823             : 
    6824           0 :                         case RTPROPERTY:
    6825           0 :                                 NDR_CHECK(ndr_pull_wsp_cpropertyrestriction(ndr, NDR_BUFFERS, &r->cpropertyrestriction));
    6826           0 :                         break;
    6827             : 
    6828           0 :                         case RTPROXIMITY:
    6829           0 :                                 NDR_CHECK(ndr_pull_wsp_cnoderestriction(ndr, NDR_BUFFERS, &r->proximityrestriction));
    6830           0 :                         break;
    6831             : 
    6832           0 :                         case RTVECTOR:
    6833           0 :                         break;
    6834             : 
    6835           0 :                         case RTNATLANGUAGE:
    6836           0 :                         break;
    6837             : 
    6838           0 :                         case RTSCOPE:
    6839           0 :                         break;
    6840             : 
    6841           0 :                         case RTREUSEWHERE:
    6842           0 :                         break;
    6843             : 
    6844           0 :                         case RTINTERNALPROP:
    6845           0 :                                 NDR_CHECK(ndr_pull_wsp_cinternalpropertyrestriction(ndr, NDR_BUFFERS, &r->internalpropertyrestriction));
    6846           0 :                         break;
    6847             : 
    6848           0 :                         case RTPHRASE:
    6849           0 :                                 NDR_CHECK(ndr_pull_wsp_cnoderestriction(ndr, NDR_BUFFERS, &r->phraserestriction));
    6850           0 :                         break;
    6851             : 
    6852           0 :                         case RTCOERCE_ABSOLUTE:
    6853           0 :                                 NDR_CHECK(ndr_pull_wsp_ccoercionrestriction(ndr, NDR_BUFFERS, &r->ccoercionrestriction_abs));
    6854           0 :                         break;
    6855             : 
    6856           0 :                         case RTCOERCE_ADD:
    6857           0 :                                 NDR_CHECK(ndr_pull_wsp_ccoercionrestriction(ndr, NDR_BUFFERS, &r->ccoercionrestriction_add));
    6858           0 :                         break;
    6859             : 
    6860           0 :                         case RTCOERCE_MULTIPLY:
    6861           0 :                                 NDR_CHECK(ndr_pull_wsp_ccoercionrestriction(ndr, NDR_BUFFERS, &r->ccoercionrestriction_mul));
    6862           0 :                         break;
    6863             : 
    6864           0 :                         case RTPROB:
    6865           0 :                         break;
    6866             : 
    6867           0 :                         case RTFEEDBACK:
    6868           0 :                         break;
    6869             : 
    6870           0 :                         case RTRELDOC:
    6871           0 :                                 NDR_CHECK(ndr_pull_wsp_creldocrestriction(ndr, NDR_BUFFERS, &r->reldocrestriction));
    6872           0 :                         break;
    6873             : 
    6874           0 :                         default:
    6875           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    6876             :                 }
    6877             :         }
    6878           0 :         return NDR_ERR_SUCCESS;
    6879             : }
    6880             : 
    6881           0 : _PUBLIC_ void ndr_print_wsp_crestrictions(struct ndr_print *ndr, const char *name, const union wsp_crestrictions *r)
    6882             : {
    6883           0 :         uint32_t level;
    6884           0 :         level = ndr_print_steal_switch_value(ndr, r);
    6885           0 :         ndr_print_union(ndr, name, level, "wsp_crestrictions");
    6886           0 :         switch (level) {
    6887           0 :                 case RTNONE:
    6888           0 :                 break;
    6889             : 
    6890           0 :                 case RTNOT:
    6891           0 :                         ndr_print_wsp_wrap_crestriction(ndr, "restriction", &r->restriction);
    6892           0 :                 break;
    6893             : 
    6894           0 :                 case RTAND:
    6895           0 :                         ndr_print_wsp_cnoderestriction(ndr, "cnoderestriction", &r->cnoderestriction);
    6896           0 :                 break;
    6897             : 
    6898           0 :                 case RTOR:
    6899           0 :                         ndr_print_wsp_cnoderestriction(ndr, "orcnoderestriction", &r->orcnoderestriction);
    6900           0 :                 break;
    6901             : 
    6902           0 :                 case RTCONTENT:
    6903           0 :                         ndr_print_wsp_ccontentrestriction(ndr, "ccontentrestriction", &r->ccontentrestriction);
    6904           0 :                 break;
    6905             : 
    6906           0 :                 case RTPROPERTY:
    6907           0 :                         ndr_print_wsp_cpropertyrestriction(ndr, "cpropertyrestriction", &r->cpropertyrestriction);
    6908           0 :                 break;
    6909             : 
    6910           0 :                 case RTPROXIMITY:
    6911           0 :                         ndr_print_wsp_cnoderestriction(ndr, "proximityrestriction", &r->proximityrestriction);
    6912           0 :                 break;
    6913             : 
    6914           0 :                 case RTVECTOR:
    6915           0 :                         ndr_print_wsp_cvectorrestriction(ndr, "vectorrestriction", &r->vectorrestriction);
    6916           0 :                 break;
    6917             : 
    6918           0 :                 case RTNATLANGUAGE:
    6919           0 :                         ndr_print_wsp_cnatlanguagerestriction(ndr, "cnatlanguagerestriction", &r->cnatlanguagerestriction);
    6920           0 :                 break;
    6921             : 
    6922           0 :                 case RTSCOPE:
    6923           0 :                         ndr_print_wsp_cscoperestriction(ndr, "scoperestriction", &r->scoperestriction);
    6924           0 :                 break;
    6925             : 
    6926           0 :                 case RTREUSEWHERE:
    6927           0 :                         ndr_print_wsp_creusewhere(ndr, "reusewhere", &r->reusewhere);
    6928           0 :                 break;
    6929             : 
    6930           0 :                 case RTINTERNALPROP:
    6931           0 :                         ndr_print_wsp_cinternalpropertyrestriction(ndr, "internalpropertyrestriction", &r->internalpropertyrestriction);
    6932           0 :                 break;
    6933             : 
    6934           0 :                 case RTPHRASE:
    6935           0 :                         ndr_print_wsp_cnoderestriction(ndr, "phraserestriction", &r->phraserestriction);
    6936           0 :                 break;
    6937             : 
    6938           0 :                 case RTCOERCE_ABSOLUTE:
    6939           0 :                         ndr_print_wsp_ccoercionrestriction(ndr, "ccoercionrestriction_abs", &r->ccoercionrestriction_abs);
    6940           0 :                 break;
    6941             : 
    6942           0 :                 case RTCOERCE_ADD:
    6943           0 :                         ndr_print_wsp_ccoercionrestriction(ndr, "ccoercionrestriction_add", &r->ccoercionrestriction_add);
    6944           0 :                 break;
    6945             : 
    6946           0 :                 case RTCOERCE_MULTIPLY:
    6947           0 :                         ndr_print_wsp_ccoercionrestriction(ndr, "ccoercionrestriction_mul", &r->ccoercionrestriction_mul);
    6948           0 :                 break;
    6949             : 
    6950           0 :                 case RTPROB:
    6951           0 :                         ndr_print_wsp_cprobrestriction(ndr, "probrestriction", &r->probrestriction);
    6952           0 :                 break;
    6953             : 
    6954           0 :                 case RTFEEDBACK:
    6955           0 :                         ndr_print_wsp_cfeedbackrestriction(ndr, "feedbackrestriction", &r->feedbackrestriction);
    6956           0 :                 break;
    6957             : 
    6958           0 :                 case RTRELDOC:
    6959           0 :                         ndr_print_wsp_creldocrestriction(ndr, "reldocrestriction", &r->reldocrestriction);
    6960           0 :                 break;
    6961             : 
    6962           0 :                 default:
    6963           0 :                         ndr_print_bad_level(ndr, name, level);
    6964             :         }
    6965           0 : }
    6966             : 
    6967           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_crestriction(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_crestriction *r)
    6968             : {
    6969           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    6970           0 :         if (ndr_flags & NDR_SCALARS) {
    6971           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    6972           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ultype));
    6973           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->weight));
    6974           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->restriction, r->ultype));
    6975           0 :                 NDR_CHECK(ndr_push_wsp_crestrictions(ndr, NDR_SCALARS, &r->restriction));
    6976           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    6977             :         }
    6978           0 :         if (ndr_flags & NDR_BUFFERS) {
    6979           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->restriction, r->ultype));
    6980           0 :                 NDR_CHECK(ndr_push_wsp_crestrictions(ndr, NDR_BUFFERS, &r->restriction));
    6981             :         }
    6982           0 :         return NDR_ERR_SUCCESS;
    6983             : }
    6984             : 
    6985           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_crestriction(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_crestriction *r)
    6986             : {
    6987           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    6988           0 :         if (ndr_flags & NDR_SCALARS) {
    6989           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    6990           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ultype));
    6991           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->weight));
    6992           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->restriction, r->ultype));
    6993           0 :                 NDR_CHECK(ndr_pull_wsp_crestrictions(ndr, NDR_SCALARS, &r->restriction));
    6994           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    6995             :         }
    6996           0 :         if (ndr_flags & NDR_BUFFERS) {
    6997           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->restriction, r->ultype));
    6998           0 :                 NDR_CHECK(ndr_pull_wsp_crestrictions(ndr, NDR_BUFFERS, &r->restriction));
    6999             :         }
    7000           0 :         return NDR_ERR_SUCCESS;
    7001             : }
    7002             : 
    7003           0 : static void ndr_print_flags_wsp_crestriction(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_crestriction *r)
    7004             : {
    7005           0 :         ndr_print_wsp_crestriction(ndr, name, r);
    7006           0 : }
    7007             : 
    7008           0 : _PUBLIC_ void ndr_print_wsp_crestriction(struct ndr_print *ndr, const char *name, const struct wsp_crestriction *r)
    7009             : {
    7010           0 :         ndr_print_struct(ndr, name, "wsp_crestriction");
    7011           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    7012           0 :         ndr->depth++;
    7013           0 :         ndr_print_uint32(ndr, "ultype", r->ultype);
    7014           0 :         ndr_print_uint32(ndr, "weight", r->weight);
    7015           0 :         ndr_print_set_switch_value(ndr, &r->restriction, r->ultype);
    7016           0 :         ndr_print_wsp_crestrictions(ndr, "restriction", &r->restriction);
    7017           0 :         ndr->depth--;
    7018             : }
    7019             : 
    7020           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_crestrictionarray(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_crestrictionarray *r)
    7021             : {
    7022           0 :         uint32_t cntr_restrictions_0;
    7023             :         {
    7024           0 :                 libndr_flags _flags_save_STRUCT = ndr->flags;
    7025           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN);
    7026           0 :                 NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    7027           0 :                 if (ndr_flags & NDR_SCALARS) {
    7028           0 :                         NDR_CHECK(ndr_push_align(ndr, 4));
    7029           0 :                         NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->count));
    7030           0 :                         NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->ispresent));
    7031             :                         {
    7032           0 :                                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    7033           0 :                                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    7034           0 :                                 NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad1));
    7035           0 :                                 ndr->flags = _flags_save_DATA_BLOB;
    7036             :                         }
    7037           0 :                         for (cntr_restrictions_0 = 0; cntr_restrictions_0 < (r->count); cntr_restrictions_0++) {
    7038           0 :                                 NDR_CHECK(ndr_push_wsp_crestriction(ndr, NDR_SCALARS, &r->restrictions[cntr_restrictions_0]));
    7039             :                         }
    7040           0 :                         NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    7041             :                 }
    7042           0 :                 if (ndr_flags & NDR_BUFFERS) {
    7043           0 :                         for (cntr_restrictions_0 = 0; cntr_restrictions_0 < (r->count); cntr_restrictions_0++) {
    7044           0 :                                 NDR_CHECK(ndr_push_wsp_crestriction(ndr, NDR_BUFFERS, &r->restrictions[cntr_restrictions_0]));
    7045             :                         }
    7046             :                 }
    7047           0 :                 ndr->flags = _flags_save_STRUCT;
    7048             :         }
    7049           0 :         return NDR_ERR_SUCCESS;
    7050             : }
    7051             : 
    7052           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_crestrictionarray(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_crestrictionarray *r)
    7053             : {
    7054           0 :         uint32_t size_restrictions_0 = 0;
    7055           0 :         uint32_t cntr_restrictions_0;
    7056           0 :         TALLOC_CTX *_mem_save_restrictions_0 = NULL;
    7057             :         {
    7058           0 :                 libndr_flags _flags_save_STRUCT = ndr->flags;
    7059           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN);
    7060           0 :                 NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    7061           0 :                 if (ndr_flags & NDR_SCALARS) {
    7062           0 :                         NDR_CHECK(ndr_pull_align(ndr, 4));
    7063           0 :                         NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->count));
    7064           0 :                         NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->ispresent));
    7065             :                         {
    7066           0 :                                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    7067           0 :                                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    7068           0 :                                 NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad1));
    7069           0 :                                 ndr->flags = _flags_save_DATA_BLOB;
    7070             :                         }
    7071           0 :                         size_restrictions_0 = r->count;
    7072           0 :                         NDR_PULL_ALLOC_N(ndr, r->restrictions, size_restrictions_0);
    7073           0 :                         _mem_save_restrictions_0 = NDR_PULL_GET_MEM_CTX(ndr);
    7074           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->restrictions, 0);
    7075           0 :                         for (cntr_restrictions_0 = 0; cntr_restrictions_0 < (size_restrictions_0); cntr_restrictions_0++) {
    7076           0 :                                 NDR_CHECK(ndr_pull_wsp_crestriction(ndr, NDR_SCALARS, &r->restrictions[cntr_restrictions_0]));
    7077             :                         }
    7078           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_restrictions_0, 0);
    7079           0 :                         NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    7080             :                 }
    7081           0 :                 if (ndr_flags & NDR_BUFFERS) {
    7082           0 :                         size_restrictions_0 = r->count;
    7083           0 :                         _mem_save_restrictions_0 = NDR_PULL_GET_MEM_CTX(ndr);
    7084           0 :                         NDR_PULL_SET_MEM_CTX(ndr, r->restrictions, 0);
    7085           0 :                         for (cntr_restrictions_0 = 0; cntr_restrictions_0 < (size_restrictions_0); cntr_restrictions_0++) {
    7086           0 :                                 NDR_CHECK(ndr_pull_wsp_crestriction(ndr, NDR_BUFFERS, &r->restrictions[cntr_restrictions_0]));
    7087             :                         }
    7088           0 :                         NDR_PULL_SET_MEM_CTX(ndr, _mem_save_restrictions_0, 0);
    7089           0 :                         for (cntr_restrictions_0 = 0; cntr_restrictions_0 < (size_restrictions_0); cntr_restrictions_0++) {
    7090             :                         }
    7091             :                 }
    7092           0 :                 ndr->flags = _flags_save_STRUCT;
    7093             :         }
    7094           0 :         return NDR_ERR_SUCCESS;
    7095             : }
    7096             : 
    7097           0 : static void ndr_print_flags_wsp_crestrictionarray(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_crestrictionarray *r)
    7098             : {
    7099           0 :         ndr_print_wsp_crestrictionarray(ndr, name, r);
    7100           0 : }
    7101             : 
    7102           0 : _PUBLIC_ void ndr_print_wsp_crestrictionarray(struct ndr_print *ndr, const char *name, const struct wsp_crestrictionarray *r)
    7103             : {
    7104           0 :         uint32_t cntr_restrictions_0;
    7105           0 :         ndr_print_struct(ndr, name, "wsp_crestrictionarray");
    7106           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    7107             :         {
    7108           0 :                 libndr_flags _flags_save_STRUCT = ndr->flags;
    7109           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN);
    7110           0 :                 ndr->depth++;
    7111           0 :                 ndr_print_uint8(ndr, "count", r->count);
    7112           0 :                 ndr_print_uint8(ndr, "ispresent", r->ispresent);
    7113             :                 {
    7114           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    7115           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    7116           0 :                         ndr_print_DATA_BLOB(ndr, "_pad1", r->_pad1);
    7117           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    7118             :                 }
    7119           0 :                 ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "restrictions", (uint32_t)(r->count));
    7120           0 :                 ndr->depth++;
    7121           0 :                 for (cntr_restrictions_0 = 0; cntr_restrictions_0 < (r->count); cntr_restrictions_0++) {
    7122           0 :                         ndr_print_wsp_crestriction(ndr, "restrictions", &r->restrictions[cntr_restrictions_0]);
    7123             :                 }
    7124           0 :                 ndr->depth--;
    7125           0 :                 ndr->depth--;
    7126           0 :                 ndr->flags = _flags_save_STRUCT;
    7127             :         }
    7128             : }
    7129             : 
    7130           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_crowsetproperties(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_crowsetproperties *r)
    7131             : {
    7132           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    7133           0 :         if (ndr_flags & NDR_SCALARS) {
    7134           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    7135           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ubooleanoptions));
    7136           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ulmaxopenrows));
    7137           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ulmemoryusage));
    7138           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cmaxresults));
    7139           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ccmdtimeout));
    7140           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    7141             :         }
    7142           0 :         if (ndr_flags & NDR_BUFFERS) {
    7143           0 :         }
    7144           0 :         return NDR_ERR_SUCCESS;
    7145             : }
    7146             : 
    7147           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_crowsetproperties(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_crowsetproperties *r)
    7148             : {
    7149           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    7150           0 :         if (ndr_flags & NDR_SCALARS) {
    7151           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    7152           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ubooleanoptions));
    7153           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ulmaxopenrows));
    7154           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ulmemoryusage));
    7155           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cmaxresults));
    7156           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ccmdtimeout));
    7157           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    7158             :         }
    7159           0 :         if (ndr_flags & NDR_BUFFERS) {
    7160           0 :         }
    7161           0 :         return NDR_ERR_SUCCESS;
    7162             : }
    7163             : 
    7164           0 : static void ndr_print_flags_wsp_crowsetproperties(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_crowsetproperties *r)
    7165             : {
    7166           0 :         ndr_print_wsp_crowsetproperties(ndr, name, r);
    7167           0 : }
    7168             : 
    7169           0 : _PUBLIC_ void ndr_print_wsp_crowsetproperties(struct ndr_print *ndr, const char *name, const struct wsp_crowsetproperties *r)
    7170             : {
    7171           0 :         ndr_print_struct(ndr, name, "wsp_crowsetproperties");
    7172           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    7173           0 :         ndr->depth++;
    7174           0 :         ndr_print_uint32(ndr, "ubooleanoptions", r->ubooleanoptions);
    7175           0 :         ndr_print_uint32(ndr, "ulmaxopenrows", r->ulmaxopenrows);
    7176           0 :         ndr_print_uint32(ndr, "ulmemoryusage", r->ulmemoryusage);
    7177           0 :         ndr_print_uint32(ndr, "cmaxresults", r->cmaxresults);
    7178           0 :         ndr_print_uint32(ndr, "ccmdtimeout", r->ccmdtimeout);
    7179           0 :         ndr->depth--;
    7180             : }
    7181             : 
    7182           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpidmapper(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpidmapper *r)
    7183             : {
    7184           0 :         uint32_t cntr_apropspec_0;
    7185           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    7186           0 :         if (ndr_flags & NDR_SCALARS) {
    7187           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    7188           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->count));
    7189             :                 {
    7190           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    7191           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    7192           0 :                         NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad2));
    7193           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    7194             :                 }
    7195           0 :                 for (cntr_apropspec_0 = 0; cntr_apropspec_0 < (r->count); cntr_apropspec_0++) {
    7196           0 :                         NDR_CHECK(ndr_push_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->apropspec[cntr_apropspec_0]));
    7197             :                 }
    7198           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    7199             :         }
    7200           0 :         if (ndr_flags & NDR_BUFFERS) {
    7201           0 :         }
    7202           0 :         return NDR_ERR_SUCCESS;
    7203             : }
    7204             : 
    7205           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpidmapper(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpidmapper *r)
    7206             : {
    7207           0 :         uint32_t size_apropspec_0 = 0;
    7208           0 :         uint32_t cntr_apropspec_0;
    7209           0 :         TALLOC_CTX *_mem_save_apropspec_0 = NULL;
    7210           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    7211           0 :         if (ndr_flags & NDR_SCALARS) {
    7212           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    7213           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->count));
    7214             :                 {
    7215           0 :                         libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    7216           0 :                         ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    7217           0 :                         NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->_pad2));
    7218           0 :                         ndr->flags = _flags_save_DATA_BLOB;
    7219             :                 }
    7220           0 :                 size_apropspec_0 = r->count;
    7221           0 :                 NDR_PULL_ALLOC_N(ndr, r->apropspec, size_apropspec_0);
    7222           0 :                 _mem_save_apropspec_0 = NDR_PULL_GET_MEM_CTX(ndr);
    7223           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->apropspec, 0);
    7224           0 :                 for (cntr_apropspec_0 = 0; cntr_apropspec_0 < (size_apropspec_0); cntr_apropspec_0++) {
    7225           0 :                         NDR_CHECK(ndr_pull_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->apropspec[cntr_apropspec_0]));
    7226             :                 }
    7227           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_apropspec_0, 0);
    7228           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    7229             :         }
    7230           0 :         if (ndr_flags & NDR_BUFFERS) {
    7231           0 :         }
    7232           0 :         return NDR_ERR_SUCCESS;
    7233             : }
    7234             : 
    7235           0 : static void ndr_print_flags_wsp_cpidmapper(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpidmapper *r)
    7236             : {
    7237           0 :         ndr_print_wsp_cpidmapper(ndr, name, r);
    7238           0 : }
    7239             : 
    7240           0 : _PUBLIC_ void ndr_print_wsp_cpidmapper(struct ndr_print *ndr, const char *name, const struct wsp_cpidmapper *r)
    7241             : {
    7242           0 :         uint32_t cntr_apropspec_0;
    7243           0 :         ndr_print_struct(ndr, name, "wsp_cpidmapper");
    7244           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    7245           0 :         ndr->depth++;
    7246           0 :         ndr_print_uint32(ndr, "count", r->count);
    7247             :         {
    7248           0 :                 libndr_flags _flags_save_DATA_BLOB = ndr->flags;
    7249           0 :                 ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4);
    7250           0 :                 ndr_print_DATA_BLOB(ndr, "_pad2", r->_pad2);
    7251           0 :                 ndr->flags = _flags_save_DATA_BLOB;
    7252             :         }
    7253           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "apropspec", (uint32_t)(r->count));
    7254           0 :         ndr->depth++;
    7255           0 :         for (cntr_apropspec_0 = 0; cntr_apropspec_0 < (r->count); cntr_apropspec_0++) {
    7256           0 :                 ndr_print_wsp_cfullpropspec(ndr, "apropspec", &r->apropspec[cntr_apropspec_0]);
    7257             :         }
    7258           0 :         ndr->depth--;
    7259           0 :         ndr->depth--;
    7260             : }
    7261             : 
    7262           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_sproperty(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_sproperty *r)
    7263             : {
    7264           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    7265           0 :         if (ndr_flags & NDR_SCALARS) {
    7266           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    7267           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->pid));
    7268           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->weight));
    7269           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    7270             :         }
    7271           0 :         if (ndr_flags & NDR_BUFFERS) {
    7272           0 :         }
    7273           0 :         return NDR_ERR_SUCCESS;
    7274             : }
    7275             : 
    7276           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_sproperty(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_sproperty *r)
    7277             : {
    7278           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    7279           0 :         if (ndr_flags & NDR_SCALARS) {
    7280           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    7281           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->pid));
    7282           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->weight));
    7283           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    7284             :         }
    7285           0 :         if (ndr_flags & NDR_BUFFERS) {
    7286           0 :         }
    7287           0 :         return NDR_ERR_SUCCESS;
    7288             : }
    7289             : 
    7290           0 : static void ndr_print_flags_wsp_sproperty(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_sproperty *r)
    7291             : {
    7292           0 :         ndr_print_wsp_sproperty(ndr, name, r);
    7293           0 : }
    7294             : 
    7295           0 : _PUBLIC_ void ndr_print_wsp_sproperty(struct ndr_print *ndr, const char *name, const struct wsp_sproperty *r)
    7296             : {
    7297           0 :         ndr_print_struct(ndr, name, "wsp_sproperty");
    7298           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    7299           0 :         ndr->depth++;
    7300           0 :         ndr_print_uint32(ndr, "pid", r->pid);
    7301           0 :         ndr_print_uint32(ndr, "weight", r->weight);
    7302           0 :         ndr->depth--;
    7303             : }
    7304             : 
    7305           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_ccolumngroup(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_ccolumngroup *r)
    7306             : {
    7307           0 :         uint32_t cntr_props_0;
    7308           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    7309           0 :         if (ndr_flags & NDR_SCALARS) {
    7310           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    7311           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->count));
    7312           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->grouppid));
    7313           0 :                 for (cntr_props_0 = 0; cntr_props_0 < (r->count); cntr_props_0++) {
    7314           0 :                         NDR_CHECK(ndr_push_wsp_sproperty(ndr, NDR_SCALARS, &r->props[cntr_props_0]));
    7315             :                 }
    7316           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    7317             :         }
    7318           0 :         if (ndr_flags & NDR_BUFFERS) {
    7319           0 :         }
    7320           0 :         return NDR_ERR_SUCCESS;
    7321             : }
    7322             : 
    7323           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_ccolumngroup(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_ccolumngroup *r)
    7324             : {
    7325           0 :         uint32_t size_props_0 = 0;
    7326           0 :         uint32_t cntr_props_0;
    7327           0 :         TALLOC_CTX *_mem_save_props_0 = NULL;
    7328           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    7329           0 :         if (ndr_flags & NDR_SCALARS) {
    7330           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    7331           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->count));
    7332           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->grouppid));
    7333           0 :                 size_props_0 = r->count;
    7334           0 :                 NDR_PULL_ALLOC_N(ndr, r->props, size_props_0);
    7335           0 :                 _mem_save_props_0 = NDR_PULL_GET_MEM_CTX(ndr);
    7336           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->props, 0);
    7337           0 :                 for (cntr_props_0 = 0; cntr_props_0 < (size_props_0); cntr_props_0++) {
    7338           0 :                         NDR_CHECK(ndr_pull_wsp_sproperty(ndr, NDR_SCALARS, &r->props[cntr_props_0]));
    7339             :                 }
    7340           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_props_0, 0);
    7341           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    7342             :         }
    7343           0 :         if (ndr_flags & NDR_BUFFERS) {
    7344           0 :         }
    7345           0 :         return NDR_ERR_SUCCESS;
    7346             : }
    7347             : 
    7348           0 : static void ndr_print_flags_wsp_ccolumngroup(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_ccolumngroup *r)
    7349             : {
    7350           0 :         ndr_print_wsp_ccolumngroup(ndr, name, r);
    7351           0 : }
    7352             : 
    7353           0 : _PUBLIC_ void ndr_print_wsp_ccolumngroup(struct ndr_print *ndr, const char *name, const struct wsp_ccolumngroup *r)
    7354             : {
    7355           0 :         uint32_t cntr_props_0;
    7356           0 :         ndr_print_struct(ndr, name, "wsp_ccolumngroup");
    7357           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    7358           0 :         ndr->depth++;
    7359           0 :         ndr_print_uint32(ndr, "count", r->count);
    7360           0 :         ndr_print_uint32(ndr, "grouppid", r->grouppid);
    7361           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "props", (uint32_t)(r->count));
    7362           0 :         ndr->depth++;
    7363           0 :         for (cntr_props_0 = 0; cntr_props_0 < (r->count); cntr_props_0++) {
    7364           0 :                 ndr_print_wsp_sproperty(ndr, "props", &r->props[cntr_props_0]);
    7365             :         }
    7366           0 :         ndr->depth--;
    7367           0 :         ndr->depth--;
    7368             : }
    7369             : 
    7370           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_ccolumngrouparray(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_ccolumngrouparray *r)
    7371             : {
    7372           0 :         uint32_t cntr_agrouparray_0;
    7373           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    7374           0 :         if (ndr_flags & NDR_SCALARS) {
    7375           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    7376           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->count));
    7377           0 :                 for (cntr_agrouparray_0 = 0; cntr_agrouparray_0 < (r->count); cntr_agrouparray_0++) {
    7378           0 :                         NDR_CHECK(ndr_push_wsp_ccolumngroup(ndr, NDR_SCALARS, &r->agrouparray[cntr_agrouparray_0]));
    7379             :                 }
    7380           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    7381             :         }
    7382           0 :         if (ndr_flags & NDR_BUFFERS) {
    7383           0 :         }
    7384           0 :         return NDR_ERR_SUCCESS;
    7385             : }
    7386             : 
    7387           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_ccolumngrouparray(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_ccolumngrouparray *r)
    7388             : {
    7389           0 :         uint32_t size_agrouparray_0 = 0;
    7390           0 :         uint32_t cntr_agrouparray_0;
    7391           0 :         TALLOC_CTX *_mem_save_agrouparray_0 = NULL;
    7392           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    7393           0 :         if (ndr_flags & NDR_SCALARS) {
    7394           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    7395           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->count));
    7396           0 :                 size_agrouparray_0 = r->count;
    7397           0 :                 NDR_PULL_ALLOC_N(ndr, r->agrouparray, size_agrouparray_0);
    7398           0 :                 _mem_save_agrouparray_0 = NDR_PULL_GET_MEM_CTX(ndr);
    7399           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->agrouparray, 0);
    7400           0 :                 for (cntr_agrouparray_0 = 0; cntr_agrouparray_0 < (size_agrouparray_0); cntr_agrouparray_0++) {
    7401           0 :                         NDR_CHECK(ndr_pull_wsp_ccolumngroup(ndr, NDR_SCALARS, &r->agrouparray[cntr_agrouparray_0]));
    7402             :                 }
    7403           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_agrouparray_0, 0);
    7404           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    7405             :         }
    7406           0 :         if (ndr_flags & NDR_BUFFERS) {
    7407           0 :         }
    7408           0 :         return NDR_ERR_SUCCESS;
    7409             : }
    7410             : 
    7411           0 : static void ndr_print_flags_wsp_ccolumngrouparray(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_ccolumngrouparray *r)
    7412             : {
    7413           0 :         ndr_print_wsp_ccolumngrouparray(ndr, name, r);
    7414           0 : }
    7415             : 
    7416           0 : _PUBLIC_ void ndr_print_wsp_ccolumngrouparray(struct ndr_print *ndr, const char *name, const struct wsp_ccolumngrouparray *r)
    7417             : {
    7418           0 :         uint32_t cntr_agrouparray_0;
    7419           0 :         ndr_print_struct(ndr, name, "wsp_ccolumngrouparray");
    7420           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    7421           0 :         ndr->depth++;
    7422           0 :         ndr_print_uint32(ndr, "count", r->count);
    7423           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "agrouparray", (uint32_t)(r->count));
    7424           0 :         ndr->depth++;
    7425           0 :         for (cntr_agrouparray_0 = 0; cntr_agrouparray_0 < (r->count); cntr_agrouparray_0++) {
    7426           0 :                 ndr_print_wsp_ccolumngroup(ndr, "agrouparray", &r->agrouparray[cntr_agrouparray_0]);
    7427             :         }
    7428           0 :         ndr->depth--;
    7429           0 :         ndr->depth--;
    7430             : }
    7431             : 
    7432           0 : _PUBLIC_ enum ndr_err_code ndr_push_opt_wsp_cingroupsortaggregsets(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union opt_wsp_cingroupsortaggregsets *r)
    7433             : {
    7434           0 :         uint32_t level;
    7435           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    7436           0 :         if (ndr_flags & NDR_SCALARS) {
    7437             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    7438           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    7439           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    7440           0 :                 switch (level) {
    7441           0 :                         case 0: {
    7442           0 :                         break; }
    7443             : 
    7444           0 :                         default: {
    7445           0 :                                 NDR_CHECK(ndr_push_wsp_cingroupsortaggregsets(ndr, NDR_SCALARS, &r->groupsortaggregsets));
    7446           0 :                         break; }
    7447             : 
    7448             :                 }
    7449             :         }
    7450           0 :         if (ndr_flags & NDR_BUFFERS) {
    7451           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    7452             :                         /* We didn't get it above, and the token is not needed after this. */
    7453           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    7454             :                 }
    7455           0 :                 switch (level) {
    7456           0 :                         case 0:
    7457           0 :                         break;
    7458             : 
    7459           0 :                         default:
    7460           0 :                                 NDR_CHECK(ndr_push_wsp_cingroupsortaggregsets(ndr, NDR_BUFFERS, &r->groupsortaggregsets));
    7461           0 :                         break;
    7462             : 
    7463             :                 }
    7464             :         }
    7465           0 :         return NDR_ERR_SUCCESS;
    7466             : }
    7467             : 
    7468           0 : _PUBLIC_ enum ndr_err_code ndr_pull_opt_wsp_cingroupsortaggregsets(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union opt_wsp_cingroupsortaggregsets *r)
    7469             : {
    7470           0 :         uint32_t level;
    7471           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    7472           0 :         if (ndr_flags & NDR_SCALARS) {
    7473             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    7474           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    7475           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    7476           0 :                 switch (level) {
    7477           0 :                         case 0: {
    7478           0 :                         break; }
    7479             : 
    7480           0 :                         default: {
    7481           0 :                                 NDR_CHECK(ndr_pull_wsp_cingroupsortaggregsets(ndr, NDR_SCALARS, &r->groupsortaggregsets));
    7482           0 :                         break; }
    7483             : 
    7484             :                 }
    7485             :         }
    7486           0 :         if (ndr_flags & NDR_BUFFERS) {
    7487           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    7488             :                         /* We didn't get it above, and the token is not needed after this. */
    7489           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    7490             :                 }
    7491           0 :                 switch (level) {
    7492           0 :                         case 0:
    7493           0 :                         break;
    7494             : 
    7495           0 :                         default:
    7496           0 :                                 NDR_CHECK(ndr_pull_wsp_cingroupsortaggregsets(ndr, NDR_BUFFERS, &r->groupsortaggregsets));
    7497           0 :                         break;
    7498             : 
    7499             :                 }
    7500             :         }
    7501           0 :         return NDR_ERR_SUCCESS;
    7502             : }
    7503             : 
    7504           0 : _PUBLIC_ void ndr_print_opt_wsp_cingroupsortaggregsets(struct ndr_print *ndr, const char *name, const union opt_wsp_cingroupsortaggregsets *r)
    7505             : {
    7506           0 :         uint32_t level;
    7507           0 :         level = ndr_print_steal_switch_value(ndr, r);
    7508           0 :         ndr_print_union(ndr, name, level, "opt_wsp_cingroupsortaggregsets");
    7509           0 :         switch (level) {
    7510           0 :                 case 0:
    7511           0 :                 break;
    7512             : 
    7513           0 :                 default:
    7514           0 :                         ndr_print_wsp_cingroupsortaggregsets(ndr, "groupsortaggregsets", &r->groupsortaggregsets);
    7515           0 :                 break;
    7516             : 
    7517             :         }
    7518           0 : }
    7519             : 
    7520           0 : _PUBLIC_ enum ndr_err_code ndr_push_opt_wsp_crestrictionarray(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union opt_wsp_crestrictionarray *r)
    7521             : {
    7522           0 :         uint32_t level;
    7523           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    7524           0 :         if (ndr_flags & NDR_SCALARS) {
    7525             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    7526           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    7527           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    7528           0 :                 switch (level) {
    7529           0 :                         case 0: {
    7530           0 :                         break; }
    7531             : 
    7532           0 :                         default: {
    7533           0 :                                 NDR_CHECK(ndr_push_wsp_crestrictionarray(ndr, NDR_SCALARS, &r->restrictionarray));
    7534           0 :                         break; }
    7535             : 
    7536             :                 }
    7537             :         }
    7538           0 :         if (ndr_flags & NDR_BUFFERS) {
    7539           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    7540             :                         /* We didn't get it above, and the token is not needed after this. */
    7541           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    7542             :                 }
    7543           0 :                 switch (level) {
    7544           0 :                         case 0:
    7545           0 :                         break;
    7546             : 
    7547           0 :                         default:
    7548           0 :                                 NDR_CHECK(ndr_push_wsp_crestrictionarray(ndr, NDR_BUFFERS, &r->restrictionarray));
    7549           0 :                         break;
    7550             : 
    7551             :                 }
    7552             :         }
    7553           0 :         return NDR_ERR_SUCCESS;
    7554             : }
    7555             : 
    7556           0 : _PUBLIC_ enum ndr_err_code ndr_pull_opt_wsp_crestrictionarray(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union opt_wsp_crestrictionarray *r)
    7557             : {
    7558           0 :         uint32_t level;
    7559           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    7560           0 :         if (ndr_flags & NDR_SCALARS) {
    7561             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    7562           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    7563           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    7564           0 :                 switch (level) {
    7565           0 :                         case 0: {
    7566           0 :                         break; }
    7567             : 
    7568           0 :                         default: {
    7569           0 :                                 NDR_CHECK(ndr_pull_wsp_crestrictionarray(ndr, NDR_SCALARS, &r->restrictionarray));
    7570           0 :                         break; }
    7571             : 
    7572             :                 }
    7573             :         }
    7574           0 :         if (ndr_flags & NDR_BUFFERS) {
    7575           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    7576             :                         /* We didn't get it above, and the token is not needed after this. */
    7577           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    7578             :                 }
    7579           0 :                 switch (level) {
    7580           0 :                         case 0:
    7581           0 :                         break;
    7582             : 
    7583           0 :                         default:
    7584           0 :                                 NDR_CHECK(ndr_pull_wsp_crestrictionarray(ndr, NDR_BUFFERS, &r->restrictionarray));
    7585           0 :                         break;
    7586             : 
    7587             :                 }
    7588             :         }
    7589           0 :         return NDR_ERR_SUCCESS;
    7590             : }
    7591             : 
    7592           0 : _PUBLIC_ void ndr_print_opt_wsp_crestrictionarray(struct ndr_print *ndr, const char *name, const union opt_wsp_crestrictionarray *r)
    7593             : {
    7594           0 :         uint32_t level;
    7595           0 :         level = ndr_print_steal_switch_value(ndr, r);
    7596           0 :         ndr_print_union(ndr, name, level, "opt_wsp_crestrictionarray");
    7597           0 :         switch (level) {
    7598           0 :                 case 0:
    7599           0 :                 break;
    7600             : 
    7601           0 :                 default:
    7602           0 :                         ndr_print_wsp_crestrictionarray(ndr, "restrictionarray", &r->restrictionarray);
    7603           0 :                 break;
    7604             : 
    7605             :         }
    7606           0 : }
    7607             : 
    7608           0 : _PUBLIC_ enum ndr_err_code ndr_push_opt_wsp_ccolumnset(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union opt_wsp_ccolumnset *r)
    7609             : {
    7610           0 :         uint32_t level;
    7611           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    7612           0 :         if (ndr_flags & NDR_SCALARS) {
    7613             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    7614           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    7615           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    7616           0 :                 switch (level) {
    7617           0 :                         case 0: {
    7618           0 :                         break; }
    7619             : 
    7620           0 :                         default: {
    7621           0 :                                 NDR_CHECK(ndr_push_wsp_ccolumnset(ndr, NDR_SCALARS, &r->columnset));
    7622           0 :                         break; }
    7623             : 
    7624             :                 }
    7625             :         }
    7626           0 :         return NDR_ERR_SUCCESS;
    7627             : }
    7628             : 
    7629           0 : _PUBLIC_ enum ndr_err_code ndr_pull_opt_wsp_ccolumnset(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union opt_wsp_ccolumnset *r)
    7630             : {
    7631           0 :         uint32_t level;
    7632           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    7633           0 :         if (ndr_flags & NDR_SCALARS) {
    7634             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    7635           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    7636           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    7637           0 :                 switch (level) {
    7638           0 :                         case 0: {
    7639           0 :                         break; }
    7640             : 
    7641           0 :                         default: {
    7642           0 :                                 NDR_CHECK(ndr_pull_wsp_ccolumnset(ndr, NDR_SCALARS, &r->columnset));
    7643           0 :                         break; }
    7644             : 
    7645             :                 }
    7646             :         }
    7647           0 :         return NDR_ERR_SUCCESS;
    7648             : }
    7649             : 
    7650           0 : _PUBLIC_ void ndr_print_opt_wsp_ccolumnset(struct ndr_print *ndr, const char *name, const union opt_wsp_ccolumnset *r)
    7651             : {
    7652           0 :         uint32_t level;
    7653           0 :         level = ndr_print_steal_switch_value(ndr, r);
    7654           0 :         ndr_print_union(ndr, name, level, "opt_wsp_ccolumnset");
    7655           0 :         switch (level) {
    7656           0 :                 case 0:
    7657           0 :                 break;
    7658             : 
    7659           0 :                 default:
    7660           0 :                         ndr_print_wsp_ccolumnset(ndr, "columnset", &r->columnset);
    7661           0 :                 break;
    7662             : 
    7663             :         }
    7664           0 : }
    7665             : 
    7666           0 : _PUBLIC_ enum ndr_err_code ndr_push_opt_wsp_ccategorizationset(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union opt_wsp_ccategorizationset *r)
    7667             : {
    7668           0 :         uint32_t level;
    7669           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    7670           0 :         if (ndr_flags & NDR_SCALARS) {
    7671             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    7672           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    7673           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    7674           0 :                 switch (level) {
    7675           0 :                         case 0: {
    7676           0 :                         break; }
    7677             : 
    7678           0 :                         default: {
    7679           0 :                                 NDR_CHECK(ndr_push_wsp_ccategorizationset(ndr, NDR_SCALARS, &r->ccategorizationset));
    7680           0 :                         break; }
    7681             : 
    7682             :                 }
    7683             :         }
    7684           0 :         if (ndr_flags & NDR_BUFFERS) {
    7685           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    7686             :                         /* We didn't get it above, and the token is not needed after this. */
    7687           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    7688             :                 }
    7689           0 :                 switch (level) {
    7690           0 :                         case 0:
    7691           0 :                         break;
    7692             : 
    7693           0 :                         default:
    7694           0 :                                 NDR_CHECK(ndr_push_wsp_ccategorizationset(ndr, NDR_BUFFERS, &r->ccategorizationset));
    7695           0 :                         break;
    7696             : 
    7697             :                 }
    7698             :         }
    7699           0 :         return NDR_ERR_SUCCESS;
    7700             : }
    7701             : 
    7702           0 : _PUBLIC_ enum ndr_err_code ndr_pull_opt_wsp_ccategorizationset(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union opt_wsp_ccategorizationset *r)
    7703             : {
    7704           0 :         uint32_t level;
    7705           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    7706           0 :         if (ndr_flags & NDR_SCALARS) {
    7707             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    7708           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    7709           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    7710           0 :                 switch (level) {
    7711           0 :                         case 0: {
    7712           0 :                         break; }
    7713             : 
    7714           0 :                         default: {
    7715           0 :                                 NDR_CHECK(ndr_pull_wsp_ccategorizationset(ndr, NDR_SCALARS, &r->ccategorizationset));
    7716           0 :                         break; }
    7717             : 
    7718             :                 }
    7719             :         }
    7720           0 :         if (ndr_flags & NDR_BUFFERS) {
    7721           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    7722             :                         /* We didn't get it above, and the token is not needed after this. */
    7723           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    7724             :                 }
    7725           0 :                 switch (level) {
    7726           0 :                         case 0:
    7727           0 :                         break;
    7728             : 
    7729           0 :                         default:
    7730           0 :                                 NDR_CHECK(ndr_pull_wsp_ccategorizationset(ndr, NDR_BUFFERS, &r->ccategorizationset));
    7731           0 :                         break;
    7732             : 
    7733             :                 }
    7734             :         }
    7735           0 :         return NDR_ERR_SUCCESS;
    7736             : }
    7737             : 
    7738           0 : _PUBLIC_ void ndr_print_opt_wsp_ccategorizationset(struct ndr_print *ndr, const char *name, const union opt_wsp_ccategorizationset *r)
    7739             : {
    7740           0 :         uint32_t level;
    7741           0 :         level = ndr_print_steal_switch_value(ndr, r);
    7742           0 :         ndr_print_union(ndr, name, level, "opt_wsp_ccategorizationset");
    7743           0 :         switch (level) {
    7744           0 :                 case 0:
    7745           0 :                 break;
    7746             : 
    7747           0 :                 default:
    7748           0 :                         ndr_print_wsp_ccategorizationset(ndr, "ccategorizationset", &r->ccategorizationset);
    7749           0 :                 break;
    7750             : 
    7751             :         }
    7752           0 : }
    7753             : 
    7754           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmcreatequeryin(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmcreatequeryin *r)
    7755             : {
    7756           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    7757           0 :         if (ndr_flags & NDR_SCALARS) {
    7758           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    7759           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->size));
    7760           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->ccolumnsetpresent));
    7761           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->columnset, r->ccolumnsetpresent));
    7762           0 :                 NDR_CHECK(ndr_push_opt_wsp_ccolumnset(ndr, NDR_SCALARS, &r->columnset));
    7763           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->crestrictionpresent));
    7764           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->restrictionarray, r->crestrictionpresent));
    7765           0 :                 NDR_CHECK(ndr_push_opt_wsp_crestrictionarray(ndr, NDR_SCALARS, &r->restrictionarray));
    7766           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->csortsetpresent));
    7767           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->sortset, r->csortsetpresent));
    7768           0 :                 NDR_CHECK(ndr_push_opt_wsp_cingroupsortaggregsets(ndr, NDR_SCALARS, &r->sortset));
    7769           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->ccategorizationsetpresent));
    7770           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->ccategorizationset, r->ccategorizationsetpresent));
    7771           0 :                 NDR_CHECK(ndr_push_opt_wsp_ccategorizationset(ndr, NDR_SCALARS, &r->ccategorizationset));
    7772           0 :                 NDR_CHECK(ndr_push_wsp_crowsetproperties(ndr, NDR_SCALARS, &r->rowsetproperties));
    7773           0 :                 NDR_CHECK(ndr_push_wsp_cpidmapper(ndr, NDR_SCALARS, &r->pidmapper));
    7774           0 :                 NDR_CHECK(ndr_push_wsp_ccolumngrouparray(ndr, NDR_SCALARS, &r->grouparray));
    7775           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->lcid));
    7776           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    7777             :         }
    7778           0 :         if (ndr_flags & NDR_BUFFERS) {
    7779           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->columnset, r->ccolumnsetpresent));
    7780           0 :                 NDR_CHECK(ndr_push_opt_wsp_ccolumnset(ndr, NDR_BUFFERS, &r->columnset));
    7781           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->restrictionarray, r->crestrictionpresent));
    7782           0 :                 NDR_CHECK(ndr_push_opt_wsp_crestrictionarray(ndr, NDR_BUFFERS, &r->restrictionarray));
    7783           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->sortset, r->csortsetpresent));
    7784           0 :                 NDR_CHECK(ndr_push_opt_wsp_cingroupsortaggregsets(ndr, NDR_BUFFERS, &r->sortset));
    7785           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->ccategorizationset, r->ccategorizationsetpresent));
    7786           0 :                 NDR_CHECK(ndr_push_opt_wsp_ccategorizationset(ndr, NDR_BUFFERS, &r->ccategorizationset));
    7787             :         }
    7788           0 :         return NDR_ERR_SUCCESS;
    7789             : }
    7790             : 
    7791           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmcreatequeryin(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmcreatequeryin *r)
    7792             : {
    7793           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    7794           0 :         if (ndr_flags & NDR_SCALARS) {
    7795           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    7796           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->size));
    7797           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->ccolumnsetpresent));
    7798           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->columnset, r->ccolumnsetpresent));
    7799           0 :                 NDR_CHECK(ndr_pull_opt_wsp_ccolumnset(ndr, NDR_SCALARS, &r->columnset));
    7800           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->crestrictionpresent));
    7801           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->restrictionarray, r->crestrictionpresent));
    7802           0 :                 NDR_CHECK(ndr_pull_opt_wsp_crestrictionarray(ndr, NDR_SCALARS, &r->restrictionarray));
    7803           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->csortsetpresent));
    7804           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->sortset, r->csortsetpresent));
    7805           0 :                 NDR_CHECK(ndr_pull_opt_wsp_cingroupsortaggregsets(ndr, NDR_SCALARS, &r->sortset));
    7806           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->ccategorizationsetpresent));
    7807           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->ccategorizationset, r->ccategorizationsetpresent));
    7808           0 :                 NDR_CHECK(ndr_pull_opt_wsp_ccategorizationset(ndr, NDR_SCALARS, &r->ccategorizationset));
    7809           0 :                 NDR_CHECK(ndr_pull_wsp_crowsetproperties(ndr, NDR_SCALARS, &r->rowsetproperties));
    7810           0 :                 NDR_CHECK(ndr_pull_wsp_cpidmapper(ndr, NDR_SCALARS, &r->pidmapper));
    7811           0 :                 NDR_CHECK(ndr_pull_wsp_ccolumngrouparray(ndr, NDR_SCALARS, &r->grouparray));
    7812           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->lcid));
    7813           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    7814             :         }
    7815           0 :         if (ndr_flags & NDR_BUFFERS) {
    7816           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->columnset, r->ccolumnsetpresent));
    7817           0 :                 NDR_CHECK(ndr_pull_opt_wsp_ccolumnset(ndr, NDR_BUFFERS, &r->columnset));
    7818           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->restrictionarray, r->crestrictionpresent));
    7819           0 :                 NDR_CHECK(ndr_pull_opt_wsp_crestrictionarray(ndr, NDR_BUFFERS, &r->restrictionarray));
    7820           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->sortset, r->csortsetpresent));
    7821           0 :                 NDR_CHECK(ndr_pull_opt_wsp_cingroupsortaggregsets(ndr, NDR_BUFFERS, &r->sortset));
    7822           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->ccategorizationset, r->ccategorizationsetpresent));
    7823           0 :                 NDR_CHECK(ndr_pull_opt_wsp_ccategorizationset(ndr, NDR_BUFFERS, &r->ccategorizationset));
    7824             :         }
    7825           0 :         return NDR_ERR_SUCCESS;
    7826             : }
    7827             : 
    7828           0 : static void ndr_print_flags_wsp_cpmcreatequeryin(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmcreatequeryin *r)
    7829             : {
    7830           0 :         ndr_print_wsp_cpmcreatequeryin(ndr, name, r);
    7831           0 : }
    7832             : 
    7833           0 : _PUBLIC_ void ndr_print_wsp_cpmcreatequeryin(struct ndr_print *ndr, const char *name, const struct wsp_cpmcreatequeryin *r)
    7834             : {
    7835           0 :         ndr_print_struct(ndr, name, "wsp_cpmcreatequeryin");
    7836           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    7837           0 :         ndr->depth++;
    7838           0 :         ndr_print_uint32(ndr, "size", r->size);
    7839           0 :         ndr_print_uint8(ndr, "ccolumnsetpresent", r->ccolumnsetpresent);
    7840           0 :         ndr_print_set_switch_value(ndr, &r->columnset, r->ccolumnsetpresent);
    7841           0 :         ndr_print_opt_wsp_ccolumnset(ndr, "columnset", &r->columnset);
    7842           0 :         ndr_print_uint8(ndr, "crestrictionpresent", r->crestrictionpresent);
    7843           0 :         ndr_print_set_switch_value(ndr, &r->restrictionarray, r->crestrictionpresent);
    7844           0 :         ndr_print_opt_wsp_crestrictionarray(ndr, "restrictionarray", &r->restrictionarray);
    7845           0 :         ndr_print_uint8(ndr, "csortsetpresent", r->csortsetpresent);
    7846           0 :         ndr_print_set_switch_value(ndr, &r->sortset, r->csortsetpresent);
    7847           0 :         ndr_print_opt_wsp_cingroupsortaggregsets(ndr, "sortset", &r->sortset);
    7848           0 :         ndr_print_uint8(ndr, "ccategorizationsetpresent", r->ccategorizationsetpresent);
    7849           0 :         ndr_print_set_switch_value(ndr, &r->ccategorizationset, r->ccategorizationsetpresent);
    7850           0 :         ndr_print_opt_wsp_ccategorizationset(ndr, "ccategorizationset", &r->ccategorizationset);
    7851           0 :         ndr_print_wsp_crowsetproperties(ndr, "rowsetproperties", &r->rowsetproperties);
    7852           0 :         ndr_print_wsp_cpidmapper(ndr, "pidmapper", &r->pidmapper);
    7853           0 :         ndr_print_wsp_ccolumngrouparray(ndr, "grouparray", &r->grouparray);
    7854           0 :         ndr_print_uint32(ndr, "lcid", r->lcid);
    7855           0 :         ndr->depth--;
    7856             : }
    7857             : 
    7858           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmcreatequeryout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmcreatequeryout *r)
    7859             : {
    7860           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    7861           0 :         if (ndr_flags & NDR_SCALARS) {
    7862           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    7863           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ftruesequential));
    7864           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->fWorkIdUnique));
    7865           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    7866             :         }
    7867           0 :         if (ndr_flags & NDR_BUFFERS) {
    7868           0 :         }
    7869           0 :         return NDR_ERR_SUCCESS;
    7870             : }
    7871             : 
    7872           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmcreatequeryout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmcreatequeryout *r)
    7873             : {
    7874           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    7875           0 :         if (ndr_flags & NDR_SCALARS) {
    7876           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    7877           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ftruesequential));
    7878           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->fWorkIdUnique));
    7879           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    7880             :         }
    7881           0 :         if (ndr_flags & NDR_BUFFERS) {
    7882           0 :         }
    7883           0 :         return NDR_ERR_SUCCESS;
    7884             : }
    7885             : 
    7886           0 : static void ndr_print_flags_wsp_cpmcreatequeryout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmcreatequeryout *r)
    7887             : {
    7888           0 :         ndr_print_wsp_cpmcreatequeryout(ndr, name, r);
    7889           0 : }
    7890             : 
    7891           0 : _PUBLIC_ void ndr_print_wsp_cpmcreatequeryout(struct ndr_print *ndr, const char *name, const struct wsp_cpmcreatequeryout *r)
    7892             : {
    7893           0 :         ndr_print_struct(ndr, name, "wsp_cpmcreatequeryout");
    7894           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    7895           0 :         ndr->depth++;
    7896           0 :         ndr_print_uint32(ndr, "ftruesequential", r->ftruesequential);
    7897           0 :         ndr_print_uint32(ndr, "fWorkIdUnique", r->fWorkIdUnique);
    7898           0 :         ndr->depth--;
    7899             : }
    7900             : 
    7901           0 : _PUBLIC_ enum ndr_err_code ndr_push_aggregatetype(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union aggregatetype *r)
    7902             : {
    7903           0 :         uint32_t level;
    7904           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    7905           0 :         if (ndr_flags & NDR_SCALARS) {
    7906             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    7907           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    7908           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 1));
    7909           0 :                 switch (level) {
    7910           0 :                         case 1: {
    7911           0 :                                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->value));
    7912           0 :                         break; }
    7913             : 
    7914           0 :                         case 0: {
    7915           0 :                         break; }
    7916             : 
    7917           0 :                         default:
    7918           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    7919             :                 }
    7920             :         }
    7921           0 :         if (ndr_flags & NDR_BUFFERS) {
    7922           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    7923             :                         /* We didn't get it above, and the token is not needed after this. */
    7924           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    7925             :                 }
    7926           0 :                 switch (level) {
    7927           0 :                         case 1:
    7928           0 :                         break;
    7929             : 
    7930           0 :                         case 0:
    7931           0 :                         break;
    7932             : 
    7933           0 :                         default:
    7934           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    7935             :                 }
    7936             :         }
    7937           0 :         return NDR_ERR_SUCCESS;
    7938             : }
    7939             : 
    7940           0 : _PUBLIC_ enum ndr_err_code ndr_pull_aggregatetype(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union aggregatetype *r)
    7941             : {
    7942           0 :         uint32_t level;
    7943           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    7944           0 :         if (ndr_flags & NDR_SCALARS) {
    7945             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    7946           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    7947           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 1));
    7948           0 :                 switch (level) {
    7949           0 :                         case 1: {
    7950           0 :                                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->value));
    7951           0 :                         break; }
    7952             : 
    7953           0 :                         case 0: {
    7954           0 :                         break; }
    7955             : 
    7956           0 :                         default:
    7957           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    7958             :                 }
    7959             :         }
    7960           0 :         if (ndr_flags & NDR_BUFFERS) {
    7961           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    7962             :                         /* We didn't get it above, and the token is not needed after this. */
    7963           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    7964             :                 }
    7965           0 :                 switch (level) {
    7966           0 :                         case 1:
    7967           0 :                         break;
    7968             : 
    7969           0 :                         case 0:
    7970           0 :                         break;
    7971             : 
    7972           0 :                         default:
    7973           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    7974             :                 }
    7975             :         }
    7976           0 :         return NDR_ERR_SUCCESS;
    7977             : }
    7978             : 
    7979           0 : _PUBLIC_ void ndr_print_aggregatetype(struct ndr_print *ndr, const char *name, const union aggregatetype *r)
    7980             : {
    7981           0 :         uint32_t level;
    7982           0 :         level = ndr_print_steal_switch_value(ndr, r);
    7983           0 :         ndr_print_union(ndr, name, level, "aggregatetype");
    7984           0 :         switch (level) {
    7985           0 :                 case 1:
    7986           0 :                         ndr_print_uint8(ndr, "value", r->value);
    7987           0 :                 break;
    7988             : 
    7989           0 :                 case 0:
    7990           0 :                 break;
    7991             : 
    7992           0 :                 default:
    7993           0 :                         ndr_print_bad_level(ndr, name, level);
    7994             :         }
    7995           0 : }
    7996             : 
    7997           0 : _PUBLIC_ enum ndr_err_code ndr_push_valueoffset(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union valueoffset *r)
    7998             : {
    7999           0 :         uint32_t level;
    8000           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    8001           0 :         if (ndr_flags & NDR_SCALARS) {
    8002             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    8003           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    8004           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 2));
    8005           0 :                 switch (level) {
    8006           0 :                         case 1: {
    8007           0 :                                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->value));
    8008           0 :                         break; }
    8009             : 
    8010           0 :                         case 0: {
    8011           0 :                         break; }
    8012             : 
    8013           0 :                         default:
    8014           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    8015             :                 }
    8016             :         }
    8017           0 :         if (ndr_flags & NDR_BUFFERS) {
    8018           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    8019             :                         /* We didn't get it above, and the token is not needed after this. */
    8020           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    8021             :                 }
    8022           0 :                 switch (level) {
    8023           0 :                         case 1:
    8024           0 :                         break;
    8025             : 
    8026           0 :                         case 0:
    8027           0 :                         break;
    8028             : 
    8029           0 :                         default:
    8030           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    8031             :                 }
    8032             :         }
    8033           0 :         return NDR_ERR_SUCCESS;
    8034             : }
    8035             : 
    8036           0 : _PUBLIC_ enum ndr_err_code ndr_pull_valueoffset(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union valueoffset *r)
    8037             : {
    8038           0 :         uint32_t level;
    8039           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    8040           0 :         if (ndr_flags & NDR_SCALARS) {
    8041             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    8042           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    8043           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 2));
    8044           0 :                 switch (level) {
    8045           0 :                         case 1: {
    8046           0 :                                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->value));
    8047           0 :                         break; }
    8048             : 
    8049           0 :                         case 0: {
    8050           0 :                         break; }
    8051             : 
    8052           0 :                         default:
    8053           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    8054             :                 }
    8055             :         }
    8056           0 :         if (ndr_flags & NDR_BUFFERS) {
    8057           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    8058             :                         /* We didn't get it above, and the token is not needed after this. */
    8059           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    8060             :                 }
    8061           0 :                 switch (level) {
    8062           0 :                         case 1:
    8063           0 :                         break;
    8064             : 
    8065           0 :                         case 0:
    8066           0 :                         break;
    8067             : 
    8068           0 :                         default:
    8069           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    8070             :                 }
    8071             :         }
    8072           0 :         return NDR_ERR_SUCCESS;
    8073             : }
    8074             : 
    8075           0 : _PUBLIC_ void ndr_print_valueoffset(struct ndr_print *ndr, const char *name, const union valueoffset *r)
    8076             : {
    8077           0 :         uint32_t level;
    8078           0 :         level = ndr_print_steal_switch_value(ndr, r);
    8079           0 :         ndr_print_union(ndr, name, level, "valueoffset");
    8080           0 :         switch (level) {
    8081           0 :                 case 1:
    8082           0 :                         ndr_print_uint16(ndr, "value", r->value);
    8083           0 :                 break;
    8084             : 
    8085           0 :                 case 0:
    8086           0 :                 break;
    8087             : 
    8088           0 :                 default:
    8089           0 :                         ndr_print_bad_level(ndr, name, level);
    8090             :         }
    8091           0 : }
    8092             : 
    8093           0 : _PUBLIC_ enum ndr_err_code ndr_push_valuesize(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union valuesize *r)
    8094             : {
    8095           0 :         uint32_t level;
    8096           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    8097           0 :         if (ndr_flags & NDR_SCALARS) {
    8098             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    8099           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    8100           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 2));
    8101           0 :                 switch (level) {
    8102           0 :                         case 1: {
    8103           0 :                                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->value));
    8104           0 :                         break; }
    8105             : 
    8106           0 :                         case 0: {
    8107           0 :                         break; }
    8108             : 
    8109           0 :                         default:
    8110           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    8111             :                 }
    8112             :         }
    8113           0 :         if (ndr_flags & NDR_BUFFERS) {
    8114           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    8115             :                         /* We didn't get it above, and the token is not needed after this. */
    8116           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    8117             :                 }
    8118           0 :                 switch (level) {
    8119           0 :                         case 1:
    8120           0 :                         break;
    8121             : 
    8122           0 :                         case 0:
    8123           0 :                         break;
    8124             : 
    8125           0 :                         default:
    8126           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    8127             :                 }
    8128             :         }
    8129           0 :         return NDR_ERR_SUCCESS;
    8130             : }
    8131             : 
    8132           0 : _PUBLIC_ enum ndr_err_code ndr_pull_valuesize(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union valuesize *r)
    8133             : {
    8134           0 :         uint32_t level;
    8135           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    8136           0 :         if (ndr_flags & NDR_SCALARS) {
    8137             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    8138           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    8139           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 2));
    8140           0 :                 switch (level) {
    8141           0 :                         case 1: {
    8142           0 :                                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->value));
    8143           0 :                         break; }
    8144             : 
    8145           0 :                         case 0: {
    8146           0 :                         break; }
    8147             : 
    8148           0 :                         default:
    8149           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    8150             :                 }
    8151             :         }
    8152           0 :         if (ndr_flags & NDR_BUFFERS) {
    8153           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    8154             :                         /* We didn't get it above, and the token is not needed after this. */
    8155           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    8156             :                 }
    8157           0 :                 switch (level) {
    8158           0 :                         case 1:
    8159           0 :                         break;
    8160             : 
    8161           0 :                         case 0:
    8162           0 :                         break;
    8163             : 
    8164           0 :                         default:
    8165           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    8166             :                 }
    8167             :         }
    8168           0 :         return NDR_ERR_SUCCESS;
    8169             : }
    8170             : 
    8171           0 : _PUBLIC_ void ndr_print_valuesize(struct ndr_print *ndr, const char *name, const union valuesize *r)
    8172             : {
    8173           0 :         uint32_t level;
    8174           0 :         level = ndr_print_steal_switch_value(ndr, r);
    8175           0 :         ndr_print_union(ndr, name, level, "valuesize");
    8176           0 :         switch (level) {
    8177           0 :                 case 1:
    8178           0 :                         ndr_print_uint16(ndr, "value", r->value);
    8179           0 :                 break;
    8180             : 
    8181           0 :                 case 0:
    8182           0 :                 break;
    8183             : 
    8184           0 :                 default:
    8185           0 :                         ndr_print_bad_level(ndr, name, level);
    8186             :         }
    8187           0 : }
    8188             : 
    8189           0 : _PUBLIC_ enum ndr_err_code ndr_push_lengthoffset(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union lengthoffset *r)
    8190             : {
    8191           0 :         uint32_t level;
    8192           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    8193           0 :         if (ndr_flags & NDR_SCALARS) {
    8194             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    8195           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    8196           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 2));
    8197           0 :                 switch (level) {
    8198           0 :                         case 1: {
    8199           0 :                                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->value));
    8200           0 :                         break; }
    8201             : 
    8202           0 :                         case 0: {
    8203           0 :                         break; }
    8204             : 
    8205           0 :                         default:
    8206           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    8207             :                 }
    8208             :         }
    8209           0 :         if (ndr_flags & NDR_BUFFERS) {
    8210           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    8211             :                         /* We didn't get it above, and the token is not needed after this. */
    8212           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    8213             :                 }
    8214           0 :                 switch (level) {
    8215           0 :                         case 1:
    8216           0 :                         break;
    8217             : 
    8218           0 :                         case 0:
    8219           0 :                         break;
    8220             : 
    8221           0 :                         default:
    8222           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    8223             :                 }
    8224             :         }
    8225           0 :         return NDR_ERR_SUCCESS;
    8226             : }
    8227             : 
    8228           0 : _PUBLIC_ enum ndr_err_code ndr_pull_lengthoffset(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union lengthoffset *r)
    8229             : {
    8230           0 :         uint32_t level;
    8231           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    8232           0 :         if (ndr_flags & NDR_SCALARS) {
    8233             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    8234           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    8235           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 2));
    8236           0 :                 switch (level) {
    8237           0 :                         case 1: {
    8238           0 :                                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->value));
    8239           0 :                         break; }
    8240             : 
    8241           0 :                         case 0: {
    8242           0 :                         break; }
    8243             : 
    8244           0 :                         default:
    8245           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    8246             :                 }
    8247             :         }
    8248           0 :         if (ndr_flags & NDR_BUFFERS) {
    8249           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    8250             :                         /* We didn't get it above, and the token is not needed after this. */
    8251           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    8252             :                 }
    8253           0 :                 switch (level) {
    8254           0 :                         case 1:
    8255           0 :                         break;
    8256             : 
    8257           0 :                         case 0:
    8258           0 :                         break;
    8259             : 
    8260           0 :                         default:
    8261           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    8262             :                 }
    8263             :         }
    8264           0 :         return NDR_ERR_SUCCESS;
    8265             : }
    8266             : 
    8267           0 : _PUBLIC_ void ndr_print_lengthoffset(struct ndr_print *ndr, const char *name, const union lengthoffset *r)
    8268             : {
    8269           0 :         uint32_t level;
    8270           0 :         level = ndr_print_steal_switch_value(ndr, r);
    8271           0 :         ndr_print_union(ndr, name, level, "lengthoffset");
    8272           0 :         switch (level) {
    8273           0 :                 case 1:
    8274           0 :                         ndr_print_uint16(ndr, "value", r->value);
    8275           0 :                 break;
    8276             : 
    8277           0 :                 case 0:
    8278           0 :                 break;
    8279             : 
    8280           0 :                 default:
    8281           0 :                         ndr_print_bad_level(ndr, name, level);
    8282             :         }
    8283           0 : }
    8284             : 
    8285           0 : _PUBLIC_ enum ndr_err_code ndr_push_statusoffset(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union statusoffset *r)
    8286             : {
    8287           0 :         uint32_t level;
    8288           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    8289           0 :         if (ndr_flags & NDR_SCALARS) {
    8290             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    8291           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    8292           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 2));
    8293           0 :                 switch (level) {
    8294           0 :                         case 1: {
    8295           0 :                                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->value));
    8296           0 :                         break; }
    8297             : 
    8298           0 :                         case 0: {
    8299           0 :                         break; }
    8300             : 
    8301           0 :                         default:
    8302           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    8303             :                 }
    8304             :         }
    8305           0 :         if (ndr_flags & NDR_BUFFERS) {
    8306           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    8307             :                         /* We didn't get it above, and the token is not needed after this. */
    8308           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    8309             :                 }
    8310           0 :                 switch (level) {
    8311           0 :                         case 1:
    8312           0 :                         break;
    8313             : 
    8314           0 :                         case 0:
    8315           0 :                         break;
    8316             : 
    8317           0 :                         default:
    8318           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    8319             :                 }
    8320             :         }
    8321           0 :         return NDR_ERR_SUCCESS;
    8322             : }
    8323             : 
    8324           0 : _PUBLIC_ enum ndr_err_code ndr_pull_statusoffset(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union statusoffset *r)
    8325             : {
    8326           0 :         uint32_t level;
    8327           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    8328           0 :         if (ndr_flags & NDR_SCALARS) {
    8329             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    8330           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    8331           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 2));
    8332           0 :                 switch (level) {
    8333           0 :                         case 1: {
    8334           0 :                                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->value));
    8335           0 :                         break; }
    8336             : 
    8337           0 :                         case 0: {
    8338           0 :                         break; }
    8339             : 
    8340           0 :                         default:
    8341           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    8342             :                 }
    8343             :         }
    8344           0 :         if (ndr_flags & NDR_BUFFERS) {
    8345           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    8346             :                         /* We didn't get it above, and the token is not needed after this. */
    8347           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    8348             :                 }
    8349           0 :                 switch (level) {
    8350           0 :                         case 1:
    8351           0 :                         break;
    8352             : 
    8353           0 :                         case 0:
    8354           0 :                         break;
    8355             : 
    8356           0 :                         default:
    8357           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    8358             :                 }
    8359             :         }
    8360           0 :         return NDR_ERR_SUCCESS;
    8361             : }
    8362             : 
    8363           0 : _PUBLIC_ void ndr_print_statusoffset(struct ndr_print *ndr, const char *name, const union statusoffset *r)
    8364             : {
    8365           0 :         uint32_t level;
    8366           0 :         level = ndr_print_steal_switch_value(ndr, r);
    8367           0 :         ndr_print_union(ndr, name, level, "statusoffset");
    8368           0 :         switch (level) {
    8369           0 :                 case 1:
    8370           0 :                         ndr_print_uint16(ndr, "value", r->value);
    8371           0 :                 break;
    8372             : 
    8373           0 :                 case 0:
    8374           0 :                 break;
    8375             : 
    8376           0 :                 default:
    8377           0 :                         ndr_print_bad_level(ndr, name, level);
    8378             :         }
    8379           0 : }
    8380             : 
    8381           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_ctablecolumn(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_ctablecolumn *r)
    8382             : {
    8383           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    8384           0 :         if (ndr_flags & NDR_SCALARS) {
    8385           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    8386           0 :                 NDR_CHECK(ndr_push_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->propspec));
    8387           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vtype));
    8388           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->aggregateused));
    8389           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->aggregatetype, r->aggregateused));
    8390           0 :                 NDR_CHECK(ndr_push_aggregatetype(ndr, NDR_SCALARS, &r->aggregatetype));
    8391           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->valueused));
    8392           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->valueoffset, r->valueused));
    8393           0 :                 NDR_CHECK(ndr_push_valueoffset(ndr, NDR_SCALARS, &r->valueoffset));
    8394           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->valuesize, r->valueused));
    8395           0 :                 NDR_CHECK(ndr_push_valuesize(ndr, NDR_SCALARS, &r->valuesize));
    8396           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->statusused));
    8397           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->statusoffset, r->statusused));
    8398           0 :                 NDR_CHECK(ndr_push_statusoffset(ndr, NDR_SCALARS, &r->statusoffset));
    8399           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->lengthused));
    8400           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->lengthoffset, r->lengthused));
    8401           0 :                 NDR_CHECK(ndr_push_lengthoffset(ndr, NDR_SCALARS, &r->lengthoffset));
    8402           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    8403             :         }
    8404           0 :         if (ndr_flags & NDR_BUFFERS) {
    8405           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->aggregatetype, r->aggregateused));
    8406           0 :                 NDR_CHECK(ndr_push_aggregatetype(ndr, NDR_BUFFERS, &r->aggregatetype));
    8407           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->valueoffset, r->valueused));
    8408           0 :                 NDR_CHECK(ndr_push_valueoffset(ndr, NDR_BUFFERS, &r->valueoffset));
    8409           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->valuesize, r->valueused));
    8410           0 :                 NDR_CHECK(ndr_push_valuesize(ndr, NDR_BUFFERS, &r->valuesize));
    8411           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->statusoffset, r->statusused));
    8412           0 :                 NDR_CHECK(ndr_push_statusoffset(ndr, NDR_BUFFERS, &r->statusoffset));
    8413           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->lengthoffset, r->lengthused));
    8414           0 :                 NDR_CHECK(ndr_push_lengthoffset(ndr, NDR_BUFFERS, &r->lengthoffset));
    8415             :         }
    8416           0 :         return NDR_ERR_SUCCESS;
    8417             : }
    8418             : 
    8419           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_ctablecolumn(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_ctablecolumn *r)
    8420             : {
    8421           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    8422           0 :         if (ndr_flags & NDR_SCALARS) {
    8423           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    8424           0 :                 NDR_CHECK(ndr_pull_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->propspec));
    8425           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vtype));
    8426           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->aggregateused));
    8427           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->aggregatetype, r->aggregateused));
    8428           0 :                 NDR_CHECK(ndr_pull_aggregatetype(ndr, NDR_SCALARS, &r->aggregatetype));
    8429           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->valueused));
    8430           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->valueoffset, r->valueused));
    8431           0 :                 NDR_CHECK(ndr_pull_valueoffset(ndr, NDR_SCALARS, &r->valueoffset));
    8432           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->valuesize, r->valueused));
    8433           0 :                 NDR_CHECK(ndr_pull_valuesize(ndr, NDR_SCALARS, &r->valuesize));
    8434           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->statusused));
    8435           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->statusoffset, r->statusused));
    8436           0 :                 NDR_CHECK(ndr_pull_statusoffset(ndr, NDR_SCALARS, &r->statusoffset));
    8437           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->lengthused));
    8438           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->lengthoffset, r->lengthused));
    8439           0 :                 NDR_CHECK(ndr_pull_lengthoffset(ndr, NDR_SCALARS, &r->lengthoffset));
    8440           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    8441             :         }
    8442           0 :         if (ndr_flags & NDR_BUFFERS) {
    8443           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->aggregatetype, r->aggregateused));
    8444           0 :                 NDR_CHECK(ndr_pull_aggregatetype(ndr, NDR_BUFFERS, &r->aggregatetype));
    8445           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->valueoffset, r->valueused));
    8446           0 :                 NDR_CHECK(ndr_pull_valueoffset(ndr, NDR_BUFFERS, &r->valueoffset));
    8447           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->valuesize, r->valueused));
    8448           0 :                 NDR_CHECK(ndr_pull_valuesize(ndr, NDR_BUFFERS, &r->valuesize));
    8449           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->statusoffset, r->statusused));
    8450           0 :                 NDR_CHECK(ndr_pull_statusoffset(ndr, NDR_BUFFERS, &r->statusoffset));
    8451           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->lengthoffset, r->lengthused));
    8452           0 :                 NDR_CHECK(ndr_pull_lengthoffset(ndr, NDR_BUFFERS, &r->lengthoffset));
    8453             :         }
    8454           0 :         return NDR_ERR_SUCCESS;
    8455             : }
    8456             : 
    8457           0 : static void ndr_print_flags_wsp_ctablecolumn(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_ctablecolumn *r)
    8458             : {
    8459           0 :         ndr_print_wsp_ctablecolumn(ndr, name, r);
    8460           0 : }
    8461             : 
    8462           0 : _PUBLIC_ void ndr_print_wsp_ctablecolumn(struct ndr_print *ndr, const char *name, const struct wsp_ctablecolumn *r)
    8463             : {
    8464           0 :         ndr_print_struct(ndr, name, "wsp_ctablecolumn");
    8465           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    8466           0 :         ndr->depth++;
    8467           0 :         ndr_print_wsp_cfullpropspec(ndr, "propspec", &r->propspec);
    8468           0 :         ndr_print_uint32(ndr, "vtype", r->vtype);
    8469           0 :         ndr_print_uint8(ndr, "aggregateused", r->aggregateused);
    8470           0 :         ndr_print_set_switch_value(ndr, &r->aggregatetype, r->aggregateused);
    8471           0 :         ndr_print_aggregatetype(ndr, "aggregatetype", &r->aggregatetype);
    8472           0 :         ndr_print_uint8(ndr, "valueused", r->valueused);
    8473           0 :         ndr_print_set_switch_value(ndr, &r->valueoffset, r->valueused);
    8474           0 :         ndr_print_valueoffset(ndr, "valueoffset", &r->valueoffset);
    8475           0 :         ndr_print_set_switch_value(ndr, &r->valuesize, r->valueused);
    8476           0 :         ndr_print_valuesize(ndr, "valuesize", &r->valuesize);
    8477           0 :         ndr_print_uint8(ndr, "statusused", r->statusused);
    8478           0 :         ndr_print_set_switch_value(ndr, &r->statusoffset, r->statusused);
    8479           0 :         ndr_print_statusoffset(ndr, "statusoffset", &r->statusoffset);
    8480           0 :         ndr_print_uint8(ndr, "lengthused", r->lengthused);
    8481           0 :         ndr_print_set_switch_value(ndr, &r->lengthoffset, r->lengthused);
    8482           0 :         ndr_print_lengthoffset(ndr, "lengthoffset", &r->lengthoffset);
    8483           0 :         ndr->depth--;
    8484             : }
    8485             : 
    8486           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_ccompletioncategspec(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_ccompletioncategspec *r)
    8487             : {
    8488           0 :         uint32_t cntr_apszcomplstrings_0;
    8489           0 :         uint32_t cntr_acomplpids_0;
    8490           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    8491           0 :         if (ndr_flags & NDR_SCALARS) {
    8492           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    8493           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->type));
    8494           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->lcid));
    8495           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ccomplstrings));
    8496           0 :                 for (cntr_apszcomplstrings_0 = 0; cntr_apszcomplstrings_0 < (r->ccomplstrings); cntr_apszcomplstrings_0++) {
    8497           0 :                         NDR_CHECK(ndr_push_wsp_serializedpropertyvalue(ndr, NDR_SCALARS, &r->apszcomplstrings[cntr_apszcomplstrings_0]));
    8498             :                 }
    8499           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ccomplpids));
    8500           0 :                 for (cntr_acomplpids_0 = 0; cntr_acomplpids_0 < (r->ccomplpids); cntr_acomplpids_0++) {
    8501           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->acomplpids[cntr_acomplpids_0]));
    8502             :                 }
    8503           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    8504             :         }
    8505           0 :         if (ndr_flags & NDR_BUFFERS) {
    8506           0 :                 for (cntr_apszcomplstrings_0 = 0; cntr_apszcomplstrings_0 < (r->ccomplstrings); cntr_apszcomplstrings_0++) {
    8507           0 :                         NDR_CHECK(ndr_push_wsp_serializedpropertyvalue(ndr, NDR_BUFFERS, &r->apszcomplstrings[cntr_apszcomplstrings_0]));
    8508             :                 }
    8509             :         }
    8510           0 :         return NDR_ERR_SUCCESS;
    8511             : }
    8512             : 
    8513           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_ccompletioncategspec(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_ccompletioncategspec *r)
    8514             : {
    8515           0 :         uint32_t size_apszcomplstrings_0 = 0;
    8516           0 :         uint32_t cntr_apszcomplstrings_0;
    8517           0 :         TALLOC_CTX *_mem_save_apszcomplstrings_0 = NULL;
    8518           0 :         uint32_t size_acomplpids_0 = 0;
    8519           0 :         uint32_t cntr_acomplpids_0;
    8520           0 :         TALLOC_CTX *_mem_save_acomplpids_0 = NULL;
    8521           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    8522           0 :         if (ndr_flags & NDR_SCALARS) {
    8523           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    8524           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->type));
    8525           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->lcid));
    8526           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ccomplstrings));
    8527           0 :                 size_apszcomplstrings_0 = r->ccomplstrings;
    8528           0 :                 NDR_PULL_ALLOC_N(ndr, r->apszcomplstrings, size_apszcomplstrings_0);
    8529           0 :                 _mem_save_apszcomplstrings_0 = NDR_PULL_GET_MEM_CTX(ndr);
    8530           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->apszcomplstrings, 0);
    8531           0 :                 for (cntr_apszcomplstrings_0 = 0; cntr_apszcomplstrings_0 < (size_apszcomplstrings_0); cntr_apszcomplstrings_0++) {
    8532           0 :                         NDR_CHECK(ndr_pull_wsp_serializedpropertyvalue(ndr, NDR_SCALARS, &r->apszcomplstrings[cntr_apszcomplstrings_0]));
    8533             :                 }
    8534           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_apszcomplstrings_0, 0);
    8535           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ccomplpids));
    8536           0 :                 size_acomplpids_0 = r->ccomplpids;
    8537           0 :                 NDR_PULL_ALLOC_N(ndr, r->acomplpids, size_acomplpids_0);
    8538           0 :                 _mem_save_acomplpids_0 = NDR_PULL_GET_MEM_CTX(ndr);
    8539           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->acomplpids, 0);
    8540           0 :                 for (cntr_acomplpids_0 = 0; cntr_acomplpids_0 < (size_acomplpids_0); cntr_acomplpids_0++) {
    8541           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->acomplpids[cntr_acomplpids_0]));
    8542             :                 }
    8543           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_acomplpids_0, 0);
    8544           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    8545             :         }
    8546           0 :         if (ndr_flags & NDR_BUFFERS) {
    8547           0 :                 size_apszcomplstrings_0 = r->ccomplstrings;
    8548           0 :                 _mem_save_apszcomplstrings_0 = NDR_PULL_GET_MEM_CTX(ndr);
    8549           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->apszcomplstrings, 0);
    8550           0 :                 for (cntr_apszcomplstrings_0 = 0; cntr_apszcomplstrings_0 < (size_apszcomplstrings_0); cntr_apszcomplstrings_0++) {
    8551           0 :                         NDR_CHECK(ndr_pull_wsp_serializedpropertyvalue(ndr, NDR_BUFFERS, &r->apszcomplstrings[cntr_apszcomplstrings_0]));
    8552             :                 }
    8553           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_apszcomplstrings_0, 0);
    8554           0 :                 for (cntr_apszcomplstrings_0 = 0; cntr_apszcomplstrings_0 < (size_apszcomplstrings_0); cntr_apszcomplstrings_0++) {
    8555             :                 }
    8556             :         }
    8557           0 :         return NDR_ERR_SUCCESS;
    8558             : }
    8559             : 
    8560           0 : static void ndr_print_flags_wsp_ccompletioncategspec(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_ccompletioncategspec *r)
    8561             : {
    8562           0 :         ndr_print_wsp_ccompletioncategspec(ndr, name, r);
    8563           0 : }
    8564             : 
    8565           0 : _PUBLIC_ void ndr_print_wsp_ccompletioncategspec(struct ndr_print *ndr, const char *name, const struct wsp_ccompletioncategspec *r)
    8566             : {
    8567           0 :         uint32_t cntr_apszcomplstrings_0;
    8568           0 :         uint32_t cntr_acomplpids_0;
    8569           0 :         ndr_print_struct(ndr, name, "wsp_ccompletioncategspec");
    8570           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    8571           0 :         ndr->depth++;
    8572           0 :         ndr_print_uint32(ndr, "type", r->type);
    8573           0 :         ndr_print_uint32(ndr, "lcid", r->lcid);
    8574           0 :         ndr_print_uint32(ndr, "ccomplstrings", r->ccomplstrings);
    8575           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "apszcomplstrings", (uint32_t)(r->ccomplstrings));
    8576           0 :         ndr->depth++;
    8577           0 :         for (cntr_apszcomplstrings_0 = 0; cntr_apszcomplstrings_0 < (r->ccomplstrings); cntr_apszcomplstrings_0++) {
    8578           0 :                 ndr_print_wsp_serializedpropertyvalue(ndr, "apszcomplstrings", &r->apszcomplstrings[cntr_apszcomplstrings_0]);
    8579             :         }
    8580           0 :         ndr->depth--;
    8581           0 :         ndr_print_uint32(ndr, "ccomplpids", r->ccomplpids);
    8582           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "acomplpids", (uint32_t)(r->ccomplpids));
    8583           0 :         ndr->depth++;
    8584           0 :         for (cntr_acomplpids_0 = 0; cntr_acomplpids_0 < (r->ccomplpids); cntr_acomplpids_0++) {
    8585           0 :                 ndr_print_uint32(ndr, "acomplpids", r->acomplpids[cntr_acomplpids_0]);
    8586             :         }
    8587           0 :         ndr->depth--;
    8588           0 :         ndr->depth--;
    8589             : }
    8590             : 
    8591           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmsetbindingsin(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmsetbindingsin *r)
    8592             : {
    8593           0 :         uint32_t cntr_acolumns_0;
    8594           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    8595           0 :         if (ndr_flags & NDR_SCALARS) {
    8596           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    8597           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->hcursor));
    8598           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->brow));
    8599           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->bbindingdesc));
    8600           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dummy));
    8601           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ccolumns));
    8602           0 :                 for (cntr_acolumns_0 = 0; cntr_acolumns_0 < (r->ccolumns); cntr_acolumns_0++) {
    8603           0 :                         NDR_CHECK(ndr_push_wsp_ctablecolumn(ndr, NDR_SCALARS, &r->acolumns[cntr_acolumns_0]));
    8604             :                 }
    8605           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    8606             :         }
    8607           0 :         if (ndr_flags & NDR_BUFFERS) {
    8608           0 :                 for (cntr_acolumns_0 = 0; cntr_acolumns_0 < (r->ccolumns); cntr_acolumns_0++) {
    8609           0 :                         NDR_CHECK(ndr_push_wsp_ctablecolumn(ndr, NDR_BUFFERS, &r->acolumns[cntr_acolumns_0]));
    8610             :                 }
    8611             :         }
    8612           0 :         return NDR_ERR_SUCCESS;
    8613             : }
    8614             : 
    8615           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmsetbindingsin(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmsetbindingsin *r)
    8616             : {
    8617           0 :         uint32_t size_acolumns_0 = 0;
    8618           0 :         uint32_t cntr_acolumns_0;
    8619           0 :         TALLOC_CTX *_mem_save_acolumns_0 = NULL;
    8620           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    8621           0 :         if (ndr_flags & NDR_SCALARS) {
    8622           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    8623           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->hcursor));
    8624           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->brow));
    8625           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->bbindingdesc));
    8626           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dummy));
    8627           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ccolumns));
    8628           0 :                 size_acolumns_0 = r->ccolumns;
    8629           0 :                 NDR_PULL_ALLOC_N(ndr, r->acolumns, size_acolumns_0);
    8630           0 :                 _mem_save_acolumns_0 = NDR_PULL_GET_MEM_CTX(ndr);
    8631           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->acolumns, 0);
    8632           0 :                 for (cntr_acolumns_0 = 0; cntr_acolumns_0 < (size_acolumns_0); cntr_acolumns_0++) {
    8633           0 :                         NDR_CHECK(ndr_pull_wsp_ctablecolumn(ndr, NDR_SCALARS, &r->acolumns[cntr_acolumns_0]));
    8634             :                 }
    8635           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_acolumns_0, 0);
    8636           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    8637             :         }
    8638           0 :         if (ndr_flags & NDR_BUFFERS) {
    8639           0 :                 size_acolumns_0 = r->ccolumns;
    8640           0 :                 _mem_save_acolumns_0 = NDR_PULL_GET_MEM_CTX(ndr);
    8641           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->acolumns, 0);
    8642           0 :                 for (cntr_acolumns_0 = 0; cntr_acolumns_0 < (size_acolumns_0); cntr_acolumns_0++) {
    8643           0 :                         NDR_CHECK(ndr_pull_wsp_ctablecolumn(ndr, NDR_BUFFERS, &r->acolumns[cntr_acolumns_0]));
    8644             :                 }
    8645           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_acolumns_0, 0);
    8646           0 :                 for (cntr_acolumns_0 = 0; cntr_acolumns_0 < (size_acolumns_0); cntr_acolumns_0++) {
    8647             :                 }
    8648             :         }
    8649           0 :         return NDR_ERR_SUCCESS;
    8650             : }
    8651             : 
    8652           0 : static void ndr_print_flags_wsp_cpmsetbindingsin(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmsetbindingsin *r)
    8653             : {
    8654           0 :         ndr_print_wsp_cpmsetbindingsin(ndr, name, r);
    8655           0 : }
    8656             : 
    8657           0 : _PUBLIC_ void ndr_print_wsp_cpmsetbindingsin(struct ndr_print *ndr, const char *name, const struct wsp_cpmsetbindingsin *r)
    8658             : {
    8659           0 :         uint32_t cntr_acolumns_0;
    8660           0 :         ndr_print_struct(ndr, name, "wsp_cpmsetbindingsin");
    8661           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    8662           0 :         ndr->depth++;
    8663           0 :         ndr_print_uint32(ndr, "hcursor", r->hcursor);
    8664           0 :         ndr_print_uint32(ndr, "brow", r->brow);
    8665           0 :         ndr_print_uint32(ndr, "bbindingdesc", r->bbindingdesc);
    8666           0 :         ndr_print_uint32(ndr, "dummy", r->dummy);
    8667           0 :         ndr_print_uint32(ndr, "ccolumns", r->ccolumns);
    8668           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "acolumns", (uint32_t)(r->ccolumns));
    8669           0 :         ndr->depth++;
    8670           0 :         for (cntr_acolumns_0 = 0; cntr_acolumns_0 < (r->ccolumns); cntr_acolumns_0++) {
    8671           0 :                 ndr_print_wsp_ctablecolumn(ndr, "acolumns", &r->acolumns[cntr_acolumns_0]);
    8672             :         }
    8673           0 :         ndr->depth--;
    8674           0 :         ndr->depth--;
    8675             : }
    8676             : 
    8677           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_crowseeknext(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_crowseeknext *r)
    8678             : {
    8679           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    8680           0 :         if (ndr_flags & NDR_SCALARS) {
    8681           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    8682           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cskip));
    8683           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    8684             :         }
    8685           0 :         if (ndr_flags & NDR_BUFFERS) {
    8686           0 :         }
    8687           0 :         return NDR_ERR_SUCCESS;
    8688             : }
    8689             : 
    8690           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_crowseeknext(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_crowseeknext *r)
    8691             : {
    8692           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    8693           0 :         if (ndr_flags & NDR_SCALARS) {
    8694           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    8695           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cskip));
    8696           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    8697             :         }
    8698           0 :         if (ndr_flags & NDR_BUFFERS) {
    8699           0 :         }
    8700           0 :         return NDR_ERR_SUCCESS;
    8701             : }
    8702             : 
    8703           0 : static void ndr_print_flags_wsp_crowseeknext(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_crowseeknext *r)
    8704             : {
    8705           0 :         ndr_print_wsp_crowseeknext(ndr, name, r);
    8706           0 : }
    8707             : 
    8708           0 : _PUBLIC_ void ndr_print_wsp_crowseeknext(struct ndr_print *ndr, const char *name, const struct wsp_crowseeknext *r)
    8709             : {
    8710           0 :         ndr_print_struct(ndr, name, "wsp_crowseeknext");
    8711           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    8712           0 :         ndr->depth++;
    8713           0 :         ndr_print_uint32(ndr, "cskip", r->cskip);
    8714           0 :         ndr->depth--;
    8715             : }
    8716             : 
    8717           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_crowseekat(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_crowseekat *r)
    8718             : {
    8719           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    8720           0 :         if (ndr_flags & NDR_SCALARS) {
    8721           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    8722           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->bmkoffset));
    8723           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cskip));
    8724           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->hregion));
    8725           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    8726             :         }
    8727           0 :         if (ndr_flags & NDR_BUFFERS) {
    8728           0 :         }
    8729           0 :         return NDR_ERR_SUCCESS;
    8730             : }
    8731             : 
    8732           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_crowseekat(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_crowseekat *r)
    8733             : {
    8734           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    8735           0 :         if (ndr_flags & NDR_SCALARS) {
    8736           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    8737           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->bmkoffset));
    8738           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cskip));
    8739           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->hregion));
    8740           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    8741             :         }
    8742           0 :         if (ndr_flags & NDR_BUFFERS) {
    8743           0 :         }
    8744           0 :         return NDR_ERR_SUCCESS;
    8745             : }
    8746             : 
    8747           0 : static void ndr_print_flags_wsp_crowseekat(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_crowseekat *r)
    8748             : {
    8749           0 :         ndr_print_wsp_crowseekat(ndr, name, r);
    8750           0 : }
    8751             : 
    8752           0 : _PUBLIC_ void ndr_print_wsp_crowseekat(struct ndr_print *ndr, const char *name, const struct wsp_crowseekat *r)
    8753             : {
    8754           0 :         ndr_print_struct(ndr, name, "wsp_crowseekat");
    8755           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    8756           0 :         ndr->depth++;
    8757           0 :         ndr_print_uint32(ndr, "bmkoffset", r->bmkoffset);
    8758           0 :         ndr_print_uint32(ndr, "cskip", r->cskip);
    8759           0 :         ndr_print_uint32(ndr, "hregion", r->hregion);
    8760           0 :         ndr->depth--;
    8761             : }
    8762             : 
    8763           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_crowseekatratio(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_crowseekatratio *r)
    8764             : {
    8765           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    8766           0 :         if (ndr_flags & NDR_SCALARS) {
    8767           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    8768           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ulnumerator));
    8769           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->uldenominator));
    8770           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->hregion));
    8771           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    8772             :         }
    8773           0 :         if (ndr_flags & NDR_BUFFERS) {
    8774           0 :         }
    8775           0 :         return NDR_ERR_SUCCESS;
    8776             : }
    8777             : 
    8778           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_crowseekatratio(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_crowseekatratio *r)
    8779             : {
    8780           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    8781           0 :         if (ndr_flags & NDR_SCALARS) {
    8782           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    8783           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ulnumerator));
    8784           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->uldenominator));
    8785           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->hregion));
    8786           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    8787             :         }
    8788           0 :         if (ndr_flags & NDR_BUFFERS) {
    8789           0 :         }
    8790           0 :         return NDR_ERR_SUCCESS;
    8791             : }
    8792             : 
    8793           0 : static void ndr_print_flags_wsp_crowseekatratio(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_crowseekatratio *r)
    8794             : {
    8795           0 :         ndr_print_wsp_crowseekatratio(ndr, name, r);
    8796           0 : }
    8797             : 
    8798           0 : _PUBLIC_ void ndr_print_wsp_crowseekatratio(struct ndr_print *ndr, const char *name, const struct wsp_crowseekatratio *r)
    8799             : {
    8800           0 :         ndr_print_struct(ndr, name, "wsp_crowseekatratio");
    8801           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    8802           0 :         ndr->depth++;
    8803           0 :         ndr_print_uint32(ndr, "ulnumerator", r->ulnumerator);
    8804           0 :         ndr_print_uint32(ndr, "uldenominator", r->uldenominator);
    8805           0 :         ndr_print_uint32(ndr, "hregion", r->hregion);
    8806           0 :         ndr->depth--;
    8807             : }
    8808             : 
    8809           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_crowseekbybookmark(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_crowseekbybookmark *r)
    8810             : {
    8811           0 :         uint32_t cntr_abookmarks_0;
    8812           0 :         uint32_t cntr_ascret_0;
    8813           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    8814           0 :         if (ndr_flags & NDR_SCALARS) {
    8815           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    8816           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbookmarks));
    8817           0 :                 for (cntr_abookmarks_0 = 0; cntr_abookmarks_0 < (r->cbookmarks); cntr_abookmarks_0++) {
    8818           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->abookmarks[cntr_abookmarks_0]));
    8819             :                 }
    8820           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->maxret));
    8821           0 :                 for (cntr_ascret_0 = 0; cntr_ascret_0 < (r->maxret); cntr_ascret_0++) {
    8822           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ascret[cntr_ascret_0]));
    8823             :                 }
    8824           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    8825             :         }
    8826           0 :         if (ndr_flags & NDR_BUFFERS) {
    8827           0 :         }
    8828           0 :         return NDR_ERR_SUCCESS;
    8829             : }
    8830             : 
    8831           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_crowseekbybookmark(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_crowseekbybookmark *r)
    8832             : {
    8833           0 :         uint32_t size_abookmarks_0 = 0;
    8834           0 :         uint32_t cntr_abookmarks_0;
    8835           0 :         TALLOC_CTX *_mem_save_abookmarks_0 = NULL;
    8836           0 :         uint32_t size_ascret_0 = 0;
    8837           0 :         uint32_t cntr_ascret_0;
    8838           0 :         TALLOC_CTX *_mem_save_ascret_0 = NULL;
    8839           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    8840           0 :         if (ndr_flags & NDR_SCALARS) {
    8841           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    8842           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbookmarks));
    8843           0 :                 size_abookmarks_0 = r->cbookmarks;
    8844           0 :                 NDR_PULL_ALLOC_N(ndr, r->abookmarks, size_abookmarks_0);
    8845           0 :                 _mem_save_abookmarks_0 = NDR_PULL_GET_MEM_CTX(ndr);
    8846           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->abookmarks, 0);
    8847           0 :                 for (cntr_abookmarks_0 = 0; cntr_abookmarks_0 < (size_abookmarks_0); cntr_abookmarks_0++) {
    8848           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->abookmarks[cntr_abookmarks_0]));
    8849             :                 }
    8850           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_abookmarks_0, 0);
    8851           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->maxret));
    8852           0 :                 size_ascret_0 = r->maxret;
    8853           0 :                 NDR_PULL_ALLOC_N(ndr, r->ascret, size_ascret_0);
    8854           0 :                 _mem_save_ascret_0 = NDR_PULL_GET_MEM_CTX(ndr);
    8855           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->ascret, 0);
    8856           0 :                 for (cntr_ascret_0 = 0; cntr_ascret_0 < (size_ascret_0); cntr_ascret_0++) {
    8857           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ascret[cntr_ascret_0]));
    8858             :                 }
    8859           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ascret_0, 0);
    8860           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    8861             :         }
    8862           0 :         if (ndr_flags & NDR_BUFFERS) {
    8863           0 :         }
    8864           0 :         return NDR_ERR_SUCCESS;
    8865             : }
    8866             : 
    8867           0 : static void ndr_print_flags_wsp_crowseekbybookmark(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_crowseekbybookmark *r)
    8868             : {
    8869           0 :         ndr_print_wsp_crowseekbybookmark(ndr, name, r);
    8870           0 : }
    8871             : 
    8872           0 : _PUBLIC_ void ndr_print_wsp_crowseekbybookmark(struct ndr_print *ndr, const char *name, const struct wsp_crowseekbybookmark *r)
    8873             : {
    8874           0 :         uint32_t cntr_abookmarks_0;
    8875           0 :         uint32_t cntr_ascret_0;
    8876           0 :         ndr_print_struct(ndr, name, "wsp_crowseekbybookmark");
    8877           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    8878           0 :         ndr->depth++;
    8879           0 :         ndr_print_uint32(ndr, "cbookmarks", r->cbookmarks);
    8880           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "abookmarks", (uint32_t)(r->cbookmarks));
    8881           0 :         ndr->depth++;
    8882           0 :         for (cntr_abookmarks_0 = 0; cntr_abookmarks_0 < (r->cbookmarks); cntr_abookmarks_0++) {
    8883           0 :                 ndr_print_uint32(ndr, "abookmarks", r->abookmarks[cntr_abookmarks_0]);
    8884             :         }
    8885           0 :         ndr->depth--;
    8886           0 :         ndr_print_uint32(ndr, "maxret", r->maxret);
    8887           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "ascret", (uint32_t)(r->maxret));
    8888           0 :         ndr->depth++;
    8889           0 :         for (cntr_ascret_0 = 0; cntr_ascret_0 < (r->maxret); cntr_ascret_0++) {
    8890           0 :                 ndr_print_uint32(ndr, "ascret", r->ascret[cntr_ascret_0]);
    8891             :         }
    8892           0 :         ndr->depth--;
    8893           0 :         ndr->depth--;
    8894             : }
    8895             : 
    8896           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_seekdescription(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union wsp_seekdescription *r)
    8897             : {
    8898           0 :         uint32_t level;
    8899           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    8900           0 :         if (ndr_flags & NDR_SCALARS) {
    8901             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    8902           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    8903           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
    8904           0 :                 switch (level) {
    8905           0 :                         case EROWSEEKNONE: {
    8906           0 :                         break; }
    8907             : 
    8908           0 :                         case EROWSEEKNEXT: {
    8909           0 :                                 NDR_CHECK(ndr_push_wsp_crowseeknext(ndr, NDR_SCALARS, &r->crowseeknext));
    8910           0 :                         break; }
    8911             : 
    8912           0 :                         case EROWSEEKAT: {
    8913           0 :                                 NDR_CHECK(ndr_push_wsp_crowseekat(ndr, NDR_SCALARS, &r->crowseekat));
    8914           0 :                         break; }
    8915             : 
    8916           0 :                         case EROWSEEKATRATIO: {
    8917           0 :                                 NDR_CHECK(ndr_push_wsp_crowseekatratio(ndr, NDR_SCALARS, &r->crowseekatratio));
    8918           0 :                         break; }
    8919             : 
    8920           0 :                         case EROWSEEKBYBOOKMARK: {
    8921           0 :                                 NDR_CHECK(ndr_push_wsp_crowseekbybookmark(ndr, NDR_SCALARS, &r->crowseekbybookmark));
    8922           0 :                         break; }
    8923             : 
    8924           0 :                         default:
    8925           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    8926             :                 }
    8927             :         }
    8928           0 :         if (ndr_flags & NDR_BUFFERS) {
    8929           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    8930             :                         /* We didn't get it above, and the token is not needed after this. */
    8931           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
    8932             :                 }
    8933           0 :                 switch (level) {
    8934           0 :                         case EROWSEEKNONE:
    8935           0 :                         break;
    8936             : 
    8937           0 :                         case EROWSEEKNEXT:
    8938           0 :                         break;
    8939             : 
    8940           0 :                         case EROWSEEKAT:
    8941           0 :                         break;
    8942             : 
    8943           0 :                         case EROWSEEKATRATIO:
    8944           0 :                         break;
    8945             : 
    8946           0 :                         case EROWSEEKBYBOOKMARK:
    8947           0 :                         break;
    8948             : 
    8949           0 :                         default:
    8950           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
    8951             :                 }
    8952             :         }
    8953           0 :         return NDR_ERR_SUCCESS;
    8954             : }
    8955             : 
    8956           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_seekdescription(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union wsp_seekdescription *r)
    8957             : {
    8958           0 :         uint32_t level;
    8959           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    8960           0 :         if (ndr_flags & NDR_SCALARS) {
    8961             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
    8962           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    8963           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
    8964           0 :                 switch (level) {
    8965           0 :                         case EROWSEEKNONE: {
    8966           0 :                         break; }
    8967             : 
    8968           0 :                         case EROWSEEKNEXT: {
    8969           0 :                                 NDR_CHECK(ndr_pull_wsp_crowseeknext(ndr, NDR_SCALARS, &r->crowseeknext));
    8970           0 :                         break; }
    8971             : 
    8972           0 :                         case EROWSEEKAT: {
    8973           0 :                                 NDR_CHECK(ndr_pull_wsp_crowseekat(ndr, NDR_SCALARS, &r->crowseekat));
    8974           0 :                         break; }
    8975             : 
    8976           0 :                         case EROWSEEKATRATIO: {
    8977           0 :                                 NDR_CHECK(ndr_pull_wsp_crowseekatratio(ndr, NDR_SCALARS, &r->crowseekatratio));
    8978           0 :                         break; }
    8979             : 
    8980           0 :                         case EROWSEEKBYBOOKMARK: {
    8981           0 :                                 NDR_CHECK(ndr_pull_wsp_crowseekbybookmark(ndr, NDR_SCALARS, &r->crowseekbybookmark));
    8982           0 :                         break; }
    8983             : 
    8984           0 :                         default:
    8985           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    8986             :                 }
    8987             :         }
    8988           0 :         if (ndr_flags & NDR_BUFFERS) {
    8989           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
    8990             :                         /* We didn't get it above, and the token is not needed after this. */
    8991           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
    8992             :                 }
    8993           0 :                 switch (level) {
    8994           0 :                         case EROWSEEKNONE:
    8995           0 :                         break;
    8996             : 
    8997           0 :                         case EROWSEEKNEXT:
    8998           0 :                         break;
    8999             : 
    9000           0 :                         case EROWSEEKAT:
    9001           0 :                         break;
    9002             : 
    9003           0 :                         case EROWSEEKATRATIO:
    9004           0 :                         break;
    9005             : 
    9006           0 :                         case EROWSEEKBYBOOKMARK:
    9007           0 :                         break;
    9008             : 
    9009           0 :                         default:
    9010           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
    9011             :                 }
    9012             :         }
    9013           0 :         return NDR_ERR_SUCCESS;
    9014             : }
    9015             : 
    9016           0 : _PUBLIC_ void ndr_print_wsp_seekdescription(struct ndr_print *ndr, const char *name, const union wsp_seekdescription *r)
    9017             : {
    9018           0 :         uint32_t level;
    9019           0 :         level = ndr_print_steal_switch_value(ndr, r);
    9020           0 :         ndr_print_union(ndr, name, level, "wsp_seekdescription");
    9021           0 :         switch (level) {
    9022           0 :                 case EROWSEEKNONE:
    9023           0 :                 break;
    9024             : 
    9025           0 :                 case EROWSEEKNEXT:
    9026           0 :                         ndr_print_wsp_crowseeknext(ndr, "crowseeknext", &r->crowseeknext);
    9027           0 :                 break;
    9028             : 
    9029           0 :                 case EROWSEEKAT:
    9030           0 :                         ndr_print_wsp_crowseekat(ndr, "crowseekat", &r->crowseekat);
    9031           0 :                 break;
    9032             : 
    9033           0 :                 case EROWSEEKATRATIO:
    9034           0 :                         ndr_print_wsp_crowseekatratio(ndr, "crowseekatratio", &r->crowseekatratio);
    9035           0 :                 break;
    9036             : 
    9037           0 :                 case EROWSEEKBYBOOKMARK:
    9038           0 :                         ndr_print_wsp_crowseekbybookmark(ndr, "crowseekbybookmark", &r->crowseekbybookmark);
    9039           0 :                 break;
    9040             : 
    9041           0 :                 default:
    9042           0 :                         ndr_print_bad_level(ndr, name, level);
    9043             :         }
    9044           0 : }
    9045             : 
    9046           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmgetrowsin(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmgetrowsin *r)
    9047             : {
    9048           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9049           0 :         if (ndr_flags & NDR_SCALARS) {
    9050           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9051           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->hcursor));
    9052           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->crowstotransfer));
    9053           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbrowWidth));
    9054           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbseek));
    9055           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbreserved));
    9056           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbreadbuffer));
    9057           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ulclientbase));
    9058           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->fbwdfetch));
    9059           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->etype));
    9060           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->chapt));
    9061           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->seekdescription, r->etype));
    9062           0 :                 NDR_CHECK(ndr_push_wsp_seekdescription(ndr, NDR_SCALARS, &r->seekdescription));
    9063           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9064             :         }
    9065           0 :         if (ndr_flags & NDR_BUFFERS) {
    9066           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->seekdescription, r->etype));
    9067           0 :                 NDR_CHECK(ndr_push_wsp_seekdescription(ndr, NDR_BUFFERS, &r->seekdescription));
    9068             :         }
    9069           0 :         return NDR_ERR_SUCCESS;
    9070             : }
    9071             : 
    9072           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmgetrowsin(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmgetrowsin *r)
    9073             : {
    9074           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9075           0 :         if (ndr_flags & NDR_SCALARS) {
    9076           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9077           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->hcursor));
    9078           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->crowstotransfer));
    9079           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbrowWidth));
    9080           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbseek));
    9081           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbreserved));
    9082           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbreadbuffer));
    9083           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ulclientbase));
    9084           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->fbwdfetch));
    9085           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->etype));
    9086           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->chapt));
    9087           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->seekdescription, r->etype));
    9088           0 :                 NDR_CHECK(ndr_pull_wsp_seekdescription(ndr, NDR_SCALARS, &r->seekdescription));
    9089           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9090             :         }
    9091           0 :         if (ndr_flags & NDR_BUFFERS) {
    9092           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->seekdescription, r->etype));
    9093           0 :                 NDR_CHECK(ndr_pull_wsp_seekdescription(ndr, NDR_BUFFERS, &r->seekdescription));
    9094             :         }
    9095           0 :         return NDR_ERR_SUCCESS;
    9096             : }
    9097             : 
    9098           0 : static void ndr_print_flags_wsp_cpmgetrowsin(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmgetrowsin *r)
    9099             : {
    9100           0 :         ndr_print_wsp_cpmgetrowsin(ndr, name, r);
    9101           0 : }
    9102             : 
    9103           0 : _PUBLIC_ void ndr_print_wsp_cpmgetrowsin(struct ndr_print *ndr, const char *name, const struct wsp_cpmgetrowsin *r)
    9104             : {
    9105           0 :         ndr_print_struct(ndr, name, "wsp_cpmgetrowsin");
    9106           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9107           0 :         ndr->depth++;
    9108           0 :         ndr_print_uint32(ndr, "hcursor", r->hcursor);
    9109           0 :         ndr_print_uint32(ndr, "crowstotransfer", r->crowstotransfer);
    9110           0 :         ndr_print_uint32(ndr, "cbrowWidth", r->cbrowWidth);
    9111           0 :         ndr_print_uint32(ndr, "cbseek", r->cbseek);
    9112           0 :         ndr_print_uint32(ndr, "cbreserved", r->cbreserved);
    9113           0 :         ndr_print_uint32(ndr, "cbreadbuffer", r->cbreadbuffer);
    9114           0 :         ndr_print_uint32(ndr, "ulclientbase", r->ulclientbase);
    9115           0 :         ndr_print_uint32(ndr, "fbwdfetch", r->fbwdfetch);
    9116           0 :         ndr_print_uint32(ndr, "etype", r->etype);
    9117           0 :         ndr_print_uint32(ndr, "chapt", r->chapt);
    9118           0 :         ndr_print_set_switch_value(ndr, &r->seekdescription, r->etype);
    9119           0 :         ndr_print_wsp_seekdescription(ndr, "seekdescription", &r->seekdescription);
    9120           0 :         ndr->depth--;
    9121             : }
    9122             : 
    9123           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_ctablevariant(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_ctablevariant *r)
    9124             : {
    9125           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9126           0 :         if (ndr_flags & NDR_SCALARS) {
    9127           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9128           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->vtype));
    9129           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->reserved1));
    9130           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->reserved2));
    9131           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9132             :         }
    9133           0 :         if (ndr_flags & NDR_BUFFERS) {
    9134           0 :         }
    9135           0 :         return NDR_ERR_SUCCESS;
    9136             : }
    9137             : 
    9138           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_ctablevariant(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_ctablevariant *r)
    9139             : {
    9140           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9141           0 :         if (ndr_flags & NDR_SCALARS) {
    9142           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9143           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->vtype));
    9144           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->reserved1));
    9145           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->reserved2));
    9146           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9147             :         }
    9148           0 :         if (ndr_flags & NDR_BUFFERS) {
    9149           0 :         }
    9150           0 :         return NDR_ERR_SUCCESS;
    9151             : }
    9152             : 
    9153           0 : static void ndr_print_flags_wsp_ctablevariant(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_ctablevariant *r)
    9154             : {
    9155           0 :         ndr_print_wsp_ctablevariant(ndr, name, r);
    9156           0 : }
    9157             : 
    9158           0 : _PUBLIC_ void ndr_print_wsp_ctablevariant(struct ndr_print *ndr, const char *name, const struct wsp_ctablevariant *r)
    9159             : {
    9160           0 :         ndr_print_struct(ndr, name, "wsp_ctablevariant");
    9161           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9162           0 :         ndr->depth++;
    9163           0 :         ndr_print_uint16(ndr, "vtype", r->vtype);
    9164           0 :         ndr_print_uint16(ndr, "reserved1", r->reserved1);
    9165           0 :         ndr_print_uint32(ndr, "reserved2", r->reserved2);
    9166           0 :         ndr->depth--;
    9167             : }
    9168             : 
    9169           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmgetrowsout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmgetrowsout *r)
    9170             : {
    9171           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9172           0 :         if (ndr_flags & NDR_SCALARS) {
    9173           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9174           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->rowsreturned));
    9175           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->etype));
    9176           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->chapt));
    9177           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->seekdescription, r->etype));
    9178           0 :                 NDR_CHECK(ndr_push_wsp_seekdescription(ndr, NDR_SCALARS, &r->seekdescription));
    9179           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9180             :         }
    9181           0 :         if (ndr_flags & NDR_BUFFERS) {
    9182           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->seekdescription, r->etype));
    9183           0 :                 NDR_CHECK(ndr_push_wsp_seekdescription(ndr, NDR_BUFFERS, &r->seekdescription));
    9184             :         }
    9185           0 :         return NDR_ERR_SUCCESS;
    9186             : }
    9187             : 
    9188           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmgetrowsout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmgetrowsout *r)
    9189             : {
    9190           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9191           0 :         if (ndr_flags & NDR_SCALARS) {
    9192           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9193           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->rowsreturned));
    9194           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->etype));
    9195           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->chapt));
    9196           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->seekdescription, r->etype));
    9197           0 :                 NDR_CHECK(ndr_pull_wsp_seekdescription(ndr, NDR_SCALARS, &r->seekdescription));
    9198           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9199             :         }
    9200           0 :         if (ndr_flags & NDR_BUFFERS) {
    9201           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->seekdescription, r->etype));
    9202           0 :                 NDR_CHECK(ndr_pull_wsp_seekdescription(ndr, NDR_BUFFERS, &r->seekdescription));
    9203             :         }
    9204           0 :         return NDR_ERR_SUCCESS;
    9205             : }
    9206             : 
    9207           0 : static void ndr_print_flags_wsp_cpmgetrowsout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmgetrowsout *r)
    9208             : {
    9209           0 :         ndr_print_wsp_cpmgetrowsout(ndr, name, r);
    9210           0 : }
    9211             : 
    9212           0 : _PUBLIC_ void ndr_print_wsp_cpmgetrowsout(struct ndr_print *ndr, const char *name, const struct wsp_cpmgetrowsout *r)
    9213             : {
    9214           0 :         ndr_print_struct(ndr, name, "wsp_cpmgetrowsout");
    9215           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9216           0 :         ndr->depth++;
    9217           0 :         ndr_print_uint32(ndr, "rowsreturned", r->rowsreturned);
    9218           0 :         ndr_print_uint32(ndr, "etype", r->etype);
    9219           0 :         ndr_print_uint32(ndr, "chapt", r->chapt);
    9220           0 :         ndr_print_set_switch_value(ndr, &r->seekdescription, r->etype);
    9221           0 :         ndr_print_wsp_seekdescription(ndr, "seekdescription", &r->seekdescription);
    9222           0 :         ndr->depth--;
    9223             : }
    9224             : 
    9225           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmfreecursorin(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmfreecursorin *r)
    9226             : {
    9227           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9228           0 :         if (ndr_flags & NDR_SCALARS) {
    9229           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9230           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->hcursor));
    9231           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9232             :         }
    9233           0 :         if (ndr_flags & NDR_BUFFERS) {
    9234           0 :         }
    9235           0 :         return NDR_ERR_SUCCESS;
    9236             : }
    9237             : 
    9238           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmfreecursorin(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmfreecursorin *r)
    9239             : {
    9240           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9241           0 :         if (ndr_flags & NDR_SCALARS) {
    9242           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9243           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->hcursor));
    9244           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9245             :         }
    9246           0 :         if (ndr_flags & NDR_BUFFERS) {
    9247           0 :         }
    9248           0 :         return NDR_ERR_SUCCESS;
    9249             : }
    9250             : 
    9251           0 : static void ndr_print_flags_wsp_cpmfreecursorin(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmfreecursorin *r)
    9252             : {
    9253           0 :         ndr_print_wsp_cpmfreecursorin(ndr, name, r);
    9254           0 : }
    9255             : 
    9256           0 : _PUBLIC_ void ndr_print_wsp_cpmfreecursorin(struct ndr_print *ndr, const char *name, const struct wsp_cpmfreecursorin *r)
    9257             : {
    9258           0 :         ndr_print_struct(ndr, name, "wsp_cpmfreecursorin");
    9259           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9260           0 :         ndr->depth++;
    9261           0 :         ndr_print_uint32(ndr, "hcursor", r->hcursor);
    9262           0 :         ndr->depth--;
    9263             : }
    9264             : 
    9265           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmfreecursorout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmfreecursorout *r)
    9266             : {
    9267           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9268           0 :         if (ndr_flags & NDR_SCALARS) {
    9269           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9270           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ccursorsremaining));
    9271           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9272             :         }
    9273           0 :         if (ndr_flags & NDR_BUFFERS) {
    9274           0 :         }
    9275           0 :         return NDR_ERR_SUCCESS;
    9276             : }
    9277             : 
    9278           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmfreecursorout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmfreecursorout *r)
    9279             : {
    9280           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9281           0 :         if (ndr_flags & NDR_SCALARS) {
    9282           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9283           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ccursorsremaining));
    9284           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9285             :         }
    9286           0 :         if (ndr_flags & NDR_BUFFERS) {
    9287           0 :         }
    9288           0 :         return NDR_ERR_SUCCESS;
    9289             : }
    9290             : 
    9291           0 : static void ndr_print_flags_wsp_cpmfreecursorout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmfreecursorout *r)
    9292             : {
    9293           0 :         ndr_print_wsp_cpmfreecursorout(ndr, name, r);
    9294           0 : }
    9295             : 
    9296           0 : _PUBLIC_ void ndr_print_wsp_cpmfreecursorout(struct ndr_print *ndr, const char *name, const struct wsp_cpmfreecursorout *r)
    9297             : {
    9298           0 :         ndr_print_struct(ndr, name, "wsp_cpmfreecursorout");
    9299           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9300           0 :         ndr->depth++;
    9301           0 :         ndr_print_uint32(ndr, "ccursorsremaining", r->ccursorsremaining);
    9302           0 :         ndr->depth--;
    9303             : }
    9304             : 
    9305           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmgetquerystatusin(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmgetquerystatusin *r)
    9306             : {
    9307           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9308           0 :         if (ndr_flags & NDR_SCALARS) {
    9309           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9310           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->hcursor));
    9311           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9312             :         }
    9313           0 :         if (ndr_flags & NDR_BUFFERS) {
    9314           0 :         }
    9315           0 :         return NDR_ERR_SUCCESS;
    9316             : }
    9317             : 
    9318           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmgetquerystatusin(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmgetquerystatusin *r)
    9319             : {
    9320           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9321           0 :         if (ndr_flags & NDR_SCALARS) {
    9322           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9323           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->hcursor));
    9324           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9325             :         }
    9326           0 :         if (ndr_flags & NDR_BUFFERS) {
    9327           0 :         }
    9328           0 :         return NDR_ERR_SUCCESS;
    9329             : }
    9330             : 
    9331           0 : static void ndr_print_flags_wsp_cpmgetquerystatusin(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmgetquerystatusin *r)
    9332             : {
    9333           0 :         ndr_print_wsp_cpmgetquerystatusin(ndr, name, r);
    9334           0 : }
    9335             : 
    9336           0 : _PUBLIC_ void ndr_print_wsp_cpmgetquerystatusin(struct ndr_print *ndr, const char *name, const struct wsp_cpmgetquerystatusin *r)
    9337             : {
    9338           0 :         ndr_print_struct(ndr, name, "wsp_cpmgetquerystatusin");
    9339           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9340           0 :         ndr->depth++;
    9341           0 :         ndr_print_uint32(ndr, "hcursor", r->hcursor);
    9342           0 :         ndr->depth--;
    9343             : }
    9344             : 
    9345           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmgetquerystatusout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmgetquerystatusout *r)
    9346             : {
    9347           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9348           0 :         if (ndr_flags & NDR_SCALARS) {
    9349           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9350           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->qstatus));
    9351           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9352             :         }
    9353           0 :         if (ndr_flags & NDR_BUFFERS) {
    9354           0 :         }
    9355           0 :         return NDR_ERR_SUCCESS;
    9356             : }
    9357             : 
    9358           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmgetquerystatusout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmgetquerystatusout *r)
    9359             : {
    9360           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9361           0 :         if (ndr_flags & NDR_SCALARS) {
    9362           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9363           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->qstatus));
    9364           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9365             :         }
    9366           0 :         if (ndr_flags & NDR_BUFFERS) {
    9367           0 :         }
    9368           0 :         return NDR_ERR_SUCCESS;
    9369             : }
    9370             : 
    9371           0 : static void ndr_print_flags_wsp_cpmgetquerystatusout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmgetquerystatusout *r)
    9372             : {
    9373           0 :         ndr_print_wsp_cpmgetquerystatusout(ndr, name, r);
    9374           0 : }
    9375             : 
    9376           0 : _PUBLIC_ void ndr_print_wsp_cpmgetquerystatusout(struct ndr_print *ndr, const char *name, const struct wsp_cpmgetquerystatusout *r)
    9377             : {
    9378           0 :         ndr_print_struct(ndr, name, "wsp_cpmgetquerystatusout");
    9379           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9380           0 :         ndr->depth++;
    9381           0 :         ndr_print_uint32(ndr, "qstatus", r->qstatus);
    9382           0 :         ndr->depth--;
    9383             : }
    9384             : 
    9385           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmgetquerystatusexin(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmgetquerystatusexin *r)
    9386             : {
    9387           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9388           0 :         if (ndr_flags & NDR_SCALARS) {
    9389           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9390           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->hcursor));
    9391           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->bmk));
    9392           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9393             :         }
    9394           0 :         if (ndr_flags & NDR_BUFFERS) {
    9395           0 :         }
    9396           0 :         return NDR_ERR_SUCCESS;
    9397             : }
    9398             : 
    9399           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmgetquerystatusexin(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmgetquerystatusexin *r)
    9400             : {
    9401           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9402           0 :         if (ndr_flags & NDR_SCALARS) {
    9403           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9404           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->hcursor));
    9405           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->bmk));
    9406           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9407             :         }
    9408           0 :         if (ndr_flags & NDR_BUFFERS) {
    9409           0 :         }
    9410           0 :         return NDR_ERR_SUCCESS;
    9411             : }
    9412             : 
    9413           0 : static void ndr_print_flags_wsp_cpmgetquerystatusexin(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmgetquerystatusexin *r)
    9414             : {
    9415           0 :         ndr_print_wsp_cpmgetquerystatusexin(ndr, name, r);
    9416           0 : }
    9417             : 
    9418           0 : _PUBLIC_ void ndr_print_wsp_cpmgetquerystatusexin(struct ndr_print *ndr, const char *name, const struct wsp_cpmgetquerystatusexin *r)
    9419             : {
    9420           0 :         ndr_print_struct(ndr, name, "wsp_cpmgetquerystatusexin");
    9421           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9422           0 :         ndr->depth++;
    9423           0 :         ndr_print_uint32(ndr, "hcursor", r->hcursor);
    9424           0 :         ndr_print_uint32(ndr, "bmk", r->bmk);
    9425           0 :         ndr->depth--;
    9426             : }
    9427             : 
    9428           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmgetquerystatusexout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmgetquerystatusexout *r)
    9429             : {
    9430           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9431           0 :         if (ndr_flags & NDR_SCALARS) {
    9432           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9433           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->qstatus));
    9434           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cfiltereddocuments));
    9435           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cdocumentstofilter));
    9436           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwratiofinisheddenominator));
    9437           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwratiofinishednumerator));
    9438           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->irowbmk));
    9439           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->crowstotal));
    9440           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->maxrank));
    9441           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->resultsfound));
    9442           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->whereid));
    9443           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9444             :         }
    9445           0 :         if (ndr_flags & NDR_BUFFERS) {
    9446           0 :         }
    9447           0 :         return NDR_ERR_SUCCESS;
    9448             : }
    9449             : 
    9450           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmgetquerystatusexout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmgetquerystatusexout *r)
    9451             : {
    9452           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9453           0 :         if (ndr_flags & NDR_SCALARS) {
    9454           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9455           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->qstatus));
    9456           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cfiltereddocuments));
    9457           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cdocumentstofilter));
    9458           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwratiofinisheddenominator));
    9459           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwratiofinishednumerator));
    9460           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->irowbmk));
    9461           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->crowstotal));
    9462           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->maxrank));
    9463           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->resultsfound));
    9464           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->whereid));
    9465           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9466             :         }
    9467           0 :         if (ndr_flags & NDR_BUFFERS) {
    9468           0 :         }
    9469           0 :         return NDR_ERR_SUCCESS;
    9470             : }
    9471             : 
    9472           0 : static void ndr_print_flags_wsp_cpmgetquerystatusexout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmgetquerystatusexout *r)
    9473             : {
    9474           0 :         ndr_print_wsp_cpmgetquerystatusexout(ndr, name, r);
    9475           0 : }
    9476             : 
    9477           0 : _PUBLIC_ void ndr_print_wsp_cpmgetquerystatusexout(struct ndr_print *ndr, const char *name, const struct wsp_cpmgetquerystatusexout *r)
    9478             : {
    9479           0 :         ndr_print_struct(ndr, name, "wsp_cpmgetquerystatusexout");
    9480           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9481           0 :         ndr->depth++;
    9482           0 :         ndr_print_uint32(ndr, "qstatus", r->qstatus);
    9483           0 :         ndr_print_uint32(ndr, "cfiltereddocuments", r->cfiltereddocuments);
    9484           0 :         ndr_print_uint32(ndr, "cdocumentstofilter", r->cdocumentstofilter);
    9485           0 :         ndr_print_uint32(ndr, "dwratiofinisheddenominator", r->dwratiofinisheddenominator);
    9486           0 :         ndr_print_uint32(ndr, "dwratiofinishednumerator", r->dwratiofinishednumerator);
    9487           0 :         ndr_print_uint32(ndr, "irowbmk", r->irowbmk);
    9488           0 :         ndr_print_uint32(ndr, "crowstotal", r->crowstotal);
    9489           0 :         ndr_print_uint32(ndr, "maxrank", r->maxrank);
    9490           0 :         ndr_print_uint32(ndr, "resultsfound", r->resultsfound);
    9491           0 :         ndr_print_uint32(ndr, "whereid", r->whereid);
    9492           0 :         ndr->depth--;
    9493             : }
    9494             : 
    9495           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmrestartpositionin(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmrestartpositionin *r)
    9496             : {
    9497           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9498           0 :         if (ndr_flags & NDR_SCALARS) {
    9499           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9500           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->hcursor));
    9501           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->chapter));
    9502           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9503             :         }
    9504           0 :         if (ndr_flags & NDR_BUFFERS) {
    9505           0 :         }
    9506           0 :         return NDR_ERR_SUCCESS;
    9507             : }
    9508             : 
    9509           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmrestartpositionin(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmrestartpositionin *r)
    9510             : {
    9511           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9512           0 :         if (ndr_flags & NDR_SCALARS) {
    9513           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9514           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->hcursor));
    9515           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->chapter));
    9516           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9517             :         }
    9518           0 :         if (ndr_flags & NDR_BUFFERS) {
    9519           0 :         }
    9520           0 :         return NDR_ERR_SUCCESS;
    9521             : }
    9522             : 
    9523           0 : static void ndr_print_flags_wsp_cpmrestartpositionin(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmrestartpositionin *r)
    9524             : {
    9525           0 :         ndr_print_wsp_cpmrestartpositionin(ndr, name, r);
    9526           0 : }
    9527             : 
    9528           0 : _PUBLIC_ void ndr_print_wsp_cpmrestartpositionin(struct ndr_print *ndr, const char *name, const struct wsp_cpmrestartpositionin *r)
    9529             : {
    9530           0 :         ndr_print_struct(ndr, name, "wsp_cpmrestartpositionin");
    9531           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9532           0 :         ndr->depth++;
    9533           0 :         ndr_print_uint32(ndr, "hcursor", r->hcursor);
    9534           0 :         ndr_print_uint32(ndr, "chapter", r->chapter);
    9535           0 :         ndr->depth--;
    9536             : }
    9537             : 
    9538           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmratiofinishedin(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmratiofinishedin *r)
    9539             : {
    9540           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9541           0 :         if (ndr_flags & NDR_SCALARS) {
    9542           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9543           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->hcursor));
    9544           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->fquick));
    9545           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9546             :         }
    9547           0 :         if (ndr_flags & NDR_BUFFERS) {
    9548           0 :         }
    9549           0 :         return NDR_ERR_SUCCESS;
    9550             : }
    9551             : 
    9552           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmratiofinishedin(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmratiofinishedin *r)
    9553             : {
    9554           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9555           0 :         if (ndr_flags & NDR_SCALARS) {
    9556           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9557           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->hcursor));
    9558           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->fquick));
    9559           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9560             :         }
    9561           0 :         if (ndr_flags & NDR_BUFFERS) {
    9562           0 :         }
    9563           0 :         return NDR_ERR_SUCCESS;
    9564             : }
    9565             : 
    9566           0 : static void ndr_print_flags_wsp_cpmratiofinishedin(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmratiofinishedin *r)
    9567             : {
    9568           0 :         ndr_print_wsp_cpmratiofinishedin(ndr, name, r);
    9569           0 : }
    9570             : 
    9571           0 : _PUBLIC_ void ndr_print_wsp_cpmratiofinishedin(struct ndr_print *ndr, const char *name, const struct wsp_cpmratiofinishedin *r)
    9572             : {
    9573           0 :         ndr_print_struct(ndr, name, "wsp_cpmratiofinishedin");
    9574           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9575           0 :         ndr->depth++;
    9576           0 :         ndr_print_uint32(ndr, "hcursor", r->hcursor);
    9577           0 :         ndr_print_uint32(ndr, "fquick", r->fquick);
    9578           0 :         ndr->depth--;
    9579             : }
    9580             : 
    9581           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmratiofinishedout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmratiofinishedout *r)
    9582             : {
    9583           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9584           0 :         if (ndr_flags & NDR_SCALARS) {
    9585           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9586           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ulnumerator));
    9587           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->uldenominator));
    9588           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->crows));
    9589           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->fnewrows));
    9590           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9591             :         }
    9592           0 :         if (ndr_flags & NDR_BUFFERS) {
    9593           0 :         }
    9594           0 :         return NDR_ERR_SUCCESS;
    9595             : }
    9596             : 
    9597           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmratiofinishedout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmratiofinishedout *r)
    9598             : {
    9599           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9600           0 :         if (ndr_flags & NDR_SCALARS) {
    9601           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9602           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ulnumerator));
    9603           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->uldenominator));
    9604           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->crows));
    9605           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->fnewrows));
    9606           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9607             :         }
    9608           0 :         if (ndr_flags & NDR_BUFFERS) {
    9609           0 :         }
    9610           0 :         return NDR_ERR_SUCCESS;
    9611             : }
    9612             : 
    9613           0 : static void ndr_print_flags_wsp_cpmratiofinishedout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmratiofinishedout *r)
    9614             : {
    9615           0 :         ndr_print_wsp_cpmratiofinishedout(ndr, name, r);
    9616           0 : }
    9617             : 
    9618           0 : _PUBLIC_ void ndr_print_wsp_cpmratiofinishedout(struct ndr_print *ndr, const char *name, const struct wsp_cpmratiofinishedout *r)
    9619             : {
    9620           0 :         ndr_print_struct(ndr, name, "wsp_cpmratiofinishedout");
    9621           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9622           0 :         ndr->depth++;
    9623           0 :         ndr_print_uint32(ndr, "ulnumerator", r->ulnumerator);
    9624           0 :         ndr_print_uint32(ndr, "uldenominator", r->uldenominator);
    9625           0 :         ndr_print_uint32(ndr, "crows", r->crows);
    9626           0 :         ndr_print_uint32(ndr, "fnewrows", r->fnewrows);
    9627           0 :         ndr->depth--;
    9628             : }
    9629             : 
    9630           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmfetchvaluein(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmfetchvaluein *r)
    9631             : {
    9632           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9633           0 :         if (ndr_flags & NDR_SCALARS) {
    9634           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9635           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->wid));
    9636           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbsofar));
    9637           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbpropspec));
    9638           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbchunk));
    9639           0 :                 NDR_CHECK(ndr_push_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->propspec));
    9640           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9641             :         }
    9642           0 :         if (ndr_flags & NDR_BUFFERS) {
    9643           0 :         }
    9644           0 :         return NDR_ERR_SUCCESS;
    9645             : }
    9646             : 
    9647           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmfetchvaluein(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmfetchvaluein *r)
    9648             : {
    9649           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9650           0 :         if (ndr_flags & NDR_SCALARS) {
    9651           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9652           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->wid));
    9653           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbsofar));
    9654           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbpropspec));
    9655           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbchunk));
    9656           0 :                 NDR_CHECK(ndr_pull_wsp_cfullpropspec(ndr, NDR_SCALARS, &r->propspec));
    9657           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9658             :         }
    9659           0 :         if (ndr_flags & NDR_BUFFERS) {
    9660           0 :         }
    9661           0 :         return NDR_ERR_SUCCESS;
    9662             : }
    9663             : 
    9664           0 : static void ndr_print_flags_wsp_cpmfetchvaluein(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmfetchvaluein *r)
    9665             : {
    9666           0 :         ndr_print_wsp_cpmfetchvaluein(ndr, name, r);
    9667           0 : }
    9668             : 
    9669           0 : _PUBLIC_ void ndr_print_wsp_cpmfetchvaluein(struct ndr_print *ndr, const char *name, const struct wsp_cpmfetchvaluein *r)
    9670             : {
    9671           0 :         ndr_print_struct(ndr, name, "wsp_cpmfetchvaluein");
    9672           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9673           0 :         ndr->depth++;
    9674           0 :         ndr_print_uint32(ndr, "wid", r->wid);
    9675           0 :         ndr_print_uint32(ndr, "cbsofar", r->cbsofar);
    9676           0 :         ndr_print_uint32(ndr, "cbpropspec", r->cbpropspec);
    9677           0 :         ndr_print_uint32(ndr, "cbchunk", r->cbchunk);
    9678           0 :         ndr_print_wsp_cfullpropspec(ndr, "propspec", &r->propspec);
    9679           0 :         ndr->depth--;
    9680             : }
    9681             : 
    9682           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_i1_safe2_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_i1_safe2_array *r)
    9683             : {
    9684           0 :         uint32_t cntr_rgsabound_0;
    9685           0 :         uint32_t cntr_vdata_0;
    9686           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9687           0 :         if (ndr_flags & NDR_SCALARS) {
    9688           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9689           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
    9690           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    9691           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    9692             :                 }
    9693           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    9694           0 :                         NDR_CHECK(ndr_push_int8(ndr, NDR_SCALARS, r->vdata[cntr_vdata_0]));
    9695             :                 }
    9696           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9697             :         }
    9698           0 :         if (ndr_flags & NDR_BUFFERS) {
    9699           0 :         }
    9700           0 :         return NDR_ERR_SUCCESS;
    9701             : }
    9702             : 
    9703           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_i1_safe2_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_i1_safe2_array *r)
    9704             : {
    9705           0 :         uint32_t size_rgsabound_0 = 0;
    9706           0 :         uint32_t cntr_rgsabound_0;
    9707           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
    9708           0 :         uint32_t size_vdata_0 = 0;
    9709           0 :         uint32_t cntr_vdata_0;
    9710           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
    9711           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9712           0 :         if (ndr_flags & NDR_SCALARS) {
    9713           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9714           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
    9715           0 :                 size_rgsabound_0 = r->cdims;
    9716           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
    9717           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
    9718           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
    9719           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
    9720           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    9721             :                 }
    9722           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
    9723           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    9724           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
    9725           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
    9726           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
    9727           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
    9728           0 :                         NDR_CHECK(ndr_pull_int8(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
    9729             :                 }
    9730           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
    9731           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9732             :         }
    9733           0 :         if (ndr_flags & NDR_BUFFERS) {
    9734           0 :         }
    9735           0 :         return NDR_ERR_SUCCESS;
    9736             : }
    9737             : 
    9738           0 : static void ndr_print_flags_vt_i1_safe2_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_i1_safe2_array *r)
    9739             : {
    9740           0 :         ndr_print_vt_i1_safe2_array(ndr, name, r);
    9741           0 : }
    9742             : 
    9743           0 : _PUBLIC_ void ndr_print_vt_i1_safe2_array(struct ndr_print *ndr, const char *name, const struct vt_i1_safe2_array *r)
    9744             : {
    9745           0 :         uint32_t cntr_rgsabound_0;
    9746           0 :         uint32_t cntr_vdata_0;
    9747           0 :         ndr_print_struct(ndr, name, "vt_i1_safe2_array");
    9748           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9749           0 :         ndr->depth++;
    9750           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
    9751           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
    9752           0 :         ndr->depth++;
    9753           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    9754           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
    9755             :         }
    9756           0 :         ndr->depth--;
    9757           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
    9758           0 :         ndr->depth++;
    9759           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    9760           0 :                 ndr_print_int8(ndr, "vdata", r->vdata[cntr_vdata_0]);
    9761             :         }
    9762           0 :         ndr->depth--;
    9763           0 :         ndr->depth--;
    9764             : }
    9765             : 
    9766           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_ui1_safe2_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_ui1_safe2_array *r)
    9767             : {
    9768           0 :         uint32_t cntr_rgsabound_0;
    9769           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9770           0 :         if (ndr_flags & NDR_SCALARS) {
    9771           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9772           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
    9773           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    9774           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    9775             :                 }
    9776           0 :                 NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->vdata, calc_array_size(r->rgsabound, r->cdims)));
    9777           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9778             :         }
    9779           0 :         if (ndr_flags & NDR_BUFFERS) {
    9780           0 :         }
    9781           0 :         return NDR_ERR_SUCCESS;
    9782             : }
    9783             : 
    9784           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_ui1_safe2_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_ui1_safe2_array *r)
    9785             : {
    9786           0 :         uint32_t size_rgsabound_0 = 0;
    9787           0 :         uint32_t cntr_rgsabound_0;
    9788           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
    9789           0 :         uint32_t size_vdata_0 = 0;
    9790           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9791           0 :         if (ndr_flags & NDR_SCALARS) {
    9792           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9793           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
    9794           0 :                 size_rgsabound_0 = r->cdims;
    9795           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
    9796           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
    9797           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
    9798           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
    9799           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    9800             :                 }
    9801           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
    9802           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    9803           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
    9804           0 :                 NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->vdata, size_vdata_0));
    9805           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9806             :         }
    9807           0 :         if (ndr_flags & NDR_BUFFERS) {
    9808           0 :         }
    9809           0 :         return NDR_ERR_SUCCESS;
    9810             : }
    9811             : 
    9812           0 : static void ndr_print_flags_vt_ui1_safe2_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_ui1_safe2_array *r)
    9813             : {
    9814           0 :         ndr_print_vt_ui1_safe2_array(ndr, name, r);
    9815           0 : }
    9816             : 
    9817           0 : _PUBLIC_ void ndr_print_vt_ui1_safe2_array(struct ndr_print *ndr, const char *name, const struct vt_ui1_safe2_array *r)
    9818             : {
    9819           0 :         uint32_t cntr_rgsabound_0;
    9820           0 :         ndr_print_struct(ndr, name, "vt_ui1_safe2_array");
    9821           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9822           0 :         ndr->depth++;
    9823           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
    9824           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
    9825           0 :         ndr->depth++;
    9826           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    9827           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
    9828             :         }
    9829           0 :         ndr->depth--;
    9830           0 :         ndr_print_array_uint8(ndr, "vdata", r->vdata, calc_array_size(r->rgsabound, r->cdims));
    9831           0 :         ndr->depth--;
    9832             : }
    9833             : 
    9834           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_i2_safe2_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_i2_safe2_array *r)
    9835             : {
    9836           0 :         uint32_t cntr_rgsabound_0;
    9837           0 :         uint32_t cntr_vdata_0;
    9838           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9839           0 :         if (ndr_flags & NDR_SCALARS) {
    9840           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9841           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
    9842           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    9843           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    9844             :                 }
    9845           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    9846           0 :                         NDR_CHECK(ndr_push_int16(ndr, NDR_SCALARS, r->vdata[cntr_vdata_0]));
    9847             :                 }
    9848           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9849             :         }
    9850           0 :         if (ndr_flags & NDR_BUFFERS) {
    9851           0 :         }
    9852           0 :         return NDR_ERR_SUCCESS;
    9853             : }
    9854             : 
    9855           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_i2_safe2_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_i2_safe2_array *r)
    9856             : {
    9857           0 :         uint32_t size_rgsabound_0 = 0;
    9858           0 :         uint32_t cntr_rgsabound_0;
    9859           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
    9860           0 :         uint32_t size_vdata_0 = 0;
    9861           0 :         uint32_t cntr_vdata_0;
    9862           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
    9863           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9864           0 :         if (ndr_flags & NDR_SCALARS) {
    9865           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9866           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
    9867           0 :                 size_rgsabound_0 = r->cdims;
    9868           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
    9869           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
    9870           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
    9871           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
    9872           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    9873             :                 }
    9874           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
    9875           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    9876           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
    9877           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
    9878           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
    9879           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
    9880           0 :                         NDR_CHECK(ndr_pull_int16(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
    9881             :                 }
    9882           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
    9883           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9884             :         }
    9885           0 :         if (ndr_flags & NDR_BUFFERS) {
    9886           0 :         }
    9887           0 :         return NDR_ERR_SUCCESS;
    9888             : }
    9889             : 
    9890           0 : static void ndr_print_flags_vt_i2_safe2_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_i2_safe2_array *r)
    9891             : {
    9892           0 :         ndr_print_vt_i2_safe2_array(ndr, name, r);
    9893           0 : }
    9894             : 
    9895           0 : _PUBLIC_ void ndr_print_vt_i2_safe2_array(struct ndr_print *ndr, const char *name, const struct vt_i2_safe2_array *r)
    9896             : {
    9897           0 :         uint32_t cntr_rgsabound_0;
    9898           0 :         uint32_t cntr_vdata_0;
    9899           0 :         ndr_print_struct(ndr, name, "vt_i2_safe2_array");
    9900           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9901           0 :         ndr->depth++;
    9902           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
    9903           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
    9904           0 :         ndr->depth++;
    9905           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    9906           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
    9907             :         }
    9908           0 :         ndr->depth--;
    9909           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
    9910           0 :         ndr->depth++;
    9911           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    9912           0 :                 ndr_print_int16(ndr, "vdata", r->vdata[cntr_vdata_0]);
    9913             :         }
    9914           0 :         ndr->depth--;
    9915           0 :         ndr->depth--;
    9916             : }
    9917             : 
    9918           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_ui2_safe2_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_ui2_safe2_array *r)
    9919             : {
    9920           0 :         uint32_t cntr_rgsabound_0;
    9921           0 :         uint32_t cntr_vdata_0;
    9922           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
    9923           0 :         if (ndr_flags & NDR_SCALARS) {
    9924           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
    9925           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
    9926           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    9927           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    9928             :                 }
    9929           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    9930           0 :                         NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->vdata[cntr_vdata_0]));
    9931             :                 }
    9932           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
    9933             :         }
    9934           0 :         if (ndr_flags & NDR_BUFFERS) {
    9935           0 :         }
    9936           0 :         return NDR_ERR_SUCCESS;
    9937             : }
    9938             : 
    9939           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_ui2_safe2_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_ui2_safe2_array *r)
    9940             : {
    9941           0 :         uint32_t size_rgsabound_0 = 0;
    9942           0 :         uint32_t cntr_rgsabound_0;
    9943           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
    9944           0 :         uint32_t size_vdata_0 = 0;
    9945           0 :         uint32_t cntr_vdata_0;
    9946           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
    9947           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
    9948           0 :         if (ndr_flags & NDR_SCALARS) {
    9949           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
    9950           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
    9951           0 :                 size_rgsabound_0 = r->cdims;
    9952           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
    9953           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
    9954           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
    9955           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
    9956           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
    9957             :                 }
    9958           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
    9959           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
    9960           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
    9961           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
    9962           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
    9963           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
    9964           0 :                         NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
    9965             :                 }
    9966           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
    9967           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
    9968             :         }
    9969           0 :         if (ndr_flags & NDR_BUFFERS) {
    9970           0 :         }
    9971           0 :         return NDR_ERR_SUCCESS;
    9972             : }
    9973             : 
    9974           0 : static void ndr_print_flags_vt_ui2_safe2_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_ui2_safe2_array *r)
    9975             : {
    9976           0 :         ndr_print_vt_ui2_safe2_array(ndr, name, r);
    9977           0 : }
    9978             : 
    9979           0 : _PUBLIC_ void ndr_print_vt_ui2_safe2_array(struct ndr_print *ndr, const char *name, const struct vt_ui2_safe2_array *r)
    9980             : {
    9981           0 :         uint32_t cntr_rgsabound_0;
    9982           0 :         uint32_t cntr_vdata_0;
    9983           0 :         ndr_print_struct(ndr, name, "vt_ui2_safe2_array");
    9984           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
    9985           0 :         ndr->depth++;
    9986           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
    9987           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
    9988           0 :         ndr->depth++;
    9989           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
    9990           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
    9991             :         }
    9992           0 :         ndr->depth--;
    9993           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
    9994           0 :         ndr->depth++;
    9995           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
    9996           0 :                 ndr_print_uint16(ndr, "vdata", r->vdata[cntr_vdata_0]);
    9997             :         }
    9998           0 :         ndr->depth--;
    9999           0 :         ndr->depth--;
   10000             : }
   10001             : 
   10002           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_i4_safe2_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_i4_safe2_array *r)
   10003             : {
   10004           0 :         uint32_t cntr_rgsabound_0;
   10005           0 :         uint32_t cntr_vdata_0;
   10006           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   10007           0 :         if (ndr_flags & NDR_SCALARS) {
   10008           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   10009           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
   10010           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
   10011           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
   10012             :                 }
   10013           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
   10014           0 :                         NDR_CHECK(ndr_push_int32(ndr, NDR_SCALARS, r->vdata[cntr_vdata_0]));
   10015             :                 }
   10016           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   10017             :         }
   10018           0 :         if (ndr_flags & NDR_BUFFERS) {
   10019           0 :         }
   10020           0 :         return NDR_ERR_SUCCESS;
   10021             : }
   10022             : 
   10023           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_i4_safe2_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_i4_safe2_array *r)
   10024             : {
   10025           0 :         uint32_t size_rgsabound_0 = 0;
   10026           0 :         uint32_t cntr_rgsabound_0;
   10027           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
   10028           0 :         uint32_t size_vdata_0 = 0;
   10029           0 :         uint32_t cntr_vdata_0;
   10030           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
   10031           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   10032           0 :         if (ndr_flags & NDR_SCALARS) {
   10033           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   10034           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
   10035           0 :                 size_rgsabound_0 = r->cdims;
   10036           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
   10037           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
   10038           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
   10039           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
   10040           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
   10041             :                 }
   10042           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
   10043           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
   10044           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
   10045           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
   10046           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
   10047           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
   10048           0 :                         NDR_CHECK(ndr_pull_int32(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
   10049             :                 }
   10050           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
   10051           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   10052             :         }
   10053           0 :         if (ndr_flags & NDR_BUFFERS) {
   10054           0 :         }
   10055           0 :         return NDR_ERR_SUCCESS;
   10056             : }
   10057             : 
   10058           0 : static void ndr_print_flags_vt_i4_safe2_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_i4_safe2_array *r)
   10059             : {
   10060           0 :         ndr_print_vt_i4_safe2_array(ndr, name, r);
   10061           0 : }
   10062             : 
   10063           0 : _PUBLIC_ void ndr_print_vt_i4_safe2_array(struct ndr_print *ndr, const char *name, const struct vt_i4_safe2_array *r)
   10064             : {
   10065           0 :         uint32_t cntr_rgsabound_0;
   10066           0 :         uint32_t cntr_vdata_0;
   10067           0 :         ndr_print_struct(ndr, name, "vt_i4_safe2_array");
   10068           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   10069           0 :         ndr->depth++;
   10070           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
   10071           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
   10072           0 :         ndr->depth++;
   10073           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
   10074           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
   10075             :         }
   10076           0 :         ndr->depth--;
   10077           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
   10078           0 :         ndr->depth++;
   10079           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
   10080           0 :                 ndr_print_int32(ndr, "vdata", r->vdata[cntr_vdata_0]);
   10081             :         }
   10082           0 :         ndr->depth--;
   10083           0 :         ndr->depth--;
   10084             : }
   10085             : 
   10086           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_ui4_safe2_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_ui4_safe2_array *r)
   10087             : {
   10088           0 :         uint32_t cntr_rgsabound_0;
   10089           0 :         uint32_t cntr_vdata_0;
   10090           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   10091           0 :         if (ndr_flags & NDR_SCALARS) {
   10092           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   10093           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
   10094           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
   10095           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
   10096             :                 }
   10097           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
   10098           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vdata[cntr_vdata_0]));
   10099             :                 }
   10100           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   10101             :         }
   10102           0 :         if (ndr_flags & NDR_BUFFERS) {
   10103           0 :         }
   10104           0 :         return NDR_ERR_SUCCESS;
   10105             : }
   10106             : 
   10107           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_ui4_safe2_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_ui4_safe2_array *r)
   10108             : {
   10109           0 :         uint32_t size_rgsabound_0 = 0;
   10110           0 :         uint32_t cntr_rgsabound_0;
   10111           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
   10112           0 :         uint32_t size_vdata_0 = 0;
   10113           0 :         uint32_t cntr_vdata_0;
   10114           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
   10115           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   10116           0 :         if (ndr_flags & NDR_SCALARS) {
   10117           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   10118           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
   10119           0 :                 size_rgsabound_0 = r->cdims;
   10120           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
   10121           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
   10122           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
   10123           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
   10124           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
   10125             :                 }
   10126           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
   10127           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
   10128           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
   10129           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
   10130           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
   10131           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
   10132           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
   10133             :                 }
   10134           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
   10135           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   10136             :         }
   10137           0 :         if (ndr_flags & NDR_BUFFERS) {
   10138           0 :         }
   10139           0 :         return NDR_ERR_SUCCESS;
   10140             : }
   10141             : 
   10142           0 : static void ndr_print_flags_vt_ui4_safe2_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_ui4_safe2_array *r)
   10143             : {
   10144           0 :         ndr_print_vt_ui4_safe2_array(ndr, name, r);
   10145           0 : }
   10146             : 
   10147           0 : _PUBLIC_ void ndr_print_vt_ui4_safe2_array(struct ndr_print *ndr, const char *name, const struct vt_ui4_safe2_array *r)
   10148             : {
   10149           0 :         uint32_t cntr_rgsabound_0;
   10150           0 :         uint32_t cntr_vdata_0;
   10151           0 :         ndr_print_struct(ndr, name, "vt_ui4_safe2_array");
   10152           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   10153           0 :         ndr->depth++;
   10154           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
   10155           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
   10156           0 :         ndr->depth++;
   10157           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
   10158           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
   10159             :         }
   10160           0 :         ndr->depth--;
   10161           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
   10162           0 :         ndr->depth++;
   10163           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
   10164           0 :                 ndr_print_uint32(ndr, "vdata", r->vdata[cntr_vdata_0]);
   10165             :         }
   10166           0 :         ndr->depth--;
   10167           0 :         ndr->depth--;
   10168             : }
   10169             : 
   10170           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_dlong_safe2_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_dlong_safe2_array *r)
   10171             : {
   10172           0 :         uint32_t cntr_rgsabound_0;
   10173           0 :         uint32_t cntr_vdata_0;
   10174           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   10175           0 :         if (ndr_flags & NDR_SCALARS) {
   10176           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   10177           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
   10178           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
   10179           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
   10180             :                 }
   10181           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
   10182           0 :                         NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->vdata[cntr_vdata_0]));
   10183             :                 }
   10184           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   10185             :         }
   10186           0 :         if (ndr_flags & NDR_BUFFERS) {
   10187           0 :         }
   10188           0 :         return NDR_ERR_SUCCESS;
   10189             : }
   10190             : 
   10191           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_dlong_safe2_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_dlong_safe2_array *r)
   10192             : {
   10193           0 :         uint32_t size_rgsabound_0 = 0;
   10194           0 :         uint32_t cntr_rgsabound_0;
   10195           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
   10196           0 :         uint32_t size_vdata_0 = 0;
   10197           0 :         uint32_t cntr_vdata_0;
   10198           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
   10199           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   10200           0 :         if (ndr_flags & NDR_SCALARS) {
   10201           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   10202           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
   10203           0 :                 size_rgsabound_0 = r->cdims;
   10204           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
   10205           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
   10206           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
   10207           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
   10208           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
   10209             :                 }
   10210           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
   10211           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
   10212           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
   10213           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
   10214           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
   10215           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
   10216           0 :                         NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
   10217             :                 }
   10218           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
   10219           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   10220             :         }
   10221           0 :         if (ndr_flags & NDR_BUFFERS) {
   10222           0 :         }
   10223           0 :         return NDR_ERR_SUCCESS;
   10224             : }
   10225             : 
   10226           0 : static void ndr_print_flags_vt_dlong_safe2_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_dlong_safe2_array *r)
   10227             : {
   10228           0 :         ndr_print_vt_dlong_safe2_array(ndr, name, r);
   10229           0 : }
   10230             : 
   10231           0 : _PUBLIC_ void ndr_print_vt_dlong_safe2_array(struct ndr_print *ndr, const char *name, const struct vt_dlong_safe2_array *r)
   10232             : {
   10233           0 :         uint32_t cntr_rgsabound_0;
   10234           0 :         uint32_t cntr_vdata_0;
   10235           0 :         ndr_print_struct(ndr, name, "vt_dlong_safe2_array");
   10236           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   10237           0 :         ndr->depth++;
   10238           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
   10239           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
   10240           0 :         ndr->depth++;
   10241           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
   10242           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
   10243             :         }
   10244           0 :         ndr->depth--;
   10245           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
   10246           0 :         ndr->depth++;
   10247           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
   10248           0 :                 ndr_print_dlong(ndr, "vdata", r->vdata[cntr_vdata_0]);
   10249             :         }
   10250           0 :         ndr->depth--;
   10251           0 :         ndr->depth--;
   10252             : }
   10253             : 
   10254           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_bstr_safe2_array(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_bstr_safe2_array *r)
   10255             : {
   10256           0 :         uint32_t cntr_rgsabound_0;
   10257           0 :         uint32_t cntr_vdata_0;
   10258           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   10259           0 :         if (ndr_flags & NDR_SCALARS) {
   10260           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   10261           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
   10262           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
   10263           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
   10264             :                 }
   10265           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
   10266           0 :                         NDR_CHECK(ndr_push_vt_bstr(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
   10267             :                 }
   10268           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   10269             :         }
   10270           0 :         if (ndr_flags & NDR_BUFFERS) {
   10271           0 :         }
   10272           0 :         return NDR_ERR_SUCCESS;
   10273             : }
   10274             : 
   10275           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_bstr_safe2_array(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_bstr_safe2_array *r)
   10276             : {
   10277           0 :         uint32_t size_rgsabound_0 = 0;
   10278           0 :         uint32_t cntr_rgsabound_0;
   10279           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
   10280           0 :         uint32_t size_vdata_0 = 0;
   10281           0 :         uint32_t cntr_vdata_0;
   10282           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
   10283           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   10284           0 :         if (ndr_flags & NDR_SCALARS) {
   10285           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   10286           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
   10287           0 :                 size_rgsabound_0 = r->cdims;
   10288           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
   10289           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
   10290           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
   10291           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
   10292           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
   10293             :                 }
   10294           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
   10295           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
   10296           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
   10297           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
   10298           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
   10299           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
   10300           0 :                         NDR_CHECK(ndr_pull_vt_bstr(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
   10301             :                 }
   10302           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
   10303           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   10304             :         }
   10305           0 :         if (ndr_flags & NDR_BUFFERS) {
   10306           0 :         }
   10307           0 :         return NDR_ERR_SUCCESS;
   10308             : }
   10309             : 
   10310           0 : static void ndr_print_flags_vt_bstr_safe2_array(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_bstr_safe2_array *r)
   10311             : {
   10312           0 :         ndr_print_vt_bstr_safe2_array(ndr, name, r);
   10313           0 : }
   10314             : 
   10315           0 : _PUBLIC_ void ndr_print_vt_bstr_safe2_array(struct ndr_print *ndr, const char *name, const struct vt_bstr_safe2_array *r)
   10316             : {
   10317           0 :         uint32_t cntr_rgsabound_0;
   10318           0 :         uint32_t cntr_vdata_0;
   10319           0 :         ndr_print_struct(ndr, name, "vt_bstr_safe2_array");
   10320           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   10321           0 :         ndr->depth++;
   10322           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
   10323           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
   10324           0 :         ndr->depth++;
   10325           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
   10326           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
   10327             :         }
   10328           0 :         ndr->depth--;
   10329           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
   10330           0 :         ndr->depth++;
   10331           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
   10332           0 :                 ndr_print_vt_bstr(ndr, "vdata", &r->vdata[cntr_vdata_0]);
   10333             :         }
   10334           0 :         ndr->depth--;
   10335           0 :         ndr->depth--;
   10336             : }
   10337             : 
   10338           0 : _PUBLIC_ enum ndr_err_code ndr_push_vt_variant_wrap_safearray2(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct vt_variant_wrap_safearray2 *r)
   10339             : {
   10340           0 :         uint32_t cntr_rgsabound_0;
   10341           0 :         uint32_t cntr_vdata_0;
   10342           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   10343           0 :         if (ndr_flags & NDR_SCALARS) {
   10344           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   10345           0 :                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->cdims));
   10346           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
   10347           0 :                         NDR_CHECK(ndr_push_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
   10348             :                 }
   10349           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
   10350           0 :                         NDR_CHECK(ndr_push_vt_variant_wrap(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
   10351             :                 }
   10352           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   10353             :         }
   10354           0 :         if (ndr_flags & NDR_BUFFERS) {
   10355           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
   10356           0 :                         NDR_CHECK(ndr_push_vt_variant_wrap(ndr, NDR_BUFFERS, &r->vdata[cntr_vdata_0]));
   10357             :                 }
   10358             :         }
   10359           0 :         return NDR_ERR_SUCCESS;
   10360             : }
   10361             : 
   10362           0 : _PUBLIC_ enum ndr_err_code ndr_pull_vt_variant_wrap_safearray2(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct vt_variant_wrap_safearray2 *r)
   10363             : {
   10364           0 :         uint32_t size_rgsabound_0 = 0;
   10365           0 :         uint32_t cntr_rgsabound_0;
   10366           0 :         TALLOC_CTX *_mem_save_rgsabound_0 = NULL;
   10367           0 :         uint32_t size_vdata_0 = 0;
   10368           0 :         uint32_t cntr_vdata_0;
   10369           0 :         TALLOC_CTX *_mem_save_vdata_0 = NULL;
   10370           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   10371           0 :         if (ndr_flags & NDR_SCALARS) {
   10372           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   10373           0 :                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->cdims));
   10374           0 :                 size_rgsabound_0 = r->cdims;
   10375           0 :                 NDR_PULL_ALLOC_N(ndr, r->rgsabound, size_rgsabound_0);
   10376           0 :                 _mem_save_rgsabound_0 = NDR_PULL_GET_MEM_CTX(ndr);
   10377           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->rgsabound, 0);
   10378           0 :                 for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (size_rgsabound_0); cntr_rgsabound_0++) {
   10379           0 :                         NDR_CHECK(ndr_pull_safearraybound(ndr, NDR_SCALARS, &r->rgsabound[cntr_rgsabound_0]));
   10380             :                 }
   10381           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_rgsabound_0, 0);
   10382           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
   10383           0 :                 NDR_PULL_ALLOC_N(ndr, r->vdata, size_vdata_0);
   10384           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
   10385           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
   10386           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
   10387           0 :                         NDR_CHECK(ndr_pull_vt_variant_wrap(ndr, NDR_SCALARS, &r->vdata[cntr_vdata_0]));
   10388             :                 }
   10389           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
   10390           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   10391             :         }
   10392           0 :         if (ndr_flags & NDR_BUFFERS) {
   10393           0 :                 size_vdata_0 = calc_array_size(r->rgsabound, r->cdims);
   10394           0 :                 _mem_save_vdata_0 = NDR_PULL_GET_MEM_CTX(ndr);
   10395           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->vdata, 0);
   10396           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
   10397           0 :                         NDR_CHECK(ndr_pull_vt_variant_wrap(ndr, NDR_BUFFERS, &r->vdata[cntr_vdata_0]));
   10398             :                 }
   10399           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_vdata_0, 0);
   10400           0 :                 for (cntr_vdata_0 = 0; cntr_vdata_0 < (size_vdata_0); cntr_vdata_0++) {
   10401             :                 }
   10402             :         }
   10403           0 :         return NDR_ERR_SUCCESS;
   10404             : }
   10405             : 
   10406           0 : static void ndr_print_flags_vt_variant_wrap_safearray2(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct vt_variant_wrap_safearray2 *r)
   10407             : {
   10408           0 :         ndr_print_vt_variant_wrap_safearray2(ndr, name, r);
   10409           0 : }
   10410             : 
   10411           0 : _PUBLIC_ void ndr_print_vt_variant_wrap_safearray2(struct ndr_print *ndr, const char *name, const struct vt_variant_wrap_safearray2 *r)
   10412             : {
   10413           0 :         uint32_t cntr_rgsabound_0;
   10414           0 :         uint32_t cntr_vdata_0;
   10415           0 :         ndr_print_struct(ndr, name, "vt_variant_wrap_safearray2");
   10416           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   10417           0 :         ndr->depth++;
   10418           0 :         ndr_print_uint16(ndr, "cdims", r->cdims);
   10419           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "rgsabound", (uint32_t)(r->cdims));
   10420           0 :         ndr->depth++;
   10421           0 :         for (cntr_rgsabound_0 = 0; cntr_rgsabound_0 < (r->cdims); cntr_rgsabound_0++) {
   10422           0 :                 ndr_print_safearraybound(ndr, "rgsabound", &r->rgsabound[cntr_rgsabound_0]);
   10423             :         }
   10424           0 :         ndr->depth--;
   10425           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "vdata", (uint32_t)(calc_array_size(r->rgsabound, r->cdims)));
   10426           0 :         ndr->depth++;
   10427           0 :         for (cntr_vdata_0 = 0; cntr_vdata_0 < (calc_array_size(r->rgsabound, r->cdims)); cntr_vdata_0++) {
   10428           0 :                 ndr_print_vt_variant_wrap(ndr, "vdata", &r->vdata[cntr_vdata_0]);
   10429             :         }
   10430           0 :         ndr->depth--;
   10431           0 :         ndr->depth--;
   10432             : }
   10433             : 
   10434           0 : _PUBLIC_ enum ndr_err_code ndr_push_serialised_types(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union serialised_types *r)
   10435             : {
   10436           0 :         uint32_t level;
   10437           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   10438           0 :         if (ndr_flags & NDR_SCALARS) {
   10439             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
   10440           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
   10441           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
   10442           0 :                 switch (level) {
   10443           0 :                         case VT_I1: {
   10444           0 :                                 NDR_CHECK(ndr_push_int8(ndr, NDR_SCALARS, r->vt_i1));
   10445           0 :                         break; }
   10446             : 
   10447           0 :                         case VT_I1|VT_ARRAY: {
   10448           0 :                                 NDR_CHECK(ndr_push_vt_i1_safe2_array(ndr, NDR_SCALARS, &r->vt_i1_array));
   10449           0 :                         break; }
   10450             : 
   10451           0 :                         case VT_I1|VT_VECTOR: {
   10452           0 :                                 NDR_CHECK(ndr_push_vt_i1_vec(ndr, NDR_SCALARS, &r->vt_i1_vec));
   10453           0 :                         break; }
   10454             : 
   10455           0 :                         case VT_UI1: {
   10456           0 :                                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->vt_ui1));
   10457           0 :                         break; }
   10458             : 
   10459           0 :                         case VT_UI1|VT_ARRAY: {
   10460           0 :                                 NDR_CHECK(ndr_push_vt_ui1_safe2_array(ndr, NDR_SCALARS, &r->vt_ui1_array));
   10461           0 :                         break; }
   10462             : 
   10463           0 :                         case VT_UI1|VT_VECTOR: {
   10464           0 :                                 NDR_CHECK(ndr_push_vt_ui1_vec(ndr, NDR_SCALARS, &r->vt_ui1_vec));
   10465           0 :                         break; }
   10466             : 
   10467           0 :                         case VT_I2: {
   10468           0 :                                 NDR_CHECK(ndr_push_int16(ndr, NDR_SCALARS, r->vt_i2));
   10469           0 :                         break; }
   10470             : 
   10471           0 :                         case VT_I2|VT_ARRAY: {
   10472           0 :                                 NDR_CHECK(ndr_push_vt_i2_safe2_array(ndr, NDR_SCALARS, &r->vt_i2_array));
   10473           0 :                         break; }
   10474             : 
   10475           0 :                         case VT_I2|VT_VECTOR: {
   10476           0 :                                 NDR_CHECK(ndr_push_vt_i2_vec(ndr, NDR_SCALARS, &r->vt_i2_vec));
   10477           0 :                         break; }
   10478             : 
   10479           0 :                         case VT_UI2: {
   10480           0 :                                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->vt_ui2));
   10481           0 :                         break; }
   10482             : 
   10483           0 :                         case VT_UI2|VT_ARRAY: {
   10484           0 :                                 NDR_CHECK(ndr_push_vt_ui2_safe2_array(ndr, NDR_SCALARS, &r->vt_ui2_array));
   10485           0 :                         break; }
   10486             : 
   10487           0 :                         case VT_UI2|VT_VECTOR: {
   10488           0 :                                 NDR_CHECK(ndr_push_vt_ui2_vec(ndr, NDR_SCALARS, &r->vt_ui2_vec));
   10489           0 :                         break; }
   10490             : 
   10491           0 :                         case VT_BOOL: {
   10492           0 :                                 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->vt_bool));
   10493           0 :                         break; }
   10494             : 
   10495           0 :                         case VT_BOOL|VT_ARRAY: {
   10496           0 :                                 NDR_CHECK(ndr_push_vt_ui2_safe2_array(ndr, NDR_SCALARS, &r->vt_bool_array));
   10497           0 :                         break; }
   10498             : 
   10499           0 :                         case VT_BOOL|VT_VECTOR: {
   10500           0 :                                 NDR_CHECK(ndr_push_vt_ui2_vec(ndr, NDR_SCALARS, &r->vt_bool_vec));
   10501           0 :                         break; }
   10502             : 
   10503           0 :                         case VT_I4: {
   10504           0 :                                 NDR_CHECK(ndr_push_int32(ndr, NDR_SCALARS, r->vt_i4));
   10505           0 :                         break; }
   10506             : 
   10507           0 :                         case VT_I4|VT_VECTOR: {
   10508           0 :                                 NDR_CHECK(ndr_push_vt_i4_vec(ndr, NDR_SCALARS, &r->vt_i4_vec));
   10509           0 :                         break; }
   10510             : 
   10511           0 :                         case VT_I4|VT_ARRAY: {
   10512           0 :                                 NDR_CHECK(ndr_push_vt_i4_safe2_array(ndr, NDR_SCALARS, &r->vt_i4_array));
   10513           0 :                         break; }
   10514             : 
   10515           0 :                         case VT_UI4: {
   10516           0 :                                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vt_ui4));
   10517           0 :                         break; }
   10518             : 
   10519           0 :                         case VT_UI4|VT_VECTOR: {
   10520           0 :                                 NDR_CHECK(ndr_push_vt_ui4_vec(ndr, NDR_SCALARS, &r->vt_ui4_vec));
   10521           0 :                         break; }
   10522             : 
   10523           0 :                         case VT_UI4|VT_ARRAY: {
   10524           0 :                                 NDR_CHECK(ndr_push_vt_ui4_safe2_array(ndr, NDR_SCALARS, &r->vt_ui4_array));
   10525           0 :                         break; }
   10526             : 
   10527           0 :                         case VT_R4: {
   10528           0 :                                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vt_r4));
   10529           0 :                         break; }
   10530             : 
   10531           0 :                         case VT_R4|VT_VECTOR: {
   10532           0 :                                 NDR_CHECK(ndr_push_vt_i4_vec(ndr, NDR_SCALARS, &r->vt_r4_vec));
   10533           0 :                         break; }
   10534             : 
   10535           0 :                         case VT_R4|VT_ARRAY: {
   10536           0 :                                 NDR_CHECK(ndr_push_vt_i4_safe2_array(ndr, NDR_SCALARS, &r->vt_r4_array));
   10537           0 :                         break; }
   10538             : 
   10539           0 :                         case VT_INT: {
   10540           0 :                                 NDR_CHECK(ndr_push_int32(ndr, NDR_SCALARS, r->vt_int));
   10541           0 :                         break; }
   10542             : 
   10543           0 :                         case VT_INT|VT_ARRAY: {
   10544           0 :                                 NDR_CHECK(ndr_push_vt_i4_safe2_array(ndr, NDR_SCALARS, &r->vt_int_array));
   10545           0 :                         break; }
   10546             : 
   10547           0 :                         case VT_UINT: {
   10548           0 :                                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vt_uint));
   10549           0 :                         break; }
   10550             : 
   10551           0 :                         case VT_UINT|VT_ARRAY: {
   10552           0 :                                 NDR_CHECK(ndr_push_vt_ui4_safe2_array(ndr, NDR_SCALARS, &r->vt_uint_array));
   10553           0 :                         break; }
   10554             : 
   10555           0 :                         case VT_ERROR: {
   10556           0 :                                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->vt_error));
   10557           0 :                         break; }
   10558             : 
   10559           0 :                         case VT_ERROR|VT_VECTOR: {
   10560           0 :                                 NDR_CHECK(ndr_push_vt_ui4_vec(ndr, NDR_SCALARS, &r->vt_error_vec));
   10561           0 :                         break; }
   10562             : 
   10563           0 :                         case VT_ERROR|VT_ARRAY: {
   10564           0 :                                 NDR_CHECK(ndr_push_vt_ui4_safe2_array(ndr, NDR_SCALARS, &r->vt_error_array));
   10565           0 :                         break; }
   10566             : 
   10567           0 :                         case VT_I8: {
   10568           0 :                                 NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->vt_i8));
   10569           0 :                         break; }
   10570             : 
   10571           0 :                         case VT_I8|VT_VECTOR: {
   10572           0 :                                 NDR_CHECK(ndr_push_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_i8_vec));
   10573           0 :                         break; }
   10574             : 
   10575           0 :                         case VT_UI8: {
   10576           0 :                                 NDR_CHECK(ndr_push_udlong(ndr, NDR_SCALARS, r->vt_ui8));
   10577           0 :                         break; }
   10578             : 
   10579           0 :                         case VT_UI8|VT_VECTOR: {
   10580           0 :                                 NDR_CHECK(ndr_push_vt_udlong_vec(ndr, NDR_SCALARS, &r->vt_ui8_vec));
   10581           0 :                         break; }
   10582             : 
   10583           0 :                         case VT_R8: {
   10584           0 :                                 NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->vt_r8));
   10585           0 :                         break; }
   10586             : 
   10587           0 :                         case VT_R8|VT_VECTOR: {
   10588           0 :                                 NDR_CHECK(ndr_push_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_r8_vec));
   10589           0 :                         break; }
   10590             : 
   10591           0 :                         case VT_R8|VT_ARRAY: {
   10592           0 :                                 NDR_CHECK(ndr_push_vt_dlong_safe2_array(ndr, NDR_SCALARS, &r->vt_r8_array));
   10593           0 :                         break; }
   10594             : 
   10595           0 :                         case VT_CY: {
   10596           0 :                                 NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->vt_cy));
   10597           0 :                         break; }
   10598             : 
   10599           0 :                         case VT_CY|VT_VECTOR: {
   10600           0 :                                 NDR_CHECK(ndr_push_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_cy_vec));
   10601           0 :                         break; }
   10602             : 
   10603           0 :                         case VT_CY|VT_ARRAY: {
   10604           0 :                                 NDR_CHECK(ndr_push_vt_dlong_safe2_array(ndr, NDR_SCALARS, &r->vt_cy_array));
   10605           0 :                         break; }
   10606             : 
   10607           0 :                         case VT_DATE: {
   10608           0 :                                 NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->vt_date));
   10609           0 :                         break; }
   10610             : 
   10611           0 :                         case VT_DATE|VT_VECTOR: {
   10612           0 :                                 NDR_CHECK(ndr_push_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_date_vec));
   10613           0 :                         break; }
   10614             : 
   10615           0 :                         case VT_DATE|VT_ARRAY: {
   10616           0 :                                 NDR_CHECK(ndr_push_vt_dlong_safe2_array(ndr, NDR_SCALARS, &r->vt_date_array));
   10617           0 :                         break; }
   10618             : 
   10619           0 :                         case VT_FILETIME: {
   10620           0 :                                 NDR_CHECK(ndr_push_udlong(ndr, NDR_SCALARS, r->vt_filetime));
   10621           0 :                         break; }
   10622             : 
   10623           0 :                         case VT_FILETIME|VT_VECTOR: {
   10624           0 :                                 NDR_CHECK(ndr_push_vt_udlong_vec(ndr, NDR_SCALARS, &r->vt_filetime_vec));
   10625           0 :                         break; }
   10626             : 
   10627           0 :                         case VT_BSTR: {
   10628           0 :                                 NDR_CHECK(ndr_push_vt_bstr(ndr, NDR_SCALARS, &r->vt_bstr));
   10629           0 :                         break; }
   10630             : 
   10631           0 :                         case VT_BSTR|VT_VECTOR: {
   10632           0 :                                 NDR_CHECK(ndr_push_vt_bstr_vec(ndr, NDR_SCALARS, &r->vt_bstr_v));
   10633           0 :                         break; }
   10634             : 
   10635           0 :                         case VT_BSTR|VT_ARRAY: {
   10636           0 :                                 NDR_CHECK(ndr_push_vt_bstr_safe2_array(ndr, NDR_SCALARS, &r->vt_bstr_array));
   10637           0 :                         break; }
   10638             : 
   10639           0 :                         case VT_LPWSTR: {
   10640           0 :                                 NDR_CHECK(ndr_push_vt_lpwstr(ndr, NDR_SCALARS, &r->vt_lpwstr));
   10641           0 :                         break; }
   10642             : 
   10643           0 :                         case VT_LPWSTR|VT_VECTOR: {
   10644           0 :                                 NDR_CHECK(ndr_push_vt_lpwstr_vec(ndr, NDR_SCALARS, &r->vt_lpwstr_v));
   10645           0 :                         break; }
   10646             : 
   10647           0 :                         case VT_COMPRESSED_LPWSTR: {
   10648           0 :                                 NDR_CHECK(ndr_push_vt_compressed_lpwstr(ndr, NDR_SCALARS, &r->vt_compressed_lpwstr));
   10649           0 :                         break; }
   10650             : 
   10651           0 :                         case VT_COMPRESSED_LPWSTR|VT_VECTOR: {
   10652           0 :                                 NDR_CHECK(ndr_push_vt_compressed_lpwstr_vec(ndr, NDR_SCALARS, &r->vt_compresseed_lpwstr_v));
   10653           0 :                         break; }
   10654             : 
   10655           0 :                         case VT_DECIMAL: {
   10656           0 :                                 NDR_CHECK(ndr_push_vt_decimal(ndr, NDR_SCALARS, &r->vt_decimal));
   10657           0 :                         break; }
   10658             : 
   10659           0 :                         case VT_DECIMAL|VT_VECTOR: {
   10660           0 :                                 NDR_CHECK(ndr_push_vt_decimal_vec(ndr, NDR_SCALARS, &r->vt_decimal_v));
   10661           0 :                         break; }
   10662             : 
   10663           0 :                         case VT_CLSID: {
   10664           0 :                                 NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->vt_clid));
   10665           0 :                         break; }
   10666             : 
   10667           0 :                         case VT_CLSID|VT_VECTOR: {
   10668           0 :                                 NDR_CHECK(ndr_push_vt_clsid_vec(ndr, NDR_SCALARS, &r->vt_clsid_v));
   10669           0 :                         break; }
   10670             : 
   10671           0 :                         case VT_BLOB: {
   10672           0 :                                 NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->vt_blob));
   10673           0 :                         break; }
   10674             : 
   10675           0 :                         case VT_BLOB_OBJECT: {
   10676           0 :                                 NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->vt_blob_object));
   10677           0 :                         break; }
   10678             : 
   10679           0 :                         case VT_NULL: {
   10680           0 :                         break; }
   10681             : 
   10682           0 :                         case VT_EMPTY: {
   10683           0 :                         break; }
   10684             : 
   10685           0 :                         case VT_VARIANT: {
   10686           0 :                                 NDR_CHECK(ndr_push_vt_variant_wrap(ndr, NDR_SCALARS, &r->vt_variant_wrap));
   10687           0 :                         break; }
   10688             : 
   10689           0 :                         case VT_VARIANT|VT_VECTOR: {
   10690           0 :                                 NDR_CHECK(ndr_push_vt_variant_wrap_vec(ndr, NDR_SCALARS, &r->vt_variant_wrap_vec));
   10691           0 :                         break; }
   10692             : 
   10693           0 :                         case VT_VARIANT|VT_ARRAY: {
   10694           0 :                                 NDR_CHECK(ndr_push_vt_variant_wrap_safearray2(ndr, NDR_SCALARS, &r->vt_variant_wrap_array));
   10695           0 :                         break; }
   10696             : 
   10697           0 :                         default:
   10698           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
   10699             :                 }
   10700             :         }
   10701           0 :         if (ndr_flags & NDR_BUFFERS) {
   10702           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
   10703             :                         /* We didn't get it above, and the token is not needed after this. */
   10704           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
   10705             :                 }
   10706           0 :                 switch (level) {
   10707           0 :                         case VT_I1:
   10708           0 :                         break;
   10709             : 
   10710           0 :                         case VT_I1|VT_ARRAY:
   10711           0 :                         break;
   10712             : 
   10713           0 :                         case VT_I1|VT_VECTOR:
   10714           0 :                         break;
   10715             : 
   10716           0 :                         case VT_UI1:
   10717           0 :                         break;
   10718             : 
   10719           0 :                         case VT_UI1|VT_ARRAY:
   10720           0 :                         break;
   10721             : 
   10722           0 :                         case VT_UI1|VT_VECTOR:
   10723           0 :                         break;
   10724             : 
   10725           0 :                         case VT_I2:
   10726           0 :                         break;
   10727             : 
   10728           0 :                         case VT_I2|VT_ARRAY:
   10729           0 :                         break;
   10730             : 
   10731           0 :                         case VT_I2|VT_VECTOR:
   10732           0 :                         break;
   10733             : 
   10734           0 :                         case VT_UI2:
   10735           0 :                         break;
   10736             : 
   10737           0 :                         case VT_UI2|VT_ARRAY:
   10738           0 :                         break;
   10739             : 
   10740           0 :                         case VT_UI2|VT_VECTOR:
   10741           0 :                         break;
   10742             : 
   10743           0 :                         case VT_BOOL:
   10744           0 :                         break;
   10745             : 
   10746           0 :                         case VT_BOOL|VT_ARRAY:
   10747           0 :                         break;
   10748             : 
   10749           0 :                         case VT_BOOL|VT_VECTOR:
   10750           0 :                         break;
   10751             : 
   10752           0 :                         case VT_I4:
   10753           0 :                         break;
   10754             : 
   10755           0 :                         case VT_I4|VT_VECTOR:
   10756           0 :                         break;
   10757             : 
   10758           0 :                         case VT_I4|VT_ARRAY:
   10759           0 :                         break;
   10760             : 
   10761           0 :                         case VT_UI4:
   10762           0 :                         break;
   10763             : 
   10764           0 :                         case VT_UI4|VT_VECTOR:
   10765           0 :                         break;
   10766             : 
   10767           0 :                         case VT_UI4|VT_ARRAY:
   10768           0 :                         break;
   10769             : 
   10770           0 :                         case VT_R4:
   10771           0 :                         break;
   10772             : 
   10773           0 :                         case VT_R4|VT_VECTOR:
   10774           0 :                         break;
   10775             : 
   10776           0 :                         case VT_R4|VT_ARRAY:
   10777           0 :                         break;
   10778             : 
   10779           0 :                         case VT_INT:
   10780           0 :                         break;
   10781             : 
   10782           0 :                         case VT_INT|VT_ARRAY:
   10783           0 :                         break;
   10784             : 
   10785           0 :                         case VT_UINT:
   10786           0 :                         break;
   10787             : 
   10788           0 :                         case VT_UINT|VT_ARRAY:
   10789           0 :                         break;
   10790             : 
   10791           0 :                         case VT_ERROR:
   10792           0 :                         break;
   10793             : 
   10794           0 :                         case VT_ERROR|VT_VECTOR:
   10795           0 :                         break;
   10796             : 
   10797           0 :                         case VT_ERROR|VT_ARRAY:
   10798           0 :                         break;
   10799             : 
   10800           0 :                         case VT_I8:
   10801           0 :                         break;
   10802             : 
   10803           0 :                         case VT_I8|VT_VECTOR:
   10804           0 :                         break;
   10805             : 
   10806           0 :                         case VT_UI8:
   10807           0 :                         break;
   10808             : 
   10809           0 :                         case VT_UI8|VT_VECTOR:
   10810           0 :                         break;
   10811             : 
   10812           0 :                         case VT_R8:
   10813           0 :                         break;
   10814             : 
   10815           0 :                         case VT_R8|VT_VECTOR:
   10816           0 :                         break;
   10817             : 
   10818           0 :                         case VT_R8|VT_ARRAY:
   10819           0 :                         break;
   10820             : 
   10821           0 :                         case VT_CY:
   10822           0 :                         break;
   10823             : 
   10824           0 :                         case VT_CY|VT_VECTOR:
   10825           0 :                         break;
   10826             : 
   10827           0 :                         case VT_CY|VT_ARRAY:
   10828           0 :                         break;
   10829             : 
   10830           0 :                         case VT_DATE:
   10831           0 :                         break;
   10832             : 
   10833           0 :                         case VT_DATE|VT_VECTOR:
   10834           0 :                         break;
   10835             : 
   10836           0 :                         case VT_DATE|VT_ARRAY:
   10837           0 :                         break;
   10838             : 
   10839           0 :                         case VT_FILETIME:
   10840           0 :                         break;
   10841             : 
   10842           0 :                         case VT_FILETIME|VT_VECTOR:
   10843           0 :                         break;
   10844             : 
   10845           0 :                         case VT_BSTR:
   10846           0 :                         break;
   10847             : 
   10848           0 :                         case VT_BSTR|VT_VECTOR:
   10849           0 :                         break;
   10850             : 
   10851           0 :                         case VT_BSTR|VT_ARRAY:
   10852           0 :                         break;
   10853             : 
   10854           0 :                         case VT_LPWSTR:
   10855           0 :                         break;
   10856             : 
   10857           0 :                         case VT_LPWSTR|VT_VECTOR:
   10858           0 :                         break;
   10859             : 
   10860           0 :                         case VT_COMPRESSED_LPWSTR:
   10861           0 :                         break;
   10862             : 
   10863           0 :                         case VT_COMPRESSED_LPWSTR|VT_VECTOR:
   10864           0 :                         break;
   10865             : 
   10866           0 :                         case VT_DECIMAL:
   10867           0 :                         break;
   10868             : 
   10869           0 :                         case VT_DECIMAL|VT_VECTOR:
   10870           0 :                         break;
   10871             : 
   10872           0 :                         case VT_CLSID:
   10873           0 :                         break;
   10874             : 
   10875           0 :                         case VT_CLSID|VT_VECTOR:
   10876           0 :                         break;
   10877             : 
   10878           0 :                         case VT_BLOB:
   10879           0 :                         break;
   10880             : 
   10881           0 :                         case VT_BLOB_OBJECT:
   10882           0 :                         break;
   10883             : 
   10884           0 :                         case VT_NULL:
   10885           0 :                         break;
   10886             : 
   10887           0 :                         case VT_EMPTY:
   10888           0 :                         break;
   10889             : 
   10890           0 :                         case VT_VARIANT:
   10891           0 :                                 NDR_CHECK(ndr_push_vt_variant_wrap(ndr, NDR_BUFFERS, &r->vt_variant_wrap));
   10892           0 :                         break;
   10893             : 
   10894           0 :                         case VT_VARIANT|VT_VECTOR:
   10895           0 :                                 NDR_CHECK(ndr_push_vt_variant_wrap_vec(ndr, NDR_BUFFERS, &r->vt_variant_wrap_vec));
   10896           0 :                         break;
   10897             : 
   10898           0 :                         case VT_VARIANT|VT_ARRAY:
   10899           0 :                                 NDR_CHECK(ndr_push_vt_variant_wrap_safearray2(ndr, NDR_BUFFERS, &r->vt_variant_wrap_array));
   10900           0 :                         break;
   10901             : 
   10902           0 :                         default:
   10903           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
   10904             :                 }
   10905             :         }
   10906           0 :         return NDR_ERR_SUCCESS;
   10907             : }
   10908             : 
   10909           0 : _PUBLIC_ enum ndr_err_code ndr_pull_serialised_types(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union serialised_types *r)
   10910             : {
   10911           0 :         uint32_t level;
   10912           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   10913           0 :         if (ndr_flags & NDR_SCALARS) {
   10914             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
   10915           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
   10916           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
   10917           0 :                 switch (level) {
   10918           0 :                         case VT_I1: {
   10919           0 :                                 NDR_CHECK(ndr_pull_int8(ndr, NDR_SCALARS, &r->vt_i1));
   10920           0 :                         break; }
   10921             : 
   10922           0 :                         case VT_I1|VT_ARRAY: {
   10923           0 :                                 NDR_CHECK(ndr_pull_vt_i1_safe2_array(ndr, NDR_SCALARS, &r->vt_i1_array));
   10924           0 :                         break; }
   10925             : 
   10926           0 :                         case VT_I1|VT_VECTOR: {
   10927           0 :                                 NDR_CHECK(ndr_pull_vt_i1_vec(ndr, NDR_SCALARS, &r->vt_i1_vec));
   10928           0 :                         break; }
   10929             : 
   10930           0 :                         case VT_UI1: {
   10931           0 :                                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->vt_ui1));
   10932           0 :                         break; }
   10933             : 
   10934           0 :                         case VT_UI1|VT_ARRAY: {
   10935           0 :                                 NDR_CHECK(ndr_pull_vt_ui1_safe2_array(ndr, NDR_SCALARS, &r->vt_ui1_array));
   10936           0 :                         break; }
   10937             : 
   10938           0 :                         case VT_UI1|VT_VECTOR: {
   10939           0 :                                 NDR_CHECK(ndr_pull_vt_ui1_vec(ndr, NDR_SCALARS, &r->vt_ui1_vec));
   10940           0 :                         break; }
   10941             : 
   10942           0 :                         case VT_I2: {
   10943           0 :                                 NDR_CHECK(ndr_pull_int16(ndr, NDR_SCALARS, &r->vt_i2));
   10944           0 :                         break; }
   10945             : 
   10946           0 :                         case VT_I2|VT_ARRAY: {
   10947           0 :                                 NDR_CHECK(ndr_pull_vt_i2_safe2_array(ndr, NDR_SCALARS, &r->vt_i2_array));
   10948           0 :                         break; }
   10949             : 
   10950           0 :                         case VT_I2|VT_VECTOR: {
   10951           0 :                                 NDR_CHECK(ndr_pull_vt_i2_vec(ndr, NDR_SCALARS, &r->vt_i2_vec));
   10952           0 :                         break; }
   10953             : 
   10954           0 :                         case VT_UI2: {
   10955           0 :                                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->vt_ui2));
   10956           0 :                         break; }
   10957             : 
   10958           0 :                         case VT_UI2|VT_ARRAY: {
   10959           0 :                                 NDR_CHECK(ndr_pull_vt_ui2_safe2_array(ndr, NDR_SCALARS, &r->vt_ui2_array));
   10960           0 :                         break; }
   10961             : 
   10962           0 :                         case VT_UI2|VT_VECTOR: {
   10963           0 :                                 NDR_CHECK(ndr_pull_vt_ui2_vec(ndr, NDR_SCALARS, &r->vt_ui2_vec));
   10964           0 :                         break; }
   10965             : 
   10966           0 :                         case VT_BOOL: {
   10967           0 :                                 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->vt_bool));
   10968           0 :                         break; }
   10969             : 
   10970           0 :                         case VT_BOOL|VT_ARRAY: {
   10971           0 :                                 NDR_CHECK(ndr_pull_vt_ui2_safe2_array(ndr, NDR_SCALARS, &r->vt_bool_array));
   10972           0 :                         break; }
   10973             : 
   10974           0 :                         case VT_BOOL|VT_VECTOR: {
   10975           0 :                                 NDR_CHECK(ndr_pull_vt_ui2_vec(ndr, NDR_SCALARS, &r->vt_bool_vec));
   10976           0 :                         break; }
   10977             : 
   10978           0 :                         case VT_I4: {
   10979           0 :                                 NDR_CHECK(ndr_pull_int32(ndr, NDR_SCALARS, &r->vt_i4));
   10980           0 :                         break; }
   10981             : 
   10982           0 :                         case VT_I4|VT_VECTOR: {
   10983           0 :                                 NDR_CHECK(ndr_pull_vt_i4_vec(ndr, NDR_SCALARS, &r->vt_i4_vec));
   10984           0 :                         break; }
   10985             : 
   10986           0 :                         case VT_I4|VT_ARRAY: {
   10987           0 :                                 NDR_CHECK(ndr_pull_vt_i4_safe2_array(ndr, NDR_SCALARS, &r->vt_i4_array));
   10988           0 :                         break; }
   10989             : 
   10990           0 :                         case VT_UI4: {
   10991           0 :                                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vt_ui4));
   10992           0 :                         break; }
   10993             : 
   10994           0 :                         case VT_UI4|VT_VECTOR: {
   10995           0 :                                 NDR_CHECK(ndr_pull_vt_ui4_vec(ndr, NDR_SCALARS, &r->vt_ui4_vec));
   10996           0 :                         break; }
   10997             : 
   10998           0 :                         case VT_UI4|VT_ARRAY: {
   10999           0 :                                 NDR_CHECK(ndr_pull_vt_ui4_safe2_array(ndr, NDR_SCALARS, &r->vt_ui4_array));
   11000           0 :                         break; }
   11001             : 
   11002           0 :                         case VT_R4: {
   11003           0 :                                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vt_r4));
   11004           0 :                         break; }
   11005             : 
   11006           0 :                         case VT_R4|VT_VECTOR: {
   11007           0 :                                 NDR_CHECK(ndr_pull_vt_i4_vec(ndr, NDR_SCALARS, &r->vt_r4_vec));
   11008           0 :                         break; }
   11009             : 
   11010           0 :                         case VT_R4|VT_ARRAY: {
   11011           0 :                                 NDR_CHECK(ndr_pull_vt_i4_safe2_array(ndr, NDR_SCALARS, &r->vt_r4_array));
   11012           0 :                         break; }
   11013             : 
   11014           0 :                         case VT_INT: {
   11015           0 :                                 NDR_CHECK(ndr_pull_int32(ndr, NDR_SCALARS, &r->vt_int));
   11016           0 :                         break; }
   11017             : 
   11018           0 :                         case VT_INT|VT_ARRAY: {
   11019           0 :                                 NDR_CHECK(ndr_pull_vt_i4_safe2_array(ndr, NDR_SCALARS, &r->vt_int_array));
   11020           0 :                         break; }
   11021             : 
   11022           0 :                         case VT_UINT: {
   11023           0 :                                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vt_uint));
   11024           0 :                         break; }
   11025             : 
   11026           0 :                         case VT_UINT|VT_ARRAY: {
   11027           0 :                                 NDR_CHECK(ndr_pull_vt_ui4_safe2_array(ndr, NDR_SCALARS, &r->vt_uint_array));
   11028           0 :                         break; }
   11029             : 
   11030           0 :                         case VT_ERROR: {
   11031           0 :                                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->vt_error));
   11032           0 :                         break; }
   11033             : 
   11034           0 :                         case VT_ERROR|VT_VECTOR: {
   11035           0 :                                 NDR_CHECK(ndr_pull_vt_ui4_vec(ndr, NDR_SCALARS, &r->vt_error_vec));
   11036           0 :                         break; }
   11037             : 
   11038           0 :                         case VT_ERROR|VT_ARRAY: {
   11039           0 :                                 NDR_CHECK(ndr_pull_vt_ui4_safe2_array(ndr, NDR_SCALARS, &r->vt_error_array));
   11040           0 :                         break; }
   11041             : 
   11042           0 :                         case VT_I8: {
   11043           0 :                                 NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->vt_i8));
   11044           0 :                         break; }
   11045             : 
   11046           0 :                         case VT_I8|VT_VECTOR: {
   11047           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_i8_vec));
   11048           0 :                         break; }
   11049             : 
   11050           0 :                         case VT_UI8: {
   11051           0 :                                 NDR_CHECK(ndr_pull_udlong(ndr, NDR_SCALARS, &r->vt_ui8));
   11052           0 :                         break; }
   11053             : 
   11054           0 :                         case VT_UI8|VT_VECTOR: {
   11055           0 :                                 NDR_CHECK(ndr_pull_vt_udlong_vec(ndr, NDR_SCALARS, &r->vt_ui8_vec));
   11056           0 :                         break; }
   11057             : 
   11058           0 :                         case VT_R8: {
   11059           0 :                                 NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->vt_r8));
   11060           0 :                         break; }
   11061             : 
   11062           0 :                         case VT_R8|VT_VECTOR: {
   11063           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_r8_vec));
   11064           0 :                         break; }
   11065             : 
   11066           0 :                         case VT_R8|VT_ARRAY: {
   11067           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_safe2_array(ndr, NDR_SCALARS, &r->vt_r8_array));
   11068           0 :                         break; }
   11069             : 
   11070           0 :                         case VT_CY: {
   11071           0 :                                 NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->vt_cy));
   11072           0 :                         break; }
   11073             : 
   11074           0 :                         case VT_CY|VT_VECTOR: {
   11075           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_cy_vec));
   11076           0 :                         break; }
   11077             : 
   11078           0 :                         case VT_CY|VT_ARRAY: {
   11079           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_safe2_array(ndr, NDR_SCALARS, &r->vt_cy_array));
   11080           0 :                         break; }
   11081             : 
   11082           0 :                         case VT_DATE: {
   11083           0 :                                 NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->vt_date));
   11084           0 :                         break; }
   11085             : 
   11086           0 :                         case VT_DATE|VT_VECTOR: {
   11087           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_vec(ndr, NDR_SCALARS, &r->vt_date_vec));
   11088           0 :                         break; }
   11089             : 
   11090           0 :                         case VT_DATE|VT_ARRAY: {
   11091           0 :                                 NDR_CHECK(ndr_pull_vt_dlong_safe2_array(ndr, NDR_SCALARS, &r->vt_date_array));
   11092           0 :                         break; }
   11093             : 
   11094           0 :                         case VT_FILETIME: {
   11095           0 :                                 NDR_CHECK(ndr_pull_udlong(ndr, NDR_SCALARS, &r->vt_filetime));
   11096           0 :                         break; }
   11097             : 
   11098           0 :                         case VT_FILETIME|VT_VECTOR: {
   11099           0 :                                 NDR_CHECK(ndr_pull_vt_udlong_vec(ndr, NDR_SCALARS, &r->vt_filetime_vec));
   11100           0 :                         break; }
   11101             : 
   11102           0 :                         case VT_BSTR: {
   11103           0 :                                 NDR_CHECK(ndr_pull_vt_bstr(ndr, NDR_SCALARS, &r->vt_bstr));
   11104           0 :                         break; }
   11105             : 
   11106           0 :                         case VT_BSTR|VT_VECTOR: {
   11107           0 :                                 NDR_CHECK(ndr_pull_vt_bstr_vec(ndr, NDR_SCALARS, &r->vt_bstr_v));
   11108           0 :                         break; }
   11109             : 
   11110           0 :                         case VT_BSTR|VT_ARRAY: {
   11111           0 :                                 NDR_CHECK(ndr_pull_vt_bstr_safe2_array(ndr, NDR_SCALARS, &r->vt_bstr_array));
   11112           0 :                         break; }
   11113             : 
   11114           0 :                         case VT_LPWSTR: {
   11115           0 :                                 NDR_CHECK(ndr_pull_vt_lpwstr(ndr, NDR_SCALARS, &r->vt_lpwstr));
   11116           0 :                         break; }
   11117             : 
   11118           0 :                         case VT_LPWSTR|VT_VECTOR: {
   11119           0 :                                 NDR_CHECK(ndr_pull_vt_lpwstr_vec(ndr, NDR_SCALARS, &r->vt_lpwstr_v));
   11120           0 :                         break; }
   11121             : 
   11122           0 :                         case VT_COMPRESSED_LPWSTR: {
   11123           0 :                                 NDR_CHECK(ndr_pull_vt_compressed_lpwstr(ndr, NDR_SCALARS, &r->vt_compressed_lpwstr));
   11124           0 :                         break; }
   11125             : 
   11126           0 :                         case VT_COMPRESSED_LPWSTR|VT_VECTOR: {
   11127           0 :                                 NDR_CHECK(ndr_pull_vt_compressed_lpwstr_vec(ndr, NDR_SCALARS, &r->vt_compresseed_lpwstr_v));
   11128           0 :                         break; }
   11129             : 
   11130           0 :                         case VT_DECIMAL: {
   11131           0 :                                 NDR_CHECK(ndr_pull_vt_decimal(ndr, NDR_SCALARS, &r->vt_decimal));
   11132           0 :                         break; }
   11133             : 
   11134           0 :                         case VT_DECIMAL|VT_VECTOR: {
   11135           0 :                                 NDR_CHECK(ndr_pull_vt_decimal_vec(ndr, NDR_SCALARS, &r->vt_decimal_v));
   11136           0 :                         break; }
   11137             : 
   11138           0 :                         case VT_CLSID: {
   11139           0 :                                 NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->vt_clid));
   11140           0 :                         break; }
   11141             : 
   11142           0 :                         case VT_CLSID|VT_VECTOR: {
   11143           0 :                                 NDR_CHECK(ndr_pull_vt_clsid_vec(ndr, NDR_SCALARS, &r->vt_clsid_v));
   11144           0 :                         break; }
   11145             : 
   11146           0 :                         case VT_BLOB: {
   11147           0 :                                 NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->vt_blob));
   11148           0 :                         break; }
   11149             : 
   11150           0 :                         case VT_BLOB_OBJECT: {
   11151           0 :                                 NDR_CHECK(ndr_pull_DATA_BLOB(ndr, NDR_SCALARS, &r->vt_blob_object));
   11152           0 :                         break; }
   11153             : 
   11154           0 :                         case VT_NULL: {
   11155           0 :                         break; }
   11156             : 
   11157           0 :                         case VT_EMPTY: {
   11158           0 :                         break; }
   11159             : 
   11160           0 :                         case VT_VARIANT: {
   11161           0 :                                 NDR_CHECK(ndr_pull_vt_variant_wrap(ndr, NDR_SCALARS, &r->vt_variant_wrap));
   11162           0 :                         break; }
   11163             : 
   11164           0 :                         case VT_VARIANT|VT_VECTOR: {
   11165           0 :                                 NDR_CHECK(ndr_pull_vt_variant_wrap_vec(ndr, NDR_SCALARS, &r->vt_variant_wrap_vec));
   11166           0 :                         break; }
   11167             : 
   11168           0 :                         case VT_VARIANT|VT_ARRAY: {
   11169           0 :                                 NDR_CHECK(ndr_pull_vt_variant_wrap_safearray2(ndr, NDR_SCALARS, &r->vt_variant_wrap_array));
   11170           0 :                         break; }
   11171             : 
   11172           0 :                         default:
   11173           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
   11174             :                 }
   11175             :         }
   11176           0 :         if (ndr_flags & NDR_BUFFERS) {
   11177           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
   11178             :                         /* We didn't get it above, and the token is not needed after this. */
   11179           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
   11180             :                 }
   11181           0 :                 switch (level) {
   11182           0 :                         case VT_I1:
   11183           0 :                         break;
   11184             : 
   11185           0 :                         case VT_I1|VT_ARRAY:
   11186           0 :                         break;
   11187             : 
   11188           0 :                         case VT_I1|VT_VECTOR:
   11189           0 :                         break;
   11190             : 
   11191           0 :                         case VT_UI1:
   11192           0 :                         break;
   11193             : 
   11194           0 :                         case VT_UI1|VT_ARRAY:
   11195           0 :                         break;
   11196             : 
   11197           0 :                         case VT_UI1|VT_VECTOR:
   11198           0 :                         break;
   11199             : 
   11200           0 :                         case VT_I2:
   11201           0 :                         break;
   11202             : 
   11203           0 :                         case VT_I2|VT_ARRAY:
   11204           0 :                         break;
   11205             : 
   11206           0 :                         case VT_I2|VT_VECTOR:
   11207           0 :                         break;
   11208             : 
   11209           0 :                         case VT_UI2:
   11210           0 :                         break;
   11211             : 
   11212           0 :                         case VT_UI2|VT_ARRAY:
   11213           0 :                         break;
   11214             : 
   11215           0 :                         case VT_UI2|VT_VECTOR:
   11216           0 :                         break;
   11217             : 
   11218           0 :                         case VT_BOOL:
   11219           0 :                         break;
   11220             : 
   11221           0 :                         case VT_BOOL|VT_ARRAY:
   11222           0 :                         break;
   11223             : 
   11224           0 :                         case VT_BOOL|VT_VECTOR:
   11225           0 :                         break;
   11226             : 
   11227           0 :                         case VT_I4:
   11228           0 :                         break;
   11229             : 
   11230           0 :                         case VT_I4|VT_VECTOR:
   11231           0 :                         break;
   11232             : 
   11233           0 :                         case VT_I4|VT_ARRAY:
   11234           0 :                         break;
   11235             : 
   11236           0 :                         case VT_UI4:
   11237           0 :                         break;
   11238             : 
   11239           0 :                         case VT_UI4|VT_VECTOR:
   11240           0 :                         break;
   11241             : 
   11242           0 :                         case VT_UI4|VT_ARRAY:
   11243           0 :                         break;
   11244             : 
   11245           0 :                         case VT_R4:
   11246           0 :                         break;
   11247             : 
   11248           0 :                         case VT_R4|VT_VECTOR:
   11249           0 :                         break;
   11250             : 
   11251           0 :                         case VT_R4|VT_ARRAY:
   11252           0 :                         break;
   11253             : 
   11254           0 :                         case VT_INT:
   11255           0 :                         break;
   11256             : 
   11257           0 :                         case VT_INT|VT_ARRAY:
   11258           0 :                         break;
   11259             : 
   11260           0 :                         case VT_UINT:
   11261           0 :                         break;
   11262             : 
   11263           0 :                         case VT_UINT|VT_ARRAY:
   11264           0 :                         break;
   11265             : 
   11266           0 :                         case VT_ERROR:
   11267           0 :                         break;
   11268             : 
   11269           0 :                         case VT_ERROR|VT_VECTOR:
   11270           0 :                         break;
   11271             : 
   11272           0 :                         case VT_ERROR|VT_ARRAY:
   11273           0 :                         break;
   11274             : 
   11275           0 :                         case VT_I8:
   11276           0 :                         break;
   11277             : 
   11278           0 :                         case VT_I8|VT_VECTOR:
   11279           0 :                         break;
   11280             : 
   11281           0 :                         case VT_UI8:
   11282           0 :                         break;
   11283             : 
   11284           0 :                         case VT_UI8|VT_VECTOR:
   11285           0 :                         break;
   11286             : 
   11287           0 :                         case VT_R8:
   11288           0 :                         break;
   11289             : 
   11290           0 :                         case VT_R8|VT_VECTOR:
   11291           0 :                         break;
   11292             : 
   11293           0 :                         case VT_R8|VT_ARRAY:
   11294           0 :                         break;
   11295             : 
   11296           0 :                         case VT_CY:
   11297           0 :                         break;
   11298             : 
   11299           0 :                         case VT_CY|VT_VECTOR:
   11300           0 :                         break;
   11301             : 
   11302           0 :                         case VT_CY|VT_ARRAY:
   11303           0 :                         break;
   11304             : 
   11305           0 :                         case VT_DATE:
   11306           0 :                         break;
   11307             : 
   11308           0 :                         case VT_DATE|VT_VECTOR:
   11309           0 :                         break;
   11310             : 
   11311           0 :                         case VT_DATE|VT_ARRAY:
   11312           0 :                         break;
   11313             : 
   11314           0 :                         case VT_FILETIME:
   11315           0 :                         break;
   11316             : 
   11317           0 :                         case VT_FILETIME|VT_VECTOR:
   11318           0 :                         break;
   11319             : 
   11320           0 :                         case VT_BSTR:
   11321           0 :                         break;
   11322             : 
   11323           0 :                         case VT_BSTR|VT_VECTOR:
   11324           0 :                         break;
   11325             : 
   11326           0 :                         case VT_BSTR|VT_ARRAY:
   11327           0 :                         break;
   11328             : 
   11329           0 :                         case VT_LPWSTR:
   11330           0 :                         break;
   11331             : 
   11332           0 :                         case VT_LPWSTR|VT_VECTOR:
   11333           0 :                         break;
   11334             : 
   11335           0 :                         case VT_COMPRESSED_LPWSTR:
   11336           0 :                         break;
   11337             : 
   11338           0 :                         case VT_COMPRESSED_LPWSTR|VT_VECTOR:
   11339           0 :                         break;
   11340             : 
   11341           0 :                         case VT_DECIMAL:
   11342           0 :                         break;
   11343             : 
   11344           0 :                         case VT_DECIMAL|VT_VECTOR:
   11345           0 :                         break;
   11346             : 
   11347           0 :                         case VT_CLSID:
   11348           0 :                         break;
   11349             : 
   11350           0 :                         case VT_CLSID|VT_VECTOR:
   11351           0 :                         break;
   11352             : 
   11353           0 :                         case VT_BLOB:
   11354           0 :                         break;
   11355             : 
   11356           0 :                         case VT_BLOB_OBJECT:
   11357           0 :                         break;
   11358             : 
   11359           0 :                         case VT_NULL:
   11360           0 :                         break;
   11361             : 
   11362           0 :                         case VT_EMPTY:
   11363           0 :                         break;
   11364             : 
   11365           0 :                         case VT_VARIANT:
   11366           0 :                                 NDR_CHECK(ndr_pull_vt_variant_wrap(ndr, NDR_BUFFERS, &r->vt_variant_wrap));
   11367           0 :                         break;
   11368             : 
   11369           0 :                         case VT_VARIANT|VT_VECTOR:
   11370           0 :                                 NDR_CHECK(ndr_pull_vt_variant_wrap_vec(ndr, NDR_BUFFERS, &r->vt_variant_wrap_vec));
   11371           0 :                         break;
   11372             : 
   11373           0 :                         case VT_VARIANT|VT_ARRAY:
   11374           0 :                                 NDR_CHECK(ndr_pull_vt_variant_wrap_safearray2(ndr, NDR_BUFFERS, &r->vt_variant_wrap_array));
   11375           0 :                         break;
   11376             : 
   11377           0 :                         default:
   11378           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
   11379             :                 }
   11380             :         }
   11381           0 :         return NDR_ERR_SUCCESS;
   11382             : }
   11383             : 
   11384           0 : _PUBLIC_ void ndr_print_serialised_types(struct ndr_print *ndr, const char *name, const union serialised_types *r)
   11385             : {
   11386           0 :         uint32_t level;
   11387           0 :         level = ndr_print_steal_switch_value(ndr, r);
   11388           0 :         ndr_print_union(ndr, name, level, "serialised_types");
   11389           0 :         switch (level) {
   11390           0 :                 case VT_I1:
   11391           0 :                         ndr_print_int8(ndr, "vt_i1", r->vt_i1);
   11392           0 :                 break;
   11393             : 
   11394           0 :                 case VT_I1|VT_ARRAY:
   11395           0 :                         ndr_print_vt_i1_safe2_array(ndr, "vt_i1_array", &r->vt_i1_array);
   11396           0 :                 break;
   11397             : 
   11398           0 :                 case VT_I1|VT_VECTOR:
   11399           0 :                         ndr_print_vt_i1_vec(ndr, "vt_i1_vec", &r->vt_i1_vec);
   11400           0 :                 break;
   11401             : 
   11402           0 :                 case VT_UI1:
   11403           0 :                         ndr_print_uint8(ndr, "vt_ui1", r->vt_ui1);
   11404           0 :                 break;
   11405             : 
   11406           0 :                 case VT_UI1|VT_ARRAY:
   11407           0 :                         ndr_print_vt_ui1_safe2_array(ndr, "vt_ui1_array", &r->vt_ui1_array);
   11408           0 :                 break;
   11409             : 
   11410           0 :                 case VT_UI1|VT_VECTOR:
   11411           0 :                         ndr_print_vt_ui1_vec(ndr, "vt_ui1_vec", &r->vt_ui1_vec);
   11412           0 :                 break;
   11413             : 
   11414           0 :                 case VT_I2:
   11415           0 :                         ndr_print_int16(ndr, "vt_i2", r->vt_i2);
   11416           0 :                 break;
   11417             : 
   11418           0 :                 case VT_I2|VT_ARRAY:
   11419           0 :                         ndr_print_vt_i2_safe2_array(ndr, "vt_i2_array", &r->vt_i2_array);
   11420           0 :                 break;
   11421             : 
   11422           0 :                 case VT_I2|VT_VECTOR:
   11423           0 :                         ndr_print_vt_i2_vec(ndr, "vt_i2_vec", &r->vt_i2_vec);
   11424           0 :                 break;
   11425             : 
   11426           0 :                 case VT_UI2:
   11427           0 :                         ndr_print_uint16(ndr, "vt_ui2", r->vt_ui2);
   11428           0 :                 break;
   11429             : 
   11430           0 :                 case VT_UI2|VT_ARRAY:
   11431           0 :                         ndr_print_vt_ui2_safe2_array(ndr, "vt_ui2_array", &r->vt_ui2_array);
   11432           0 :                 break;
   11433             : 
   11434           0 :                 case VT_UI2|VT_VECTOR:
   11435           0 :                         ndr_print_vt_ui2_vec(ndr, "vt_ui2_vec", &r->vt_ui2_vec);
   11436           0 :                 break;
   11437             : 
   11438           0 :                 case VT_BOOL:
   11439           0 :                         ndr_print_uint16(ndr, "vt_bool", r->vt_bool);
   11440           0 :                 break;
   11441             : 
   11442           0 :                 case VT_BOOL|VT_ARRAY:
   11443           0 :                         ndr_print_vt_ui2_safe2_array(ndr, "vt_bool_array", &r->vt_bool_array);
   11444           0 :                 break;
   11445             : 
   11446           0 :                 case VT_BOOL|VT_VECTOR:
   11447           0 :                         ndr_print_vt_ui2_vec(ndr, "vt_bool_vec", &r->vt_bool_vec);
   11448           0 :                 break;
   11449             : 
   11450           0 :                 case VT_I4:
   11451           0 :                         ndr_print_int32(ndr, "vt_i4", r->vt_i4);
   11452           0 :                 break;
   11453             : 
   11454           0 :                 case VT_I4|VT_VECTOR:
   11455           0 :                         ndr_print_vt_i4_vec(ndr, "vt_i4_vec", &r->vt_i4_vec);
   11456           0 :                 break;
   11457             : 
   11458           0 :                 case VT_I4|VT_ARRAY:
   11459           0 :                         ndr_print_vt_i4_safe2_array(ndr, "vt_i4_array", &r->vt_i4_array);
   11460           0 :                 break;
   11461             : 
   11462           0 :                 case VT_UI4:
   11463           0 :                         ndr_print_uint32(ndr, "vt_ui4", r->vt_ui4);
   11464           0 :                 break;
   11465             : 
   11466           0 :                 case VT_UI4|VT_VECTOR:
   11467           0 :                         ndr_print_vt_ui4_vec(ndr, "vt_ui4_vec", &r->vt_ui4_vec);
   11468           0 :                 break;
   11469             : 
   11470           0 :                 case VT_UI4|VT_ARRAY:
   11471           0 :                         ndr_print_vt_ui4_safe2_array(ndr, "vt_ui4_array", &r->vt_ui4_array);
   11472           0 :                 break;
   11473             : 
   11474           0 :                 case VT_R4:
   11475           0 :                         ndr_print_uint32(ndr, "vt_r4", r->vt_r4);
   11476           0 :                 break;
   11477             : 
   11478           0 :                 case VT_R4|VT_VECTOR:
   11479           0 :                         ndr_print_vt_i4_vec(ndr, "vt_r4_vec", &r->vt_r4_vec);
   11480           0 :                 break;
   11481             : 
   11482           0 :                 case VT_R4|VT_ARRAY:
   11483           0 :                         ndr_print_vt_i4_safe2_array(ndr, "vt_r4_array", &r->vt_r4_array);
   11484           0 :                 break;
   11485             : 
   11486           0 :                 case VT_INT:
   11487           0 :                         ndr_print_int32(ndr, "vt_int", r->vt_int);
   11488           0 :                 break;
   11489             : 
   11490           0 :                 case VT_INT|VT_ARRAY:
   11491           0 :                         ndr_print_vt_i4_safe2_array(ndr, "vt_int_array", &r->vt_int_array);
   11492           0 :                 break;
   11493             : 
   11494           0 :                 case VT_UINT:
   11495           0 :                         ndr_print_uint32(ndr, "vt_uint", r->vt_uint);
   11496           0 :                 break;
   11497             : 
   11498           0 :                 case VT_UINT|VT_ARRAY:
   11499           0 :                         ndr_print_vt_ui4_safe2_array(ndr, "vt_uint_array", &r->vt_uint_array);
   11500           0 :                 break;
   11501             : 
   11502           0 :                 case VT_ERROR:
   11503           0 :                         ndr_print_uint32(ndr, "vt_error", r->vt_error);
   11504           0 :                 break;
   11505             : 
   11506           0 :                 case VT_ERROR|VT_VECTOR:
   11507           0 :                         ndr_print_vt_ui4_vec(ndr, "vt_error_vec", &r->vt_error_vec);
   11508           0 :                 break;
   11509             : 
   11510           0 :                 case VT_ERROR|VT_ARRAY:
   11511           0 :                         ndr_print_vt_ui4_safe2_array(ndr, "vt_error_array", &r->vt_error_array);
   11512           0 :                 break;
   11513             : 
   11514           0 :                 case VT_I8:
   11515           0 :                         ndr_print_dlong(ndr, "vt_i8", r->vt_i8);
   11516           0 :                 break;
   11517             : 
   11518           0 :                 case VT_I8|VT_VECTOR:
   11519           0 :                         ndr_print_vt_dlong_vec(ndr, "vt_i8_vec", &r->vt_i8_vec);
   11520           0 :                 break;
   11521             : 
   11522           0 :                 case VT_UI8:
   11523           0 :                         ndr_print_udlong(ndr, "vt_ui8", r->vt_ui8);
   11524           0 :                 break;
   11525             : 
   11526           0 :                 case VT_UI8|VT_VECTOR:
   11527           0 :                         ndr_print_vt_udlong_vec(ndr, "vt_ui8_vec", &r->vt_ui8_vec);
   11528           0 :                 break;
   11529             : 
   11530           0 :                 case VT_R8:
   11531           0 :                         ndr_print_dlong(ndr, "vt_r8", r->vt_r8);
   11532           0 :                 break;
   11533             : 
   11534           0 :                 case VT_R8|VT_VECTOR:
   11535           0 :                         ndr_print_vt_dlong_vec(ndr, "vt_r8_vec", &r->vt_r8_vec);
   11536           0 :                 break;
   11537             : 
   11538           0 :                 case VT_R8|VT_ARRAY:
   11539           0 :                         ndr_print_vt_dlong_safe2_array(ndr, "vt_r8_array", &r->vt_r8_array);
   11540           0 :                 break;
   11541             : 
   11542           0 :                 case VT_CY:
   11543           0 :                         ndr_print_dlong(ndr, "vt_cy", r->vt_cy);
   11544           0 :                 break;
   11545             : 
   11546           0 :                 case VT_CY|VT_VECTOR:
   11547           0 :                         ndr_print_vt_dlong_vec(ndr, "vt_cy_vec", &r->vt_cy_vec);
   11548           0 :                 break;
   11549             : 
   11550           0 :                 case VT_CY|VT_ARRAY:
   11551           0 :                         ndr_print_vt_dlong_safe2_array(ndr, "vt_cy_array", &r->vt_cy_array);
   11552           0 :                 break;
   11553             : 
   11554           0 :                 case VT_DATE:
   11555           0 :                         ndr_print_dlong(ndr, "vt_date", r->vt_date);
   11556           0 :                 break;
   11557             : 
   11558           0 :                 case VT_DATE|VT_VECTOR:
   11559           0 :                         ndr_print_vt_dlong_vec(ndr, "vt_date_vec", &r->vt_date_vec);
   11560           0 :                 break;
   11561             : 
   11562           0 :                 case VT_DATE|VT_ARRAY:
   11563           0 :                         ndr_print_vt_dlong_safe2_array(ndr, "vt_date_array", &r->vt_date_array);
   11564           0 :                 break;
   11565             : 
   11566           0 :                 case VT_FILETIME:
   11567           0 :                         ndr_print_udlong(ndr, "vt_filetime", r->vt_filetime);
   11568           0 :                 break;
   11569             : 
   11570           0 :                 case VT_FILETIME|VT_VECTOR:
   11571           0 :                         ndr_print_vt_udlong_vec(ndr, "vt_filetime_vec", &r->vt_filetime_vec);
   11572           0 :                 break;
   11573             : 
   11574           0 :                 case VT_BSTR:
   11575           0 :                         ndr_print_vt_bstr(ndr, "vt_bstr", &r->vt_bstr);
   11576           0 :                 break;
   11577             : 
   11578           0 :                 case VT_BSTR|VT_VECTOR:
   11579           0 :                         ndr_print_vt_bstr_vec(ndr, "vt_bstr_v", &r->vt_bstr_v);
   11580           0 :                 break;
   11581             : 
   11582           0 :                 case VT_BSTR|VT_ARRAY:
   11583           0 :                         ndr_print_vt_bstr_safe2_array(ndr, "vt_bstr_array", &r->vt_bstr_array);
   11584           0 :                 break;
   11585             : 
   11586           0 :                 case VT_LPWSTR:
   11587           0 :                         ndr_print_vt_lpwstr(ndr, "vt_lpwstr", &r->vt_lpwstr);
   11588           0 :                 break;
   11589             : 
   11590           0 :                 case VT_LPWSTR|VT_VECTOR:
   11591           0 :                         ndr_print_vt_lpwstr_vec(ndr, "vt_lpwstr_v", &r->vt_lpwstr_v);
   11592           0 :                 break;
   11593             : 
   11594           0 :                 case VT_COMPRESSED_LPWSTR:
   11595           0 :                         ndr_print_vt_compressed_lpwstr(ndr, "vt_compressed_lpwstr", &r->vt_compressed_lpwstr);
   11596           0 :                 break;
   11597             : 
   11598           0 :                 case VT_COMPRESSED_LPWSTR|VT_VECTOR:
   11599           0 :                         ndr_print_vt_compressed_lpwstr_vec(ndr, "vt_compresseed_lpwstr_v", &r->vt_compresseed_lpwstr_v);
   11600           0 :                 break;
   11601             : 
   11602           0 :                 case VT_DECIMAL:
   11603           0 :                         ndr_print_vt_decimal(ndr, "vt_decimal", &r->vt_decimal);
   11604           0 :                 break;
   11605             : 
   11606           0 :                 case VT_DECIMAL|VT_VECTOR:
   11607           0 :                         ndr_print_vt_decimal_vec(ndr, "vt_decimal_v", &r->vt_decimal_v);
   11608           0 :                 break;
   11609             : 
   11610           0 :                 case VT_CLSID:
   11611           0 :                         ndr_print_GUID(ndr, "vt_clid", &r->vt_clid);
   11612           0 :                 break;
   11613             : 
   11614           0 :                 case VT_CLSID|VT_VECTOR:
   11615           0 :                         ndr_print_vt_clsid_vec(ndr, "vt_clsid_v", &r->vt_clsid_v);
   11616           0 :                 break;
   11617             : 
   11618           0 :                 case VT_BLOB:
   11619           0 :                         ndr_print_DATA_BLOB(ndr, "vt_blob", r->vt_blob);
   11620           0 :                 break;
   11621             : 
   11622           0 :                 case VT_BLOB_OBJECT:
   11623           0 :                         ndr_print_DATA_BLOB(ndr, "vt_blob_object", r->vt_blob_object);
   11624           0 :                 break;
   11625             : 
   11626           0 :                 case VT_NULL:
   11627           0 :                 break;
   11628             : 
   11629           0 :                 case VT_EMPTY:
   11630           0 :                 break;
   11631             : 
   11632           0 :                 case VT_VARIANT:
   11633           0 :                         ndr_print_vt_variant_wrap(ndr, "vt_variant_wrap", &r->vt_variant_wrap);
   11634           0 :                 break;
   11635             : 
   11636           0 :                 case VT_VARIANT|VT_VECTOR:
   11637           0 :                         ndr_print_vt_variant_wrap_vec(ndr, "vt_variant_wrap_vec", &r->vt_variant_wrap_vec);
   11638           0 :                 break;
   11639             : 
   11640           0 :                 case VT_VARIANT|VT_ARRAY:
   11641           0 :                         ndr_print_vt_variant_wrap_safearray2(ndr, "vt_variant_wrap_array", &r->vt_variant_wrap_array);
   11642           0 :                 break;
   11643             : 
   11644           0 :                 default:
   11645           0 :                         ndr_print_bad_level(ndr, name, level);
   11646             :         }
   11647           0 : }
   11648             : 
   11649           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_serializedpropertyvalue(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_serializedpropertyvalue *r)
   11650             : {
   11651           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   11652           0 :         if (ndr_flags & NDR_SCALARS) {
   11653           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   11654           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwtype));
   11655           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->rgb, r->dwtype));
   11656           0 :                 NDR_CHECK(ndr_push_serialised_types(ndr, NDR_SCALARS, &r->rgb));
   11657           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   11658             :         }
   11659           0 :         if (ndr_flags & NDR_BUFFERS) {
   11660           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->rgb, r->dwtype));
   11661           0 :                 NDR_CHECK(ndr_push_serialised_types(ndr, NDR_BUFFERS, &r->rgb));
   11662             :         }
   11663           0 :         return NDR_ERR_SUCCESS;
   11664             : }
   11665             : 
   11666           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_serializedpropertyvalue(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_serializedpropertyvalue *r)
   11667             : {
   11668           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   11669           0 :         if (ndr_flags & NDR_SCALARS) {
   11670           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   11671           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwtype));
   11672           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->rgb, r->dwtype));
   11673           0 :                 NDR_CHECK(ndr_pull_serialised_types(ndr, NDR_SCALARS, &r->rgb));
   11674           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   11675             :         }
   11676           0 :         if (ndr_flags & NDR_BUFFERS) {
   11677           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->rgb, r->dwtype));
   11678           0 :                 NDR_CHECK(ndr_pull_serialised_types(ndr, NDR_BUFFERS, &r->rgb));
   11679             :         }
   11680           0 :         return NDR_ERR_SUCCESS;
   11681             : }
   11682             : 
   11683           0 : static void ndr_print_flags_wsp_serializedpropertyvalue(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_serializedpropertyvalue *r)
   11684             : {
   11685           0 :         ndr_print_wsp_serializedpropertyvalue(ndr, name, r);
   11686           0 : }
   11687             : 
   11688           0 : _PUBLIC_ void ndr_print_wsp_serializedpropertyvalue(struct ndr_print *ndr, const char *name, const struct wsp_serializedpropertyvalue *r)
   11689             : {
   11690           0 :         ndr_print_struct(ndr, name, "wsp_serializedpropertyvalue");
   11691           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   11692           0 :         ndr->depth++;
   11693           0 :         ndr_print_uint32(ndr, "dwtype", r->dwtype);
   11694           0 :         ndr_print_set_switch_value(ndr, &r->rgb, r->dwtype);
   11695           0 :         ndr_print_serialised_types(ndr, "rgb", &r->rgb);
   11696           0 :         ndr->depth--;
   11697             : }
   11698             : 
   11699           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmfetchvalueout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmfetchvalueout *r)
   11700             : {
   11701           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   11702           0 :         if (ndr_flags & NDR_SCALARS) {
   11703           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   11704           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbvalue));
   11705           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->fmoreexists));
   11706           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->fvalueexists));
   11707           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   11708             :         }
   11709           0 :         if (ndr_flags & NDR_BUFFERS) {
   11710           0 :         }
   11711           0 :         return NDR_ERR_SUCCESS;
   11712             : }
   11713             : 
   11714           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmfetchvalueout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmfetchvalueout *r)
   11715             : {
   11716           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   11717           0 :         if (ndr_flags & NDR_SCALARS) {
   11718           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   11719           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbvalue));
   11720           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->fmoreexists));
   11721           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->fvalueexists));
   11722           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   11723             :         }
   11724           0 :         if (ndr_flags & NDR_BUFFERS) {
   11725           0 :         }
   11726           0 :         return NDR_ERR_SUCCESS;
   11727             : }
   11728             : 
   11729           0 : static void ndr_print_flags_wsp_cpmfetchvalueout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmfetchvalueout *r)
   11730             : {
   11731           0 :         ndr_print_wsp_cpmfetchvalueout(ndr, name, r);
   11732           0 : }
   11733             : 
   11734           0 : _PUBLIC_ void ndr_print_wsp_cpmfetchvalueout(struct ndr_print *ndr, const char *name, const struct wsp_cpmfetchvalueout *r)
   11735             : {
   11736           0 :         ndr_print_struct(ndr, name, "wsp_cpmfetchvalueout");
   11737           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   11738           0 :         ndr->depth++;
   11739           0 :         ndr_print_uint32(ndr, "cbvalue", r->cbvalue);
   11740           0 :         ndr_print_uint32(ndr, "fmoreexists", r->fmoreexists);
   11741           0 :         ndr_print_uint32(ndr, "fvalueexists", r->fvalueexists);
   11742           0 :         ndr->depth--;
   11743             : }
   11744             : 
   11745           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmsetscopeprioritizationin(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmsetscopeprioritizationin *r)
   11746             : {
   11747           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   11748           0 :         if (ndr_flags & NDR_SCALARS) {
   11749           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   11750           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->priority));
   11751           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->eventfrequency));
   11752           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   11753             :         }
   11754           0 :         if (ndr_flags & NDR_BUFFERS) {
   11755           0 :         }
   11756           0 :         return NDR_ERR_SUCCESS;
   11757             : }
   11758             : 
   11759           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmsetscopeprioritizationin(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmsetscopeprioritizationin *r)
   11760             : {
   11761           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   11762           0 :         if (ndr_flags & NDR_SCALARS) {
   11763           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   11764           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->priority));
   11765           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->eventfrequency));
   11766           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   11767             :         }
   11768           0 :         if (ndr_flags & NDR_BUFFERS) {
   11769           0 :         }
   11770           0 :         return NDR_ERR_SUCCESS;
   11771             : }
   11772             : 
   11773           0 : static void ndr_print_flags_wsp_cpmsetscopeprioritizationin(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmsetscopeprioritizationin *r)
   11774             : {
   11775           0 :         ndr_print_wsp_cpmsetscopeprioritizationin(ndr, name, r);
   11776           0 : }
   11777             : 
   11778           0 : _PUBLIC_ void ndr_print_wsp_cpmsetscopeprioritizationin(struct ndr_print *ndr, const char *name, const struct wsp_cpmsetscopeprioritizationin *r)
   11779             : {
   11780           0 :         ndr_print_struct(ndr, name, "wsp_cpmsetscopeprioritizationin");
   11781           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   11782           0 :         ndr->depth++;
   11783           0 :         ndr_print_uint32(ndr, "priority", r->priority);
   11784           0 :         ndr_print_uint32(ndr, "eventfrequency", r->eventfrequency);
   11785           0 :         ndr->depth--;
   11786             : }
   11787             : 
   11788           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmsendnotifyout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmsendnotifyout *r)
   11789             : {
   11790           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   11791           0 :         if (ndr_flags & NDR_SCALARS) {
   11792           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   11793           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->watchnotify));
   11794           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   11795             :         }
   11796           0 :         if (ndr_flags & NDR_BUFFERS) {
   11797           0 :         }
   11798           0 :         return NDR_ERR_SUCCESS;
   11799             : }
   11800             : 
   11801           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmsendnotifyout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmsendnotifyout *r)
   11802             : {
   11803           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   11804           0 :         if (ndr_flags & NDR_SCALARS) {
   11805           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   11806           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->watchnotify));
   11807           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   11808             :         }
   11809           0 :         if (ndr_flags & NDR_BUFFERS) {
   11810           0 :         }
   11811           0 :         return NDR_ERR_SUCCESS;
   11812             : }
   11813             : 
   11814           0 : static void ndr_print_flags_wsp_cpmsendnotifyout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmsendnotifyout *r)
   11815             : {
   11816           0 :         ndr_print_wsp_cpmsendnotifyout(ndr, name, r);
   11817           0 : }
   11818             : 
   11819           0 : _PUBLIC_ void ndr_print_wsp_cpmsendnotifyout(struct ndr_print *ndr, const char *name, const struct wsp_cpmsendnotifyout *r)
   11820             : {
   11821           0 :         ndr_print_struct(ndr, name, "wsp_cpmsendnotifyout");
   11822           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   11823           0 :         ndr->depth++;
   11824           0 :         ndr_print_uint32(ndr, "watchnotify", r->watchnotify);
   11825           0 :         ndr->depth--;
   11826             : }
   11827             : 
   11828           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmgetrowsetnotifyout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmgetrowsetnotifyout *r)
   11829             : {
   11830           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   11831           0 :         if (ndr_flags & NDR_SCALARS) {
   11832           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   11833           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->wid));
   11834           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->eventinfo));
   11835           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->rowitemstate));
   11836           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->changeditemstate));
   11837           0 :                 NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->rowsetevent));
   11838           0 :                 NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->rowseteventdata1));
   11839           0 :                 NDR_CHECK(ndr_push_dlong(ndr, NDR_SCALARS, r->rowseteventdata2));
   11840           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   11841             :         }
   11842           0 :         if (ndr_flags & NDR_BUFFERS) {
   11843           0 :         }
   11844           0 :         return NDR_ERR_SUCCESS;
   11845             : }
   11846             : 
   11847           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmgetrowsetnotifyout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmgetrowsetnotifyout *r)
   11848             : {
   11849           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   11850           0 :         if (ndr_flags & NDR_SCALARS) {
   11851           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   11852           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->wid));
   11853           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->eventinfo));
   11854           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->rowitemstate));
   11855           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->changeditemstate));
   11856           0 :                 NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->rowsetevent));
   11857           0 :                 NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->rowseteventdata1));
   11858           0 :                 NDR_CHECK(ndr_pull_dlong(ndr, NDR_SCALARS, &r->rowseteventdata2));
   11859           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   11860             :         }
   11861           0 :         if (ndr_flags & NDR_BUFFERS) {
   11862           0 :         }
   11863           0 :         return NDR_ERR_SUCCESS;
   11864             : }
   11865             : 
   11866           0 : static void ndr_print_flags_wsp_cpmgetrowsetnotifyout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmgetrowsetnotifyout *r)
   11867             : {
   11868           0 :         ndr_print_wsp_cpmgetrowsetnotifyout(ndr, name, r);
   11869           0 : }
   11870             : 
   11871           0 : _PUBLIC_ void ndr_print_wsp_cpmgetrowsetnotifyout(struct ndr_print *ndr, const char *name, const struct wsp_cpmgetrowsetnotifyout *r)
   11872             : {
   11873           0 :         ndr_print_struct(ndr, name, "wsp_cpmgetrowsetnotifyout");
   11874           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   11875           0 :         ndr->depth++;
   11876           0 :         ndr_print_uint32(ndr, "wid", r->wid);
   11877           0 :         ndr_print_uint8(ndr, "eventinfo", r->eventinfo);
   11878           0 :         ndr_print_uint8(ndr, "rowitemstate", r->rowitemstate);
   11879           0 :         ndr_print_uint8(ndr, "changeditemstate", r->changeditemstate);
   11880           0 :         ndr_print_uint8(ndr, "rowsetevent", r->rowsetevent);
   11881           0 :         ndr_print_dlong(ndr, "rowseteventdata1", r->rowseteventdata1);
   11882           0 :         ndr_print_dlong(ndr, "rowseteventdata2", r->rowseteventdata2);
   11883           0 :         ndr->depth--;
   11884             : }
   11885             : 
   11886           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmgetscopestatisticsout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmgetscopestatisticsout *r)
   11887             : {
   11888           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   11889           0 :         if (ndr_flags & NDR_SCALARS) {
   11890           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   11891           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwindexeditems));
   11892           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwoutstandingadds));
   11893           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwoustandingmodifies));
   11894           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   11895             :         }
   11896           0 :         if (ndr_flags & NDR_BUFFERS) {
   11897           0 :         }
   11898           0 :         return NDR_ERR_SUCCESS;
   11899             : }
   11900             : 
   11901           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmgetscopestatisticsout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmgetscopestatisticsout *r)
   11902             : {
   11903           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   11904           0 :         if (ndr_flags & NDR_SCALARS) {
   11905           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   11906           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwindexeditems));
   11907           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwoutstandingadds));
   11908           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwoustandingmodifies));
   11909           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   11910             :         }
   11911           0 :         if (ndr_flags & NDR_BUFFERS) {
   11912           0 :         }
   11913           0 :         return NDR_ERR_SUCCESS;
   11914             : }
   11915             : 
   11916           0 : static void ndr_print_flags_wsp_cpmgetscopestatisticsout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmgetscopestatisticsout *r)
   11917             : {
   11918           0 :         ndr_print_wsp_cpmgetscopestatisticsout(ndr, name, r);
   11919           0 : }
   11920             : 
   11921           0 : _PUBLIC_ void ndr_print_wsp_cpmgetscopestatisticsout(struct ndr_print *ndr, const char *name, const struct wsp_cpmgetscopestatisticsout *r)
   11922             : {
   11923           0 :         ndr_print_struct(ndr, name, "wsp_cpmgetscopestatisticsout");
   11924           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   11925           0 :         ndr->depth++;
   11926           0 :         ndr_print_uint32(ndr, "dwindexeditems", r->dwindexeditems);
   11927           0 :         ndr_print_uint32(ndr, "dwoutstandingadds", r->dwoutstandingadds);
   11928           0 :         ndr_print_uint32(ndr, "dwoustandingmodifies", r->dwoustandingmodifies);
   11929           0 :         ndr->depth--;
   11930             : }
   11931             : 
   11932           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmgetapproximatepositionin(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmgetapproximatepositionin *r)
   11933             : {
   11934           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   11935           0 :         if (ndr_flags & NDR_SCALARS) {
   11936           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   11937           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->hcursor));
   11938           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->chapt));
   11939           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->bmk));
   11940           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   11941             :         }
   11942           0 :         if (ndr_flags & NDR_BUFFERS) {
   11943           0 :         }
   11944           0 :         return NDR_ERR_SUCCESS;
   11945             : }
   11946             : 
   11947           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmgetapproximatepositionin(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmgetapproximatepositionin *r)
   11948             : {
   11949           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   11950           0 :         if (ndr_flags & NDR_SCALARS) {
   11951           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   11952           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->hcursor));
   11953           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->chapt));
   11954           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->bmk));
   11955           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   11956             :         }
   11957           0 :         if (ndr_flags & NDR_BUFFERS) {
   11958           0 :         }
   11959           0 :         return NDR_ERR_SUCCESS;
   11960             : }
   11961             : 
   11962           0 : static void ndr_print_flags_wsp_cpmgetapproximatepositionin(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmgetapproximatepositionin *r)
   11963             : {
   11964           0 :         ndr_print_wsp_cpmgetapproximatepositionin(ndr, name, r);
   11965           0 : }
   11966             : 
   11967           0 : _PUBLIC_ void ndr_print_wsp_cpmgetapproximatepositionin(struct ndr_print *ndr, const char *name, const struct wsp_cpmgetapproximatepositionin *r)
   11968             : {
   11969           0 :         ndr_print_struct(ndr, name, "wsp_cpmgetapproximatepositionin");
   11970           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   11971           0 :         ndr->depth++;
   11972           0 :         ndr_print_uint32(ndr, "hcursor", r->hcursor);
   11973           0 :         ndr_print_uint32(ndr, "chapt", r->chapt);
   11974           0 :         ndr_print_uint32(ndr, "bmk", r->bmk);
   11975           0 :         ndr->depth--;
   11976             : }
   11977             : 
   11978           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmgetapproximatepositionout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmgetapproximatepositionout *r)
   11979             : {
   11980           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   11981           0 :         if (ndr_flags & NDR_SCALARS) {
   11982           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   11983           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->numerator));
   11984           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->denominator));
   11985           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   11986             :         }
   11987           0 :         if (ndr_flags & NDR_BUFFERS) {
   11988           0 :         }
   11989           0 :         return NDR_ERR_SUCCESS;
   11990             : }
   11991             : 
   11992           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmgetapproximatepositionout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmgetapproximatepositionout *r)
   11993             : {
   11994           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   11995           0 :         if (ndr_flags & NDR_SCALARS) {
   11996           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   11997           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->numerator));
   11998           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->denominator));
   11999           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   12000             :         }
   12001           0 :         if (ndr_flags & NDR_BUFFERS) {
   12002           0 :         }
   12003           0 :         return NDR_ERR_SUCCESS;
   12004             : }
   12005             : 
   12006           0 : static void ndr_print_flags_wsp_cpmgetapproximatepositionout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmgetapproximatepositionout *r)
   12007             : {
   12008           0 :         ndr_print_wsp_cpmgetapproximatepositionout(ndr, name, r);
   12009           0 : }
   12010             : 
   12011           0 : _PUBLIC_ void ndr_print_wsp_cpmgetapproximatepositionout(struct ndr_print *ndr, const char *name, const struct wsp_cpmgetapproximatepositionout *r)
   12012             : {
   12013           0 :         ndr_print_struct(ndr, name, "wsp_cpmgetapproximatepositionout");
   12014           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   12015           0 :         ndr->depth++;
   12016           0 :         ndr_print_uint32(ndr, "numerator", r->numerator);
   12017           0 :         ndr_print_uint32(ndr, "denominator", r->denominator);
   12018           0 :         ndr->depth--;
   12019             : }
   12020             : 
   12021           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmcomparebmkin(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmcomparebmkin *r)
   12022             : {
   12023           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   12024           0 :         if (ndr_flags & NDR_SCALARS) {
   12025           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   12026           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->hcursor));
   12027           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->chapt));
   12028           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->bmkfirst));
   12029           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->bmksecond));
   12030           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   12031             :         }
   12032           0 :         if (ndr_flags & NDR_BUFFERS) {
   12033           0 :         }
   12034           0 :         return NDR_ERR_SUCCESS;
   12035             : }
   12036             : 
   12037           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmcomparebmkin(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmcomparebmkin *r)
   12038             : {
   12039           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   12040           0 :         if (ndr_flags & NDR_SCALARS) {
   12041           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   12042           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->hcursor));
   12043           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->chapt));
   12044           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->bmkfirst));
   12045           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->bmksecond));
   12046           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   12047             :         }
   12048           0 :         if (ndr_flags & NDR_BUFFERS) {
   12049           0 :         }
   12050           0 :         return NDR_ERR_SUCCESS;
   12051             : }
   12052             : 
   12053           0 : static void ndr_print_flags_wsp_cpmcomparebmkin(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmcomparebmkin *r)
   12054             : {
   12055           0 :         ndr_print_wsp_cpmcomparebmkin(ndr, name, r);
   12056           0 : }
   12057             : 
   12058           0 : _PUBLIC_ void ndr_print_wsp_cpmcomparebmkin(struct ndr_print *ndr, const char *name, const struct wsp_cpmcomparebmkin *r)
   12059             : {
   12060           0 :         ndr_print_struct(ndr, name, "wsp_cpmcomparebmkin");
   12061           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   12062           0 :         ndr->depth++;
   12063           0 :         ndr_print_uint32(ndr, "hcursor", r->hcursor);
   12064           0 :         ndr_print_uint32(ndr, "chapt", r->chapt);
   12065           0 :         ndr_print_uint32(ndr, "bmkfirst", r->bmkfirst);
   12066           0 :         ndr_print_uint32(ndr, "bmksecond", r->bmksecond);
   12067           0 :         ndr->depth--;
   12068             : }
   12069             : 
   12070           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmcomparebmkout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmcomparebmkout *r)
   12071             : {
   12072           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   12073           0 :         if (ndr_flags & NDR_SCALARS) {
   12074           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   12075           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwcomparison));
   12076           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   12077             :         }
   12078           0 :         if (ndr_flags & NDR_BUFFERS) {
   12079           0 :         }
   12080           0 :         return NDR_ERR_SUCCESS;
   12081             : }
   12082             : 
   12083           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmcomparebmkout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmcomparebmkout *r)
   12084             : {
   12085           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   12086           0 :         if (ndr_flags & NDR_SCALARS) {
   12087           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   12088           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwcomparison));
   12089           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   12090             :         }
   12091           0 :         if (ndr_flags & NDR_BUFFERS) {
   12092           0 :         }
   12093           0 :         return NDR_ERR_SUCCESS;
   12094             : }
   12095             : 
   12096           0 : static void ndr_print_flags_wsp_cpmcomparebmkout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmcomparebmkout *r)
   12097             : {
   12098           0 :         ndr_print_wsp_cpmcomparebmkout(ndr, name, r);
   12099           0 : }
   12100             : 
   12101           0 : _PUBLIC_ void ndr_print_wsp_cpmcomparebmkout(struct ndr_print *ndr, const char *name, const struct wsp_cpmcomparebmkout *r)
   12102             : {
   12103           0 :         ndr_print_struct(ndr, name, "wsp_cpmcomparebmkout");
   12104           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   12105           0 :         ndr->depth++;
   12106           0 :         ndr_print_uint32(ndr, "dwcomparison", r->dwcomparison);
   12107           0 :         ndr->depth--;
   12108             : }
   12109             : 
   12110           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_cpmcistateinout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_cpmcistateinout *r)
   12111             : {
   12112           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   12113           0 :         if (ndr_flags & NDR_SCALARS) {
   12114           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   12115           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cbstruct));
   12116           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cwordlist));
   12117           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cpersistentindex));
   12118           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cqueries));
   12119           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cdocuments));
   12120           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cfreshtest));
   12121           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwmergeprogress));
   12122           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->estate));
   12123           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cfiltereddocuments));
   12124           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->ctotaldocuments));
   12125           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cpendingscans));
   12126           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwindexsize));
   12127           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cuniquekeys));
   12128           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->csecqdocuments));
   12129           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->dwpropcachesize));
   12130           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   12131             :         }
   12132           0 :         if (ndr_flags & NDR_BUFFERS) {
   12133           0 :         }
   12134           0 :         return NDR_ERR_SUCCESS;
   12135             : }
   12136             : 
   12137           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_cpmcistateinout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_cpmcistateinout *r)
   12138             : {
   12139           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   12140           0 :         if (ndr_flags & NDR_SCALARS) {
   12141           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   12142           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cbstruct));
   12143           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cwordlist));
   12144           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cpersistentindex));
   12145           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cqueries));
   12146           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cdocuments));
   12147           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cfreshtest));
   12148           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwmergeprogress));
   12149           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->estate));
   12150           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cfiltereddocuments));
   12151           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->ctotaldocuments));
   12152           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cpendingscans));
   12153           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwindexsize));
   12154           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cuniquekeys));
   12155           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->csecqdocuments));
   12156           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->dwpropcachesize));
   12157           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   12158             :         }
   12159           0 :         if (ndr_flags & NDR_BUFFERS) {
   12160           0 :         }
   12161           0 :         return NDR_ERR_SUCCESS;
   12162             : }
   12163             : 
   12164           0 : static void ndr_print_flags_wsp_cpmcistateinout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_cpmcistateinout *r)
   12165             : {
   12166           0 :         ndr_print_wsp_cpmcistateinout(ndr, name, r);
   12167           0 : }
   12168             : 
   12169           0 : _PUBLIC_ void ndr_print_wsp_cpmcistateinout(struct ndr_print *ndr, const char *name, const struct wsp_cpmcistateinout *r)
   12170             : {
   12171           0 :         ndr_print_struct(ndr, name, "wsp_cpmcistateinout");
   12172           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   12173           0 :         ndr->depth++;
   12174           0 :         ndr_print_uint32(ndr, "cbstruct", r->cbstruct);
   12175           0 :         ndr_print_uint32(ndr, "cwordlist", r->cwordlist);
   12176           0 :         ndr_print_uint32(ndr, "cpersistentindex", r->cpersistentindex);
   12177           0 :         ndr_print_uint32(ndr, "cqueries", r->cqueries);
   12178           0 :         ndr_print_uint32(ndr, "cdocuments", r->cdocuments);
   12179           0 :         ndr_print_uint32(ndr, "cfreshtest", r->cfreshtest);
   12180           0 :         ndr_print_uint32(ndr, "dwmergeprogress", r->dwmergeprogress);
   12181           0 :         ndr_print_uint32(ndr, "estate", r->estate);
   12182           0 :         ndr_print_uint32(ndr, "cfiltereddocuments", r->cfiltereddocuments);
   12183           0 :         ndr_print_uint32(ndr, "ctotaldocuments", r->ctotaldocuments);
   12184           0 :         ndr_print_uint32(ndr, "cpendingscans", r->cpendingscans);
   12185           0 :         ndr_print_uint32(ndr, "dwindexsize", r->dwindexsize);
   12186           0 :         ndr_print_uint32(ndr, "cuniquekeys", r->cuniquekeys);
   12187           0 :         ndr_print_uint32(ndr, "csecqdocuments", r->csecqdocuments);
   12188           0 :         ndr_print_uint32(ndr, "dwpropcachesize", r->dwpropcachesize);
   12189           0 :         ndr->depth--;
   12190             : }
   12191             : 
   12192           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_findindicesin(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_findindicesin *r)
   12193             : {
   12194           0 :         uint32_t cntr_pwids_0;
   12195           0 :         uint32_t cntr_prgirowprev_0;
   12196           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   12197           0 :         if (ndr_flags & NDR_SCALARS) {
   12198           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   12199           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cwids));
   12200           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cdepthprev));
   12201           0 :                 for (cntr_pwids_0 = 0; cntr_pwids_0 < (r->cwids); cntr_pwids_0++) {
   12202           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->pwids[cntr_pwids_0]));
   12203             :                 }
   12204           0 :                 for (cntr_prgirowprev_0 = 0; cntr_prgirowprev_0 < (r->cdepthprev); cntr_prgirowprev_0++) {
   12205           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->prgirowprev[cntr_prgirowprev_0]));
   12206             :                 }
   12207           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   12208             :         }
   12209           0 :         if (ndr_flags & NDR_BUFFERS) {
   12210           0 :         }
   12211           0 :         return NDR_ERR_SUCCESS;
   12212             : }
   12213             : 
   12214           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_findindicesin(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_findindicesin *r)
   12215             : {
   12216           0 :         uint32_t size_pwids_0 = 0;
   12217           0 :         uint32_t cntr_pwids_0;
   12218           0 :         TALLOC_CTX *_mem_save_pwids_0 = NULL;
   12219           0 :         uint32_t size_prgirowprev_0 = 0;
   12220           0 :         uint32_t cntr_prgirowprev_0;
   12221           0 :         TALLOC_CTX *_mem_save_prgirowprev_0 = NULL;
   12222           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   12223           0 :         if (ndr_flags & NDR_SCALARS) {
   12224           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   12225           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cwids));
   12226           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cdepthprev));
   12227           0 :                 size_pwids_0 = r->cwids;
   12228           0 :                 NDR_PULL_ALLOC_N(ndr, r->pwids, size_pwids_0);
   12229           0 :                 _mem_save_pwids_0 = NDR_PULL_GET_MEM_CTX(ndr);
   12230           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->pwids, 0);
   12231           0 :                 for (cntr_pwids_0 = 0; cntr_pwids_0 < (size_pwids_0); cntr_pwids_0++) {
   12232           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->pwids[cntr_pwids_0]));
   12233             :                 }
   12234           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pwids_0, 0);
   12235           0 :                 size_prgirowprev_0 = r->cdepthprev;
   12236           0 :                 NDR_PULL_ALLOC_N(ndr, r->prgirowprev, size_prgirowprev_0);
   12237           0 :                 _mem_save_prgirowprev_0 = NDR_PULL_GET_MEM_CTX(ndr);
   12238           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->prgirowprev, 0);
   12239           0 :                 for (cntr_prgirowprev_0 = 0; cntr_prgirowprev_0 < (size_prgirowprev_0); cntr_prgirowprev_0++) {
   12240           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->prgirowprev[cntr_prgirowprev_0]));
   12241             :                 }
   12242           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_prgirowprev_0, 0);
   12243           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   12244             :         }
   12245           0 :         if (ndr_flags & NDR_BUFFERS) {
   12246           0 :         }
   12247           0 :         return NDR_ERR_SUCCESS;
   12248             : }
   12249             : 
   12250           0 : static void ndr_print_flags_wsp_findindicesin(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_findindicesin *r)
   12251             : {
   12252           0 :         ndr_print_wsp_findindicesin(ndr, name, r);
   12253           0 : }
   12254             : 
   12255           0 : _PUBLIC_ void ndr_print_wsp_findindicesin(struct ndr_print *ndr, const char *name, const struct wsp_findindicesin *r)
   12256             : {
   12257           0 :         uint32_t cntr_pwids_0;
   12258           0 :         uint32_t cntr_prgirowprev_0;
   12259           0 :         ndr_print_struct(ndr, name, "wsp_findindicesin");
   12260           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   12261           0 :         ndr->depth++;
   12262           0 :         ndr_print_uint32(ndr, "cwids", r->cwids);
   12263           0 :         ndr_print_uint32(ndr, "cdepthprev", r->cdepthprev);
   12264           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "pwids", (uint32_t)(r->cwids));
   12265           0 :         ndr->depth++;
   12266           0 :         for (cntr_pwids_0 = 0; cntr_pwids_0 < (r->cwids); cntr_pwids_0++) {
   12267           0 :                 ndr_print_uint32(ndr, "pwids", r->pwids[cntr_pwids_0]);
   12268             :         }
   12269           0 :         ndr->depth--;
   12270           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "prgirowprev", (uint32_t)(r->cdepthprev));
   12271           0 :         ndr->depth++;
   12272           0 :         for (cntr_prgirowprev_0 = 0; cntr_prgirowprev_0 < (r->cdepthprev); cntr_prgirowprev_0++) {
   12273           0 :                 ndr_print_uint32(ndr, "prgirowprev", r->prgirowprev[cntr_prgirowprev_0]);
   12274             :         }
   12275           0 :         ndr->depth--;
   12276           0 :         ndr->depth--;
   12277             : }
   12278             : 
   12279           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_findindicesout(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_findindicesout *r)
   12280             : {
   12281           0 :         uint32_t cntr_prgirownext_0;
   12282           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   12283           0 :         if (ndr_flags & NDR_SCALARS) {
   12284           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   12285           0 :                 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->cdepthnext));
   12286           0 :                 for (cntr_prgirownext_0 = 0; cntr_prgirownext_0 < (r->cdepthnext); cntr_prgirownext_0++) {
   12287           0 :                         NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->prgirownext[cntr_prgirownext_0]));
   12288             :                 }
   12289           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   12290             :         }
   12291           0 :         if (ndr_flags & NDR_BUFFERS) {
   12292           0 :         }
   12293           0 :         return NDR_ERR_SUCCESS;
   12294             : }
   12295             : 
   12296           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_findindicesout(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_findindicesout *r)
   12297             : {
   12298           0 :         uint32_t size_prgirownext_0 = 0;
   12299           0 :         uint32_t cntr_prgirownext_0;
   12300           0 :         TALLOC_CTX *_mem_save_prgirownext_0 = NULL;
   12301           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   12302           0 :         if (ndr_flags & NDR_SCALARS) {
   12303           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   12304           0 :                 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->cdepthnext));
   12305           0 :                 size_prgirownext_0 = r->cdepthnext;
   12306           0 :                 NDR_PULL_ALLOC_N(ndr, r->prgirownext, size_prgirownext_0);
   12307           0 :                 _mem_save_prgirownext_0 = NDR_PULL_GET_MEM_CTX(ndr);
   12308           0 :                 NDR_PULL_SET_MEM_CTX(ndr, r->prgirownext, 0);
   12309           0 :                 for (cntr_prgirownext_0 = 0; cntr_prgirownext_0 < (size_prgirownext_0); cntr_prgirownext_0++) {
   12310           0 :                         NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->prgirownext[cntr_prgirownext_0]));
   12311             :                 }
   12312           0 :                 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_prgirownext_0, 0);
   12313           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   12314             :         }
   12315           0 :         if (ndr_flags & NDR_BUFFERS) {
   12316           0 :         }
   12317           0 :         return NDR_ERR_SUCCESS;
   12318             : }
   12319             : 
   12320           0 : static void ndr_print_flags_wsp_findindicesout(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_findindicesout *r)
   12321             : {
   12322           0 :         ndr_print_wsp_findindicesout(ndr, name, r);
   12323           0 : }
   12324             : 
   12325           0 : _PUBLIC_ void ndr_print_wsp_findindicesout(struct ndr_print *ndr, const char *name, const struct wsp_findindicesout *r)
   12326             : {
   12327           0 :         uint32_t cntr_prgirownext_0;
   12328           0 :         ndr_print_struct(ndr, name, "wsp_findindicesout");
   12329           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   12330           0 :         ndr->depth++;
   12331           0 :         ndr_print_uint32(ndr, "cdepthnext", r->cdepthnext);
   12332           0 :         ndr->print(ndr, "%s: ARRAY(%"PRIu32")", "prgirownext", (uint32_t)(r->cdepthnext));
   12333           0 :         ndr->depth++;
   12334           0 :         for (cntr_prgirownext_0 = 0; cntr_prgirownext_0 < (r->cdepthnext); cntr_prgirownext_0++) {
   12335           0 :                 ndr_print_uint32(ndr, "prgirownext", r->prgirownext[cntr_prgirownext_0]);
   12336             :         }
   12337           0 :         ndr->depth--;
   12338           0 :         ndr->depth--;
   12339             : }
   12340             : 
   12341           0 : _PUBLIC_ enum ndr_err_code ndr_push_req_message(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union req_message *r)
   12342             : {
   12343           0 :         uint32_t level;
   12344           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   12345           0 :         if (ndr_flags & NDR_SCALARS) {
   12346             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
   12347           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
   12348           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
   12349           0 :                 switch (level) {
   12350           0 :                         case CPMCONNECT: {
   12351           0 :                                 NDR_CHECK(ndr_push_wsp_cpmconnectin(ndr, NDR_SCALARS, &r->cpmconnect));
   12352           0 :                         break; }
   12353             : 
   12354           0 :                         case CPMCREATEQUERY: {
   12355           0 :                                 NDR_CHECK(ndr_push_wsp_cpmcreatequeryin(ndr, NDR_SCALARS, &r->cpmcreatequery));
   12356           0 :                         break; }
   12357             : 
   12358           0 :                         case CPMFREECURSOR: {
   12359           0 :                                 NDR_CHECK(ndr_push_wsp_cpmfreecursorin(ndr, NDR_SCALARS, &r->cpmfreecursor));
   12360           0 :                         break; }
   12361             : 
   12362           0 :                         case CPMGETROWS: {
   12363           0 :                                 NDR_CHECK(ndr_push_wsp_cpmgetrowsin(ndr, NDR_SCALARS, &r->cpmgetrows));
   12364           0 :                         break; }
   12365             : 
   12366           0 :                         case CPMSETBINDINGSIN: {
   12367           0 :                                 NDR_CHECK(ndr_push_wsp_cpmsetbindingsin(ndr, NDR_SCALARS, &r->cpmsetbindings));
   12368           0 :                         break; }
   12369             : 
   12370           0 :                         case CPMRESTARTPOSITIONIN: {
   12371           0 :                                 NDR_CHECK(ndr_push_wsp_cpmrestartpositionin(ndr, NDR_SCALARS, &r->cpmrrestartpos));
   12372           0 :                         break; }
   12373             : 
   12374           0 :                         case CPMGETQUERYSTATUS: {
   12375           0 :                                 NDR_CHECK(ndr_push_wsp_cpmgetquerystatusin(ndr, NDR_SCALARS, &r->cpmgetquerystatus));
   12376           0 :                         break; }
   12377             : 
   12378           0 :                         case CPMGETQUERYSTATUSEX: {
   12379           0 :                                 NDR_CHECK(ndr_push_wsp_cpmgetquerystatusexin(ndr, NDR_SCALARS, &r->cpmgetquerystatusex));
   12380           0 :                         break; }
   12381             : 
   12382           0 :                         case CPMSETSCOPEPRIORITIZATION: {
   12383           0 :                                 NDR_CHECK(ndr_push_wsp_cpmsetscopeprioritizationin(ndr, NDR_SCALARS, &r->cpmsetscopeprioritizationin));
   12384           0 :                         break; }
   12385             : 
   12386           0 :                         case CPMGETNOTIFY: {
   12387           0 :                         break; }
   12388             : 
   12389           0 :                         case CPMGETROWSETNOTIFY: {
   12390           0 :                         break; }
   12391             : 
   12392           0 :                         case CPMDISCONNECT: {
   12393           0 :                         break; }
   12394             : 
   12395           0 :                         case CPMGETSCOPESTATISTICS: {
   12396           0 :                         break; }
   12397             : 
   12398           0 :                         case CPMGETAPPROXIMATEPOSITION: {
   12399           0 :                                 NDR_CHECK(ndr_push_wsp_cpmgetapproximatepositionin(ndr, NDR_SCALARS, &r->getapproximateposition));
   12400           0 :                         break; }
   12401             : 
   12402           0 :                         case CPMCOMPAREBMK: {
   12403           0 :                                 NDR_CHECK(ndr_push_wsp_cpmcomparebmkin(ndr, NDR_SCALARS, &r->cpmcomparebmk));
   12404           0 :                         break; }
   12405             : 
   12406           0 :                         case CPMCISTATEOUT: {
   12407           0 :                                 NDR_CHECK(ndr_push_wsp_cpmcistateinout(ndr, NDR_SCALARS, &r->wsp_cpmcistate));
   12408           0 :                         break; }
   12409             : 
   12410           0 :                         case CPMFINDINDICES: {
   12411           0 :                                 NDR_CHECK(ndr_push_wsp_findindicesin(ndr, NDR_SCALARS, &r->wsp_findindices));
   12412           0 :                         break; }
   12413             : 
   12414           0 :                         case CPMRATIOFINISHED: {
   12415           0 :                                 NDR_CHECK(ndr_push_wsp_cpmratiofinishedin(ndr, NDR_SCALARS, &r->wsp_cpmratiofinished));
   12416           0 :                         break; }
   12417             : 
   12418           0 :                         case CPMFETCHVALUE: {
   12419           0 :                                 NDR_CHECK(ndr_push_wsp_cpmfetchvaluein(ndr, NDR_SCALARS, &r->cpmfetchvalue));
   12420           0 :                         break; }
   12421             : 
   12422           0 :                         default:
   12423           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
   12424             :                 }
   12425             :         }
   12426           0 :         if (ndr_flags & NDR_BUFFERS) {
   12427           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
   12428             :                         /* We didn't get it above, and the token is not needed after this. */
   12429           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
   12430             :                 }
   12431           0 :                 switch (level) {
   12432           0 :                         case CPMCONNECT:
   12433           0 :                         break;
   12434             : 
   12435           0 :                         case CPMCREATEQUERY:
   12436           0 :                                 NDR_CHECK(ndr_push_wsp_cpmcreatequeryin(ndr, NDR_BUFFERS, &r->cpmcreatequery));
   12437           0 :                         break;
   12438             : 
   12439           0 :                         case CPMFREECURSOR:
   12440           0 :                         break;
   12441             : 
   12442           0 :                         case CPMGETROWS:
   12443           0 :                                 NDR_CHECK(ndr_push_wsp_cpmgetrowsin(ndr, NDR_BUFFERS, &r->cpmgetrows));
   12444           0 :                         break;
   12445             : 
   12446           0 :                         case CPMSETBINDINGSIN:
   12447           0 :                                 NDR_CHECK(ndr_push_wsp_cpmsetbindingsin(ndr, NDR_BUFFERS, &r->cpmsetbindings));
   12448           0 :                         break;
   12449             : 
   12450           0 :                         case CPMRESTARTPOSITIONIN:
   12451           0 :                         break;
   12452             : 
   12453           0 :                         case CPMGETQUERYSTATUS:
   12454           0 :                         break;
   12455             : 
   12456           0 :                         case CPMGETQUERYSTATUSEX:
   12457           0 :                         break;
   12458             : 
   12459           0 :                         case CPMSETSCOPEPRIORITIZATION:
   12460           0 :                         break;
   12461             : 
   12462           0 :                         case CPMGETNOTIFY:
   12463           0 :                         break;
   12464             : 
   12465           0 :                         case CPMGETROWSETNOTIFY:
   12466           0 :                         break;
   12467             : 
   12468           0 :                         case CPMDISCONNECT:
   12469           0 :                         break;
   12470             : 
   12471           0 :                         case CPMGETSCOPESTATISTICS:
   12472           0 :                         break;
   12473             : 
   12474           0 :                         case CPMGETAPPROXIMATEPOSITION:
   12475           0 :                         break;
   12476             : 
   12477           0 :                         case CPMCOMPAREBMK:
   12478           0 :                         break;
   12479             : 
   12480           0 :                         case CPMCISTATEOUT:
   12481           0 :                         break;
   12482             : 
   12483           0 :                         case CPMFINDINDICES:
   12484           0 :                         break;
   12485             : 
   12486           0 :                         case CPMRATIOFINISHED:
   12487           0 :                         break;
   12488             : 
   12489           0 :                         case CPMFETCHVALUE:
   12490           0 :                         break;
   12491             : 
   12492           0 :                         default:
   12493           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
   12494             :                 }
   12495             :         }
   12496           0 :         return NDR_ERR_SUCCESS;
   12497             : }
   12498             : 
   12499           0 : _PUBLIC_ enum ndr_err_code ndr_pull_req_message(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union req_message *r)
   12500             : {
   12501           0 :         uint32_t level;
   12502           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   12503           0 :         if (ndr_flags & NDR_SCALARS) {
   12504             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
   12505           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
   12506           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
   12507           0 :                 switch (level) {
   12508           0 :                         case CPMCONNECT: {
   12509           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmconnectin(ndr, NDR_SCALARS, &r->cpmconnect));
   12510           0 :                         break; }
   12511             : 
   12512           0 :                         case CPMCREATEQUERY: {
   12513           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmcreatequeryin(ndr, NDR_SCALARS, &r->cpmcreatequery));
   12514           0 :                         break; }
   12515             : 
   12516           0 :                         case CPMFREECURSOR: {
   12517           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmfreecursorin(ndr, NDR_SCALARS, &r->cpmfreecursor));
   12518           0 :                         break; }
   12519             : 
   12520           0 :                         case CPMGETROWS: {
   12521           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmgetrowsin(ndr, NDR_SCALARS, &r->cpmgetrows));
   12522           0 :                         break; }
   12523             : 
   12524           0 :                         case CPMSETBINDINGSIN: {
   12525           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmsetbindingsin(ndr, NDR_SCALARS, &r->cpmsetbindings));
   12526           0 :                         break; }
   12527             : 
   12528           0 :                         case CPMRESTARTPOSITIONIN: {
   12529           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmrestartpositionin(ndr, NDR_SCALARS, &r->cpmrrestartpos));
   12530           0 :                         break; }
   12531             : 
   12532           0 :                         case CPMGETQUERYSTATUS: {
   12533           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmgetquerystatusin(ndr, NDR_SCALARS, &r->cpmgetquerystatus));
   12534           0 :                         break; }
   12535             : 
   12536           0 :                         case CPMGETQUERYSTATUSEX: {
   12537           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmgetquerystatusexin(ndr, NDR_SCALARS, &r->cpmgetquerystatusex));
   12538           0 :                         break; }
   12539             : 
   12540           0 :                         case CPMSETSCOPEPRIORITIZATION: {
   12541           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmsetscopeprioritizationin(ndr, NDR_SCALARS, &r->cpmsetscopeprioritizationin));
   12542           0 :                         break; }
   12543             : 
   12544           0 :                         case CPMGETNOTIFY: {
   12545           0 :                         break; }
   12546             : 
   12547           0 :                         case CPMGETROWSETNOTIFY: {
   12548           0 :                         break; }
   12549             : 
   12550           0 :                         case CPMDISCONNECT: {
   12551           0 :                         break; }
   12552             : 
   12553           0 :                         case CPMGETSCOPESTATISTICS: {
   12554           0 :                         break; }
   12555             : 
   12556           0 :                         case CPMGETAPPROXIMATEPOSITION: {
   12557           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmgetapproximatepositionin(ndr, NDR_SCALARS, &r->getapproximateposition));
   12558           0 :                         break; }
   12559             : 
   12560           0 :                         case CPMCOMPAREBMK: {
   12561           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmcomparebmkin(ndr, NDR_SCALARS, &r->cpmcomparebmk));
   12562           0 :                         break; }
   12563             : 
   12564           0 :                         case CPMCISTATEOUT: {
   12565           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmcistateinout(ndr, NDR_SCALARS, &r->wsp_cpmcistate));
   12566           0 :                         break; }
   12567             : 
   12568           0 :                         case CPMFINDINDICES: {
   12569           0 :                                 NDR_CHECK(ndr_pull_wsp_findindicesin(ndr, NDR_SCALARS, &r->wsp_findindices));
   12570           0 :                         break; }
   12571             : 
   12572           0 :                         case CPMRATIOFINISHED: {
   12573           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmratiofinishedin(ndr, NDR_SCALARS, &r->wsp_cpmratiofinished));
   12574           0 :                         break; }
   12575             : 
   12576           0 :                         case CPMFETCHVALUE: {
   12577           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmfetchvaluein(ndr, NDR_SCALARS, &r->cpmfetchvalue));
   12578           0 :                         break; }
   12579             : 
   12580           0 :                         default:
   12581           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
   12582             :                 }
   12583             :         }
   12584           0 :         if (ndr_flags & NDR_BUFFERS) {
   12585           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
   12586             :                         /* We didn't get it above, and the token is not needed after this. */
   12587           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
   12588             :                 }
   12589           0 :                 switch (level) {
   12590           0 :                         case CPMCONNECT:
   12591           0 :                         break;
   12592             : 
   12593           0 :                         case CPMCREATEQUERY:
   12594           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmcreatequeryin(ndr, NDR_BUFFERS, &r->cpmcreatequery));
   12595           0 :                         break;
   12596             : 
   12597           0 :                         case CPMFREECURSOR:
   12598           0 :                         break;
   12599             : 
   12600           0 :                         case CPMGETROWS:
   12601           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmgetrowsin(ndr, NDR_BUFFERS, &r->cpmgetrows));
   12602           0 :                         break;
   12603             : 
   12604           0 :                         case CPMSETBINDINGSIN:
   12605           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmsetbindingsin(ndr, NDR_BUFFERS, &r->cpmsetbindings));
   12606           0 :                         break;
   12607             : 
   12608           0 :                         case CPMRESTARTPOSITIONIN:
   12609           0 :                         break;
   12610             : 
   12611           0 :                         case CPMGETQUERYSTATUS:
   12612           0 :                         break;
   12613             : 
   12614           0 :                         case CPMGETQUERYSTATUSEX:
   12615           0 :                         break;
   12616             : 
   12617           0 :                         case CPMSETSCOPEPRIORITIZATION:
   12618           0 :                         break;
   12619             : 
   12620           0 :                         case CPMGETNOTIFY:
   12621           0 :                         break;
   12622             : 
   12623           0 :                         case CPMGETROWSETNOTIFY:
   12624           0 :                         break;
   12625             : 
   12626           0 :                         case CPMDISCONNECT:
   12627           0 :                         break;
   12628             : 
   12629           0 :                         case CPMGETSCOPESTATISTICS:
   12630           0 :                         break;
   12631             : 
   12632           0 :                         case CPMGETAPPROXIMATEPOSITION:
   12633           0 :                         break;
   12634             : 
   12635           0 :                         case CPMCOMPAREBMK:
   12636           0 :                         break;
   12637             : 
   12638           0 :                         case CPMCISTATEOUT:
   12639           0 :                         break;
   12640             : 
   12641           0 :                         case CPMFINDINDICES:
   12642           0 :                         break;
   12643             : 
   12644           0 :                         case CPMRATIOFINISHED:
   12645           0 :                         break;
   12646             : 
   12647           0 :                         case CPMFETCHVALUE:
   12648           0 :                         break;
   12649             : 
   12650           0 :                         default:
   12651           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
   12652             :                 }
   12653             :         }
   12654           0 :         return NDR_ERR_SUCCESS;
   12655             : }
   12656             : 
   12657           0 : _PUBLIC_ void ndr_print_req_message(struct ndr_print *ndr, const char *name, const union req_message *r)
   12658             : {
   12659           0 :         uint32_t level;
   12660           0 :         level = ndr_print_steal_switch_value(ndr, r);
   12661           0 :         ndr_print_union(ndr, name, level, "req_message");
   12662           0 :         switch (level) {
   12663           0 :                 case CPMCONNECT:
   12664           0 :                         ndr_print_wsp_cpmconnectin(ndr, "cpmconnect", &r->cpmconnect);
   12665           0 :                 break;
   12666             : 
   12667           0 :                 case CPMCREATEQUERY:
   12668           0 :                         ndr_print_wsp_cpmcreatequeryin(ndr, "cpmcreatequery", &r->cpmcreatequery);
   12669           0 :                 break;
   12670             : 
   12671           0 :                 case CPMFREECURSOR:
   12672           0 :                         ndr_print_wsp_cpmfreecursorin(ndr, "cpmfreecursor", &r->cpmfreecursor);
   12673           0 :                 break;
   12674             : 
   12675           0 :                 case CPMGETROWS:
   12676           0 :                         ndr_print_wsp_cpmgetrowsin(ndr, "cpmgetrows", &r->cpmgetrows);
   12677           0 :                 break;
   12678             : 
   12679           0 :                 case CPMSETBINDINGSIN:
   12680           0 :                         ndr_print_wsp_cpmsetbindingsin(ndr, "cpmsetbindings", &r->cpmsetbindings);
   12681           0 :                 break;
   12682             : 
   12683           0 :                 case CPMRESTARTPOSITIONIN:
   12684           0 :                         ndr_print_wsp_cpmrestartpositionin(ndr, "cpmrrestartpos", &r->cpmrrestartpos);
   12685           0 :                 break;
   12686             : 
   12687           0 :                 case CPMGETQUERYSTATUS:
   12688           0 :                         ndr_print_wsp_cpmgetquerystatusin(ndr, "cpmgetquerystatus", &r->cpmgetquerystatus);
   12689           0 :                 break;
   12690             : 
   12691           0 :                 case CPMGETQUERYSTATUSEX:
   12692           0 :                         ndr_print_wsp_cpmgetquerystatusexin(ndr, "cpmgetquerystatusex", &r->cpmgetquerystatusex);
   12693           0 :                 break;
   12694             : 
   12695           0 :                 case CPMSETSCOPEPRIORITIZATION:
   12696           0 :                         ndr_print_wsp_cpmsetscopeprioritizationin(ndr, "cpmsetscopeprioritizationin", &r->cpmsetscopeprioritizationin);
   12697           0 :                 break;
   12698             : 
   12699           0 :                 case CPMGETNOTIFY:
   12700           0 :                 break;
   12701             : 
   12702           0 :                 case CPMGETROWSETNOTIFY:
   12703           0 :                 break;
   12704             : 
   12705           0 :                 case CPMDISCONNECT:
   12706           0 :                 break;
   12707             : 
   12708           0 :                 case CPMGETSCOPESTATISTICS:
   12709           0 :                 break;
   12710             : 
   12711           0 :                 case CPMGETAPPROXIMATEPOSITION:
   12712           0 :                         ndr_print_wsp_cpmgetapproximatepositionin(ndr, "getapproximateposition", &r->getapproximateposition);
   12713           0 :                 break;
   12714             : 
   12715           0 :                 case CPMCOMPAREBMK:
   12716           0 :                         ndr_print_wsp_cpmcomparebmkin(ndr, "cpmcomparebmk", &r->cpmcomparebmk);
   12717           0 :                 break;
   12718             : 
   12719           0 :                 case CPMCISTATEOUT:
   12720           0 :                         ndr_print_wsp_cpmcistateinout(ndr, "wsp_cpmcistate", &r->wsp_cpmcistate);
   12721           0 :                 break;
   12722             : 
   12723           0 :                 case CPMFINDINDICES:
   12724           0 :                         ndr_print_wsp_findindicesin(ndr, "wsp_findindices", &r->wsp_findindices);
   12725           0 :                 break;
   12726             : 
   12727           0 :                 case CPMRATIOFINISHED:
   12728           0 :                         ndr_print_wsp_cpmratiofinishedin(ndr, "wsp_cpmratiofinished", &r->wsp_cpmratiofinished);
   12729           0 :                 break;
   12730             : 
   12731           0 :                 case CPMFETCHVALUE:
   12732           0 :                         ndr_print_wsp_cpmfetchvaluein(ndr, "cpmfetchvalue", &r->cpmfetchvalue);
   12733           0 :                 break;
   12734             : 
   12735           0 :                 default:
   12736           0 :                         ndr_print_bad_level(ndr, name, level);
   12737             :         }
   12738           0 : }
   12739             : 
   12740           0 : _PUBLIC_ enum ndr_err_code ndr_push_resp_message(struct ndr_push *ndr, ndr_flags_type ndr_flags, const union resp_message *r)
   12741             : {
   12742           0 :         uint32_t level;
   12743           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   12744           0 :         if (ndr_flags & NDR_SCALARS) {
   12745             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
   12746           0 :                 NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
   12747           0 :                 NDR_CHECK(ndr_push_union_align(ndr, 4));
   12748           0 :                 switch (level) {
   12749           0 :                         case CPMCONNECT: {
   12750           0 :                                 NDR_CHECK(ndr_push_wsp_cpmconnectout(ndr, NDR_SCALARS, &r->cpmconnect));
   12751           0 :                         break; }
   12752             : 
   12753           0 :                         case CPMCREATEQUERY: {
   12754           0 :                                 NDR_CHECK(ndr_push_wsp_cpmcreatequeryout(ndr, NDR_SCALARS, &r->cpmcreatequery));
   12755           0 :                         break; }
   12756             : 
   12757           0 :                         case CPMFREECURSOR: {
   12758           0 :                                 NDR_CHECK(ndr_push_wsp_cpmfreecursorout(ndr, NDR_SCALARS, &r->cpmfreecursor));
   12759           0 :                         break; }
   12760             : 
   12761           0 :                         case CPMGETROWS: {
   12762           0 :                                 NDR_CHECK(ndr_push_wsp_cpmgetrowsout(ndr, NDR_SCALARS, &r->cpmgetrows));
   12763           0 :                         break; }
   12764             : 
   12765           0 :                         case CPMSETBINDINGSIN: {
   12766           0 :                         break; }
   12767             : 
   12768           0 :                         case CPMRESTARTPOSITIONIN: {
   12769           0 :                         break; }
   12770             : 
   12771           0 :                         case CPMGETQUERYSTATUS: {
   12772           0 :                                 NDR_CHECK(ndr_push_wsp_cpmgetquerystatusout(ndr, NDR_SCALARS, &r->cpmgetquerystatus));
   12773           0 :                         break; }
   12774             : 
   12775           0 :                         case CPMSENDNOTIFYOUT: {
   12776           0 :                                 NDR_CHECK(ndr_push_wsp_cpmsendnotifyout(ndr, NDR_SCALARS, &r->cpmsendnotifyoutcpmgetquerystatus));
   12777           0 :                         break; }
   12778             : 
   12779           0 :                         case CPMGETQUERYSTATUSEX: {
   12780           0 :                                 NDR_CHECK(ndr_push_wsp_cpmgetquerystatusexout(ndr, NDR_SCALARS, &r->cpmgetquerystatusex));
   12781           0 :                         break; }
   12782             : 
   12783           0 :                         case CPMSETSCOPEPRIORITIZATION: {
   12784           0 :                         break; }
   12785             : 
   12786           0 :                         case CPMGETROWSETNOTIFY: {
   12787           0 :                                 NDR_CHECK(ndr_push_wsp_cpmgetrowsetnotifyout(ndr, NDR_SCALARS, &r->cpmgetrowsetnotifyout));
   12788           0 :                         break; }
   12789             : 
   12790           0 :                         case CPMGETAPPROXIMATEPOSITION: {
   12791           0 :                                 NDR_CHECK(ndr_push_wsp_cpmgetapproximatepositionout(ndr, NDR_SCALARS, &r->getapproximateposition));
   12792           0 :                         break; }
   12793             : 
   12794           0 :                         case CPMCOMPAREBMK: {
   12795           0 :                                 NDR_CHECK(ndr_push_wsp_cpmcomparebmkout(ndr, NDR_SCALARS, &r->cpmcomparebmk));
   12796           0 :                         break; }
   12797             : 
   12798           0 :                         case CPMCISTATEOUT: {
   12799           0 :                                 NDR_CHECK(ndr_push_wsp_cpmcistateinout(ndr, NDR_SCALARS, &r->wsp_cpmcistate));
   12800           0 :                         break; }
   12801             : 
   12802           0 :                         case CPMFINDINDICES: {
   12803           0 :                                 NDR_CHECK(ndr_push_wsp_findindicesout(ndr, NDR_SCALARS, &r->wsp_findindices));
   12804           0 :                         break; }
   12805             : 
   12806           0 :                         case CPMGETSCOPESTATISTICS: {
   12807           0 :                                 NDR_CHECK(ndr_push_wsp_cpmgetscopestatisticsout(ndr, NDR_SCALARS, &r->cpmgetscopestatistics));
   12808           0 :                         break; }
   12809             : 
   12810           0 :                         case CPMRATIOFINISHED: {
   12811           0 :                                 NDR_CHECK(ndr_push_wsp_cpmratiofinishedout(ndr, NDR_SCALARS, &r->wsp_cpmratiofinished));
   12812           0 :                         break; }
   12813             : 
   12814           0 :                         case CPMFETCHVALUE: {
   12815           0 :                                 NDR_CHECK(ndr_push_wsp_cpmfetchvalueout(ndr, NDR_SCALARS, &r->cpmfetchvalue));
   12816           0 :                         break; }
   12817             : 
   12818           0 :                         default:
   12819           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
   12820             :                 }
   12821             :         }
   12822           0 :         if (ndr_flags & NDR_BUFFERS) {
   12823           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
   12824             :                         /* We didn't get it above, and the token is not needed after this. */
   12825           0 :                         NDR_CHECK(ndr_push_steal_switch_value(ndr, r, &level));
   12826             :                 }
   12827           0 :                 switch (level) {
   12828           0 :                         case CPMCONNECT:
   12829           0 :                         break;
   12830             : 
   12831           0 :                         case CPMCREATEQUERY:
   12832           0 :                         break;
   12833             : 
   12834           0 :                         case CPMFREECURSOR:
   12835           0 :                         break;
   12836             : 
   12837           0 :                         case CPMGETROWS:
   12838           0 :                                 NDR_CHECK(ndr_push_wsp_cpmgetrowsout(ndr, NDR_BUFFERS, &r->cpmgetrows));
   12839           0 :                         break;
   12840             : 
   12841           0 :                         case CPMSETBINDINGSIN:
   12842           0 :                         break;
   12843             : 
   12844           0 :                         case CPMRESTARTPOSITIONIN:
   12845           0 :                         break;
   12846             : 
   12847           0 :                         case CPMGETQUERYSTATUS:
   12848           0 :                         break;
   12849             : 
   12850           0 :                         case CPMSENDNOTIFYOUT:
   12851           0 :                         break;
   12852             : 
   12853           0 :                         case CPMGETQUERYSTATUSEX:
   12854           0 :                         break;
   12855             : 
   12856           0 :                         case CPMSETSCOPEPRIORITIZATION:
   12857           0 :                         break;
   12858             : 
   12859           0 :                         case CPMGETROWSETNOTIFY:
   12860           0 :                         break;
   12861             : 
   12862           0 :                         case CPMGETAPPROXIMATEPOSITION:
   12863           0 :                         break;
   12864             : 
   12865           0 :                         case CPMCOMPAREBMK:
   12866           0 :                         break;
   12867             : 
   12868           0 :                         case CPMCISTATEOUT:
   12869           0 :                         break;
   12870             : 
   12871           0 :                         case CPMFINDINDICES:
   12872           0 :                         break;
   12873             : 
   12874           0 :                         case CPMGETSCOPESTATISTICS:
   12875           0 :                         break;
   12876             : 
   12877           0 :                         case CPMRATIOFINISHED:
   12878           0 :                         break;
   12879             : 
   12880           0 :                         case CPMFETCHVALUE:
   12881           0 :                         break;
   12882             : 
   12883           0 :                         default:
   12884           0 :                                 return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32, level);
   12885             :                 }
   12886             :         }
   12887           0 :         return NDR_ERR_SUCCESS;
   12888             : }
   12889             : 
   12890           0 : _PUBLIC_ enum ndr_err_code ndr_pull_resp_message(struct ndr_pull *ndr, ndr_flags_type ndr_flags, union resp_message *r)
   12891             : {
   12892           0 :         uint32_t level;
   12893           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   12894           0 :         if (ndr_flags & NDR_SCALARS) {
   12895             :                 /* This token is not used again (except perhaps below in the NDR_BUFFERS case) */
   12896           0 :                 NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
   12897           0 :                 NDR_CHECK(ndr_pull_union_align(ndr, 4));
   12898           0 :                 switch (level) {
   12899           0 :                         case CPMCONNECT: {
   12900           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmconnectout(ndr, NDR_SCALARS, &r->cpmconnect));
   12901           0 :                         break; }
   12902             : 
   12903           0 :                         case CPMCREATEQUERY: {
   12904           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmcreatequeryout(ndr, NDR_SCALARS, &r->cpmcreatequery));
   12905           0 :                         break; }
   12906             : 
   12907           0 :                         case CPMFREECURSOR: {
   12908           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmfreecursorout(ndr, NDR_SCALARS, &r->cpmfreecursor));
   12909           0 :                         break; }
   12910             : 
   12911           0 :                         case CPMGETROWS: {
   12912           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmgetrowsout(ndr, NDR_SCALARS, &r->cpmgetrows));
   12913           0 :                         break; }
   12914             : 
   12915           0 :                         case CPMSETBINDINGSIN: {
   12916           0 :                         break; }
   12917             : 
   12918           0 :                         case CPMRESTARTPOSITIONIN: {
   12919           0 :                         break; }
   12920             : 
   12921           0 :                         case CPMGETQUERYSTATUS: {
   12922           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmgetquerystatusout(ndr, NDR_SCALARS, &r->cpmgetquerystatus));
   12923           0 :                         break; }
   12924             : 
   12925           0 :                         case CPMSENDNOTIFYOUT: {
   12926           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmsendnotifyout(ndr, NDR_SCALARS, &r->cpmsendnotifyoutcpmgetquerystatus));
   12927           0 :                         break; }
   12928             : 
   12929           0 :                         case CPMGETQUERYSTATUSEX: {
   12930           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmgetquerystatusexout(ndr, NDR_SCALARS, &r->cpmgetquerystatusex));
   12931           0 :                         break; }
   12932             : 
   12933           0 :                         case CPMSETSCOPEPRIORITIZATION: {
   12934           0 :                         break; }
   12935             : 
   12936           0 :                         case CPMGETROWSETNOTIFY: {
   12937           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmgetrowsetnotifyout(ndr, NDR_SCALARS, &r->cpmgetrowsetnotifyout));
   12938           0 :                         break; }
   12939             : 
   12940           0 :                         case CPMGETAPPROXIMATEPOSITION: {
   12941           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmgetapproximatepositionout(ndr, NDR_SCALARS, &r->getapproximateposition));
   12942           0 :                         break; }
   12943             : 
   12944           0 :                         case CPMCOMPAREBMK: {
   12945           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmcomparebmkout(ndr, NDR_SCALARS, &r->cpmcomparebmk));
   12946           0 :                         break; }
   12947             : 
   12948           0 :                         case CPMCISTATEOUT: {
   12949           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmcistateinout(ndr, NDR_SCALARS, &r->wsp_cpmcistate));
   12950           0 :                         break; }
   12951             : 
   12952           0 :                         case CPMFINDINDICES: {
   12953           0 :                                 NDR_CHECK(ndr_pull_wsp_findindicesout(ndr, NDR_SCALARS, &r->wsp_findindices));
   12954           0 :                         break; }
   12955             : 
   12956           0 :                         case CPMGETSCOPESTATISTICS: {
   12957           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmgetscopestatisticsout(ndr, NDR_SCALARS, &r->cpmgetscopestatistics));
   12958           0 :                         break; }
   12959             : 
   12960           0 :                         case CPMRATIOFINISHED: {
   12961           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmratiofinishedout(ndr, NDR_SCALARS, &r->wsp_cpmratiofinished));
   12962           0 :                         break; }
   12963             : 
   12964           0 :                         case CPMFETCHVALUE: {
   12965           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmfetchvalueout(ndr, NDR_SCALARS, &r->cpmfetchvalue));
   12966           0 :                         break; }
   12967             : 
   12968           0 :                         default:
   12969           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
   12970             :                 }
   12971             :         }
   12972           0 :         if (ndr_flags & NDR_BUFFERS) {
   12973           0 :                 if (!(ndr_flags & NDR_SCALARS)) {
   12974             :                         /* We didn't get it above, and the token is not needed after this. */
   12975           0 :                         NDR_CHECK(ndr_pull_steal_switch_value(ndr, r, &level));
   12976             :                 }
   12977           0 :                 switch (level) {
   12978           0 :                         case CPMCONNECT:
   12979           0 :                         break;
   12980             : 
   12981           0 :                         case CPMCREATEQUERY:
   12982           0 :                         break;
   12983             : 
   12984           0 :                         case CPMFREECURSOR:
   12985           0 :                         break;
   12986             : 
   12987           0 :                         case CPMGETROWS:
   12988           0 :                                 NDR_CHECK(ndr_pull_wsp_cpmgetrowsout(ndr, NDR_BUFFERS, &r->cpmgetrows));
   12989           0 :                         break;
   12990             : 
   12991           0 :                         case CPMSETBINDINGSIN:
   12992           0 :                         break;
   12993             : 
   12994           0 :                         case CPMRESTARTPOSITIONIN:
   12995           0 :                         break;
   12996             : 
   12997           0 :                         case CPMGETQUERYSTATUS:
   12998           0 :                         break;
   12999             : 
   13000           0 :                         case CPMSENDNOTIFYOUT:
   13001           0 :                         break;
   13002             : 
   13003           0 :                         case CPMGETQUERYSTATUSEX:
   13004           0 :                         break;
   13005             : 
   13006           0 :                         case CPMSETSCOPEPRIORITIZATION:
   13007           0 :                         break;
   13008             : 
   13009           0 :                         case CPMGETROWSETNOTIFY:
   13010           0 :                         break;
   13011             : 
   13012           0 :                         case CPMGETAPPROXIMATEPOSITION:
   13013           0 :                         break;
   13014             : 
   13015           0 :                         case CPMCOMPAREBMK:
   13016           0 :                         break;
   13017             : 
   13018           0 :                         case CPMCISTATEOUT:
   13019           0 :                         break;
   13020             : 
   13021           0 :                         case CPMFINDINDICES:
   13022           0 :                         break;
   13023             : 
   13024           0 :                         case CPMGETSCOPESTATISTICS:
   13025           0 :                         break;
   13026             : 
   13027           0 :                         case CPMRATIOFINISHED:
   13028           0 :                         break;
   13029             : 
   13030           0 :                         case CPMFETCHVALUE:
   13031           0 :                         break;
   13032             : 
   13033           0 :                         default:
   13034           0 :                                 return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %"PRIu32" at %s", level, __location__);
   13035             :                 }
   13036             :         }
   13037           0 :         return NDR_ERR_SUCCESS;
   13038             : }
   13039             : 
   13040           0 : _PUBLIC_ void ndr_print_resp_message(struct ndr_print *ndr, const char *name, const union resp_message *r)
   13041             : {
   13042           0 :         uint32_t level;
   13043           0 :         level = ndr_print_steal_switch_value(ndr, r);
   13044           0 :         ndr_print_union(ndr, name, level, "resp_message");
   13045           0 :         switch (level) {
   13046           0 :                 case CPMCONNECT:
   13047           0 :                         ndr_print_wsp_cpmconnectout(ndr, "cpmconnect", &r->cpmconnect);
   13048           0 :                 break;
   13049             : 
   13050           0 :                 case CPMCREATEQUERY:
   13051           0 :                         ndr_print_wsp_cpmcreatequeryout(ndr, "cpmcreatequery", &r->cpmcreatequery);
   13052           0 :                 break;
   13053             : 
   13054           0 :                 case CPMFREECURSOR:
   13055           0 :                         ndr_print_wsp_cpmfreecursorout(ndr, "cpmfreecursor", &r->cpmfreecursor);
   13056           0 :                 break;
   13057             : 
   13058           0 :                 case CPMGETROWS:
   13059           0 :                         ndr_print_wsp_cpmgetrowsout(ndr, "cpmgetrows", &r->cpmgetrows);
   13060           0 :                 break;
   13061             : 
   13062           0 :                 case CPMSETBINDINGSIN:
   13063           0 :                 break;
   13064             : 
   13065           0 :                 case CPMRESTARTPOSITIONIN:
   13066           0 :                 break;
   13067             : 
   13068           0 :                 case CPMGETQUERYSTATUS:
   13069           0 :                         ndr_print_wsp_cpmgetquerystatusout(ndr, "cpmgetquerystatus", &r->cpmgetquerystatus);
   13070           0 :                 break;
   13071             : 
   13072           0 :                 case CPMSENDNOTIFYOUT:
   13073           0 :                         ndr_print_wsp_cpmsendnotifyout(ndr, "cpmsendnotifyoutcpmgetquerystatus", &r->cpmsendnotifyoutcpmgetquerystatus);
   13074           0 :                 break;
   13075             : 
   13076           0 :                 case CPMGETQUERYSTATUSEX:
   13077           0 :                         ndr_print_wsp_cpmgetquerystatusexout(ndr, "cpmgetquerystatusex", &r->cpmgetquerystatusex);
   13078           0 :                 break;
   13079             : 
   13080           0 :                 case CPMSETSCOPEPRIORITIZATION:
   13081           0 :                 break;
   13082             : 
   13083           0 :                 case CPMGETROWSETNOTIFY:
   13084           0 :                         ndr_print_wsp_cpmgetrowsetnotifyout(ndr, "cpmgetrowsetnotifyout", &r->cpmgetrowsetnotifyout);
   13085           0 :                 break;
   13086             : 
   13087           0 :                 case CPMGETAPPROXIMATEPOSITION:
   13088           0 :                         ndr_print_wsp_cpmgetapproximatepositionout(ndr, "getapproximateposition", &r->getapproximateposition);
   13089           0 :                 break;
   13090             : 
   13091           0 :                 case CPMCOMPAREBMK:
   13092           0 :                         ndr_print_wsp_cpmcomparebmkout(ndr, "cpmcomparebmk", &r->cpmcomparebmk);
   13093           0 :                 break;
   13094             : 
   13095           0 :                 case CPMCISTATEOUT:
   13096           0 :                         ndr_print_wsp_cpmcistateinout(ndr, "wsp_cpmcistate", &r->wsp_cpmcistate);
   13097           0 :                 break;
   13098             : 
   13099           0 :                 case CPMFINDINDICES:
   13100           0 :                         ndr_print_wsp_findindicesout(ndr, "wsp_findindices", &r->wsp_findindices);
   13101           0 :                 break;
   13102             : 
   13103           0 :                 case CPMGETSCOPESTATISTICS:
   13104           0 :                         ndr_print_wsp_cpmgetscopestatisticsout(ndr, "cpmgetscopestatistics", &r->cpmgetscopestatistics);
   13105           0 :                 break;
   13106             : 
   13107           0 :                 case CPMRATIOFINISHED:
   13108           0 :                         ndr_print_wsp_cpmratiofinishedout(ndr, "wsp_cpmratiofinished", &r->wsp_cpmratiofinished);
   13109           0 :                 break;
   13110             : 
   13111           0 :                 case CPMFETCHVALUE:
   13112           0 :                         ndr_print_wsp_cpmfetchvalueout(ndr, "cpmfetchvalue", &r->cpmfetchvalue);
   13113           0 :                 break;
   13114             : 
   13115           0 :                 default:
   13116           0 :                         ndr_print_bad_level(ndr, name, level);
   13117             :         }
   13118           0 : }
   13119             : 
   13120           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_request(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_request *r)
   13121             : {
   13122           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   13123           0 :         if (ndr_flags & NDR_SCALARS) {
   13124           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   13125           0 :                 NDR_CHECK(ndr_push_wsp_header(ndr, NDR_SCALARS, &r->header));
   13126           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->message, r->header.msg));
   13127           0 :                 NDR_CHECK(ndr_push_req_message(ndr, NDR_SCALARS, &r->message));
   13128           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   13129             :         }
   13130           0 :         if (ndr_flags & NDR_BUFFERS) {
   13131           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->message, r->header.msg));
   13132           0 :                 NDR_CHECK(ndr_push_req_message(ndr, NDR_BUFFERS, &r->message));
   13133             :         }
   13134           0 :         return NDR_ERR_SUCCESS;
   13135             : }
   13136             : 
   13137           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_request(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_request *r)
   13138             : {
   13139           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   13140           0 :         if (ndr_flags & NDR_SCALARS) {
   13141           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   13142           0 :                 NDR_CHECK(ndr_pull_wsp_header(ndr, NDR_SCALARS, &r->header));
   13143           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->message, r->header.msg));
   13144           0 :                 NDR_CHECK(ndr_pull_req_message(ndr, NDR_SCALARS, &r->message));
   13145           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   13146             :         }
   13147           0 :         if (ndr_flags & NDR_BUFFERS) {
   13148           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->message, r->header.msg));
   13149           0 :                 NDR_CHECK(ndr_pull_req_message(ndr, NDR_BUFFERS, &r->message));
   13150             :         }
   13151           0 :         return NDR_ERR_SUCCESS;
   13152             : }
   13153             : 
   13154           0 : static void ndr_print_flags_wsp_request(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_request *r)
   13155             : {
   13156           0 :         ndr_print_wsp_request(ndr, name, r);
   13157           0 : }
   13158             : 
   13159           0 : _PUBLIC_ void ndr_print_wsp_request(struct ndr_print *ndr, const char *name, const struct wsp_request *r)
   13160             : {
   13161           0 :         ndr_print_struct(ndr, name, "wsp_request");
   13162           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   13163           0 :         ndr->depth++;
   13164           0 :         ndr_print_wsp_header(ndr, "header", &r->header);
   13165           0 :         ndr_print_set_switch_value(ndr, &r->message, r->header.msg);
   13166           0 :         ndr_print_req_message(ndr, "message", &r->message);
   13167           0 :         ndr->depth--;
   13168             : }
   13169             : 
   13170           0 : _PUBLIC_ enum ndr_err_code ndr_push_wsp_response(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct wsp_response *r)
   13171             : {
   13172           0 :         NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
   13173           0 :         if (ndr_flags & NDR_SCALARS) {
   13174           0 :                 NDR_CHECK(ndr_push_align(ndr, 4));
   13175           0 :                 NDR_CHECK(ndr_push_wsp_header(ndr, NDR_SCALARS, &r->header));
   13176           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->message, r->header.msg));
   13177           0 :                 NDR_CHECK(ndr_push_resp_message(ndr, NDR_SCALARS, &r->message));
   13178           0 :                 NDR_CHECK(ndr_push_trailer_align(ndr, 4));
   13179             :         }
   13180           0 :         if (ndr_flags & NDR_BUFFERS) {
   13181           0 :                 NDR_CHECK(ndr_push_set_switch_value(ndr, &r->message, r->header.msg));
   13182           0 :                 NDR_CHECK(ndr_push_resp_message(ndr, NDR_BUFFERS, &r->message));
   13183             :         }
   13184           0 :         return NDR_ERR_SUCCESS;
   13185             : }
   13186             : 
   13187           0 : _PUBLIC_ enum ndr_err_code ndr_pull_wsp_response(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct wsp_response *r)
   13188             : {
   13189           0 :         NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
   13190           0 :         if (ndr_flags & NDR_SCALARS) {
   13191           0 :                 NDR_CHECK(ndr_pull_align(ndr, 4));
   13192           0 :                 NDR_CHECK(ndr_pull_wsp_header(ndr, NDR_SCALARS, &r->header));
   13193           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->message, r->header.msg));
   13194           0 :                 NDR_CHECK(ndr_pull_resp_message(ndr, NDR_SCALARS, &r->message));
   13195           0 :                 NDR_CHECK(ndr_pull_trailer_align(ndr, 4));
   13196             :         }
   13197           0 :         if (ndr_flags & NDR_BUFFERS) {
   13198           0 :                 NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->message, r->header.msg));
   13199           0 :                 NDR_CHECK(ndr_pull_resp_message(ndr, NDR_BUFFERS, &r->message));
   13200             :         }
   13201           0 :         return NDR_ERR_SUCCESS;
   13202             : }
   13203             : 
   13204           0 : static void ndr_print_flags_wsp_response(struct ndr_print *ndr, const char *name, ndr_flags_type unused, const struct wsp_response *r)
   13205             : {
   13206           0 :         ndr_print_wsp_response(ndr, name, r);
   13207           0 : }
   13208             : 
   13209           0 : _PUBLIC_ void ndr_print_wsp_response(struct ndr_print *ndr, const char *name, const struct wsp_response *r)
   13210             : {
   13211           0 :         ndr_print_struct(ndr, name, "wsp_response");
   13212           0 :         if (r == NULL) { ndr_print_null(ndr); return; }
   13213           0 :         ndr->depth++;
   13214           0 :         ndr_print_wsp_header(ndr, "header", &r->header);
   13215           0 :         ndr_print_set_switch_value(ndr, &r->message, r->header.msg);
   13216           0 :         ndr_print_resp_message(ndr, "message", &r->message);
   13217           0 :         ndr->depth--;
   13218             : }
   13219             : 
   13220             : #ifndef SKIP_NDR_TABLE_msftewds
   13221             : static const struct ndr_interface_public_struct msftewds_public_structs[] = {
   13222             :         {
   13223             :                 .name = "vt_variant_wrap",
   13224             :                 .struct_size = sizeof(struct vt_variant_wrap ),
   13225             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_variant_wrap,
   13226             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_variant_wrap,
   13227             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_variant_wrap,
   13228             :         },
   13229             :         {
   13230             :                 .name = "vt_decimal",
   13231             :                 .struct_size = sizeof(struct vt_decimal ),
   13232             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_decimal,
   13233             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_decimal,
   13234             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_decimal,
   13235             :         },
   13236             :         {
   13237             :                 .name = "vt_decimal_vec",
   13238             :                 .struct_size = sizeof(struct vt_decimal_vec ),
   13239             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_decimal_vec,
   13240             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_decimal_vec,
   13241             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_decimal_vec,
   13242             :         },
   13243             :         {
   13244             :                 .name = "vt_bstr",
   13245             :                 .struct_size = sizeof(struct vt_bstr ),
   13246             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_bstr,
   13247             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_bstr,
   13248             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_bstr,
   13249             :         },
   13250             :         {
   13251             :                 .name = "vt_bstr_vec",
   13252             :                 .struct_size = sizeof(struct vt_bstr_vec ),
   13253             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_bstr_vec,
   13254             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_bstr_vec,
   13255             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_bstr_vec,
   13256             :         },
   13257             :         {
   13258             :                 .name = "vt_lpwstr",
   13259             :                 .struct_size = sizeof(struct vt_lpwstr ),
   13260             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_lpwstr,
   13261             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_lpwstr,
   13262             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_lpwstr,
   13263             :         },
   13264             :         {
   13265             :                 .name = "vt_lpwstr_vec",
   13266             :                 .struct_size = sizeof(struct vt_lpwstr_vec ),
   13267             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_lpwstr_vec,
   13268             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_lpwstr_vec,
   13269             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_lpwstr_vec,
   13270             :         },
   13271             :         {
   13272             :                 .name = "vt_compressed_lpwstr",
   13273             :                 .struct_size = sizeof(struct vt_compressed_lpwstr ),
   13274             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_compressed_lpwstr,
   13275             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_compressed_lpwstr,
   13276             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_compressed_lpwstr,
   13277             :         },
   13278             :         {
   13279             :                 .name = "vt_compressed_lpwstr_vec",
   13280             :                 .struct_size = sizeof(struct vt_compressed_lpwstr_vec ),
   13281             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_compressed_lpwstr_vec,
   13282             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_compressed_lpwstr_vec,
   13283             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_compressed_lpwstr_vec,
   13284             :         },
   13285             :         {
   13286             :                 .name = "vt_i1_vec",
   13287             :                 .struct_size = sizeof(struct vt_i1_vec ),
   13288             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_i1_vec,
   13289             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_i1_vec,
   13290             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_i1_vec,
   13291             :         },
   13292             :         {
   13293             :                 .name = "vt_ui1_vec",
   13294             :                 .struct_size = sizeof(struct vt_ui1_vec ),
   13295             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_ui1_vec,
   13296             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_ui1_vec,
   13297             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_ui1_vec,
   13298             :         },
   13299             :         {
   13300             :                 .name = "vt_i2_vec",
   13301             :                 .struct_size = sizeof(struct vt_i2_vec ),
   13302             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_i2_vec,
   13303             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_i2_vec,
   13304             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_i2_vec,
   13305             :         },
   13306             :         {
   13307             :                 .name = "vt_ui2_vec",
   13308             :                 .struct_size = sizeof(struct vt_ui2_vec ),
   13309             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_ui2_vec,
   13310             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_ui2_vec,
   13311             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_ui2_vec,
   13312             :         },
   13313             :         {
   13314             :                 .name = "vt_i4_vec",
   13315             :                 .struct_size = sizeof(struct vt_i4_vec ),
   13316             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_i4_vec,
   13317             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_i4_vec,
   13318             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_i4_vec,
   13319             :         },
   13320             :         {
   13321             :                 .name = "vt_ui4_vec",
   13322             :                 .struct_size = sizeof(struct vt_ui4_vec ),
   13323             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_ui4_vec,
   13324             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_ui4_vec,
   13325             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_ui4_vec,
   13326             :         },
   13327             :         {
   13328             :                 .name = "vt_dlong_vec",
   13329             :                 .struct_size = sizeof(struct vt_dlong_vec ),
   13330             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_dlong_vec,
   13331             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_dlong_vec,
   13332             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_dlong_vec,
   13333             :         },
   13334             :         {
   13335             :                 .name = "vt_udlong_vec",
   13336             :                 .struct_size = sizeof(struct vt_udlong_vec ),
   13337             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_udlong_vec,
   13338             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_udlong_vec,
   13339             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_udlong_vec,
   13340             :         },
   13341             :         {
   13342             :                 .name = "vt_clsid_vec",
   13343             :                 .struct_size = sizeof(struct vt_clsid_vec ),
   13344             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_clsid_vec,
   13345             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_clsid_vec,
   13346             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_clsid_vec,
   13347             :         },
   13348             :         {
   13349             :                 .name = "vt_variant_wrap_vec",
   13350             :                 .struct_size = sizeof(struct vt_variant_wrap_vec ),
   13351             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_variant_wrap_vec,
   13352             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_variant_wrap_vec,
   13353             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_variant_wrap_vec,
   13354             :         },
   13355             :         {
   13356             :                 .name = "safearraybound",
   13357             :                 .struct_size = sizeof(struct safearraybound ),
   13358             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_safearraybound,
   13359             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_safearraybound,
   13360             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_safearraybound,
   13361             :         },
   13362             :         {
   13363             :                 .name = "vt_i4_safe_array",
   13364             :                 .struct_size = sizeof(struct vt_i4_safe_array ),
   13365             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_i4_safe_array,
   13366             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_i4_safe_array,
   13367             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_i4_safe_array,
   13368             :         },
   13369             :         {
   13370             :                 .name = "vt_ui4_safe_array",
   13371             :                 .struct_size = sizeof(struct vt_ui4_safe_array ),
   13372             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_ui4_safe_array,
   13373             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_ui4_safe_array,
   13374             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_ui4_safe_array,
   13375             :         },
   13376             :         {
   13377             :                 .name = "vt_bstr_safe_array",
   13378             :                 .struct_size = sizeof(struct vt_bstr_safe_array ),
   13379             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_bstr_safe_array,
   13380             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_bstr_safe_array,
   13381             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_bstr_safe_array,
   13382             :         },
   13383             :         {
   13384             :                 .name = "vt_i1_safe_array",
   13385             :                 .struct_size = sizeof(struct vt_i1_safe_array ),
   13386             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_i1_safe_array,
   13387             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_i1_safe_array,
   13388             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_i1_safe_array,
   13389             :         },
   13390             :         {
   13391             :                 .name = "vt_ui1_safe_array",
   13392             :                 .struct_size = sizeof(struct vt_ui1_safe_array ),
   13393             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_ui1_safe_array,
   13394             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_ui1_safe_array,
   13395             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_ui1_safe_array,
   13396             :         },
   13397             :         {
   13398             :                 .name = "vt_i2_safe_array",
   13399             :                 .struct_size = sizeof(struct vt_i2_safe_array ),
   13400             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_i2_safe_array,
   13401             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_i2_safe_array,
   13402             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_i2_safe_array,
   13403             :         },
   13404             :         {
   13405             :                 .name = "vt_ui2_safe_array",
   13406             :                 .struct_size = sizeof(struct vt_ui2_safe_array ),
   13407             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_ui2_safe_array,
   13408             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_ui2_safe_array,
   13409             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_ui2_safe_array,
   13410             :         },
   13411             :         {
   13412             :                 .name = "vt_dlong_safe_array",
   13413             :                 .struct_size = sizeof(struct vt_dlong_safe_array ),
   13414             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_dlong_safe_array,
   13415             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_dlong_safe_array,
   13416             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_dlong_safe_array,
   13417             :         },
   13418             :         {
   13419             :                 .name = "vt_variant_wrap_safearray",
   13420             :                 .struct_size = sizeof(struct vt_variant_wrap_safearray ),
   13421             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_variant_wrap_safearray,
   13422             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_variant_wrap_safearray,
   13423             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_variant_wrap_safearray,
   13424             :         },
   13425             :         {
   13426             :                 .name = "wsp_cbasestoragevariant",
   13427             :                 .struct_size = sizeof(struct wsp_cbasestoragevariant ),
   13428             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cbasestoragevariant,
   13429             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cbasestoragevariant,
   13430             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cbasestoragevariant,
   13431             :         },
   13432             :         {
   13433             :                 .name = "wsp_cdbcolid",
   13434             :                 .struct_size = sizeof(struct wsp_cdbcolid ),
   13435             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cdbcolid,
   13436             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cdbcolid,
   13437             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cdbcolid,
   13438             :         },
   13439             :         {
   13440             :                 .name = "wsp_header",
   13441             :                 .struct_size = sizeof(struct wsp_header ),
   13442             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_header,
   13443             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_header,
   13444             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_header,
   13445             :         },
   13446             :         {
   13447             :                 .name = "wsp_cdbprop",
   13448             :                 .struct_size = sizeof(struct wsp_cdbprop ),
   13449             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cdbprop,
   13450             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cdbprop,
   13451             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cdbprop,
   13452             :         },
   13453             :         {
   13454             :                 .name = "wsp_cdbpropset",
   13455             :                 .struct_size = sizeof(struct wsp_cdbpropset ),
   13456             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cdbpropset,
   13457             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cdbpropset,
   13458             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cdbpropset,
   13459             :         },
   13460             :         {
   13461             :                 .name = "wsp_csort",
   13462             :                 .struct_size = sizeof(struct wsp_csort ),
   13463             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_csort,
   13464             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_csort,
   13465             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_csort,
   13466             :         },
   13467             :         {
   13468             :                 .name = "wsp_csortset",
   13469             :                 .struct_size = sizeof(struct wsp_csortset ),
   13470             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_csortset,
   13471             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_csortset,
   13472             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_csortset,
   13473             :         },
   13474             :         {
   13475             :                 .name = "connectin_propsets",
   13476             :                 .struct_size = sizeof(struct connectin_propsets ),
   13477             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_connectin_propsets,
   13478             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_connectin_propsets,
   13479             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_connectin_propsets,
   13480             :         },
   13481             :         {
   13482             :                 .name = "connectin_extpropsets",
   13483             :                 .struct_size = sizeof(struct connectin_extpropsets ),
   13484             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_connectin_extpropsets,
   13485             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_connectin_extpropsets,
   13486             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_connectin_extpropsets,
   13487             :         },
   13488             :         {
   13489             :                 .name = "wsp_cpmconnectin",
   13490             :                 .struct_size = sizeof(struct wsp_cpmconnectin ),
   13491             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmconnectin,
   13492             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmconnectin,
   13493             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmconnectin,
   13494             :         },
   13495             :         {
   13496             :                 .name = "version_info",
   13497             :                 .struct_size = sizeof(struct version_info ),
   13498             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_version_info,
   13499             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_version_info,
   13500             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_version_info,
   13501             :         },
   13502             :         {
   13503             :                 .name = "wsp_cpmconnectout",
   13504             :                 .struct_size = sizeof(struct wsp_cpmconnectout ),
   13505             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmconnectout,
   13506             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmconnectout,
   13507             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmconnectout,
   13508             :         },
   13509             :         {
   13510             :                 .name = "wsp_ccolumnset",
   13511             :                 .struct_size = sizeof(struct wsp_ccolumnset ),
   13512             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_ccolumnset,
   13513             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_ccolumnset,
   13514             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_ccolumnset,
   13515             :         },
   13516             :         {
   13517             :                 .name = "wsp_cnoderestriction",
   13518             :                 .struct_size = sizeof(struct wsp_cnoderestriction ),
   13519             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cnoderestriction,
   13520             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cnoderestriction,
   13521             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cnoderestriction,
   13522             :         },
   13523             :         {
   13524             :                 .name = "wsp_len_string_pair",
   13525             :                 .struct_size = sizeof(struct wsp_len_string_pair ),
   13526             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_len_string_pair,
   13527             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_len_string_pair,
   13528             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_len_string_pair,
   13529             :         },
   13530             :         {
   13531             :                 .name = "wsp_labeldata",
   13532             :                 .struct_size = sizeof(struct wsp_labeldata ),
   13533             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_labeldata,
   13534             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_labeldata,
   13535             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_labeldata,
   13536             :         },
   13537             :         {
   13538             :                 .name = "wsp_rangeboundary",
   13539             :                 .struct_size = sizeof(struct wsp_rangeboundary ),
   13540             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_rangeboundary,
   13541             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_rangeboundary,
   13542             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_rangeboundary,
   13543             :         },
   13544             :         {
   13545             :                 .name = "wsp_crangecategspec",
   13546             :                 .struct_size = sizeof(struct wsp_crangecategspec ),
   13547             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_crangecategspec,
   13548             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_crangecategspec,
   13549             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_crangecategspec,
   13550             :         },
   13551             :         {
   13552             :                 .name = "wsp_ccategspec",
   13553             :                 .struct_size = sizeof(struct wsp_ccategspec ),
   13554             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_ccategspec,
   13555             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_ccategspec,
   13556             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_ccategspec,
   13557             :         },
   13558             :         {
   13559             :                 .name = "wsp_repofdata",
   13560             :                 .struct_size = sizeof(struct wsp_repofdata ),
   13561             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_repofdata,
   13562             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_repofdata,
   13563             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_repofdata,
   13564             :         },
   13565             :         {
   13566             :                 .name = "wsp_caggregspec",
   13567             :                 .struct_size = sizeof(struct wsp_caggregspec ),
   13568             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_caggregspec,
   13569             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_caggregspec,
   13570             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_caggregspec,
   13571             :         },
   13572             :         {
   13573             :                 .name = "wsp_caggregset",
   13574             :                 .struct_size = sizeof(struct wsp_caggregset ),
   13575             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_caggregset,
   13576             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_caggregset,
   13577             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_caggregset,
   13578             :         },
   13579             :         {
   13580             :                 .name = "wsp_caggregsortkey",
   13581             :                 .struct_size = sizeof(struct wsp_caggregsortkey ),
   13582             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_caggregsortkey,
   13583             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_caggregsortkey,
   13584             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_caggregsortkey,
   13585             :         },
   13586             :         {
   13587             :                 .name = "wsp_csortaggregset",
   13588             :                 .struct_size = sizeof(struct wsp_csortaggregset ),
   13589             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_csortaggregset,
   13590             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_csortaggregset,
   13591             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_csortaggregset,
   13592             :         },
   13593             :         {
   13594             :                 .name = "wsp_cingroupsortaggregset",
   13595             :                 .struct_size = sizeof(struct wsp_cingroupsortaggregset ),
   13596             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cingroupsortaggregset,
   13597             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cingroupsortaggregset,
   13598             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cingroupsortaggregset,
   13599             :         },
   13600             :         {
   13601             :                 .name = "wsp_cingroupsortaggregsets",
   13602             :                 .struct_size = sizeof(struct wsp_cingroupsortaggregsets ),
   13603             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cingroupsortaggregsets,
   13604             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cingroupsortaggregsets,
   13605             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cingroupsortaggregsets,
   13606             :         },
   13607             :         {
   13608             :                 .name = "wsp_ccategorizationspec",
   13609             :                 .struct_size = sizeof(struct wsp_ccategorizationspec ),
   13610             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_ccategorizationspec,
   13611             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_ccategorizationspec,
   13612             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_ccategorizationspec,
   13613             :         },
   13614             :         {
   13615             :                 .name = "wsp_ccategorizationset",
   13616             :                 .struct_size = sizeof(struct wsp_ccategorizationset ),
   13617             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_ccategorizationset,
   13618             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_ccategorizationset,
   13619             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_ccategorizationset,
   13620             :         },
   13621             :         {
   13622             :                 .name = "wsp_cfullpropspec",
   13623             :                 .struct_size = sizeof(struct wsp_cfullpropspec ),
   13624             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cfullpropspec,
   13625             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cfullpropspec,
   13626             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cfullpropspec,
   13627             :         },
   13628             :         {
   13629             :                 .name = "wsp_ccontentrestriction",
   13630             :                 .struct_size = sizeof(struct wsp_ccontentrestriction ),
   13631             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_ccontentrestriction,
   13632             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_ccontentrestriction,
   13633             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_ccontentrestriction,
   13634             :         },
   13635             :         {
   13636             :                 .name = "wsp_cpropertyrestriction",
   13637             :                 .struct_size = sizeof(struct wsp_cpropertyrestriction ),
   13638             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpropertyrestriction,
   13639             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpropertyrestriction,
   13640             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpropertyrestriction,
   13641             :         },
   13642             :         {
   13643             :                 .name = "wsp_cnatlanguagerestriction",
   13644             :                 .struct_size = sizeof(struct wsp_cnatlanguagerestriction ),
   13645             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cnatlanguagerestriction,
   13646             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cnatlanguagerestriction,
   13647             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cnatlanguagerestriction,
   13648             :         },
   13649             :         {
   13650             :                 .name = "wsp_wrap_crestriction",
   13651             :                 .struct_size = sizeof(struct wsp_wrap_crestriction ),
   13652             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_wrap_crestriction,
   13653             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_wrap_crestriction,
   13654             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_wrap_crestriction,
   13655             :         },
   13656             :         {
   13657             :                 .name = "wsp_ccoercionrestriction",
   13658             :                 .struct_size = sizeof(struct wsp_ccoercionrestriction ),
   13659             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_ccoercionrestriction,
   13660             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_ccoercionrestriction,
   13661             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_ccoercionrestriction,
   13662             :         },
   13663             :         {
   13664             :                 .name = "wsp_cvectorrestriction",
   13665             :                 .struct_size = sizeof(struct wsp_cvectorrestriction ),
   13666             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cvectorrestriction,
   13667             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cvectorrestriction,
   13668             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cvectorrestriction,
   13669             :         },
   13670             :         {
   13671             :                 .name = "wsp_cscoperestriction",
   13672             :                 .struct_size = sizeof(struct wsp_cscoperestriction ),
   13673             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cscoperestriction,
   13674             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cscoperestriction,
   13675             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cscoperestriction,
   13676             :         },
   13677             :         {
   13678             :                 .name = "wsp_creusewhere",
   13679             :                 .struct_size = sizeof(struct wsp_creusewhere ),
   13680             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_creusewhere,
   13681             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_creusewhere,
   13682             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_creusewhere,
   13683             :         },
   13684             :         {
   13685             :                 .name = "wsp_cinternalpropertyrestriction",
   13686             :                 .struct_size = sizeof(struct wsp_cinternalpropertyrestriction ),
   13687             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cinternalpropertyrestriction,
   13688             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cinternalpropertyrestriction,
   13689             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cinternalpropertyrestriction,
   13690             :         },
   13691             :         {
   13692             :                 .name = "wsp_cprobrestriction",
   13693             :                 .struct_size = sizeof(struct wsp_cprobrestriction ),
   13694             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cprobrestriction,
   13695             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cprobrestriction,
   13696             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cprobrestriction,
   13697             :         },
   13698             :         {
   13699             :                 .name = "wsp_cfeedbackrestriction",
   13700             :                 .struct_size = sizeof(struct wsp_cfeedbackrestriction ),
   13701             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cfeedbackrestriction,
   13702             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cfeedbackrestriction,
   13703             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cfeedbackrestriction,
   13704             :         },
   13705             :         {
   13706             :                 .name = "wsp_creldocrestriction",
   13707             :                 .struct_size = sizeof(struct wsp_creldocrestriction ),
   13708             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_creldocrestriction,
   13709             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_creldocrestriction,
   13710             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_creldocrestriction,
   13711             :         },
   13712             :         {
   13713             :                 .name = "wsp_crestriction",
   13714             :                 .struct_size = sizeof(struct wsp_crestriction ),
   13715             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_crestriction,
   13716             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_crestriction,
   13717             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_crestriction,
   13718             :         },
   13719             :         {
   13720             :                 .name = "wsp_crestrictionarray",
   13721             :                 .struct_size = sizeof(struct wsp_crestrictionarray ),
   13722             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_crestrictionarray,
   13723             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_crestrictionarray,
   13724             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_crestrictionarray,
   13725             :         },
   13726             :         {
   13727             :                 .name = "wsp_crowsetproperties",
   13728             :                 .struct_size = sizeof(struct wsp_crowsetproperties ),
   13729             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_crowsetproperties,
   13730             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_crowsetproperties,
   13731             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_crowsetproperties,
   13732             :         },
   13733             :         {
   13734             :                 .name = "wsp_cpidmapper",
   13735             :                 .struct_size = sizeof(struct wsp_cpidmapper ),
   13736             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpidmapper,
   13737             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpidmapper,
   13738             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpidmapper,
   13739             :         },
   13740             :         {
   13741             :                 .name = "wsp_sproperty",
   13742             :                 .struct_size = sizeof(struct wsp_sproperty ),
   13743             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_sproperty,
   13744             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_sproperty,
   13745             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_sproperty,
   13746             :         },
   13747             :         {
   13748             :                 .name = "wsp_ccolumngroup",
   13749             :                 .struct_size = sizeof(struct wsp_ccolumngroup ),
   13750             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_ccolumngroup,
   13751             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_ccolumngroup,
   13752             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_ccolumngroup,
   13753             :         },
   13754             :         {
   13755             :                 .name = "wsp_ccolumngrouparray",
   13756             :                 .struct_size = sizeof(struct wsp_ccolumngrouparray ),
   13757             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_ccolumngrouparray,
   13758             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_ccolumngrouparray,
   13759             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_ccolumngrouparray,
   13760             :         },
   13761             :         {
   13762             :                 .name = "wsp_cpmcreatequeryin",
   13763             :                 .struct_size = sizeof(struct wsp_cpmcreatequeryin ),
   13764             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmcreatequeryin,
   13765             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmcreatequeryin,
   13766             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmcreatequeryin,
   13767             :         },
   13768             :         {
   13769             :                 .name = "wsp_cpmcreatequeryout",
   13770             :                 .struct_size = sizeof(struct wsp_cpmcreatequeryout ),
   13771             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmcreatequeryout,
   13772             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmcreatequeryout,
   13773             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmcreatequeryout,
   13774             :         },
   13775             :         {
   13776             :                 .name = "wsp_ctablecolumn",
   13777             :                 .struct_size = sizeof(struct wsp_ctablecolumn ),
   13778             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_ctablecolumn,
   13779             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_ctablecolumn,
   13780             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_ctablecolumn,
   13781             :         },
   13782             :         {
   13783             :                 .name = "wsp_ccompletioncategspec",
   13784             :                 .struct_size = sizeof(struct wsp_ccompletioncategspec ),
   13785             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_ccompletioncategspec,
   13786             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_ccompletioncategspec,
   13787             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_ccompletioncategspec,
   13788             :         },
   13789             :         {
   13790             :                 .name = "wsp_cpmsetbindingsin",
   13791             :                 .struct_size = sizeof(struct wsp_cpmsetbindingsin ),
   13792             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmsetbindingsin,
   13793             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmsetbindingsin,
   13794             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmsetbindingsin,
   13795             :         },
   13796             :         {
   13797             :                 .name = "wsp_crowseeknext",
   13798             :                 .struct_size = sizeof(struct wsp_crowseeknext ),
   13799             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_crowseeknext,
   13800             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_crowseeknext,
   13801             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_crowseeknext,
   13802             :         },
   13803             :         {
   13804             :                 .name = "wsp_crowseekat",
   13805             :                 .struct_size = sizeof(struct wsp_crowseekat ),
   13806             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_crowseekat,
   13807             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_crowseekat,
   13808             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_crowseekat,
   13809             :         },
   13810             :         {
   13811             :                 .name = "wsp_crowseekatratio",
   13812             :                 .struct_size = sizeof(struct wsp_crowseekatratio ),
   13813             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_crowseekatratio,
   13814             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_crowseekatratio,
   13815             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_crowseekatratio,
   13816             :         },
   13817             :         {
   13818             :                 .name = "wsp_crowseekbybookmark",
   13819             :                 .struct_size = sizeof(struct wsp_crowseekbybookmark ),
   13820             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_crowseekbybookmark,
   13821             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_crowseekbybookmark,
   13822             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_crowseekbybookmark,
   13823             :         },
   13824             :         {
   13825             :                 .name = "wsp_cpmgetrowsin",
   13826             :                 .struct_size = sizeof(struct wsp_cpmgetrowsin ),
   13827             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmgetrowsin,
   13828             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmgetrowsin,
   13829             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmgetrowsin,
   13830             :         },
   13831             :         {
   13832             :                 .name = "wsp_ctablevariant",
   13833             :                 .struct_size = sizeof(struct wsp_ctablevariant ),
   13834             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_ctablevariant,
   13835             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_ctablevariant,
   13836             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_ctablevariant,
   13837             :         },
   13838             :         {
   13839             :                 .name = "wsp_cpmgetrowsout",
   13840             :                 .struct_size = sizeof(struct wsp_cpmgetrowsout ),
   13841             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmgetrowsout,
   13842             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmgetrowsout,
   13843             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmgetrowsout,
   13844             :         },
   13845             :         {
   13846             :                 .name = "wsp_cpmfreecursorin",
   13847             :                 .struct_size = sizeof(struct wsp_cpmfreecursorin ),
   13848             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmfreecursorin,
   13849             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmfreecursorin,
   13850             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmfreecursorin,
   13851             :         },
   13852             :         {
   13853             :                 .name = "wsp_cpmfreecursorout",
   13854             :                 .struct_size = sizeof(struct wsp_cpmfreecursorout ),
   13855             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmfreecursorout,
   13856             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmfreecursorout,
   13857             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmfreecursorout,
   13858             :         },
   13859             :         {
   13860             :                 .name = "wsp_cpmgetquerystatusin",
   13861             :                 .struct_size = sizeof(struct wsp_cpmgetquerystatusin ),
   13862             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmgetquerystatusin,
   13863             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmgetquerystatusin,
   13864             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmgetquerystatusin,
   13865             :         },
   13866             :         {
   13867             :                 .name = "wsp_cpmgetquerystatusout",
   13868             :                 .struct_size = sizeof(struct wsp_cpmgetquerystatusout ),
   13869             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmgetquerystatusout,
   13870             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmgetquerystatusout,
   13871             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmgetquerystatusout,
   13872             :         },
   13873             :         {
   13874             :                 .name = "wsp_cpmgetquerystatusexin",
   13875             :                 .struct_size = sizeof(struct wsp_cpmgetquerystatusexin ),
   13876             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmgetquerystatusexin,
   13877             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmgetquerystatusexin,
   13878             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmgetquerystatusexin,
   13879             :         },
   13880             :         {
   13881             :                 .name = "wsp_cpmgetquerystatusexout",
   13882             :                 .struct_size = sizeof(struct wsp_cpmgetquerystatusexout ),
   13883             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmgetquerystatusexout,
   13884             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmgetquerystatusexout,
   13885             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmgetquerystatusexout,
   13886             :         },
   13887             :         {
   13888             :                 .name = "wsp_cpmrestartpositionin",
   13889             :                 .struct_size = sizeof(struct wsp_cpmrestartpositionin ),
   13890             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmrestartpositionin,
   13891             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmrestartpositionin,
   13892             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmrestartpositionin,
   13893             :         },
   13894             :         {
   13895             :                 .name = "wsp_cpmratiofinishedin",
   13896             :                 .struct_size = sizeof(struct wsp_cpmratiofinishedin ),
   13897             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmratiofinishedin,
   13898             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmratiofinishedin,
   13899             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmratiofinishedin,
   13900             :         },
   13901             :         {
   13902             :                 .name = "wsp_cpmratiofinishedout",
   13903             :                 .struct_size = sizeof(struct wsp_cpmratiofinishedout ),
   13904             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmratiofinishedout,
   13905             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmratiofinishedout,
   13906             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmratiofinishedout,
   13907             :         },
   13908             :         {
   13909             :                 .name = "wsp_cpmfetchvaluein",
   13910             :                 .struct_size = sizeof(struct wsp_cpmfetchvaluein ),
   13911             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmfetchvaluein,
   13912             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmfetchvaluein,
   13913             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmfetchvaluein,
   13914             :         },
   13915             :         {
   13916             :                 .name = "vt_i1_safe2_array",
   13917             :                 .struct_size = sizeof(struct vt_i1_safe2_array ),
   13918             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_i1_safe2_array,
   13919             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_i1_safe2_array,
   13920             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_i1_safe2_array,
   13921             :         },
   13922             :         {
   13923             :                 .name = "vt_ui1_safe2_array",
   13924             :                 .struct_size = sizeof(struct vt_ui1_safe2_array ),
   13925             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_ui1_safe2_array,
   13926             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_ui1_safe2_array,
   13927             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_ui1_safe2_array,
   13928             :         },
   13929             :         {
   13930             :                 .name = "vt_i2_safe2_array",
   13931             :                 .struct_size = sizeof(struct vt_i2_safe2_array ),
   13932             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_i2_safe2_array,
   13933             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_i2_safe2_array,
   13934             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_i2_safe2_array,
   13935             :         },
   13936             :         {
   13937             :                 .name = "vt_ui2_safe2_array",
   13938             :                 .struct_size = sizeof(struct vt_ui2_safe2_array ),
   13939             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_ui2_safe2_array,
   13940             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_ui2_safe2_array,
   13941             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_ui2_safe2_array,
   13942             :         },
   13943             :         {
   13944             :                 .name = "vt_i4_safe2_array",
   13945             :                 .struct_size = sizeof(struct vt_i4_safe2_array ),
   13946             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_i4_safe2_array,
   13947             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_i4_safe2_array,
   13948             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_i4_safe2_array,
   13949             :         },
   13950             :         {
   13951             :                 .name = "vt_ui4_safe2_array",
   13952             :                 .struct_size = sizeof(struct vt_ui4_safe2_array ),
   13953             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_ui4_safe2_array,
   13954             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_ui4_safe2_array,
   13955             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_ui4_safe2_array,
   13956             :         },
   13957             :         {
   13958             :                 .name = "vt_dlong_safe2_array",
   13959             :                 .struct_size = sizeof(struct vt_dlong_safe2_array ),
   13960             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_dlong_safe2_array,
   13961             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_dlong_safe2_array,
   13962             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_dlong_safe2_array,
   13963             :         },
   13964             :         {
   13965             :                 .name = "vt_bstr_safe2_array",
   13966             :                 .struct_size = sizeof(struct vt_bstr_safe2_array ),
   13967             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_bstr_safe2_array,
   13968             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_bstr_safe2_array,
   13969             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_bstr_safe2_array,
   13970             :         },
   13971             :         {
   13972             :                 .name = "vt_variant_wrap_safearray2",
   13973             :                 .struct_size = sizeof(struct vt_variant_wrap_safearray2 ),
   13974             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_vt_variant_wrap_safearray2,
   13975             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_vt_variant_wrap_safearray2,
   13976             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_vt_variant_wrap_safearray2,
   13977             :         },
   13978             :         {
   13979             :                 .name = "wsp_serializedpropertyvalue",
   13980             :                 .struct_size = sizeof(struct wsp_serializedpropertyvalue ),
   13981             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_serializedpropertyvalue,
   13982             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_serializedpropertyvalue,
   13983             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_serializedpropertyvalue,
   13984             :         },
   13985             :         {
   13986             :                 .name = "wsp_cpmfetchvalueout",
   13987             :                 .struct_size = sizeof(struct wsp_cpmfetchvalueout ),
   13988             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmfetchvalueout,
   13989             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmfetchvalueout,
   13990             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmfetchvalueout,
   13991             :         },
   13992             :         {
   13993             :                 .name = "wsp_cpmsetscopeprioritizationin",
   13994             :                 .struct_size = sizeof(struct wsp_cpmsetscopeprioritizationin ),
   13995             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmsetscopeprioritizationin,
   13996             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmsetscopeprioritizationin,
   13997             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmsetscopeprioritizationin,
   13998             :         },
   13999             :         {
   14000             :                 .name = "wsp_cpmsendnotifyout",
   14001             :                 .struct_size = sizeof(struct wsp_cpmsendnotifyout ),
   14002             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmsendnotifyout,
   14003             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmsendnotifyout,
   14004             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmsendnotifyout,
   14005             :         },
   14006             :         {
   14007             :                 .name = "wsp_cpmgetrowsetnotifyout",
   14008             :                 .struct_size = sizeof(struct wsp_cpmgetrowsetnotifyout ),
   14009             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmgetrowsetnotifyout,
   14010             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmgetrowsetnotifyout,
   14011             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmgetrowsetnotifyout,
   14012             :         },
   14013             :         {
   14014             :                 .name = "wsp_cpmgetscopestatisticsout",
   14015             :                 .struct_size = sizeof(struct wsp_cpmgetscopestatisticsout ),
   14016             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmgetscopestatisticsout,
   14017             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmgetscopestatisticsout,
   14018             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmgetscopestatisticsout,
   14019             :         },
   14020             :         {
   14021             :                 .name = "wsp_cpmgetapproximatepositionin",
   14022             :                 .struct_size = sizeof(struct wsp_cpmgetapproximatepositionin ),
   14023             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmgetapproximatepositionin,
   14024             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmgetapproximatepositionin,
   14025             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmgetapproximatepositionin,
   14026             :         },
   14027             :         {
   14028             :                 .name = "wsp_cpmgetapproximatepositionout",
   14029             :                 .struct_size = sizeof(struct wsp_cpmgetapproximatepositionout ),
   14030             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmgetapproximatepositionout,
   14031             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmgetapproximatepositionout,
   14032             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmgetapproximatepositionout,
   14033             :         },
   14034             :         {
   14035             :                 .name = "wsp_cpmcomparebmkin",
   14036             :                 .struct_size = sizeof(struct wsp_cpmcomparebmkin ),
   14037             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmcomparebmkin,
   14038             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmcomparebmkin,
   14039             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmcomparebmkin,
   14040             :         },
   14041             :         {
   14042             :                 .name = "wsp_cpmcomparebmkout",
   14043             :                 .struct_size = sizeof(struct wsp_cpmcomparebmkout ),
   14044             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmcomparebmkout,
   14045             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmcomparebmkout,
   14046             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmcomparebmkout,
   14047             :         },
   14048             :         {
   14049             :                 .name = "wsp_cpmcistateinout",
   14050             :                 .struct_size = sizeof(struct wsp_cpmcistateinout ),
   14051             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_cpmcistateinout,
   14052             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_cpmcistateinout,
   14053             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_cpmcistateinout,
   14054             :         },
   14055             :         {
   14056             :                 .name = "wsp_findindicesin",
   14057             :                 .struct_size = sizeof(struct wsp_findindicesin ),
   14058             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_findindicesin,
   14059             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_findindicesin,
   14060             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_findindicesin,
   14061             :         },
   14062             :         {
   14063             :                 .name = "wsp_findindicesout",
   14064             :                 .struct_size = sizeof(struct wsp_findindicesout ),
   14065             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_findindicesout,
   14066             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_findindicesout,
   14067             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_findindicesout,
   14068             :         },
   14069             :         {
   14070             :                 .name = "wsp_request",
   14071             :                 .struct_size = sizeof(struct wsp_request ),
   14072             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_request,
   14073             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_request,
   14074             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_request,
   14075             :         },
   14076             :         {
   14077             :                 .name = "wsp_response",
   14078             :                 .struct_size = sizeof(struct wsp_response ),
   14079             :                 .ndr_push = (ndr_push_flags_fn_t) ndr_push_wsp_response,
   14080             :                 .ndr_pull = (ndr_pull_flags_fn_t) ndr_pull_wsp_response,
   14081             :                 .ndr_print = (ndr_print_function_t) ndr_print_flags_wsp_response,
   14082             :         },
   14083             :         { .name = NULL }
   14084             : };
   14085             : 
   14086             : static const struct ndr_interface_call msftewds_calls[] = {
   14087             :         { .name = NULL }
   14088             : };
   14089             : 
   14090             : static const char * const msftewds_endpoint_strings[] = {
   14091             :         "ncacn_np:[\\pipe\\MsFteWds]", 
   14092             : };
   14093             : 
   14094             : static const struct ndr_interface_string_array msftewds_endpoints = {
   14095             :         .count  = 1,
   14096             :         .names  = msftewds_endpoint_strings
   14097             : };
   14098             : 
   14099             : static const char * const msftewds_authservice_strings[] = {
   14100             :         "host", 
   14101             : };
   14102             : 
   14103             : static const struct ndr_interface_string_array msftewds_authservices = {
   14104             :         .count  = 1,
   14105             :         .names  = msftewds_authservice_strings
   14106             : };
   14107             : 
   14108             : 
   14109             : const struct ndr_interface_table ndr_table_msftewds = {
   14110             :         .name           = "msftewds",
   14111             :         .num_calls      = 0,
   14112             :         .calls          = msftewds_calls,
   14113             :         .num_public_structs     = 123,
   14114             :         .public_structs         = msftewds_public_structs,
   14115             :         .endpoints      = &msftewds_endpoints,
   14116             :         .authservices   = &msftewds_authservices
   14117             : };
   14118             : 
   14119             : #endif /* SKIP_NDR_TABLE_msftewds */

Generated by: LCOV version 1.14