|
DTS Application Library
0.2.3
Application library containing referenced objects and interfaces to common libraries
|
Application framework. More...
#include <unistd.h>#include <signal.h>#include <stdlib.h>#include <stdio.h>#include <stdint.h>#include <string.h>#include <fcntl.h>#include <sys/file.h>#include "include/dtsapp.h"#include "include/private.h"Go to the source code of this file.
Functions | |
| void | printgnu (const char *pname, int year, const char *dev, const char *email, const char *www) |
| Print a brief GNU copyright notice on console. More... | |
| void | daemonize () |
| Daemonise the application using fork/exit. More... | |
| int | lockpidfile (const char *runfile) |
| Lock the run file in the framework application info. More... | |
| void | framework_mkcore (char *progname, char *name, char *email, char *web, int year, char *runfile, int flags, syssighandler sigfunc) |
| Initilise application data structure and return a reference. More... | |
| int | framework_init (int argc, char *argv[], frameworkfunc callback) |
| Initilise the application daemonise and join the manager thread. More... | |
Application framework.
Definition in file main.c.