3 * Copyright 1998-2003 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;
30 extern struct berval sub_ndn;
32 extern char *ldiffile;
35 void slap_tool_init LDAP_P((
38 int argc, char **argv ));
40 void slap_tool_destroy LDAP_P((void));
42 #endif /* SLAPCOMMON_H_ */