2 * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5 /* slapcommon.h - common definitions for the slap tools */
8 #define SLAPCOMMON_H_ 1
11 #include "ldap_defaults.h"
15 SLAPCAT=1, /* database -> LDIF tool */
16 SLAPADD, /* LDIF -> database tool */
17 SLAPINDEX, /* database index tool */
18 SLAPTEST /* database testing tool */
22 extern char *progname;
23 extern char *conffile;
25 extern int appendmode;
27 extern int noschemacheck;
28 extern int continuemode;
30 extern char *ldiffile;
33 void slap_tool_init LDAP_P((
36 int argc, char **argv ));
38 void slap_tool_destroy LDAP_P((void));
40 #endif /* SLAPCOMMON_H_ */