summaryrefslogtreecommitdiff
path: root/src/replace-table.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/replace-table.h')
-rw-r--r--src/replace-table.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/replace-table.h b/src/replace-table.h
index 0d81c92..81365cc 100644
--- a/src/replace-table.h
+++ b/src/replace-table.h
@@ -94,6 +94,12 @@ gchar * get_next_token (const gchar *s, gchar **start, gchar **end, gboolean *ta
*/
gchar * extract_token_arg (const gchar *str);
+/*
+ * token_has_prefix: returns TRUE if 'prefix' matches the token syntax (i.e. "prefix (") with unlimited number of spaces before the opening bracket
+ *
+ */
+gboolean token_has_prefix (const gchar *token, const gchar *prefix);
+
G_END_DECLS