version 1.1.2.1, 2011/07/22 13:29:29
|
version 1.1.2.2, 2011/07/22 13:35:06
|
Line 49 SUCH DAMAGE.
|
Line 49 SUCH DAMAGE.
|
|
|
int Verbose; |
int Verbose; |
extern char compiled[], compiledby[], compilehost[]; |
extern char compiled[], compiledby[], compilehost[]; |
|
sl_config cfg; |
|
|
|
|
static void |
static void |
Line 60 Usage()
|
Line 61 Usage()
|
"\n" |
"\n" |
"\t-v\t\tVerbose ...\n" |
"\t-v\t\tVerbose ...\n" |
"\t-b\t\tRun in batch mode ...\n" |
"\t-b\t\tRun in batch mode ...\n" |
"\t-c <conf>\t\tConfig events file ...\n" | "\t-c <conf>\tConfig events file ...\n" |
"\n", compiled, compiledby, compilehost); |
"\n", compiled, compiledby, compilehost); |
} |
} |
|
|
Line 90 main(int argc, char **argv)
|
Line 91 main(int argc, char **argv)
|
argc -= optind; |
argc -= optind; |
argv += optind; |
argv += optind; |
|
|
|
if (LoadConfig(szConf, &cfg)) { |
|
printf("Error:: #%d - %s\n", cfg_GetErrno(), cfg_GetError()); |
|
return 1; |
|
} |
|
|
|
UnloadConfig(&cfg); |
return 0; |
return 0; |
} |
} |