AHP® GT Controllers API
AHP GT Controllers
Loading...
Searching...
No Matches

Functions

DLL_EXPORT void ahp_set_debug_level (int value)
 set the debug level
 
DLL_EXPORT int ahp_get_debug_level ()
 get the debug level
 
DLL_EXPORT void ahp_set_app_name (char *name)
 set the application name
 
DLL_EXPORT char * ahp_get_app_name ()
 get the application name
 
DLL_EXPORT void ahp_set_stdout (FILE *f)
 set the output log stream
 
DLL_EXPORT void ahp_set_stderr (FILE *f)
 set the error log stream
 

Detailed Description

Function Documentation

◆ ahp_get_app_name()

DLL_EXPORT char * ahp_get_app_name ( )
Returns
The current application name printed on logs

◆ ahp_get_debug_level()

DLL_EXPORT int ahp_get_debug_level ( )
Returns
The current debug level

◆ ahp_set_app_name()

DLL_EXPORT void ahp_set_app_name ( char * name)
Parameters
namethe application name to be printed on logs

◆ ahp_set_debug_level()

DLL_EXPORT void ahp_set_debug_level ( int value)
Parameters
valuethe debug level

◆ ahp_set_stderr()

DLL_EXPORT void ahp_set_stderr ( FILE * f)
Parameters
fThe FILE stream pointer to set as standard error

◆ ahp_set_stdout()

DLL_EXPORT void ahp_set_stdout ( FILE * f)
Parameters
fThe FILE stream pointer to set as standard output