From 8353aa39b64169a6bbd4b5b21ab4989e7821363e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 25 Feb 2010 21:39:24 -0500 Subject: s4:idl change level to type in lsa_ForestTrustRecord. --- librpc/gen_ndr/lsa.h | 4 ++-- librpc/gen_ndr/ndr_lsa.c | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'librpc/gen_ndr') diff --git a/librpc/gen_ndr/lsa.h b/librpc/gen_ndr/lsa.h index cf3d1bb5e1..1c6323fafd 100644 --- a/librpc/gen_ndr/lsa.h +++ b/librpc/gen_ndr/lsa.h @@ -763,9 +763,9 @@ enum lsa_ForestTrustRecordType struct lsa_ForestTrustRecord { uint32_t flags; - enum lsa_ForestTrustRecordType level; + enum lsa_ForestTrustRecordType type; uint64_t time; - union lsa_ForestTrustData forest_trust_data;/* [switch_is(level)] */ + union lsa_ForestTrustData forest_trust_data;/* [switch_is(type)] */ }; struct lsa_ForestTrustInformation { diff --git a/librpc/gen_ndr/ndr_lsa.c b/librpc/gen_ndr/ndr_lsa.c index 662400d939..55f876a3fa 100644 --- a/librpc/gen_ndr/ndr_lsa.c +++ b/librpc/gen_ndr/ndr_lsa.c @@ -5205,9 +5205,9 @@ static enum ndr_err_code ndr_push_lsa_ForestTrustRecord(struct ndr_push *ndr, in if (ndr_flags & NDR_SCALARS) { NDR_CHECK(ndr_push_align(ndr, 8)); NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->flags)); - NDR_CHECK(ndr_push_lsa_ForestTrustRecordType(ndr, NDR_SCALARS, r->level)); + NDR_CHECK(ndr_push_lsa_ForestTrustRecordType(ndr, NDR_SCALARS, r->type)); NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, r->time)); - NDR_CHECK(ndr_push_set_switch_value(ndr, &r->forest_trust_data, r->level)); + NDR_CHECK(ndr_push_set_switch_value(ndr, &r->forest_trust_data, r->type)); NDR_CHECK(ndr_push_lsa_ForestTrustData(ndr, NDR_SCALARS, &r->forest_trust_data)); NDR_CHECK(ndr_push_trailer_align(ndr, 8)); } @@ -5222,9 +5222,9 @@ static enum ndr_err_code ndr_pull_lsa_ForestTrustRecord(struct ndr_pull *ndr, in if (ndr_flags & NDR_SCALARS) { NDR_CHECK(ndr_pull_align(ndr, 8)); NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->flags)); - NDR_CHECK(ndr_pull_lsa_ForestTrustRecordType(ndr, NDR_SCALARS, &r->level)); + NDR_CHECK(ndr_pull_lsa_ForestTrustRecordType(ndr, NDR_SCALARS, &r->type)); NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, &r->time)); - NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->forest_trust_data, r->level)); + NDR_CHECK(ndr_pull_set_switch_value(ndr, &r->forest_trust_data, r->type)); NDR_CHECK(ndr_pull_lsa_ForestTrustData(ndr, NDR_SCALARS, &r->forest_trust_data)); NDR_CHECK(ndr_pull_trailer_align(ndr, 8)); } @@ -5239,9 +5239,9 @@ _PUBLIC_ void ndr_print_lsa_ForestTrustRecord(struct ndr_print *ndr, const char ndr_print_struct(ndr, name, "lsa_ForestTrustRecord"); ndr->depth++; ndr_print_uint32(ndr, "flags", r->flags); - ndr_print_lsa_ForestTrustRecordType(ndr, "level", r->level); + ndr_print_lsa_ForestTrustRecordType(ndr, "type", r->type); ndr_print_hyper(ndr, "time", r->time); - ndr_print_set_switch_value(ndr, &r->forest_trust_data, r->level); + ndr_print_set_switch_value(ndr, &r->forest_trust_data, r->type); ndr_print_lsa_ForestTrustData(ndr, "forest_trust_data", &r->forest_trust_data); ndr->depth--; } -- cgit