changed type of checking: used -n operator instead of -z
[midnight-commander.git] / lib / strescape.h
blob930b77d7f5d9b104c1b9b5984da8d29d8e86cfde
1 #ifndef MC__STRUTILS_ESCAPE_H
2 #define MC__STRUTILS_ESCAPE_H
4 #include <config.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 *);
32 #endif