summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-23 22:42:18 +0200
committerMichael Adam <obnox@samba.org>2008-07-23 22:42:18 +0200
commit66bb6ac2eac1531dbb68e6350b4d53ec4ee6ca59 (patch)
tree74701167320bbc44797a6e356c49b6c01e7c3081 /source3/librpc/gen_ndr
parent813048630ed05d15479b6b5c7eecaaa212dbeedf (diff)
downloadsamba-66bb6ac2eac1531dbb68e6350b4d53ec4ee6ca59.tar.gz
samba-66bb6ac2eac1531dbb68e6350b4d53ec4ee6ca59.tar.bz2
samba-66bb6ac2eac1531dbb68e6350b4d53ec4ee6ca59.zip
re-run "make idl" after changing unknown1->reserved in drsblobs.idl
Michael (This used to be commit 398702a818a0c292ab5b4f76be95168de83ffa25)
Diffstat (limited to 'source3/librpc/gen_ndr')
-rw-r--r--source3/librpc/gen_ndr/drsblobs.h2
-rw-r--r--source3/librpc/gen_ndr/ndr_drsblobs.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/librpc/gen_ndr/drsblobs.h b/source3/librpc/gen_ndr/drsblobs.h
index e6df05f641..7ce4d11ede 100644
--- a/source3/librpc/gen_ndr/drsblobs.h
+++ b/source3/librpc/gen_ndr/drsblobs.h
@@ -149,7 +149,7 @@ struct ldapControlDirSyncCookie {
struct supplementalCredentialsPackage {
uint16_t name_len;/* [value(2*strlen_m(name))] */
uint16_t data_len;/* [value(strlen(data))] */
- uint16_t unknown1;
+ uint16_t reserved;
const char *name;/* [charset(UTF16)] */
const char *data;/* [charset(DOS)] */
};
diff --git a/source3/librpc/gen_ndr/ndr_drsblobs.c b/source3/librpc/gen_ndr/ndr_drsblobs.c
index 1c86a2660b..d39aa57333 100644
--- a/source3/librpc/gen_ndr/ndr_drsblobs.c
+++ b/source3/librpc/gen_ndr/ndr_drsblobs.c
@@ -1200,7 +1200,7 @@ static enum ndr_err_code ndr_push_supplementalCredentialsPackage(struct ndr_push
NDR_CHECK(ndr_push_align(ndr, 2));
NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, 2 * strlen_m(r->name)));
NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, strlen(r->data)));
- NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->unknown1));
+ NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->reserved));
NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->name, 2 * strlen_m(r->name), sizeof(uint8_t), CH_UTF16));
NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->data, strlen(r->data), sizeof(uint8_t), CH_DOS));
}
@@ -1215,7 +1215,7 @@ static enum ndr_err_code ndr_pull_supplementalCredentialsPackage(struct ndr_pull
NDR_CHECK(ndr_pull_align(ndr, 2));
NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->name_len));
NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->data_len));
- NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->unknown1));
+ NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->reserved));
NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->name, r->name_len, sizeof(uint8_t), CH_UTF16));
NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->data, r->data_len, sizeof(uint8_t), CH_DOS));
}
@@ -1230,7 +1230,7 @@ _PUBLIC_ void ndr_print_supplementalCredentialsPackage(struct ndr_print *ndr, co
ndr->depth++;
ndr_print_uint16(ndr, "name_len", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?2 * strlen_m(r->name):r->name_len);
ndr_print_uint16(ndr, "data_len", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?strlen(r->data):r->data_len);
- ndr_print_uint16(ndr, "unknown1", r->unknown1);
+ ndr_print_uint16(ndr, "reserved", r->reserved);
ndr_print_string(ndr, "name", r->name);
ndr_print_string(ndr, "data", r->data);
ndr->depth--;