1 #ifndef MC__STRUTILS_ESCAPE_H
2 #define MC__STRUTILS_ESCAPE_H
6 #include "lib/global.h" /* <glib.h> */
8 /*** typedefs(not structures) and defined constants **********************************************/
10 /*** enums ***************************************************************************************/
12 /*** structures declarations (and typedefs of structures)*****************************************/
14 /*** global variables defined in .c file *********************************************************/
16 /*** declarations of public functions ************************************************************/
18 char *strutils_escape (const char *, gsize
, const char *, gboolean
);
19 char *strutils_unescape (const char *, gsize
, const char *, gboolean
);
21 char *strutils_shell_unescape (const char *);
22 char *strutils_shell_escape (const char *);
24 char *strutils_glob_escape (const char *);
25 char *strutils_glob_unescape (const char *);
27 char *strutils_regex_escape (const char *);
28 char *strutils_regex_unescape (const char *);
30 gboolean
strutils_is_char_escaped (const char *, const char *);