7 * Copyright (C) 2001-2003 Fhg Fokus
9 * This file is part of ser, a free SIP server.
11 * ser is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version
16 * For a license to use the ser software under conditions
17 * other than those described here, or to purchase support for this
18 * software, please contact iptel.org by e-mail at the following addresses:
21 * ser is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
26 * You should have received a copy of the GNU General Public License
27 * along with this program; if not, write to the Free Software
28 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
46 extern char * cfg_file;
47 extern char *stat_file;
48 extern struct socket_info sock_info[]; /* all addresses we listen/send from*/
49 extern struct socket_info tcp_info[]; /* all tcp sockets we listen on*/
50 extern int sock_no; /* number of addresses/open sockets*/
51 extern unsigned short port_no;
53 extern char port_no_str[];
54 extern int port_no_str_len;
57 extern char * names[];
58 extern int names_len[];
59 extern struct ip_addr addresses[];
60 extern int addresses_no;
62 extern struct socket_info* bind_address; /* pointer to the crt. proc.
64 extern int bind_idx; /* same as above but index in the bound[] array */
65 extern struct socket_info* sendipv4; /* ipv4 socket to use when msg.
67 extern struct socket_info* sendipv6; /* same as above for ipv6 */
70 extern int unix_tcp_sock; /* socket used for communication with tcp main*/
73 extern unsigned int maxbuffer;
74 extern int children_no;
76 extern int tcp_children_no;
80 extern int received_dns;
81 extern int syn_branch;
82 /* extern int process_no; */
83 extern int sip_warning;
84 extern int server_signature;
88 * debug & log_stderr moved to dprint.h*/
90 /* extern process_bm_t process_bit; */
91 /* extern int *pids; -moved to pt.h */
93 extern int cfg_errors;
94 extern unsigned int msg_no;
96 extern unsigned int shm_mem_size;
98 /* FIFO server config */
99 char extern *fifo; /* FIFO name */
100 extern int fifo_mode;
104 extern int process_no;
107 extern int reply_to_via;
111 /* debugging level for dumping memory status */