aboutsummaryrefslogtreecommitdiffhomepage
path: root/expand.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-07 01:15:52 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-07 01:15:52 +1000
commite756f7d619a7458768d59cd9bd1c97c6a1c7788a (patch)
tree5bd9af9ee0af8006a639ca23def0f9df5efef559 /expand.h
parentcf3d30d4e4eb75806bfc92cf540eec6d207817ff (diff)
Minor code cleanup, don't use expand_escape and expand_unescape any more
darcs-hash:20060206151552-ac50b-e2229d096926461f643fdcdfc79ef1ff01344a35.gz
Diffstat (limited to 'expand.h')
-rw-r--r--expand.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/expand.h b/expand.h
index 6065dc30..61331875 100644
--- a/expand.h
+++ b/expand.h
@@ -144,31 +144,6 @@ int expand_string( wchar_t *in, array_list_t *out, int flag );
wchar_t *expand_one( wchar_t *in, int flag );
/**
- Expand backslashed escapes and substitute them with their unescaped
- counterparts. Also optionally change the wildcards, the tilde
- character and a few more into constants which are defined in a
- private use area of Unicode. This assumes wchar_t is a unicode
- character. character set.
-
- The result must be free()d. The original string is not modified. If
- an invalid sequence is specified, 0 is returned.
-
-*/
-wchar_t *expand_unescape( const wchar_t * in, int escape_special );
-
-/**
- Replace special characters with escape sequences. Newline is
- replaced with \n, etc.
-
- The result must be free()d. The original string is not modified.
-
- \param in The string to be escaped
- \param escape_all Whether all characters wich hold special meaning in fish (Pipe, semicolon, etc,) should be escaped, or only unprintable characters
- \return The escaped string
-*/
-wchar_t *expand_escape( const wchar_t *in, int escape_all );
-
-/**
Convert the variable value to a human readable form, i.e. escape things, handle arrays, etc. Suitable for pretty-printing.
*/
wchar_t *expand_escape_variable( const wchar_t *in );