Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This test do not seem to fail
[simgrid.git] / include / xbt / strbuff.h
index 4a64e92..ad2f739 100644 (file)
 #ifndef XBT_STRBUFF_H
 #define XBT_STRBUFF_H
 
-#include "portable.h"
 #include "xbt/sysdep.h"
 #include "xbt/function_types.h"
 #include "xbt/log.h"
 #include "xbt/str.h"
+#include "xbt/dict.h"
 
 /**
  ** Buffer code
@@ -28,9 +28,12 @@ typedef struct {
 
 XBT_PUBLIC(void)          xbt_strbuff_empty(xbt_strbuff_t b);
 XBT_PUBLIC(xbt_strbuff_t) xbt_strbuff_new(void);
+XBT_PUBLIC(xbt_strbuff_t) xbt_strbuff_new_from(char* s);
 XBT_PUBLIC(void)          xbt_strbuff_free(xbt_strbuff_t b);
+XBT_PUBLIC(void)          xbt_strbuff_free_container(xbt_strbuff_t b);
 XBT_PUBLIC(void)          xbt_strbuff_append(xbt_strbuff_t b, const char *toadd);
 XBT_PUBLIC(void)          xbt_strbuff_chomp(xbt_strbuff_t b);
 XBT_PUBLIC(void)          xbt_strbuff_trim(xbt_strbuff_t b);
+XBT_PUBLIC(void)          xbt_strbuff_varsubst(xbt_strbuff_t b, xbt_dict_t patterns);
 
 #endif