1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

16 Commits

Author SHA1 Message Date
Tim Potter
ce70fb5800 Modified test.h generator to return error if structure passed to vluke
doesn't match any known structure names.
0001-01-01 00:00:00 +00:00
Tim Potter
807f22412e Removed emacs backup file from repository. 0001-01-01 00:00:00 +00:00
Andrew Tridgell
e13089b040 some templates needed for the new aparser stuff 0001-01-01 00:00:00 +00:00
Andrew Tridgell
c7829fa0d8 started adding support for relative, plus options for autoalignment
so the same parser generator can be uses for cifs and rpc
0001-01-01 00:00:00 +00:00
Luke Leighton
9c6f2d75d8 messing about. 0001-01-01 00:00:00 +00:00
Luke Leighton
4d50d35262 more templates. 0001-01-01 00:00:00 +00:00
Luke Leighton
7db13bd538 SMBnttrans. modified io_uint8s to return address of actual data instead
of a copy, on unmarshalling.  removed fstring, made it io_string,
did same thing.  io_string() and io_wstring() should be wrapped in
a STRING typedef which is bit-switched on FLG2:Unicode.
0001-01-01 00:00:00 +00:00
Luke Leighton
96fd33b898 cifs parser. 0001-01-01 00:00:00 +00:00
Andrew Tridgell
5f1e8422d0 more aparser stuff - we now handle everything but the idl headers in srvsvc.idl 0001-01-01 00:00:00 +00:00
Andrew Tridgell
6a3e7ba4f0 the vluke program now takes a structure name on the command line 0001-01-01 00:00:00 +00:00
Andrew Tridgell
03fbe1b151 take the sructure name to run through vluke on the command line 0001-01-01 00:00:00 +00:00
Andrew Tridgell
1df80cd1e8 another awk parser update
we can now handle arrays of structures, pointers to structures,
pointers in unions etc
0001-01-01 00:00:00 +00:00
Andrew Tridgell
15646ebd84 started update to handle arbitrary arrays
note: this code is currently broken.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
c75919a7b9 need to allocate the union pointer 0001-01-01 00:00:00 +00:00
Andrew Tridgell
f6353bf122 align at the end of every structure parser 0001-01-01 00:00:00 +00:00
Andrew Tridgell
14ded82dc9 vastly improved awk based code generator
now handles recursive function definitions, unions etc
it is sufficient for some basic types like UNISTR2 and BUFFER5
to be defined in the *.struct file and used successfully

this generator uses templates (in *.tpl files) for all code
generation, allowing easy replacement of the backend functions
0001-01-01 00:00:00 +00:00