OSSP CVS Repository

ossp - Difference in ossp-pkg/var/var.h versions 1.27 and 1.28
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/var/var.h 1.27 -> 1.28

--- var.h        2002/03/04 11:53:27     1.27
+++ var.h        2002/03/07 12:11:09     1.28
@@ -31,10 +31,12 @@
 #define __VAR_H__
 
 #include <stdlib.h>
+#include <stdarg.h>
 
 /* Error codes */
 typedef enum {
     VAR_ERR_CALLBACK                        = -64,
+    VAR_ERR_FORMATTING_FAILURE              = -45,
     VAR_ERR_UNDEFINED_OPERATION             = -44,
     VAR_ERR_MALFORMED_OPERATION_ARGUMENTS   = -43,
     VAR_ERR_INVALID_CHAR_IN_LOOP_LIMITS     = -42,
@@ -123,6 +125,8 @@
 var_rc_t  var_config    (var_t  *var, var_config_t mode, ...);
 var_rc_t  var_unescape  (var_t  *var, const char *src_ptr, size_t src_len, char  *dst_ptr, size_t  dst_len, int all);
 var_rc_t  var_expand    (var_t  *var, const char *src_ptr, size_t src_len, char **dst_ptr, size_t *dst_len, int force_expand);
+var_rc_t  var_formatv   (var_t  *var, char **dst_ptr, int force_expand, const char *fmt, va_list ap);
+var_rc_t  var_format    (var_t  *var, char **dst_ptr, int force_expand, const char *fmt, ...);
 var_rc_t  var_strerror  (var_t  *var, var_rc_t rc, char **str);
 
 #endif /* __VAR_H__ */

CVSTrac 2.0.1