]> git.sur5r.net Git - openldap/blobdiff - include/ldif.h
Update configure to:
[openldap] / include / ldif.h
index 139d6ba7492bc845fd9a7112e16930d568f0d2ae..691c8bb52f6d45f8d4b527636a00e9b08a58bb7f 100644 (file)
@@ -28,7 +28,7 @@ LDAP_BEGIN_DECL
 
 extern int ldif_debug;
 
-#define LINE_WIDTH      76      /* maximum length of LDIF lines */
+#define LDIF_LINE_WIDTH      76      /* maximum length of LDIF lines */
 
 /*
  * Macro to calculate maximum number of bytes that the base64 equivalent
@@ -45,7 +45,7 @@ extern int ldif_debug;
  */
 #define LDIF_SIZE_NEEDED(tlen,vlen) \
     ((tlen) + 4 + LDIF_BASE64_LEN(vlen) \
-    + ((LDIF_BASE64_LEN(vlen) + (tlen) + 3) / LINE_WIDTH * 2 ))
+    + ((LDIF_BASE64_LEN(vlen) + (tlen) + 3) / LDIF_LINE_WIDTH * 2 ))
 
 LDAP_F int
 ldif_parse_line LDAP_P(( char *line, char **type, char **value, int *vlen));