summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-02-25 21:39:24 -0500
committerGünther Deschner <gd@samba.org>2010-03-16 14:48:40 +0100
commit8353aa39b64169a6bbd4b5b21ab4989e7821363e (patch)
tree2393f7a34e6162b4ebe8ad8714adf700e97a9b8d /librpc
parent745f6f2574b57909c06c68eb6427cc52992705d3 (diff)
downloadsamba-8353aa39b64169a6bbd4b5b21ab4989e7821363e.tar.gz
samba-8353aa39b64169a6bbd4b5b21ab4989e7821363e.tar.bz2
samba-8353aa39b64169a6bbd4b5b21ab4989e7821363e.zip
s4:idl change level to type in lsa_ForestTrustRecord.
Diffstat (limited to 'librpc')
-rw-r--r--librpc/gen_ndr/lsa.h4
-rw-r--r--librpc/gen_ndr/ndr_lsa.c12
-rw-r--r--librpc/idl/lsa.idl4
3 files changed, 10 insertions, 10 deletions
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--;
}
diff --git a/librpc/idl/lsa.idl b/librpc/idl/lsa.idl
index 6b3536a8c6..8f91d0c82f 100644
--- a/librpc/idl/lsa.idl
+++ b/librpc/idl/lsa.idl
@@ -1294,9 +1294,9 @@ import "misc.idl", "security.idl";
typedef struct {
uint32 flags;
- lsa_ForestTrustRecordType level;
+ lsa_ForestTrustRecordType type;
hyper time;
- [switch_is(level)] lsa_ForestTrustData forest_trust_data;
+ [switch_is(type)] lsa_ForestTrustData forest_trust_data;
} lsa_ForestTrustRecord;
typedef [public] struct {