1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r7870: fixed the RPC-SCHANNEL test. It turned out it was my const changes, as

they slightly changed the semantics of value() in pidl, which broke
a optimisation hack in some of our IDL files.

I've changed the idl files to remove the hack for now. Sometime we
need to find a better way to handle these :-)
(This used to be commit 765f75ea63)
This commit is contained in:
Andrew Tridgell 2005-06-24 04:25:40 +00:00 committed by Gerald (Jerry) Carter
parent 4cb6899428
commit 7fc49243f3
5 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@
typedef struct {
[value(2*strlen_m(name))] uint16 name_len;
[value(name_len)] uint16 name_size;
[value(2*strlen_m(name))] uint16 name_size;
unistr_noterm *name;
} eventlog_String;

View File

@ -32,7 +32,7 @@
typedef struct {
[value(2*strlen_m(string))] uint16 length;
[value(length)] uint16 size;
[value(2*strlen_m(string))] uint16 size;
unistr_noterm *string;
} lsa_String;

View File

@ -21,7 +21,7 @@ interface netlogon
typedef [public] struct {
[value(strlen_m(string)*2)] uint16 size;
[value(size)] uint16 length;
[value(strlen_m(string)*2)] uint16 length;
unistr_noterm *string;
} netr_String;

View File

@ -79,7 +79,7 @@
/* Function: 0x05 */
typedef struct {
[value(2*strlen_m(string))] uint16 length;
[value(length)] uint16 size;
[value(2*strlen_m(string))] uint16 size;
unistr_noterm *string;
} samr_String;

View File

@ -16,7 +16,7 @@
{
typedef struct {
[value(strlen_m_term(name)*2)] uint16 name_len;
[value(name_len)] uint16 name_size;
[value(strlen_m_term(name)*2)] uint16 name_size;
unistr *name;
} winreg_String;