Samba4/LDB/Filter

From SambaWiki
Revision as of 20:47, 13 October 2009 by Edewata (talk | contribs) (Samba4/LDB/Parse Tree/API moved to Samba4/LDB/Parse Tree)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Structures

ldb_parse_tree

struct ldb_parse_tree {
    enum ldb_parse_op operation;
    union {
        struct {
            struct ldb_parse_tree *child;
        } isnot;
        struct {
            const char *attr;
            struct ldb_val value;
        } equality;
        struct {
            const char *attr;
            int start_with_wildcard;
            int end_with_wildcard;
            struct ldb_val **chunks;
        } substring;
        struct {
            const char *attr;
        } present;
        struct {
            const char *attr;
            struct ldb_val value;
        } comparison;
        struct {
            const char *attr;
            int dnAttributes;
            char *rule_id;
            struct ldb_val value;
        } extended;
        struct {
            unsigned int num_elements;
            struct ldb_parse_tree **elements;
        } list;
    } u;
};