Usage |
dklibs.pdf tracecc.pdf |
Introduction only | ||||||
dkport library | ||||||
dkc library | ||||||
dknet library | ||||||
dktrace library |
Introduction only
This page can only give a short overview about the library set. Please consult the PDF manual for details, it contains both a reference and a tutorial.
dkport library
The dkport library is a portability layer used to hide differences
between different operating systems and/or development environments.
The following headers and modules are provided by this library:
- dk.h
includes other header files to set preprocessor defines matching your environment. - dkerror.h
defines constants for error conditions. - dktypes.h
defines data types. - dkmem
is in charge for dynamic memory allocation. - dksignal
provides portable signal handling. - dkenc
has functions to change data encoding. - dkstr
contains functions for dealing with strings. - dkstrdc
removes trailing comments from a string. - dksf
provides an interface to various system functions. - dkma
contains mathematical functions, does additional checks to avoid critical errors (i.e. 0 divisions). - dkslsupp
converts syslog "heaviness" (feature/priority) strings into the appropriate numeric values. - dkss/dklog (obsoleted)
provide functions for string search and logging. These modules are obsoleted and should not be used for new projects.
dkc library
The dkc library contains the following modules:
- dkbf
deals with bit fields (field of flags). - dktok
is fead with single characters and builds up tokens from them. Each token is processed by a callback function specified before feeding begins. - dkstream
provides generic I/O. - dkof
applies filtering to output streams in the generic I/O. Filters can be used to flate or ASCII-85-encode parts of the output and to buffer output. - dksto
implements unsorted and sorted data storage. Sorted storage can use AVL-trees (default) or double-linked lists. - dkstt
provides string table handling. A string table is a binary file containing key/value string pairs for one language. - dkcp
has functions for handling code pages. Some systems need different bytes i.e. to show german umlauts on a command prompt and in a text editor. - dkapp
is the module providing application functionality (i.e. logging, file search for localization, preference management...)
dknet library
The dknet library contains one module only:
- dktcpip
gives a more convenient access to the sockets/Winsock API.
dktrace library
The dktrace library is needed for tracing programs when using the tracecc and trana tools.