mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
7a1128cb9a
Note that memcmp() doesn't work well with padding bytes. So avoid it!
(gdb) ptype/o struct poptOption
/* offset | size */ type = struct poptOption {
/* 0 | 8 */ const char *longName;
/* 8 | 1 */ char shortName;
/* XXX 3-byte hole */
/* 12 | 4 */ unsigned int argInfo;
/* 16 | 8 */ void *arg;
/* 24 | 4 */ int val;
/* XXX 4-byte hole */
/* 32 | 8 */ const char *descrip;
/* 40 | 8 */ const char *argDescrip;
/* total size (bytes): 48 */
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
tests | ||
ldb_ildap.c | ||
ldb_matching_rules.c | ||
ldb_matching_rules.h | ||
ldb_wrap.c | ||
ldb_wrap.h | ||
ldif_handlers.c | ||
ldif_handlers.h | ||
pyldb.c | ||
README | ||
samba_extensions.c | ||
wscript_build |
This directory contains Samba specific extensions to ldb. It also serves as example code on how to extend ldb for your own application. The main extension Samba uses is to provide ldif encode/decode routines for specific attributes, so users can get nice pretty printing of attributes in ldbedit, while the attributes are stored in the standard NDR format in the database.