1
0
mirror of https://github.com/kakwa/uts-server synced 2025-01-09 21:24:29 +01:00
uts-server/inc/utils.h
kakwa a3f65c7050 fix the way relative paths are handled and pid file handler
* add a pid file option on command line + implement it
* make the relative path in conf param relative to the configuration
  file directory and not the running directory
2016-09-01 19:43:29 +02:00

12 lines
401 B
C

#include "rfc3161.h"
void skeleton_daemon();
int init_pid(char *pidfile_path);
int write_pid(char *pidfile_path);
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;