DataSource for C SDK
6.2.20.310828
|
Functions | |
char * | ds_debug_config_string (int level) |
This function will convert a debug level into an appropriate string. More... | |
char * | ds_debug_string (int level) |
This function will convert a debug level into an appropriate string. More... | |
char * | ds_filename_expand (const char *format, char *buffer, size_t bufsize) |
Expand a filename pattern into a fully qualified filename. More... | |
Miscellaneous functions.
char* ds_debug_config_string | ( | int | level | ) |
This function will convert a debug level into an appropriate string.
level | The debug level to to convert |
If an appropriate value of level is supplied then a zero length string will be returned
Example:
ds_debug_config_string(DS_LOG_INFO);
Will return the string "INFO".
The value returned from this function should not be freed.
char* ds_debug_string | ( | int | level | ) |
This function will convert a debug level into an appropriate string.
level | The debug level to to convert |
If an appropriate value of level is supplied then a zero length string will be returned
Example:
ds_debug_string(DS_LOG_INFO);
Will return the string "INFO:".
The value returned from this function should not be freed.
char* ds_filename_expand | ( | const char * | format, |
char * | buffer, | ||
size_t | bufsize | ||
) |
Expand a filename pattern into a fully qualified filename.
format | Format of filename to expand |
buffer | Buffer to expand into |
bufsize | Length of the expansion buffer |
This function will expand the following tokens in the supplied argument:
application-name
)application-name
)application-root
)