diff options
Diffstat (limited to 'src/replace-table.h')
| -rw-r--r-- | src/replace-table.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/replace-table.h b/src/replace-table.h index 81365cc..1a1c4ac 100644 --- a/src/replace-table.h +++ b/src/replace-table.h @@ -100,6 +100,13 @@ gchar * extract_token_arg (const gchar *str); */ gboolean token_has_prefix (const gchar *token, const gchar *prefix); +/* + * parse_function: returns name of the function or NULL if token is invalid. Parsed arguments are stored in *args. + * - in case an exclamation mark is present before the function name, the *negation argument is set to TRUE + * + */ +gchar * parse_function (const char *token, gchar ***args, gboolean *negation); + G_END_DECLS |
