[PATCH] Generate param_functions.c and associated files from XML documentation

Andrew Bartlett abartlet at samba.org
Tue Feb 11 14:20:52 MST 2014


G'Day,

This is the current patch series for the loadparm work Garming and I
have done.  I'm sorry to have to note that it has now been 4 weeks since
this was first posted on 14 Jan.  

We have moved past all the renames, done additional renames and merged
many other cleanup patches, however we really need to get to the main
work item here, regarding which I have had no comment so far.

Please review/push the attached patch set. 

Thanks,

Andrew Bartlett

diffstat generate-param.patch 
 b/docs-xml/smbdotconf/base/sharebackend.xml        |    1 
 b/docs-xml/smbdotconf/misc/cachedirectory.xml      |    2 
 b/docs-xml/smbdotconf/misc/configfile.xml          |    2 
 b/docs-xml/smbdotconf/misc/fstype.xml              |    1 
 b/docs-xml/smbdotconf/misc/statedirectory.xml      |    2 
 b/docs-xml/smbdotconf/protocol/readraw.xml         |   11 
 b/docs-xml/smbdotconf/protocol/smb2maxcredits.xml  |    1 
 b/docs-xml/smbdotconf/protocol/writeraw.xml        |   22 -
 b/docs-xml/smbdotconf/security/tlscafile.xml       |    3 
 b/docs-xml/smbdotconf/security/tlscertfile.xml     |    3 
 b/docs-xml/smbdotconf/security/tlscrlfile.xml      |    3 
 b/docs-xml/smbdotconf/security/tlsdhparamsfile.xml |    3 
 b/docs-xml/smbdotconf/security/tlskeyfile.xml      |    3 
 b/lib/param/README                                 |    4 
 b/lib/param/loadparm.c                             |   53 --
 b/lib/param/loadparm.h                             |   26 +
 b/lib/param/param.h                                |    5 
 b/lib/param/param_table.c                          |   26 -
 b/lib/param/util.c                                 |    4 
 b/lib/param/wscript_build                          |   43 +-
 b/script/generate_param.py                         |  396
++++++++++++++++++-
 b/source3/include/local.h                          |    5 
 b/source3/include/proto.h                          |   11 
 b/source3/lib/util.c                               |    4 
 b/source3/nmbd/nmbd.c                              |    2 
 b/source3/param/loadparm.c                         |   98 ----
 b/source3/param/wscript_build                      |   16 
 b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c        |    2 
 b/source3/smbd/lanman.c                            |    2 
 b/source3/smbd/negprot.c                           |   16 
 b/source3/smbd/reply.c                             |    2 
 b/source3/smbd/server_reload.c                     |    2 
 b/source3/smbd/service.c                           |    4 
 b/source3/smbd/trans2.c                            |    4 
 b/source3/utils/testparm.c                         |   12 
 b/source3/winbindd/winbindd.c                      |    2 
 b/source3/wscript_build                            |    4 
 b/source4/script/mkproto.pl                        |   41 --
 b/source4/smb_server/smb/negprot.c                 |   29 +
 b/wscript_build                                    |    2 
 lib/param/param_functions.c                        |  416
---------------------
 script/mkparamdefs.pl                              |  206 ----------
 script/mks3param.pl                                |  193 ---------
 script/mks3param_ctx_table.pl                      |  139 -------
 script/mks3param_proto.pl                          |  199 ----------
 45 files changed, 578 insertions(+), 1447 deletions(-)

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba



-------------- next part --------------
A non-text attachment was scrubbed...
Name: generate-param.patch
Type: text/x-patch
Size: 130883 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140212/0934d763/attachment-0001.bin>


More information about the samba-technical mailing list