2
* server functionality:
3
* * let other processes issue commands (dial)
5
* This file is part of ANT (Ant is Not a Telephone)
7
* Copyright 2002, 2003 Roland Stigge
9
* ANT is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 2 of the License, or
12
* (at your option) any later version.
14
* ANT is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
19
* You should have received a copy of the GNU General Public License
20
* along with ANT; if not, write to the Free Software
21
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25
/* own header files */
28
#define SERVER_LOCAL_SOCKET_NAME ".socket"
29
#define SERVER_CONNECTIONS_MAX_PENDING 5
30
#define SERVER_INBUF_SIZE 1024
36
char *server_local_socket_name(void);
37
int server_init(session_t *session);
38
void server_handle_local_input(gpointer data, gint fd _U_,
39
GdkInputCondition condition _U_);
40
int server_deinit(session_t *session);