summaryrefslogtreecommitdiffstats
path: root/source/aparser
Commit message (Collapse)AuthorAgeFilesLines
* Modified test.h generator to return error if structure passed to vlukeTim Potter2000-09-182-1/+5
| | | | doesn't match any known structure names.
* Removed emacs backup file from repository.Tim Potter2000-09-181-7/+0
|
* I committed this change to the cliffs archive a while back and have heardChristopher R. Hertel2000-07-151-5/+20
| | | | | | | | | | no complaints. ;) Basically, instead of ignoring single-line C-style comments in IDL source files this change allows token.awk to ignore both single- and multi-line C-style comments. Chris -)-----
* some templates needed for the new aparser stuffAndrew Tridgell2000-06-092-0/+27
|
* started adding support for relative, plus options for autoalignmentAndrew Tridgell2000-06-0917-42/+421
| | | | so the same parser generator can be uses for cifs and rpc
* messing about.Luke Leighton2000-05-3125-209/+297
|
* more templates.Luke Leighton2000-05-294-0/+15
|
* more SMBtrans, SMBnttrans stuff.Luke Leighton2000-05-284-24/+276
|
* SMBulogoffXLuke Leighton2000-05-271-0/+2
|
* optional (0of or 1of) with "[+]" semantics.Luke Leighton2000-05-272-1/+6
|
* SMBntcreateXLuke Leighton2000-05-271-5/+23
|
* SMBnttrans. modified io_uint8s to return address of actual data insteadLuke Leighton2000-05-275-50/+132
| | | | | | 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.
* SMBtrans response.Luke Leighton2000-05-271-1/+27
|
* SMBtrans and SMBtrans2, some of it.Luke Leighton2000-05-271-21/+100
|
* SMBlockingXLuke Leighton2000-05-271-1/+68
|
* hack to get setprinter working, level2, null sec desc.Luke Leighton2000-05-271-4/+8
|
* cifs parser.Luke Leighton2000-05-279-6/+707
|
* more aparser stuff - we now handle everything but the idl headers in srvsvc.idlAndrew Tridgell2000-05-228-140/+699
|
* error check in vluke.cAndrew Tridgell2000-05-172-7/+198
| | | | more conversion from idl to .struct of srvsvc
* started converting matty's srvsvc.idl to a .struct fileAndrew Tridgell2000-05-171-0/+78
|
* added primitive define macrosAndrew Tridgell2000-05-172-19/+14
| | | | started converting matty's srvsvc.idl to a .struct file
* - added typedefsAndrew Tridgell2000-05-177-65/+131
| | | | | - added parse error checking - made parser more flexible
* minor parse updatesAndrew Tridgell2000-05-173-8/+7
|
* a useful script, just go "./build foo.struct" and you get a fullAndrew Tridgell2000-05-161-0/+7
| | | | vluke program for all structures in the foo.strct file
* the vluke program now takes a structure name on the command lineAndrew Tridgell2000-05-166-16/+79
|
* take the sructure name to run through vluke on the command lineAndrew Tridgell2000-05-167-34/+98
|
* added the ".trailer" type, to mark where a packet turns into a trailerAndrew Tridgell2000-05-166-58/+97
| | | | | this now gives us enough to parse complete function calls, including the return values
* another awk parser updateAndrew Tridgell2000-05-1619-165/+284
| | | | | we can now handle arrays of structures, pointers to structures, pointers in unions etc
* started update to handle arbitrary arraysAndrew Tridgell2000-05-158-145/+147
| | | | note: this code is currently broken.
* need to allocate the union pointerAndrew Tridgell2000-05-151-0/+2
|
* align at the end of every structure parserAndrew Tridgell2000-05-151-0/+1
|
* use grow_size to determine size of dumpAndrew Tridgell2000-05-151-1/+1
|
* added grow_size to prs structureAndrew Tridgell2000-05-152-1/+4
|
* add uint16 support, start to parse more of spoolssAndrew Tridgell2000-05-143-1/+49
|
* moved *.tpl templates into templates/ subdirectoryAndrew Tridgell2000-05-141-0/+1
|
* vastly improved awk based code generatorAndrew Tridgell2000-05-1431-168/+612
| | | | | | | | | 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
* removed old files ready for new awk parserAndrew Tridgell2000-05-146-361/+0
|
* renamed the harness program to vluke (for "virtual luke")Andrew Tridgell2000-05-125-8/+8
| | | | added a couple of sample .prs files
* preliminary support for unionsAndrew Tridgell2000-05-127-189/+327
|
* this is a awk based code generator. Very primitive at the moment, butAndrew Tridgell2000-05-126-0/+790
it was sufficient to generate info level 6 of the add printer driver for spoolss It has two capabilities: 1) generate the header and C code for parsing a structure, given a *.struct file that describes the structure. Evetually I hope to make *.struct compatible with MIDL. 2) it provides a harness that can read a binary data file from prs_dump() which contains real data from a client and display the parse of it from the output of the awk parser. This allows you to "play" with the structure definition until it comes out right, it takes just a few mimutes of playing with the .struct file to work out the right layout. all this is very primitive right now. I hope next to completely replace the spoolss parser with a single .struct file that describes all the structures, and auto-generates working code. That will require quite a bit more work.