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

add the passing of the configuration file path and debug flag

This commit is contained in:
kakwa 2016-08-24 23:14:15 +02:00
parent 63739e858f
commit 30e06d8db8
4 changed files with 15 additions and 7 deletions

View file

@ -1,4 +1,5 @@
#include <stdlib.h>
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h> /* for offsetof() macro */
#include <string.h>
@ -6,5 +7,6 @@
typedef struct {
uint64_t query_counter;
bool stdout_dbg;
TS_RESP_CTX *resp_ctx;
} rfc3161_context;

View file

@ -1,4 +1,5 @@
#include <stdbool.h>
#include "utils.h"
#include "rfc3161.h"
int http_server_start();
int http_server_start(char *conffile, bool stdout_dbg);