svn commit: samba r2990 - in branches/SAMBA_4_0/source: build/pidl librpc/idl librpc/ndr librpc/rpc

jelmer at samba.org jelmer at samba.org
Fri Oct 15 09:22:21 GMT 2004


Author: jelmer
Date: 2004-10-15 09:22:21 +0000 (Fri, 15 Oct 2004)
New Revision: 2990

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=2990&nolog=1

Log:
Add support to pidl for autogenerating ndr_size_*() functions. Adding 
the [gensize] property to a struct or union will make pidl generate a 
ndr_size_*() function. 

(not all nasty bits of NDR are completely covered yet by the 
 ndr_size*() functions, support for those will be added when necessary)

I also have a local patch (not applied now) that simplifies the pidl output 
and eliminates the number of functions required. It would, however, make 
pidl more complex. 

Modified:
   branches/SAMBA_4_0/source/build/pidl/parser.pm
   branches/SAMBA_4_0/source/librpc/idl/epmapper.idl
   branches/SAMBA_4_0/source/librpc/ndr/libndr.h
   branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c


Changeset:
Sorry, the patch is too large (311 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=2990&nolog=1


More information about the samba-cvs mailing list