]> git.sur5r.net Git - openldap/commitdiff
Add slap_operation_t
authorLuke Howard <lukeh@openldap.org>
Thu, 21 Jul 2005 13:35:19 +0000 (13:35 +0000)
committerLuke Howard <lukeh@openldap.org>
Thu, 21 Jul 2005 13:35:19 +0000 (13:35 +0000)
servers/slapd/slap.h

index a3c11195d80f78bf4fd4815d6bc8c0844134d6c8..718263a1a39ba9163ed92fa741694427f27faeb9 100644 (file)
@@ -76,6 +76,10 @@ LDAP_BEGIN_DECL
 #endif
 #endif
 
+#ifdef LDAP_SLAPI
+#define SLAP_OVERLAY_ACCESS
+#endif
+
 /*
  * ITS#3705: bail out if unknown config directives appear in slapd.conf
  */
@@ -2169,6 +2173,24 @@ typedef struct slap_callback {
 
 struct slap_overinfo;
 
+typedef enum slap_operation_e {
+       op_bind = 0,
+       op_unbind,
+       op_search,
+       op_compare,
+       op_modify,
+       op_modrdn,
+       op_add,
+       op_delete,
+       op_abandon,
+       op_cancel,
+       op_extended,
+       op_aux_operational,
+       op_aux_chk_referrals,
+       op_aux_chk_controls,
+       op_last
+} slap_operation_t;
+
 typedef struct slap_overinst {
        BackendInfo on_bi;
        slap_response *on_response;