--- var.h 2001/11/13 14:42:57 1.5
+++ var.h 2001/11/14 11:04:12 1.6
@@ -88,7 +88,7 @@
*/
var_rc_t var_unescape(const char *src, size_t len, char *dst,
- int unescape_all);
+ int unescape_all);
/*
The callback will be called by variable_expand(), providing the
@@ -115,9 +115,9 @@
*/
typedef int (*var_cb_t) (void *context,
- const char *varname, size_t name_len,
- const char **data, size_t * data_len,
- size_t * buffer_size);
+ const char *varname, size_t name_len,
+ const char **data, size_t * data_len,
+ size_t * buffer_size);
/*
This structure configures the parser's specials. I think, the fields
@@ -132,11 +132,11 @@
*/
typedef struct {
- char varinit; /* '$' */
- char startdelim; /* '{' */
- char enddelim; /* '}' */
- char escape; /* '\' */
- char *namechars; /* 'a-zA-Z0-9_' */
+ char varinit; /* '$' */
+ char startdelim; /* '{' */
+ char enddelim; /* '}' */
+ char escape; /* '\' */
+ char *namechars; /* 'a-zA-Z0-9_' */
} var_config_t;
extern const var_config_t var_config_default;
@@ -150,8 +150,8 @@
*/
var_rc_t var_expand(const char *input, size_t input_len,
- char **result, size_t * result_len,
- var_cb_t lookup, void *lookup_context,
- const var_config_t * config, int force_expand);
+ char **result, size_t * result_len,
+ var_cb_t lookup, void *lookup_context,
+ const var_config_t * config, int force_expand);
-#endif /* !defined(LIB_OSSP_VAR_H) */
+#endif /* !defined(LIB_OSSP_VAR_H) */
|