mirror of
https://github.com/kakwa/uts-server
synced 2025-01-09 13:14:31 +01:00
6e687f2fe2
as many configuration paths can be relative to the execution working directory, this directory is recorded at launch time, and the set_params function does a chdir(<start work dir>); <load conf>; chdir("/") when it's called.
10 lines
332 B
C
10 lines
332 B
C
#include "rfc3161.h"
|
|
|
|
void skeleton_daemon();
|
|
void uts_logger(rfc3161_context *ct, int priority, char *fmt, ...);
|
|
void log_hex(rfc3161_context *ct, int priority, char *id,
|
|
unsigned char *content, int content_length);
|
|
int set_params(rfc3161_context *ct, char *conf_file, char *conf_wd);
|
|
int g_uts_sig_up;
|
|
int g_uts_sig;
|