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

25 Commits

Author SHA1 Message Date
Tim Potter
7fd9b2ae1c Misc fixes:
- pass correct args when doing arrays of scalar vs buffer types
 - add NULL data argument to all calls
 - get rid of unecessary curly brackets
 - typos
(This used to be commit 42a688ea1c)
2001-12-09 08:07:20 +00:00
Tim Potter
3c3fb798fd wchar_t is a scalar.
(This used to be commit 79e56e719c)
2001-12-09 06:12:51 +00:00
Tim Potter
ae02ee94e9 Convert a bunch of "prs_foo()" to "offset = prs_foo()"
Return offset from function request and response code.
(This used to be commit 83ada5447b)
2001-12-08 22:40:36 +00:00
Tim Potter
ae87ee3ccd Removed old commented-out code.
Generate code for parsing arrays.

We're nearly ready to start generating real code!
(This used to be commit f6f5b8a718)
2001-12-08 22:04:16 +00:00
Tim Potter
6ec1278d16 Reinvented has_properties() function lost after HD crash. )-:
Fixed up handling of pointer to scalar type.
(This used to be commit eb3dbe113f)
2001-12-08 21:43:22 +00:00
Tim Potter
d99084e3ec Made hyper a simple type.
Changed dissect_ to prs_ to avoid name conflicts.
(This used to be commit 2670f1f8e1)
2001-12-08 21:13:44 +00:00
Tim Potter
4201dba52e Moved processing of function arguments and structure elements
back in to ParseElement()

is_simple_type() -> is_scalar_type()

Added more types to scalar type list.

Pass scalars/buffers flag down to ParseElement()
(This used to be commit 802c219bab)
2001-12-06 07:16:08 +00:00
Tim Potter
71f99b2a1e Don't pass down drep (data representation) arg from top level fn.
Decided to use tridge's PARSE_SCALARS and PARSE_BUFFERS pattern for
generating code for structures and function calls.  For functions, dissect
sub-structures with PARSE_SCALARS|PARSE_BUFFERS.  For arrays and structures
in structures (?) use PARSE_SCALARS on each element of the structure then
PARSE_BUFFERS.

Determine whether a type is a "simple" type or a struct/union.
(This used to be commit bb5bab5817)
2001-12-06 03:59:51 +00:00
Tim Potter
100655416e Don't pass decorative name to policy handle or ntstatus dissectors.
Pass drep (data representation?) field down from dcerpc dissector.  This is
whether the packet is big or little endian.
(This used to be commit e5ca478614)
2001-11-28 06:29:24 +00:00
Tim Potter
b056579969 Decorate some of the parse functions with element names. This is starting
to get closer to be compilable code!
(This used to be commit fbfe0795a9)
2001-11-28 06:05:26 +00:00
Tim Potter
b23b2ae0fd Start generating some ethereal code that may actually compile with
fewer tweaks.
(This used to be commit b045bbec59)
2001-11-27 00:35:50 +00:00
Tim Potter
07aed4b599 Start generating code for unions.
(This used to be commit ac71046754)
2001-11-26 05:27:32 +00:00
Tim Potter
a402ea46ab Ignore *.pidl
(This used to be commit c2fa746c47)
2001-11-26 05:25:24 +00:00
Tim Potter
de5f7da321 Renamed functions from Dump* to Parse*
(This used to be commit 952b47dc23)
2001-11-24 23:39:12 +00:00
Tim Potter
e581569a87 Initial version of ethereal parser generator. Works with test.idl
but not much else!
(This used to be commit 84fe4a000c)
2001-11-24 23:37:57 +00:00
Tim Potter
92ba6fc79e Added --eparser to call ethereal parser generator.
(This used to be commit e1f191a9dc)
2001-11-24 23:35:58 +00:00
Andrew Tridgell
95baaba31c forgot a file
(This used to be commit 39e8894fb2)
2001-11-24 11:29:42 +00:00
Andrew Tridgell
a1cd69698f changed auto-generated comment for headers
(This used to be commit 24ec2f1f81)
2000-12-14 23:53:33 +00:00
Andrew Tridgell
e42a8b3db9 beginnings of the C parser generator
(This used to be commit a9b1e03b33)
2000-12-14 23:53:19 +00:00
Andrew Tridgell
4bad800aa1 added header generation
(This used to be commit 406458b2fc)
2000-12-14 04:41:56 +00:00
Andrew Tridgell
dac34e4b70 fixed help
(This used to be commit 649e8ca0bb)
2000-12-14 04:41:45 +00:00
Andrew Tridgell
bdb96b0e94 added a comment
(This used to be commit 6831c000a3)
2000-12-14 04:41:31 +00:00
Andrew Tridgell
5bd7a4a832 - fixed FlattenHash bug
- better handling of .. in filenames
(This used to be commit 4a9953f55b)
2000-12-14 04:16:57 +00:00
Andrew Tridgell
ee9dc3c0ad This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.
(This used to be commit feb1239576)
2000-12-14 04:09:29 +00:00
Andrew Tridgell
ce74988dc8 first version
(This used to be commit 14135ed6bb)
2000-12-14 04:09:29 +00:00