diff --git a/src/hdbd.c b/src/hdbd.c index 284e4a4..e97a5b5 100644 --- a/src/hdbd.c +++ b/src/hdbd.c @@ -4,7 +4,10 @@ #include int main() { - /* Setup daemon */ + /* + Setup daemon + Used this for basic idea => https://en.wikipedia.org/wiki/Daemon_(computing) + */ pid_t pid; pid_t sid; @@ -29,6 +32,9 @@ int main() { close(STDIN_FILENO); close(STDOUT_FILENO); close(STDERR_FILENO); + + /* TODO: Setup HTTP server */ + /* TODO: API needed */ /* Actual program */ char should_close = 0;