root/lib/strescape.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 #ifndef MC__STRUTILS_ESCAPE_H
   2 #define MC__STRUTILS_ESCAPE_H
   3 
   4 #include <config.h>
   5 
   6 #include "lib/global.h"         /* <glib.h> */
   7 
   8 /*** typedefs(not structures) and defined constants **********************************************/
   9 
  10 /*** enums ***************************************************************************************/
  11 
  12 /*** structures declarations (and typedefs of structures)*****************************************/
  13 
  14 /*** global variables defined in .c file *********************************************************/
  15 
  16 /*** declarations of public functions ************************************************************/
  17 
  18 char *strutils_escape (const char *src, gsize src_len, const char *escaped_chars,
  19                        gboolean escape_non_printable);
  20 char *strutils_unescape (const char *src, gsize src_len, const char *unescaped_chars,
  21                          gboolean unescape_non_printable);
  22 char *strutils_shell_unescape (const char *text);
  23 char *strutils_shell_escape (const char *text);
  24 
  25 char *strutils_glob_escape (const char *text);
  26 char *strutils_glob_unescape (const char *text);
  27 
  28 char *strutils_regex_escape (const char *text);
  29 char *strutils_regex_unescape (const char *text);
  30 
  31 gboolean strutils_is_char_escaped (const char *start, const char *current);
  32 
  33 #endif /* MC__STRUTILS_ESCAPE_H */

/* [previous][next][first][last][top][bottom][index][help]  */