Functions | |
cucul_buffer_t * | cucul_create_export (cucul_canvas_t *, char const *) |
Export a canvas into a foreign format. | |
char const *const * | cucul_get_export_list (void) |
Get available export formats. |
|
This function exports a libcucul canvas into various foreign formats such as ANSI art, HTML, IRC colours, etc. One should use cucul_get_buffer_data() and cucul_get_buffer_size() to access the buffer contents. The allocated data is valid until cucul_free_buffer() is called.
Valid values for
|
|
Return a list of available export formats. The list is a NULL-terminated array of strings, interleaving a string containing the internal value for the export format, to be used with cucul_create_export(), and a string containing the natural language description for that export format.
|