1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

orpc: remove trailing whitespace from orpc.idl

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Günther Deschner 2015-07-21 20:39:40 +02:00 committed by Jeremy Allison
parent 5af738abe3
commit b36aa1e09c

View File

@ -41,7 +41,7 @@ interface ObjectRpcBaseTypes
/* Component Object Model version number */ /* Component Object Model version number */
typedef [public] struct typedef [public] struct
{ {
uint16 MajorVersion; /* Major version number */ uint16 MajorVersion; /* Major version number */
uint16 MinorVersion; /* Minor version number */ uint16 MinorVersion; /* Minor version number */
@ -58,8 +58,8 @@ interface ObjectRpcBaseTypes
} ORPC_FLAGS; } ORPC_FLAGS;
/* Extension to implicit parameters. */ /* Extension to implicit parameters. */
typedef [public] struct typedef [public] struct
{ {
GUID id; /* Extension identifier. */ GUID id; /* Extension identifier. */
uint32 size; /* Extension size. */ uint32 size; /* Extension size. */
[size_is(((size+7)&~7))] uint8 data[]; /* Extension data. */ [size_is(((size+7)&~7))] uint8 data[]; /* Extension data. */
@ -67,7 +67,7 @@ interface ObjectRpcBaseTypes
/* Array of extensions. */ /* Array of extensions. */
typedef struct typedef struct
{ {
uint32 size; /* Num extents. */ uint32 size; /* Num extents. */
uint32 reserved; /* Must be zero. */ uint32 reserved; /* Must be zero. */
@ -77,7 +77,7 @@ interface ObjectRpcBaseTypes
/* implicit 'this' pointer which is the first [in] parameter on */ /* implicit 'this' pointer which is the first [in] parameter on */
/* every ORPC call. */ /* every ORPC call. */
typedef [public] struct typedef [public] struct
{ {
COMVERSION version; /* COM version number */ COMVERSION version; /* COM version number */
uint32 flags; /* ORPCF flags for presence of other data */ uint32 flags; /* ORPCF flags for presence of other data */
@ -90,7 +90,7 @@ interface ObjectRpcBaseTypes
/* implicit 'that' pointer which is the first [out] parameter on */ /* implicit 'that' pointer which is the first [out] parameter on */
/* every ORPC call. */ /* every ORPC call. */
typedef [public] struct typedef [public] struct
{ {
uint32 flags; /* ORPCF flags for presence of other data */ uint32 flags; /* ORPCF flags for presence of other data */
/* Extensions. */ /* Extensions. */
@ -100,33 +100,33 @@ interface ObjectRpcBaseTypes
/* DUALSTRINGARRAYS are the return type for arrays of network addresses, */ /* DUALSTRINGARRAYS are the return type for arrays of network addresses, */
/* arrays of endpoints and arrays of both used in many ORPC interfaces */ /* arrays of endpoints and arrays of both used in many ORPC interfaces */
typedef [public,flag(NDR_NOALIGN)] struct typedef [public,flag(NDR_NOALIGN)] struct
{ {
uint16 wTowerId; /* Cannot be zero. */ uint16 wTowerId; /* Cannot be zero. */
nstring NetworkAddr; nstring NetworkAddr;
} STRINGBINDING; } STRINGBINDING;
typedef [public,nopush,nopull,noprint] struct typedef [public,nopush,nopull,noprint] struct
{ {
STRINGBINDING **stringbindings; STRINGBINDING **stringbindings;
} STRINGARRAY; } STRINGARRAY;
typedef [public,nopush,nopull,noprint] struct typedef [public,nopush,nopull,noprint] struct
{ {
STRINGBINDING **stringbindings; STRINGBINDING **stringbindings;
SECURITYBINDING **securitybindings; SECURITYBINDING **securitybindings;
} DUALSTRINGARRAY; } DUALSTRINGARRAY;
const uint16 COM_C_AUTHZ_NONE = 0xffff; const uint16 COM_C_AUTHZ_NONE = 0xffff;
typedef [public,flag(NDR_NOALIGN)] struct typedef [public,flag(NDR_NOALIGN)] struct
{ {
uint16 wAuthnSvc; /* Cannot be zero. */ uint16 wAuthnSvc; /* Cannot be zero. */
uint16 wAuthzSvc; uint16 wAuthzSvc;
nstring PrincName; nstring PrincName;
} SECURITYBINDING; } SECURITYBINDING;
/* signature value for OBJREF (object reference, actually the */ /* signature value for OBJREF (object reference, actually the */
/* marshaled form of a COM interface). /* marshaled form of a COM interface).
* MEOW apparently stands for "Microsoft Extended Object Wireformat" * MEOW apparently stands for "Microsoft Extended Object Wireformat"
*/ */
const uint32 OBJREF_SIGNATURE = 0x574f454d; /* 'MEOW' */ const uint32 OBJREF_SIGNATURE = 0x574f454d; /* 'MEOW' */
@ -156,7 +156,7 @@ interface ObjectRpcBaseTypes
} STDOBJREF_FLAGS; } STDOBJREF_FLAGS;
/* standard object reference */ /* standard object reference */
typedef [public] struct typedef [public] struct
{ {
uint32 flags; /* STDOBJREF flags (see above) */ uint32 flags; /* STDOBJREF flags (see above) */
uint32 cPublicRefs; /* count of references passed */ uint32 cPublicRefs; /* count of references passed */
@ -190,7 +190,7 @@ interface ObjectRpcBaseTypes
{ {
} u_null; } u_null;
typedef [nodiscriminant] union typedef [nodiscriminant] union
{ {
[case(OBJREF_NULL)] u_null u_null; [case(OBJREF_NULL)] u_null u_null;
[case(OBJREF_STANDARD)] u_standard u_standard; [case(OBJREF_STANDARD)] u_standard u_standard;
@ -199,7 +199,7 @@ interface ObjectRpcBaseTypes
} OBJREF_Types; } OBJREF_Types;
/* OBJREF is the format of a marshaled interface pointer. */ /* OBJREF is the format of a marshaled interface pointer. */
typedef [public,flag(NDR_LITTLE_ENDIAN)] struct typedef [public,flag(NDR_LITTLE_ENDIAN)] struct
{ {
uint32 signature; uint32 signature;
uint32 flags; /* OBJREF flags (see above) */ uint32 flags; /* OBJREF flags (see above) */
@ -208,13 +208,13 @@ interface ObjectRpcBaseTypes
} OBJREF; } OBJREF;
/* wire representation of a marshalled interface pointer */ /* wire representation of a marshalled interface pointer */
typedef [public] struct typedef [public] struct
{ {
uint32 size; uint32 size;
[subcontext(4)] OBJREF obj; [subcontext(4)] OBJREF obj;
} MInterfacePointer; } MInterfacePointer;
typedef [v1_enum,public] enum typedef [v1_enum,public] enum
{ {
COM_OK = 0x00000000, COM_OK = 0x00000000,
COM_OUTOFMEMORY = 0x80000002, COM_OUTOFMEMORY = 0x80000002,