summaryrefslogtreecommitdiffstats
path: root/include/helper.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-04-12 18:19:58 +0200
committerQuentin Glidic <sardemff7+git@sardemff7.net>2017-05-30 19:08:20 +0200
commitf3b4af1da0c6cea3dbab3d5eca2ac13b6019e4b2 (patch)
treed84979d1c68dc3b1d87441b2725c00dfb92d179e /include/helper.h
parent03eb4a3abb24fef82ac48884521f54ee735c1739 (diff)
window: Add icons support (quick and dirty)
Diffstat (limited to 'include/helper.h')
-rw-r--r--include/helper.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/helper.h b/include/helper.h
index 03d4515f..85034288 100644
--- a/include/helper.h
+++ b/include/helper.h
@@ -221,6 +221,15 @@ char * rofi_force_utf8 ( const gchar *data, ssize_t length );
char * rofi_latin_to_utf8_strdup ( const char *input, gssize length );
/**
+ * @param input the string to escape
+ *
+ * Escape XML markup from the string. @param input is freed.
+ *
+ * @return the escaped string
+ */
+gchar *rofi_escape_markup ( gchar *input );
+
+/**
* @param pattern The user input to match against.
* @param plen Pattern length.
* @param str The input to match against pattern.