CVS update: samba4/source/librpc/idl

Simo Sorce simo.sorce at xsec.it
Wed Nov 19 18:00:54 GMT 2003


To me the two syntaxes seem equivalent, where's the difference?
/simo's mind obfuscated at the end of the day

On Wed, 2003-11-19 at 19:29, Richard Sharpe wrote:
> Hmmm, the IDL for NetrShareEnum seems wrong. For example, Ethereal, which 
> dissects this correctly, and follows MSDN in its naming conventions, has 
> it as:
> 
> /*
>  * IDL long NetrShareEnum(
>  * IDL      [in] [string] [unique] wchar_t *ServerName,
>  * IDL      [in] [out] [ref] SHARE_ENUM_STRUCT *share,
>  * IDL      [in] long MaxLen,
>  * IDL      [out] long Entries,
>  * IDL      [in] [out] [unique] long *ResumeHandle
>  * IDL );
>  */
> 
> while the above change has it as:
> 
> /******************/
> 	/* Function: 0x24 */
> 	WERROR srvsvc_NetShareEnum(
> 		[in]   unistr *server_unc,
> 		[in,out]   srvsvc_NetShareCtr ctr,
> 		[in]   uint32 preferred_len,
> 		[out]   uint32 total,
> 		[in,out]   uint32 *resume_handle
> 		);
> 
> Regards
> -----
> Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
> sharpe[at]ethereal.com, http://www.richardsharpe.com
-- 
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l. - http://www.xsec.it
via Durando 10 Ed. G - 20158 - Milano
mobile: +39 329 328 7702
tel. +39 02 2399 7130 - fax: +39 02 700 442 399



More information about the samba-technical mailing list