]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/tools/ldapsyntax.h
Updated some items
[openldap] / servers / slapd / tools / ldapsyntax.h
index ddcf1f2b3e837c1a6591cdb117bafceeb7a2026d..44a23263caa97cf47fce893eeb9b96d90c532d83 100644 (file)
  * is provided ``as is'' without express or implied warranty.
  */
 
+#ifndef LDAPSYNTAX_H
+#define LDAPSYNTAX_H 1
+
+#include <ldap_cdefs.h>
+
+LDAP_BEGIN_DECL
 
 /* XXX: the "master" LINE_WIDTH #define is in ../slap.h */
 #define LINE_WIDTH     76      /* for lines in string rep of an entry */
 
-#ifdef NEEDPROTOS
 /*
  * function prototypes
  */
 
-int init_syntaxes( void );
-int av2ldif( FILE *outfp, AV_Sequence av, DN dn, short syntax,
-    char *attrname, PS str_ps );
+int init_syntaxes LDAP_P(( void ));
+int av2ldif LDAP_P(( FILE *outfp, AV_Sequence av, DN dn, short syntax,
+    char *attrname, PS str_ps ));
 
-#endif /* NEEDPROTOS */
+LDAP_END_DECL
+#endif