version 1.1.1.1.2.9, 2011/12/08 17:02:25
|
version 1.1.1.1.2.10, 2011/12/09 09:53:54
|
Line 6
|
Line 6
|
|
|
|
|
sl_config cfg; |
sl_config cfg; |
|
sessions_t Sessions; |
sched_root_task_t *root; |
sched_root_task_t *root; |
extern char compiled[], compiledby[], compilehost[]; |
extern char compiled[], compiledby[], compilehost[]; |
static char szCfgName[MAXPATHLEN]; |
static char szCfgName[MAXPATHLEN]; |
Line 59 main(int argc, char **argv)
|
Line 60 main(int argc, char **argv)
|
int sock = -1, ret = 0; |
int sock = -1, ret = 0; |
struct passwd *pass; |
struct passwd *pass; |
struct sigaction sa; |
struct sigaction sa; |
|
|
|
TAILQ_INIT(&Sessions); |
|
|
strlcpy(szCfgName, DEFAULT_CONFIG, sizeof szCfgName); |
strlcpy(szCfgName, DEFAULT_CONFIG, sizeof szCfgName); |
while ((ch = getopt(argc, argv, "hvbc:")) != -1) |
while ((ch = getopt(argc, argv, "hvbc:")) != -1) |