1
0
mirror of https://github.com/kakwa/uts-server synced 2025-01-09 13:14:31 +01:00
uts-server/inc/utils.h
kakwa 6e687f2fe2 passing the launch working dir to the configuration handler
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.
2016-09-01 07:59:02 +02:00

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;