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

begin implementing the http part

This commit is contained in:
Pierre-Francois Carpentier 2015-12-18 00:29:43 +01:00
parent 44a28dde81
commit ba1e79e848
3 changed files with 37 additions and 0 deletions

View file

@ -7,6 +7,7 @@
#include <argp.h>
#include <sys/syslog.h>
#include "utils.h"
#include "rfc3161.h"
const char *argp_program_version = UTS_VERSION;
@ -68,6 +69,7 @@ int main(int argc, char **argv)
while (1)
{
//TODO: Insert daemon code here.
http_server_start();
syslog (LOG_NOTICE, "First daemon started.");
sleep (5);
break;