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

22 Commits

Author SHA1 Message Date
Stefan Metzmacher
3c8bc98c1b r13624: as abartlet requested, move the saslauthd parsing stuff to a seperate file
metze
2007-10-10 13:52:01 -05:00
Stefan Metzmacher
d003654b1c r13621: add an idl structure to parse saslauthd requests
metze
2007-10-10 13:52:01 -05:00
Stefan Metzmacher
6ae621437c r13044: I finally understand that the [charset()] and [string] properties
are independent...

fix some warnings

metze
2007-10-10 13:51:19 -05:00
Stefan Metzmacher
31d2bf3ca1 r12982: fix parsing of LDAP DIRSYNC cookies
metze
2007-10-10 13:51:14 -05:00
Jelmer Vernooij
6967b98849 r12465: Merge Parse::Pidl::Samba4::NDR::Header into Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
b773d848e8 r11096: Eliminate pointer_default_top() 2007-10-10 13:44:48 -05:00
Jelmer Vernooij
b7b01bccd1 r7552: Use ParseExpr() for [value] attributes; allows
us somewhat cleaner IDL.
2007-10-10 13:18:07 -05:00
Jelmer Vernooij
13cf227615 r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:

IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }

This makes the ndr_parser.pm internals much more sane.

Other changes include:

- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
  most other IDL compilers). This can be overridden using the
  default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
  is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
  useful for making sure IDL files work with other IDL compilers.

oh, and there's probably some other things I can't think of right now..
2007-10-10 13:17:01 -05:00
Stefan Metzmacher
f8add2e66a r5998: I was wrong with the highwater mark...
I think I now understand how it works:-)

metze
2007-10-10 13:11:14 -05:00
Stefan Metzmacher
adefeeb4f3 r5949: give things more meaning, and reuse structs where it is possible
to make things more clear

metze
2007-10-10 13:11:11 -05:00
Stefan Metzmacher
29d898a338 r5839: add LDAP DirSync control idl
metze
2007-10-10 13:11:05 -05:00
Jelmer Vernooij
a416de5825 r5661: Be a little stricter on syntax regarding arrays. A pointer to an
array can now only be :

 type *name[];

rather then :

 type *name;

which was supported in the past. Warnings will be given when the first
syntax is used. Reasons for this change in behaviour include improved
readability and the fact that the second format makes dealing with multiple
levels of pointers harder.
2007-10-10 13:10:57 -05:00
Jelmer Vernooij
31bed62a9a r5362: Add pointer_default() support to pidl. pointer_default()
is assumed to be "ptr" if not specified (just like midl).

The validator will warn when "ptr" is used at the moment, because
pidl only supports unique, ref and relative at the moment.
2007-10-10 13:09:46 -05:00
Andrew Tridgell
1d1a9c11ee r5036: changed HYPER_T to the more standard "hyper" 2007-10-10 13:09:15 -05:00
Andrew Tridgell
1a24a50384 r4526: - much simpler (and more accurate!) ndr_size_*() code generation. It
is less efficient, but I really doubt that matters.

- use enum in epmapper.idl for protocol type

- added support for "enum8bit" flag, used in epmapper.idl
2007-10-10 13:08:18 -05:00
Stefan Metzmacher
717454eb2f r4102: more uint64 vs HYPER_T fixes
NOTE:
 [u]int64 uses 4 Byte alignment
 and HYPER_T uses 8 Byte alignment

metze
2007-10-10 13:06:26 -05:00
Stefan Metzmacher
717f7c3555 r4078: use clearer names
metze
2007-10-10 13:06:23 -05:00
Stefan Metzmacher
87a92d3d5c r3996: add some comments
metze
2007-10-10 13:06:12 -05:00
Stefan Metzmacher
56c66f4a09 r3984: success full parse the repsFrom/repsTo LDAP fields
metze
2007-10-10 13:06:11 -05:00
Stefan Metzmacher
44f168c44d r3956: start to decode the repsFrom and repsTo fileds but not ready
metze
2007-10-10 13:06:07 -05:00
Stefan Metzmacher
42b9f0bd47 r3942: decode the 'replUpToDateVector' blob
metze
2007-10-10 13:06:07 -05:00
Stefan Metzmacher
07803f2886 r3927: add idl file for NDR encoded LDAP attributes used for the directory service
metze
2007-10-10 13:06:06 -05:00