version 1.18, 2022/03/25 20:54:51 |
version 1.19, 2022/03/29 20:11:47 |
|
|
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
#include <unistd.h> |
|
#include <string.h> |
#include <string.h> |
#include <syslog.h> |
#include <syslog.h> |
|
#include <unistd.h> |
|
|
#include "blind.h" |
#include "blind.h" |
#include "config.h" |
#include "config.h" |
Line 82 main(int argc, char *argv[]) |
|
Line 82 main(int argc, char *argv[]) |
|
|
|
if (verbose) { |
if (verbose) { |
bl->bl_opt |= verbose; |
bl->bl_opt |= verbose; |
log_setv(verbose); |
log_set(verbose); |
log_debug("verbose mode on"); |
log_debug("verbose mode on"); |
} |
} |
|
|
Line 96 main(int argc, char *argv[]) |
|
Line 96 main(int argc, char *argv[]) |
|
log_debug("sock=%s", bl->bl_sock); |
log_debug("sock=%s", bl->bl_sock); |
log_debug(" ttl=%d", bl->bl_ttl); |
log_debug(" ttl=%d", bl->bl_ttl); |
log_debug(" opt=%d", bl->bl_opt); |
log_debug(" opt=%d", bl->bl_opt); |
log_debug(" flg=%d", bl->bl_flg); |
|
|
|
// TAILQ_INIT(&offline_queue) |
// to be continued |
|
|
// fork + process setup + communication setup |
|
|
|
exit(0); |
exit(0); |
} |
} |