typedef ompd_rc_t (*ompd_callback_print_string_fn_t) (
const char *string,
int category
);
SummaryThe ompd_callback_print_string_fn_t type is the type signature of the callback that tool provides so that the OMPD library can emit output.
DescriptionThe OMPD library may call the ompd_callback_print_string_fn_t callback function to emit output, such as logging or debug information. The tool may set the ompd_callback_print_string_fn_t callback function to NULL to prevent the OMPD library from emitting output; the OMPD may not write to file descriptors that it did not open.
Description of ArgumentsThe string argument is the null-terminated string to be printed. No conversion or formatting is performed on the string. The category argument is the implementation-defined category of the string to be printed.