3 * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6 /* slapcommon.h - common definitions for the slap tools */
9 #define SLAPCOMMON_H_ 1
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 continuemode;
28 extern int nosubordinates;
31 extern char *ldiffile;
34 void slap_tool_init LDAP_P((
37 int argc, char **argv ));
39 void slap_tool_destroy LDAP_P((void));
41 #endif /* SLAPCOMMON_H_ */