|
cbmimage
|
Functions | |
| int | cbmimage_print_set_function (cbmimage_print_function_type print_function) |
| set the callback for output from the library | |
| void | cbmimage_i_print (const char *text) |
| void | cbmimage_i_fmt_print (const char *fmt,...) |
Variables | |
| static cbmimage_print_function_type * | cbmimage_i_print_function = NULL |
| pointer to the callback function for output | |
| void cbmimage_i_fmt_print | ( | const char * | fmt, |
| ... ) |
send formatted output from the library
| [in] | fmt | pointer to a printf() format string that is output. |
| [in] | ... | additional parameter needed for the fmt format string |
| void cbmimage_i_print | ( | const char * | text | ) |
send output from the library
| [in] | text | pointer to a string that is output. |
| int cbmimage_print_set_function | ( | cbmimage_print_function_type | print_function | ) |
set the callback for output from the library
| [in] | print_function | pointer to the function that is called whenever the library wants to output something. |
If this is set to NULL, then the output is sent to stderr.
|
static |
pointer to the callback function for output