#include "config.h"
#include "clientsocket.h"
+#include "ctdl_module.h"
+
#ifndef INADDR_NONE
#define INADDR_NONE 0xffffffff
#endif
#include "server.h"
#include "config.h"
+
+#include "ctdl_module.h"
+
+
struct config config;
/*
#include "serv_extensions.h"
#include "citadel_dirs.h"
-/*
- * Global system configuration. Don't change anything here. It's all in dtds/config-defs.h now.
- */
-struct config {
-#include "datadefinitions.h"
-#include "dtds/config-defs.h"
-#include "undef_data.h"
-};
-
void get_config(void);
void put_config(void);
-extern struct config config;
#include "config.h"
#include "ical_dezonify.h"
+#include "ctdl_module.h"
+
/*
* Figure out which time zone needs to be used for timestamps that are
#ifndef CTDL_MODULE_H
#define CTDL_MODULE_H
+#include "sysdep.h"
+#include <stdlib.h>
+#include <unistd.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <ctype.h>
+#include <signal.h>
+#include <pwd.h>
+#include <errno.h>
+#include <sys/types.h>
+
+#if TIME_WITH_SYS_TIME
+# include <sys/time.h>
+# include <time.h>
+#else
+# if HAVE_SYS_TIME_H
+# include <sys/time.h>
+# else
+# include <time.h>
+# endif
+#endif
+
+#include <sys/wait.h>
+#include <string.h>
+#include <limits.h>
+
+
+#ifndef HAVE_SNPRINTF
+#include "snprintf.h"
+#endif
+
+
#include <libcitadel.h>
+
#include "server.h"
#include "sysdep_decls.h"
#include "msgbase.h"
ac_internal
};
+
+
+/*
+ * API declarations from serv_extensions.h
+ */
+void CtdlModuleDoSearch(int *num_msgs, long **search_msgs, char *search_string, char *func_name);
+/*
+ * Global system configuration. Don't change anything here. It's all in dtds/config-defs.h now.
+ */
+struct config {
+#include "datadefinitions.h"
+#include "dtds/config-defs.h"
+#include "undef_data.h"
+};
+
+extern struct config config;
+
#endif /* CTDL_MODULE_H */
#include "parsedate.h"
#include "database.h"
+#include "ctdl_module.h"
#ifndef HAVE_SNPRINTF
#include "snprintf.h"
#include "threads.h"
#include "citadel_ldap.h"
+#include "ctdl_module.h"
+
+
#ifdef HAVE_LDAP
#define LDAP_DEPRECATED 1 /* Needed to suppress misleading warnings */
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-
-#include "sysdep.h"
-#include <stdlib.h>
-#include <unistd.h>
-#include <stdio.h>
-#include <fcntl.h>
-#include <ctype.h>
-#include <signal.h>
-#include <pwd.h>
-#include <errno.h>
-#include <sys/types.h>
-
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-#endif
-
-#include <sys/wait.h>
-#include <string.h>
-#include <limits.h>
-#include <libcitadel.h>
-#include "support.h"
-#include "config.h"
-#include "serv_autocompletion.h"
-
#include "ctdl_module.h"
-#ifndef HAVE_SNPRINTF
-#include "snprintf.h"
-#endif
+#include "serv_autocompletion.h"
void CtdlDestroyFixedOutputHooks(void);
int PerformFixedOutputHooks(char *, char *, int);
-void CtdlModuleDoSearch(int *num_msgs, long **search_msgs, char *search_string, char *func_name);
#endif /* SERV_EXTENSIONS_H */