diff options
author | Simo Sorce <ssorce@redhat.com> | 2011-11-14 23:09:50 -0500 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2011-11-21 18:52:59 -0500 |
commit | 046c416e900b6a06124b181ae1d64aea1b863d22 (patch) | |
tree | 7dd49908e97806e2820b5da2725b3e3eabf92a77 /daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h | |
parent | d709dcf8f5d9e311b6703cd444ff220809eeff7a (diff) | |
download | freeipa-046c416e900b6a06124b181ae1d64aea1b863d22.tar.gz freeipa-046c416e900b6a06124b181ae1d64aea1b863d22.tar.xz freeipa-046c416e900b6a06124b181ae1d64aea1b863d22.zip |
ipa-cldap: Decode CLDAP request.
Diffstat (limited to 'daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h')
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h b/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h index ff9818a64..8484749f5 100644 --- a/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h +++ b/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h @@ -68,6 +68,17 @@ struct ipa_cldap_ctx { int sd; }; +struct kvp { + struct berval attr; + struct berval value; +}; + +struct kvp_list { + struct kvp *pairs; + int allocated; + int top; +}; + struct ipa_cldap_req { int fd; @@ -76,6 +87,11 @@ struct ipa_cldap_req { char dgram[MAX_DG_SIZE]; size_t dgsize; + + ber_int_t id; + + /* filter members */ + struct kvp_list kvps; }; void *ipa_cldap_worker(struct ipa_cldap_ctx *ctx); |