]> git.sur5r.net Git - openldap/commitdiff
glue's enum conflicts with slap_operation_t
authorPierangelo Masarati <ando@openldap.org>
Thu, 21 Jul 2005 14:23:49 +0000 (14:23 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 21 Jul 2005 14:23:49 +0000 (14:23 +0000)
servers/slapd/overlays/glue.c

index 569bb807867f2692f2fb512e47a471333822dfd2..a6e0d683040323e551c4913dacbc78bb66cbf0fc 100644 (file)
@@ -154,10 +154,10 @@ glue_op_response ( Operation *op, SlapReply *rs )
 }
 
 enum glue_which {
-       op_modify = 0,
-       op_modrdn,
-       op_add,
-       op_delete
+       glue_op_modify = 0,
+       glue_op_modrdn,
+       glue_op_add,
+       glue_op_delete
 };
 
 static int
@@ -174,10 +174,10 @@ glue_op_func ( Operation *op, SlapReply *rs )
        b0->bd_info = on->on_info->oi_orig;
 
        switch(op->o_tag) {
-       case LDAP_REQ_ADD: which = op_add; break;
-       case LDAP_REQ_DELETE: which = op_delete; break;
-       case LDAP_REQ_MODIFY: which = op_modify; break;
-       case LDAP_REQ_MODRDN: which = op_modrdn; break;
+       case LDAP_REQ_ADD: which = glue_op_add; break;
+       case LDAP_REQ_DELETE: which = glue_op_delete; break;
+       case LDAP_REQ_MODIFY: which = glue_op_modify; break;
+       case LDAP_REQ_MODRDN: which = glue_op_modrdn; break;
        }
 
        func = &op->o_bd->bd_info->bi_op_modify;