Skip to content
Snippets Groups Projects
Commit 6c1758ae authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Add matching rule assertion structure to filter union.

parent 7574b70c
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,13 @@ typedef struct ava {
struct berval ava_value;
} Ava;
typedef struct mra {
char *mra_rule;
char *mra_type;
char *mra_value;
int mra_dnattrs;
} Mra;
/*
* represents a search filter
*/
......@@ -97,6 +104,9 @@ typedef struct filter {
/* equality, lessorequal, greaterorequal, approx */
Ava f_un_ava;
/* extensible */
Mra f_un_fra;
/* and, or, not */
struct filter *f_un_complex;
......@@ -112,6 +122,10 @@ typedef struct filter {
#define f_ava f_un.f_un_ava
#define f_avtype f_un.f_un_ava.ava_type
#define f_avvalue f_un.f_un_ava.ava_value
#define f_mra f_un.f_un_mra
#define f_mrtype f_un.f_un_mra.mra_type
#define f_mrvalue f_un.f_un_mra.mra_value
#define f_mrdnaddrs f_un.f_un_mra.mra_dnattrs
#define f_and f_un.f_un_complex
#define f_or f_un.f_un_complex
#define f_not f_un.f_un_complex
......@@ -486,7 +500,6 @@ struct backend_info {
int (*bi_op_delete) LDAP_P((BackendDB *bd,
struct slap_conn *c, struct slap_op *o,
char *dn));
/* Bug: be_op_abandon in unused! */
int (*bi_op_abandon) LDAP_P((BackendDB *bd,
struct slap_conn *c, struct slap_op *o,
ber_int_t msgid));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment