{MATCHACTION_EXECUTE, "execute"},
{MATCHACTION_COLOR, "color"},
{MATCHACTION_REDIRECT, "redirect"},
- {MATCHACTION_DELETE_ON_SERVER, "delete_on_server"},
{MATCHACTION_CHANGE_SCORE, "change_score"}
};
*/
gint get_matchparser_tab_id(const gchar *str)
{
- gint i;
MatchParser *res;
if (NULL != (res = g_hash_table_lookup(matchparser_hashtab, str))) {
*
*\return gchar * Newly allocated string with escaped characters
*/
-const gchar *matcher_escape_str(const gchar *str)
+gchar *matcher_escape_str(const gchar *str)
{
register const gchar *walk;
register int escape;
const gchar *criteria_str;
const gchar *matchtype_str;
int i;
- const char *expr;
- char *header;
+ gchar *expr;
criteria_str = NULL;
for (i = 0; i < (int) (sizeof(matchparser_tab) / sizeof(MatchParser)); i++) {