Check-in Number:
|
1306 | |
Date: |
2001-Nov-13 13:46:24 (local)
2001-Nov-13 12:46:24 (UTC) |
User: | simons |
Branch: | |
Comment: |
- Added VAR_CALLBACK_ERROR define.
- Renamed expand_named_characters() to var_unescape while adding the
flag telling the function whether to expand anything or only
constructs it knows. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/var/var.h 1.2 -> 1.3
--- var.h 2001/11/13 12:15:42 1.2
+++ var.h 2001/11/13 12:46:24 1.3
@@ -36,6 +36,7 @@
typedef enum
{
+ VAR_CALLBACK_ERROR = -64,
VAR_EMPTY_PADDING_FILL_STRING = -32,
VAR_MISSING_PADDING_WIDTH = -31,
VAR_MALFORMATTED_PADDING = -30,
@@ -86,7 +87,7 @@
Any other character quoted by a backslash is copied verbatim.
*/
-var_rc_t expand_named_characters(const char* src, size_t len, char* dst);
+var_rc_t var_unescape(const char* src, size_t len, char* dst, int unescape_all);
/*
The callback will be called by variable_expand(), providing the
|
|