]> git.sur5r.net Git - openldap/blobdiff - servers/slurpd/proto-slurp.h
Rework test suite to use run script.
[openldap] / servers / slurpd / proto-slurp.h
index 2d4adca3069f866a0e5124f46c8a4c9ff44591bc..d91ba666569c725f0d2892b077ba9c0caba9b794 100644 (file)
@@ -1,4 +1,8 @@
 /* $OpenLDAP$ */
+/*
+ * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
 #ifndef _PROTO_SLURP
 #define _PROTO_SLURP
 
@@ -17,23 +21,29 @@ int doargs  LDAP_P((int argc, char **argv, struct globals *g));
 #define ch_malloc malloc
 #define ch_realloc realloc
 #define ch_calloc calloc
+#define ch_strdup strdup
 #define ch_free free
 #else
 void *ch_malloc        LDAP_P((ber_len_t size));
 void *ch_realloc       LDAP_P((void *block, ber_len_t size));
 void *ch_calloc        LDAP_P((ber_len_t nelem, ber_len_t size));
+char *ch_strdup LDAP_P((const char *str));
 void ch_free   LDAP_P((void *p));
 #endif
 
 /* config.c */
 int slurpd_read_config LDAP_P((char *fname));
 
+extern char *slurpd_pid_file;
+extern char *slurpd_args_file;
+
 /* ch_malloc.c */
 void ch_free LDAP_P(( void *p ));
 
 /* fm.c */
 void *fm       LDAP_P((void *arg));
 RETSIGTYPE do_nothing  LDAP_P((int i));
+RETSIGTYPE slurp_set_shutdown LDAP_P((int));
 
 /* globals.c */
 extern struct globals *sglob;