Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New function to replaces a set of variables by their values:
[simgrid.git] / include / xbt / strbuff.h
index 7fde727..388bbe1 100644 (file)
@@ -15,6 +15,7 @@
 #include "xbt/function_types.h"
 #include "xbt/log.h"
 #include "xbt/str.h"
+#include "xbt/dict.h"
 
 /**
  ** Buffer code
@@ -31,5 +32,6 @@ XBT_PUBLIC(void)          xbt_strbuff_free(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