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

20 Commits

Author SHA1 Message Date
Tim Potter
c04b6ada5f r9297: Add a NDR_CHECK() around each ejs push/pull.
Some experimentation with the top level function calls.
(This used to be commit e8d53d15e4)
2007-10-10 13:33:22 -05:00
Tim Potter
ca1b2eae77 r9296: Reinstate generation of push/pull functions for each field in a struct
or union.
(This used to be commit 72420f24e6)
2007-10-10 13:33:22 -05:00
Tim Potter
c1f165d6e9 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.
(This used to be commit a7504ebf95)
2007-10-10 13:33:21 -05:00
Tim Potter
a1ca088901 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.
(This used to be commit 13a101653e)
2007-10-10 13:33:21 -05:00
Tim Potter
4b93e377cd 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.
(This used to be commit c419eef1c9)
2007-10-10 13:31:32 -05:00
Tim Potter
ac4c941b77 r9207: Start generating ejs_push/pull calls for structure elements.
(This used to be commit 8ff27a1eff)
2007-10-10 13:31:30 -05:00
Tim Potter
16cc2aa58e r9205: Generate more stub code for smb_raw ejs functions.
(This used to be commit 3407490121)
2007-10-10 13:31:30 -05:00
Tim Potter
febfcd33ec 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.
(This used to be commit dde7f8be97)
2007-10-10 13:31:30 -05:00
Tim Potter
7dfaea15b3 r9199: Another go at recursive flattening of structs.
(This used to be commit a6541a0702)
2007-10-10 13:31:30 -05:00
Tim Potter
3824a0caa8 r9191: Generate headers for nested structures that need pushing or pulling.
(This used to be commit c56a530d3b)
2007-10-10 13:31:29 -05:00
Tim Potter
d8a490ab1b r9185: Make second pass over the parser tree and tidy things up to make it a
bit easier for the code generator.
(This used to be commit a6f1f251e8)
2007-10-10 13:31:29 -05:00
Tim Potter
53c38c5ca6 r9129: Start working on nested anonymous structures and unions. A better
design is starting to become clearer.  (-:
(This used to be commit 23b9f8f3b5)
2007-10-10 13:31:19 -05:00
Tim Potter
94e5cafff2 r9124: Handle more types pointers to simple types.
(This used to be commit acd34c1cac)
2007-10-10 13:31:19 -05:00
Tim Potter
2d9d6c4689 r9102: Generate files in $srcdir/libcli/gen_raw instead of $srcdir.
Start fixing compile problems in generated output.
(This used to be commit e85b938ea0)
2007-10-10 13:31:16 -05:00
Tim Potter
daaf771498 r9099: Start generating code to pull/push fields. Generate functions to call
the smb_raw_foo() calls.
(This used to be commit 39dfabe66d)
2007-10-10 13:31:16 -05:00
Tim Potter
9cea63d757 r9092: Generate some more stub functions.
(This used to be commit 301dd7b78b)
2007-10-10 13:31:16 -05:00
Tim Potter
36a2b36177 r9089: Start generating module init and top level ejs functions for smb_interfaces.
(This used to be commit 0aee33c3de)
2007-10-10 13:31:15 -05:00
Tim Potter
4216c18f34 r8934: Some refactoring of smb_interfaces code generator.
(This used to be commit c016487a01)
2007-10-10 13:30:58 -05:00
Tim Potter
30c3c77306 r8925: Start generating header and implementation files for smb_interfaces.h
(This used to be commit 3a93f11255)
2007-10-10 13:30:58 -05:00
Tim Potter
e3374bb48d 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.
(This used to be commit 1be5f55d7f)
2007-10-10 13:30:57 -05:00