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:
parent
44a28dde81
commit
ba1e79e848
3 changed files with 37 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue