Transformer SDK For C
8.0.2.290852-a608fcd3
|
![]() |
Interface returned to other modules which require integration with the pipeline. More...
Data Fields | |
char *(* | format_apply )(formathandler_t *format, char *text) |
Delete a format handle. More... | |
void(* | format_delete )(formathandler_t *format) |
Parse a format string to generate a format handle. More... | |
char *(* | format_find_arg )(char **argv, char *search) |
Add (or override) a format handler. More... | |
formathandler_t *(* | format_parse )(char *formatstring) |
Find an argument value in a format string. More... | |
int | patch |
int | version |
Interface returned to other modules which require integration with the pipeline.
To obtain this interface, the following should be performed:
format_interface_t *interface; format_interface_t *(*get_format)(); if ( ( get_format = tf_find_function("format_get_interface") ) != NULL ) { format_interface = get_format(); // At this point, format_interface points to the interface definition of the format module }
char*(* format_interface_t::format_apply) (formathandler_t *format, char *text) |
Delete a format handle.
format | - Handle to delete |
void(* format_interface_t::format_delete) (formathandler_t *format) |
Parse a format string to generate a format handle.
formatstring | - Format string to generate a format handle from |
NULL | - The format could not be parsed |
char*(* format_interface_t::format_find_arg) (char **argv, char *search) |
Add (or override) a format handler.
identifier | - Identifier for this format |
func | - Initialisation function for this format |
formathandler_t*(* format_interface_t::format_parse) (char *formatstring) |
Find an argument value in a format string.
argv | - NULL terminated array of format arguments |
search | - Parameter to search for |
int format_interface_t::patch |
Patch version of the format module
int format_interface_t::version |
Version number of the format module