Merged with Irssi 0.8.6.
[silc.git] / apps / irssi / src / core / misc.h
index a321bdfca8187c515e9164e1e9fb8bd4ec3e097f..959460778a62a1f011eedddb247967ae7cd28ede 100644 (file)
@@ -61,10 +61,6 @@ int regexp_match(const char *str, const char *regexp);
 
 /* Create the directory and all it's parent directories */
 int mkpath(const char *path, int mode);
-
-/* Get home directory */
-const char *get_home_dir(void);
-
 /* convert ~/ to $HOME */
 char *convert_home(const char *path);
 
@@ -89,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);
 
@@ -109,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