]> git.sur5r.net Git - openldap/commitdiff
Add warning regarding LDAP_MOD_* so poeple won't reuse the LDAP_MOD_SOFTADD
authorJuan Gomez <gomez@openldap.org>
Wed, 26 May 1999 11:33:57 +0000 (11:33 +0000)
committerJuan Gomez <gomez@openldap.org>
Wed, 26 May 1999 11:33:57 +0000 (11:33 +0000)
code by mistake.

include/ldap.h

index 508413628becbc89ad52623c12cfc8c8aa6e1941..02cd4fa2522d7bb1a5aec7762ca6e4ededc1fd07 100644 (file)
@@ -318,6 +318,10 @@ typedef struct ldapmod {
 #define LDAP_MOD_ADD           0x0000
 #define LDAP_MOD_DELETE                0x0001
 #define LDAP_MOD_REPLACE       0x0002
+/* IMPORTANT: do not use code 0x04, it is used internally by the backends!
+ * (see ldap/servers/slapd/slap.h)
+ * JCG 05/1999 (gomez@engr.sgi.com)
+ */
 #define LDAP_MOD_BVALUES       0x0080
        char            *mod_type;
        union mod_vals_u {