From SambaWiki
Revision as of 18:15, 24 September 2009 by Edewata (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


struct ldb_message_element {
    unsigned int flags;
    const char *name;
    unsigned int num_values;
    struct ldb_val *values;

Results are given back as arrays of ldb_message_element.


struct ldb_message {
    struct ldb_dn *dn;
    unsigned int num_elements;
    struct ldb_message_element *elements;

An ldb_message represents all or part of a record. It can contain an arbitrary number of elements.