mirror of https://github.com/MidnightCommander/mc
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
#ifndef MC__STRUTILS_ESCAPE_H
|
|
#define MC__STRUTILS_ESCAPE_H
|
|
|
|
#include <config.h>
|
|
|
|
#include "lib/global.h" /* <glib.h> */
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
char *strutils_escape (const char *, gsize, const char *, gboolean);
|
|
char *strutils_unescape (const char *, gsize, const char *, gboolean);
|
|
|
|
char *strutils_shell_unescape (const char *);
|
|
char *strutils_shell_escape (const char *);
|
|
|
|
char *strutils_glob_escape (const char *);
|
|
char *strutils_glob_unescape (const char *);
|
|
|
|
char *strutils_regex_escape (const char *);
|
|
char *strutils_regex_unescape (const char *);
|
|
|
|
gboolean strutils_is_char_escaped (const char *, const char *);
|
|
|
|
#endif
|