summaryrefslogtreecommitdiff
path: root/source4/build/pidl/eparser.pm
AgeCommit message (Collapse)AuthorFilesLines
2001-12-10Added "return offset;" to end of generated function.Tim Potter1-0/+1
We're getting really close now! Ethereal can properly decode OpenPolicy requests and responses using pidl generated code. QueryInfoPolicy is nearly working. (This used to be commit 23a9812987bad6fcf7bf131eafd2bf39d558eeb5)
2001-12-10Fix for pointers to structures in function args.Tim Potter1-0/+9
(This used to be commit e35c62267fb605c4813f7c6178c6061806c74482)
2001-12-09Misc fixes:Tim Potter1-9/+11
- 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 42a688ea1c012626e247820dec927456e3de9b79)
2001-12-09wchar_t is a scalar.Tim Potter1-0/+1
(This used to be commit 79e56e719cec28373c117efa33e8924470ffcdcf)
2001-12-08Convert a bunch of "prs_foo()" to "offset = prs_foo()"Tim Potter1-8/+8
Return offset from function request and response code. (This used to be commit 83ada5447b05667800dec536ac71d4b7437c77e4)
2001-12-08Removed old commented-out code.Tim Potter1-49/+30
Generate code for parsing arrays. We're nearly ready to start generating real code! (This used to be commit f6f5b8a7189b579eaf1fbf8db91c9ba11b96ac57)
2001-12-08Reinvented has_properties() function lost after HD crash. )-:Tim Potter1-11/+26
Fixed up handling of pointer to scalar type. (This used to be commit eb3dbe113f9f4e755436caa974394e73a285cb03)
2001-12-08Made hyper a simple type.Tim Potter1-13/+14
Changed dissect_ to prs_ to avoid name conflicts. (This used to be commit 2670f1f8e111f2944c35db9ad28e049db123f9a8)
2001-12-06Moved processing of function arguments and structure elementsTim Potter1-41/+95
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 802c219babc94178099dbc898da1a788a2e8a593)
2001-12-06Don't pass down drep (data representation) arg from top level fn.Tim Potter1-13/+31
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 bb5bab58177fafd670dba8fe755b6c4753713efd)
2001-11-28Don't pass decorative name to policy handle or ntstatus dissectors.Tim Potter1-12/+12
Pass drep (data representation?) field down from dcerpc dissector. This is whether the packet is big or little endian. (This used to be commit e5ca478614e50f7f45172a7f0e9fd37603502dfc)
2001-11-28Decorate some of the parse functions with element names. This is startingTim Potter1-9/+9
to get closer to be compilable code! (This used to be commit fbfe0795a9421a5c70dcbcaa74292b3fb4ae6974)
2001-11-27Start generating some ethereal code that may actually compile withTim Potter1-21/+19
fewer tweaks. (This used to be commit b045bbec59bf4faac094c5bca7f048c813054209)
2001-11-26Start generating code for unions.Tim Potter1-5/+22
(This used to be commit ac71046754b3a4bee53dab64ed73c176074482a0)
2001-11-24Initial version of ethereal parser generator. Works with test.idlTim Potter1-0/+216
but not much else! (This used to be commit 84fe4a000cb31ca5cdd24d9b8e57a63b8c0e8838)