1
0
Fork 0
mirror of https://github.com/kakwa/uts-server synced 2025-07-04 04:27:05 +02:00

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
This commit is contained in:
kakwa 2016-09-01 19:43:29 +02:00
parent d8f75a23f5
commit 77cd1dba5c
3 changed files with 80 additions and 6 deletions

View file

@ -1,6 +1,8 @@
#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);