DTS Application Library  0.2.3
Application library containing referenced objects and interfaces to common libraries
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
framework_core Struct Reference

Application framework data. More...

#include <dtsapp.h>

Data Fields

const char * developer
 Developer/Copyright holder. More...
 
const char * email
 Email address of copyright holder. More...
 
const char * www
 URL displayed (use full URL ie with http://) More...
 
const char * runfile
 File to write PID too and lock. More...
 
const char * progname
 Detailed application name. More...
 
int year
 Copyright year. More...
 
int flock
 if there is a file locked this is the FD that will be unlocked and unlinked More...
 
struct sigaction * sa
 sigaction structure allocated on execution More...
 
syssighandler sig_handler
 Signal handler to pass signals too. More...
 
int flags
 Application Options. More...
 

Detailed Description

Application framework data.

See Also
framework_mkcore()
framework_init()
FRAMEWORK_MAIN()

Definition at line 326 of file dtsapp.h.

Field Documentation

const char* framework_core::developer

Developer/Copyright holder.

Definition at line 328 of file dtsapp.h.

Referenced by framework_init(), and framework_mkcore().

const char* framework_core::email

Email address of copyright holder.

Definition at line 330 of file dtsapp.h.

Referenced by framework_init(), and framework_mkcore().

int framework_core::flags

Application Options.

See Also
application_flags

Definition at line 348 of file dtsapp.h.

Referenced by daemonize(), framework_init(), and framework_mkcore().

int framework_core::flock

if there is a file locked this is the FD that will be unlocked and unlinked

Definition at line 340 of file dtsapp.h.

Referenced by daemonize(), framework_init(), and lockpidfile().

const char* framework_core::progname

Detailed application name.

Definition at line 336 of file dtsapp.h.

Referenced by framework_init(), and framework_mkcore().

const char* framework_core::runfile

File to write PID too and lock.

Definition at line 334 of file dtsapp.h.

Referenced by daemonize(), framework_init(), and framework_mkcore().

struct sigaction* framework_core::sa

sigaction structure allocated on execution

Definition at line 342 of file dtsapp.h.

Referenced by framework_init(), and framework_mkcore().

syssighandler framework_core::sig_handler

Signal handler to pass signals too.

Note
The application framework installs a signal handler but will pass calls to this as a callback

Definition at line 345 of file dtsapp.h.

Referenced by framework_mkcore().

const char* framework_core::www

URL displayed (use full URL ie with http://)

Definition at line 332 of file dtsapp.h.

Referenced by framework_init(), and framework_mkcore().

int framework_core::year

Copyright year.

Definition at line 338 of file dtsapp.h.

Referenced by framework_init(), and framework_mkcore().


The documentation for this struct was generated from the following file: