]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/shell-backends/shellutil.h
Added note about fixing oc_schema_check (ITS#204).
[openldap] / servers / slapd / shell-backends / shellutil.h
index 7ea0db057cbae98961b67a628fadf0ab8b7b4125..7f51500d35844ba2b28415dc60502a4d5e8ee05f 100644 (file)
  is provided ``as is'' without express or implied warranty.
 */
 
+#ifndef SHELLUTIL_H
+#define SHELLUTIL_H
+
+#include <ldap_cdefs.h>
+
+LDAP_BEGIN_DECL
 
 #define MAXLINELEN     512
 
@@ -69,7 +75,7 @@ struct ldentry {
 
 
 #ifdef LDAP_DEBUG
-void debug_printf();
+void debug_printf LDAP_P((char *, ...));
 #else /* LDAP_DEBUG */
 #define debug_printf()
 #endif /* LDAP_DEBUG */
@@ -88,9 +94,14 @@ void add_strval( char ***sp, char *val );
 char *ecalloc( unsigned nelem, unsigned elsize );
 void *erealloc( void *s, unsigned size );
 char *estrdup( char *s );
+extern void dump_ldop (struct ldop *op);
+
 
 /*
  * global variables
  */
 extern int     debugflg;
 extern char    *progname;
+
+LDAP_END_DECL
+#endif