File: config.h

package info (click to toggle)
xtell 1.91.2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 164 kB
  • ctags: 65
  • sloc: ansic: 962; makefile: 81; sh: 39
file content (43 lines) | stat: -rw-r--r-- 917 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* Port to bind to. */
#define XTELL_DEFAULT_PORT      4224


#define USE_READLINE
#define USE_LIBIDENT

#ifdef USE_READLINE
# include "/usr/include/readline/history.h"
# include "/usr/include/readline/readline.h"
#endif

#ifdef USE_LIBIDENT
# include "/usr/include/ident.h"
#endif


/* if your system does not have getutent & comp., comment out this */
/* BSD clones usually do not have */
#define HAVE_GETUTENT


/* if you are compiling for Cygwin, ucomment this */
/* #define CYGWIN */

/* you probably need not touch variables below */

#define MAX_MSG_LENGTH		1024
#define MAX_LUSERNAME_LENGTH	20
#define MAX_TTY_LENGTH		8
#define MAX_HOSTNAME		255
#define MAX_SOCK_LENGTH		(MAX_MSG_LENGTH+MAX_LUSERNAME_LENGTH*2+MAX_TTY_LENGTH+5+2)
#define MAX_REPLY_LENGTH        50
#define MAX_TIME_LENGTH         20

#define TTYDIR  "/dev/"

#define VERSION "1.91.2"

#define LOGFILE ".xtell-log"

/* #define USE_CUSERID */