re-run "make idl" after changing unknown1->reserved in drsblobs.idl
authorMichael Adam <obnox@samba.org>
Wed, 23 Jul 2008 20:42:18 +0000 (22:42 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 23 Jul 2008 20:42:18 +0000 (22:42 +0200)
Michael

source/librpc/gen_ndr/drsblobs.h
source/librpc/gen_ndr/ndr_drsblobs.c

index e6df05f641d0a680366c24838eef7f041c6da4c4..7ce4d11eded07b9f98d33700a5749eb5cf9a9f07 100644 (file)
@@ -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)] */
 };
index 1c86a2660bfc6d190c725d24c0524baf2b8258ca..d39aa5733370886571e11ef12c4440dd99d7fe79 100644 (file)
@@ -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--;