2009-06-09 12:50:45 +04:00
|
|
|
#ifndef MC__STRUTILS_ESCAPE_H
|
|
|
|
#define MC__STRUTILS_ESCAPE_H
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
2010-01-20 18:11:52 +03:00
|
|
|
#include "lib/global.h" /* <glib.h> */
|
2009-06-09 12:50:45 +04:00
|
|
|
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
|
2009-07-15 22:02:50 +04:00
|
|
|
char *strutils_escape (const char *, gsize, const char *, gboolean);
|
|
|
|
char *strutils_unescape (const char *, gsize, const char *, gboolean);
|
2009-06-09 16:14:11 +04:00
|
|
|
|
2009-06-09 13:12:17 +04:00
|
|
|
char *strutils_shell_unescape (const char *);
|
|
|
|
char *strutils_shell_escape (const char *);
|
2009-06-09 12:50:45 +04:00
|
|
|
|
2009-06-09 16:14:11 +04:00
|
|
|
char *strutils_glob_escape (const char *);
|
2009-06-09 16:27:01 +04:00
|
|
|
char *strutils_glob_unescape (const char *);
|
2009-06-09 16:14:11 +04:00
|
|
|
|
|
|
|
char *strutils_regex_escape (const char *);
|
2009-06-09 16:27:01 +04:00
|
|
|
char *strutils_regex_unescape (const char *);
|
2009-06-09 16:14:11 +04:00
|
|
|
|
|
|
|
gboolean strutils_is_char_escaped (const char *, const char *);
|
|
|
|
|
2009-06-09 12:50:45 +04:00
|
|
|
#endif
|