svn commit: samba r10694 - in branches/SAMBA_4_0/source/pidl: . lib/Parse/Pidl lib/Parse/Pidl/Ethereal lib/Parse/Pidl/Samba3

jelmer at samba.org jelmer at samba.org
Mon Oct 3 23:27:34 GMT 2005


Author: jelmer
Date: 2005-10-03 23:27:33 +0000 (Mon, 03 Oct 2005)
New Revision: 10694

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10694

Log:
Add some work I did this afternoon on getting pidl to output Samba3 
RPC parsers. Currently the following files can be generated:

- include/rpc_BASENAME.h
- rpc_server/srv_BASENAME.c
- rpc_server/srv_BASENAME_nt.c (template only, user has to fill in functions)
- rpc_client/cli_BASENAME.c
- rpc_parse/parse_BASENAME.c

So far, I have been working on getting DFS working. Currently still to do 
(all in rpc_parse/parse_BASENAME.c):
 - Proper handling of declarations
 - Proper handling of scalar/buffer parts of structs and unions
 - Subcontexts
 - Proper handling of arrays
 - Support for custom (non-scalar) types

I hope to have a somewhat more working version later this week.

Some files as currently generated are available from:
http://samba.org/~jelmer/pidl_samba3/

Added:
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/Client.pm
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/Header.pm
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/Parser.pm
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/Server.pm
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/Template.pm
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/Util.pm
Modified:
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm
   branches/SAMBA_4_0/source/pidl/pidl


Changeset:
Sorry, the patch is too large (1171 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10694


More information about the samba-cvs mailing list