aboutsummaryrefslogtreecommitdiff
path: root/jabberd/jabberd.h
diff options
context:
space:
mode:
Diffstat (limited to 'jabberd/jabberd.h')
-rw-r--r--jabberd/jabberd.h62
1 files changed, 0 insertions, 62 deletions
diff --git a/jabberd/jabberd.h b/jabberd/jabberd.h
deleted file mode 100644
index 1537db4..0000000
--- a/jabberd/jabberd.h
+++ /dev/null
@@ -1,62 +0,0 @@
1/* jabberd - a dispatcher program for jabber 2.x
2 Copyright (C) 2007 Sergey Poznyakoff
3
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License as published by the
6 Free Software Foundation; either version 3 of the License, or (at your
7 option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License along
15 with this program. If not, see <http://www.gnu.org/licenses/>. */
16
17#ifdef HAVE_CONFIG_H
18# include <config.h>
19#endif
20#include <sys/types.h>
21#include <sys/wait.h>
22#include <stdio.h>
23#include <stdlib.h>
24#include <stdarg.h>
25#include <unistd.h>
26#include <syslog.h>
27#include <getopt.h>
28#include <errno.h>
29#include <string.h>
30#include <pwd.h>
31#include <grp.h>
32#include <signal.h>
33
34#include "gsc.h"
35
36#define RETR_OUT 0
37#define RETR_ERR 1
38
39#define TESTTIME 2*60
40#define SLEEPTIME 5*60
41#define MAXSPAWN 10
42
43void register_transport (char *tag, char **argv, int retr[2], char **depv,
44 char *pidfile);
45void register_jabber_process (char *cmd, char *cfg);
46void logmsg (int prio, char *fmt, ...);
47void signal_setup (RETSIGTYPE (*sf)(int));
48
49void *emalloc (size_t size);
50
51void progman_start (void);
52void progman_stop (void);
53void progman_cleanup (int);
54void progman_wake_disabled (void);
55void progman_stop_component (const char *);
56void progman_dump_stats (const char *);
57
58extern int debug_level;
59extern char *syslog_tag;
60extern int log_facility;
61extern unsigned long shutdown_timeout;
62

Return to:

Send suggestions and report system problems to the System administrator.