1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-16 11:33:16 +03:00
Commit Graph

20 Commits

Author SHA1 Message Date
Tim Potter
e8d53d15e4 r9297: Add a NDR_CHECK() around each ejs push/pull.
Some experimentation with the top level function calls.
2007-10-10 13:33:22 -05:00
Tim Potter
72420f24e6 r9296: Reinstate generation of push/pull functions for each field in a struct
or union.
2007-10-10 13:33:22 -05:00
Tim Potter
a7504ebf95 r9295: Tridge had some good suggestions for simplifying the smb_interfaces ejs
code.  I will try and get just the push/pull functions working rather than
getting in a mess with trying to do everything at once.
2007-10-10 13:33:21 -05:00
Tim Potter
13a101653e r9292: More compiles fixes for autogenerated smb_interfaces ejs wrappers.
Add some code to try and work out whether a smb_interface requires a
TALLOC_CTX in the function signature.  I'm not sure whether this is
going to work as the raw api is a bit inconsistent I think.
2007-10-10 13:33:21 -05:00
Tim Potter
c419eef1c9 r9220: Start trying to get autogenerated code to compile.
- Split out push/pull of top level elements into separate functions.

 - Remove _t from simple type names.
2007-10-10 13:31:32 -05:00
Tim Potter
8ff27a1eff r9207: Start generating ejs_push/pull calls for structure elements. 2007-10-10 13:31:30 -05:00
Tim Potter
3407490121 r9205: Generate more stub code for smb_raw ejs functions. 2007-10-10 13:31:30 -05:00
Tim Potter
dde7f8be97 r9202: OK now we are getting somewhere. Generate js stubs for top level structs
and each arm of top level unions.  Don't generate a header file (duh) as
the namespace stuff is done in the module init.
2007-10-10 13:31:30 -05:00
Tim Potter
a6541a0702 r9199: Another go at recursive flattening of structs. 2007-10-10 13:31:30 -05:00
Tim Potter
c56a530d3b r9191: Generate headers for nested structures that need pushing or pulling. 2007-10-10 13:31:29 -05:00
Tim Potter
a6f1f251e8 r9185: Make second pass over the parser tree and tidy things up to make it a
bit easier for the code generator.
2007-10-10 13:31:29 -05:00
Tim Potter
23b9f8f3b5 r9129: Start working on nested anonymous structures and unions. A better
design is starting to become clearer.  (-:
2007-10-10 13:31:19 -05:00
Tim Potter
acd34c1cac r9124: Handle more types pointers to simple types. 2007-10-10 13:31:19 -05:00
Tim Potter
e85b938ea0 r9102: Generate files in $srcdir/libcli/gen_raw instead of $srcdir.
Start fixing compile problems in generated output.
2007-10-10 13:31:16 -05:00
Tim Potter
39dfabe66d r9099: Start generating code to pull/push fields. Generate functions to call
the smb_raw_foo() calls.
2007-10-10 13:31:16 -05:00
Tim Potter
301dd7b78b r9092: Generate some more stub functions. 2007-10-10 13:31:16 -05:00
Tim Potter
0aee33c3de r9089: Start generating module init and top level ejs functions for smb_interfaces. 2007-10-10 13:31:15 -05:00
Tim Potter
c016487a01 r8934: Some refactoring of smb_interfaces code generator. 2007-10-10 13:30:58 -05:00
Tim Potter
3a93f11255 r8925: Start generating header and implementation files for smb_interfaces.h 2007-10-10 13:30:58 -05:00
Tim Potter
1be5f55d7f r8910: An initial parser to parse structures in smb_interfaces.h. This will be
used to generate ejs objects for making raw smb calls.

Running 'make smb_interfaces' should run the build_smb_interfaces.pl
script which at the moment only displays a dump of the parsed data.
Const is also not working right now but it's bedtime.
2007-10-10 13:30:57 -05:00