Merged with Irssi 0.8.6.
[silc.git] / apps / irssi / src / core / misc.h
index 804cffc2a9c2a63dbb422cb6f978dac5cc697887..959460778a62a1f011eedddb247967ae7cd28ede 100644 (file)
@@ -85,6 +85,9 @@ char *replace_chars(char *str, char from, char to);
 int octal2dec(int octal);
 int dec2octal(int decimal);
 
+/* string -> uoff_t */
+uoff_t str_to_uofft(const char *str);
+
 /* convert all low-ascii (<32) to ^<A..> combinations */
 char *show_lowascii(const char *channel);
 
@@ -105,4 +108,7 @@ GSList *columns_sort_list(GSList *list, int rows);
    one after '\'. Returns the expanded character or -1 if error. */
 int expand_escape(const char **data);
 
+/* Escape all '"', "'" and '\' chars with '\' */
+char *escape_string(const char *str);
+
 #endif