From b2d40841d8585ba6cc6d37a99a51473aef2cd169 Mon Sep 17 00:00:00 2001 From: Juan Gomez Date: Wed, 26 May 1999 11:33:57 +0000 Subject: [PATCH] Add warning regarding LDAP_MOD_* so poeple won't reuse the LDAP_MOD_SOFTADD code by mistake. --- include/ldap.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/ldap.h b/include/ldap.h index 508413628b..02cd4fa252 100644 --- a/include/ldap.h +++ b/include/ldap.h @@ -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 { -- 2.39.5