File: config.h.bot

package info (click to toggle)
kismet 2008-05-R1-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,232 kB
  • ctags: 3,998
  • sloc: cpp: 33,568; sh: 5,544; ansic: 459; makefile: 457; perl: 62; sql: 41
file content (36 lines) | stat: -rw-r--r-- 781 bytes parent folder | download | duplicates (2)
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

/* Maximum number of characters in the status line */
#define STATUS_MAX 1024

/* Maximum number of channels - I've only ever heard of 14 being used. */
#define CHANNEL_MAX 14

/* Stupid ncurses */
#define NCURSES_NOMACROS

/* Number of hex pairs in a key */
#define WEPKEY_MAX 32

/* String length of a key */
#define WEPKEYSTR_MAX ((WEPKEY_MAX * 2) + WEPKEY_MAX)

/* Number of past alerts to queue for new clients */
#define ALERT_BACKLOG 50

/* system min isn't reliable */
#define kismin(x,y) ((x) < (y) ? (x) : (y))
#define kismax(x,y) ((x) > (y) ? (x) : (y))

// Timer slices per second
#define SERVER_TIMESLICES_SEC 10

/* Namespace (on non-obj-c files) */
#ifndef __IN_OBJC_FILE__
using namespace std;
#define __STL_USE_NAMESPACES
#endif

#ifndef _
#define _(x) x
#endif