/* 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);
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);
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