1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

psyc_text: added extra param

This commit is contained in:
tg(x) 2011-06-12 21:04:11 +02:00
parent 15fc28d2d7
commit 0559cd79a7
4 changed files with 10 additions and 10 deletions

View file

@ -64,7 +64,7 @@ typedef struct
* PSYC_TEXT_VALUE_NOT_FOUND if no match found in which case psyc_text
* leaves the original template text as is.
*/
typedef psycTextValueRC (*psycTextCB)(const char *name, size_t len, psycString *value);
typedef psycTextValueRC (*psycTextCB)(const char *name, size_t len, psycString *value, void *extra);
/**
* Initializes the PSYC text state struct.
@ -158,7 +158,7 @@ size_t psyc_getTextBytesWritten (psycTextState *state)
*
* @see http://about.psyc.eu/psyctext
**/
psycTextRC psyc_text (psycTextState *state, psycTextCB getValue);
psycTextRC psyc_text (psycTextState *state, psycTextCB getValue, void *extra);
/** @} */ // end of text group