Changeset 708 for libcaca/trunk
- Timestamp:
- Apr 1, 2006, 4:36:59 PM (15 years ago)
- Location:
- libcaca/trunk/cucul
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/cucul/cucul.c
r706 r708 345 345 } 346 346 347 /** 348 * \brief Get available export formats 349 * 350 * Return a list of available export formats. The list is a NULL-terminated 351 * array of strings, interleaving a string containing the internal value for 352 * the export format, to be used with \e cucul_export(), and a string 353 * containing the natural language description for that export format. 354 * 355 * \return An array of strings. 356 */ 357 char const * const * cucul_get_export_list(void) 358 { 359 static char const * const list[] = 360 { 361 "ansi", "ANSI", 362 "html", "HTML", 363 "html3", "backwards-compatible HTML", 364 "irc", "IRC (mIRC colours)", 365 "ps", "PostScript", 366 "svg", "SVG", 367 NULL, NULL 368 }; 369 370 return list; 371 } 372 347 373 void cucul_free_export(struct cucul_export *ex) 348 374 { -
libcaca/trunk/cucul/cucul.h
r706 r708 229 229 230 230 struct cucul_export * cucul_create_export(cucul_t *, char const *); 231 char const * const * cucul_get_export_list(void); 231 232 void cucul_free_export(struct cucul_export *); 232 233
Note: See TracChangeset
for help on using the changeset viewer.