#include <dktypes.h>
Data Fields | |
struct { | |
struct { | |
int argc | |
Number of arguments. | |
char ** argv | |
Pointer to first argument. | |
} o | |
Original command line arguments. | |
struct { | |
int argc | |
Number of arguments. | |
char ** argv | |
Pointer to first argument. | |
} a | |
Command line arguments without preferences. | |
} | a |
Copy of command line arguments. | |
struct { | |
char * u | |
User login name. | |
char * a | |
Application name. | |
char * h | |
Host name. | |
char * g | |
Program group or package name. | |
} | n |
Names often needed. | |
struct { | |
char * h | |
Users home directory. | |
char * t | |
Temporary directory. | |
char * a | |
Application directory. | |
char * s | |
Shared directory. | |
char * pt | |
Processes temporary directory. | |
char * etc | |
etc directory. | |
} | d |
Directories often needed. | |
struct { | |
dk_storage_t * c | |
Command line preferences. | |
dk_storage_iterator_t * ci | |
dk_storage_t * a | |
Applications self-set preferences. | |
dk_storage_iterator_t * ai | |
dk_storage_t * s | |
Preferences set by system (storage). | |
dk_storage_iterator_t * si | |
Preferences set by system (storage iterator). | |
dk_storage_t * u | |
Preferences set by user (storage). | |
dk_storage_iterator_t * ui | |
Preferences set by user (storage iterator). | |
int unc | |
Flag: unconfigure application. | |
int prf | |
Flag: preferences were set. | |
} | p |
Preferences management. | |
struct { | |
char * f | |
Executable file name. | |
char * d | |
Executable directory. | |
} | x |
Information about the executable. | |
struct { | |
int max | |
Maximum priority occured so far. | |
int nostdio | |
Flag: no logging to stdout/stderr. | |
struct { | |
int m | |
Minimum priority required. | |
int f | |
Flag: 1=date+time, 2=split. | |
unsigned char * c | |
Codepage for output. | |
int ide_type | |
IDE type. | |
} o | |
Logging to stdout. | |
struct { | |
int m | |
Minimum priority required. | |
int f | |
Flag: 1=date+time, 2=split. | |
unsigned char * c | |
Codepage for output. | |
int ide_type | |
IDE type. | |
} e | |
Logging to stderr. | |
struct { | |
int m | |
Minimum priority required. | |
int k | |
Minimum priority required to keep log file. | |
int f | |
Flag: 1=date+time, 2=split. | |
FILE * t | |
Output file. | |
char * n | |
Output file name. | |
unsigned char * c | |
Codepage for output. | |
int ide_type | |
IDE type. | |
} f | |
Logging to file. | |
struct { | |
int m | |
Minimum priority required. | |
char * i | |
Ident argument to openlog(). | |
int f | |
Log facility. | |
int o | |
Flag: 1=syslog opened, 0=not opened. | |
} s | |
Logging to syslog. | |
struct { | |
char * n | |
Input file name. | |
unsigned long lineno | |
Line number of error. | |
} ef | |
Error reporting (error source). | |
} | l |
Logging. | |
struct { | |
char * l | |
Language. | |
char * r | |
Region. | |
char * e | |
Encoding. | |
dk_storage_t * s | |
String tables storage. | |
dk_storage_iterator_t * si | |
String tables storage iterator. | |
int es | |
Encoding short. | |
} | loc |
Localization. | |
struct { | |
unsigned long l | |
Number of next file. | |
} | td |
Data related to temporary file names. | |
struct { | |
int prng_type | |
Type of PRNG found. | |
char * seed_file_name | |
File name to save seed. | |
} | random |
Random number generation. | |
int | relaxed_fopen_check |
Security checks. | |
int | relaxed_fopen_reason |
Failed security checks. | |
int | keep_temp_dir |
Message level required to keep temp dir. |
This structure stores data for applications.
int dk_app_t::argc |
Number of arguments.
char** dk_app_t::argv |
Pointer to first argument.
struct { ... } dk_app_t::o |
Original command line arguments.
struct { ... } dk_app_t::a |
Command line arguments without preferences.
struct { ... } dk_app_t::a |
Copy of command line arguments.
char* dk_app_t::u |
User login name.
char* dk_app_t::a |
Application name.
Application directory.
char* dk_app_t::h |
Host name.
Users home directory.
char* dk_app_t::g |
Program group or package name.
struct { ... } dk_app_t::n |
Names often needed.
char* dk_app_t::t |
Temporary directory.
char* dk_app_t::s |
Shared directory.
char* dk_app_t::pt |
Processes temporary directory.
char* dk_app_t::etc |
etc directory.
struct { ... } dk_app_t::d |
Directories often needed.
Command line preferences.
Applications self-set preferences.
Preferences set by system (storage).
String tables storage.
Preferences set by system (storage iterator).
String tables storage iterator.
Preferences set by user (storage).
Preferences set by user (storage iterator).
int dk_app_t::unc |
Flag: unconfigure application.
int dk_app_t::prf |
Flag: preferences were set.
char* dk_app_t::f |
Executable file name.
char* dk_app_t::d |
Executable directory.
struct { ... } dk_app_t::x |
Information about the executable.
int dk_app_t::max |
Maximum priority occured so far.
Flag: no logging to stdout/stderr.
int dk_app_t::m |
Minimum priority required.
int dk_app_t::f |
Flag: 1=date+time, 2=split.
Log facility.
unsigned char* dk_app_t::c |
Codepage for output.
IDE type.
struct { ... } dk_app_t::o |
Logging to stdout.
struct { ... } dk_app_t::e |
Logging to stderr.
FILE* dk_app_t::t |
Output file.
char* dk_app_t::n |
Output file name.
Input file name.
struct { ... } dk_app_t::f |
Logging to file.
char* dk_app_t::i |
Ident argument to openlog().
int dk_app_t::o |
Flag: 1=syslog opened, 0=not opened.
struct { ... } dk_app_t::s |
Logging to syslog.
unsigned long dk_app_t::lineno |
Line number of error.
struct { ... } dk_app_t::ef |
Error reporting (error source).
struct { ... } dk_app_t::l |
Logging.
char* dk_app_t::l |
Language.
char* dk_app_t::r |
Region.
char* dk_app_t::e |
Encoding.
int dk_app_t::es |
Encoding short.
struct { ... } dk_app_t::loc |
Localization.
unsigned long dk_app_t::l |
Number of next file.
struct { ... } dk_app_t::td |
Data related to temporary file names.
Type of PRNG found.
char* dk_app_t::seed_file_name |
File name to save seed.
struct { ... } dk_app_t::random |
Random number generation.
Security checks.
Failed security checks.
Message level required to keep temp dir.