]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slap.h
Added a conformant sortedResults support which is unable to sort anything.
[openldap] / servers / slapd / slap.h
index 28b63a4c9cb0baad70c9cbc64e874e6551831c9f..29755901fea50c993e6d9202bf872225615442a9 100644 (file)
@@ -1173,6 +1173,7 @@ typedef enum slap_style_e {
        ACL_STYLE_ONE,
        ACL_STYLE_SUBTREE,
        ACL_STYLE_CHILDREN,
+       ACL_STYLE_LEVEL,
        ACL_STYLE_ATTROF,
        ACL_STYLE_ANONYMOUS,
        ACL_STYLE_USERS,
@@ -1302,6 +1303,8 @@ typedef struct slap_access {
 #define a_dn_pat       a_authz.sai_dn
 
        slap_style_t a_dn_style;
+       int                     a_dn_level;
+       int                     a_dn_self_level;
        AttributeDescription    *a_dn_at;
        int                     a_dn_self;
        int                     a_dn_expand;
@@ -2163,6 +2166,9 @@ struct slap_control_ids {
        int sc_modifyIncrement;
        int sc_noOp;
        int sc_pagedResults;
+#ifdef LDAP_DEVEL
+       int sc_sortedResults;
+#endif
        int sc_valuesReturnFilter;
        int sc_permissiveModify;
        int sc_domainScope;
@@ -2367,10 +2373,13 @@ typedef struct slap_op {
 
 #define o_pagedresults o_ctrlflag[slap_cids.sc_pagedResults]
 #define o_pagedresults_state   o_controls[slap_cids.sc_pagedResults]
+#define get_pagedresults(op)                   ((int)(op)->o_pagedresults)
 
-#define o_sync                 o_ctrlflag[slap_cids.sc_LDAPsync]
+#ifdef LDAP_DEVEL
+#define o_sortedresults                o_ctrlflag[slap_cids.sc_sortedResults]
+#endif
 
-#define get_pagedresults(op)                   ((int)(op)->o_pagedresults)
+#define o_sync                 o_ctrlflag[slap_cids.sc_LDAPsync]
 
        AuthorizationInformation o_authz;