Lines Matching refs:options
29 struct options {
302 printf("Usage: %s [options]\n", cmd);
312 static int options_init(int argc, char *argv[], struct options *options)
334 options->loglevel = log_str2level(optarg);
337 options->daemonize = 1;
340 options->logopt = TO_SYSLOG;
366 struct options options = {
371 if (options_init(argc, argv, &options)) {
376 if (options.daemonize && daemon(0, 0)) {
381 if (log_init(options.loglevel, basename(argv[0]), options.logopt)) {