diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-11-02 19:52:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:21 -0500 |
commit | bd6bc9c5ee434793686981413c14646a06cf092f (patch) | |
tree | d8857b4a6aafca1715c5fdccdfece2989d56ee8b /source4/librpc | |
parent | 3c4cd186ead24923a6e43f6bb14e3f3bd597a950 (diff) | |
download | samba-bd6bc9c5ee434793686981413c14646a06cf092f.tar.gz samba-bd6bc9c5ee434793686981413c14646a06cf092f.tar.bz2 samba-bd6bc9c5ee434793686981413c14646a06cf092f.zip |
r3490: All tests work against NT4 now
(This used to be commit 640e3a8ce865a72b171bdf15c8cf5afc2987a5d3)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/dcom.idl | 19 | ||||
-rw-r--r-- | source4/librpc/idl/oxidresolver.idl | 42 |
2 files changed, 37 insertions, 24 deletions
diff --git a/source4/librpc/idl/dcom.idl b/source4/librpc/idl/dcom.idl index da0b51cf36..454faa0d6b 100644 --- a/source4/librpc/idl/dcom.idl +++ b/source4/librpc/idl/dcom.idl @@ -262,7 +262,8 @@ interface ObjectRpcBaseTypes typedef [public] struct { uint32 size; - [subcontext(4)] OBJREF obj; + uint32 sizex; + [subcontext(4),align(1)] OBJREF obj; } MInterfacePointer; } @@ -504,3 +505,19 @@ uuid(DB7C21F8-FE33-4C11-AEA5-CEB56F076FBB), [helpstring("method MakeCoffee")] HRESULT MakeCoffee(BSTR *flavor); } } + +[ + object, + uuid("0000000C-0000-0000-C000-000000000046"), + helpstring("Stream") +] +interface IStream : IUnknown +{ + WERROR Read([in] uint32 num_requested, + [out,size_is(*num_read)] uint8 *data, + [out] uint32 *num_read); + + WERROR Write([in,size_is(num_requested)] uint8 *data, + [in] uint32 num_requested, + [out] uint32 *num_written); +} diff --git a/source4/librpc/idl/oxidresolver.idl b/source4/librpc/idl/oxidresolver.idl index 4e33b5a639..611144e40b 100644 --- a/source4/librpc/idl/oxidresolver.idl +++ b/source4/librpc/idl/oxidresolver.idl @@ -29,17 +29,13 @@ interface IOXIDResolver /* Method to get the protocol sequences, string bindings */ /* and machine id for an object server given its OXID. */ - typedef [public] struct { - DUALSTRINGARRAY *ppdsaOxidBindings; - } ppdsaOxidBindingsArray; - [idempotent] WERROR ResolveOxid ( - [in] OXID *pOxid, + [in] OXID pOxid, [in] uint16 cRequestedProtseqs, [in, size_is(cRequestedProtseqs)] uint16 arRequestedProtseqs[], - [out, ref] ppdsaOxidBindingsArray *ppdsaOxidBindings, - [out, ref] IPID *pipidRemUnknown, - [out, ref] uint32 *pAuthnHint + [out] DUALSTRINGARRAY *ppdsaOxidBindings, + [out] IPID pipidRemUnknown, + [out] uint32 pAuthnHint ); /* Simple ping is used to ping a Set. Client machines use this */ @@ -55,15 +51,16 @@ interface IOXIDResolver /* whole set can subsequently be pinged using SimplePing, */ /* thus reducing network traffic. */ [idempotent] WERROR ComplexPing ( - [in, out, ref] SETID *SetId, /* In of 0 on first call for new set. */ - [in] uint16 SequenceNum, - [in] uint16 cAddToSet, - [in] uint16 cDelFromSet, + [in] SETID *SetId, /* In of 0 on first call for new set. */ + [out] SETID SetId, + [in] uint16 SequenceNum, + [in] uint16 cAddToSet, + [in] uint16 cDelFromSet, /* add these OIDs to the set */ - [in, size_is(cAddToSet)] OID AddToSet[], + [in, size_is(cAddToSet)] OID AddToSet[], /*remove these OIDs from the set */ - [in, size_is(cDelFromSet)] OID DelFromSet[], - [out] uint16 pPingBackoffFactor/* 2^factor = multipler */ + [in, size_is(cDelFromSet)] OID DelFromSet[], + [out] uint16 PingBackoffFactor/* 2^factor = multipler */ ); /* In some cases the client maybe unsure that a particular */ @@ -79,16 +76,15 @@ interface IOXIDResolver /* version 5.2 and above. Looks like that means * Windows 2003/XP and above */ [idempotent] WERROR ResolveOxid2 ( - [in] OXID *pOxid, + [in] OXID pOxid, [in] uint16 cRequestedProtseqs, - [in, size_is(cRequestedProtseqs)] - uint16 arRequestedProtseqs[], - [out, ref] ppdsaOxidBindingsArray *ppdsaOxidBindings, - [out, ref] IPID *pipidRemUnknown, - [out, ref] uint32 *pAuthnHint, - [out, ref] COMVERSION *pComVersion + [in, size_is(cRequestedProtseqs)] uint16 arRequestedProtseqs[], + [out] DUALSTRINGARRAY *pdsaOxidBindings, + [out] IPID ipidRemUnknown, + [out] uint32 AuthnHint, + [out] COMVERSION ComVersion ); - typedef struct { + typedef struct { COMVERSION version; uint32 unknown1; } COMINFO; |