X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/168e93ae4556e38c67a48f9b1571f375bcc64f0f..784dd701843ed092f51ac04a2958e81ab0a24bb9:/include/xbt/strbuff.h diff --git a/include/xbt/strbuff.h b/include/xbt/strbuff.h index 585d719d09..41bb52e435 100644 --- a/include/xbt/strbuff.h +++ b/include/xbt/strbuff.h @@ -29,12 +29,12 @@ SG_BEGIN_DECL() */ /** @brief Buffer data container **/ -struct xbt_strbuff { +typedef struct xbt_strbuff { char *data; - int used, size; -}; -typedef struct xbt_strbuff s_xbt_strbuff_t; -typedef struct xbt_strbuff* xbt_strbuff_t; + int used; + int size; +} s_xbt_strbuff_t; +typedef s_xbt_strbuff_t* xbt_strbuff_t; XBT_PUBLIC(void) xbt_strbuff_clear(xbt_strbuff_t b); XBT_PUBLIC(xbt_strbuff_t) xbt_strbuff_new(void); @@ -45,7 +45,6 @@ XBT_PUBLIC(void) xbt_strbuff_append(xbt_strbuff_t b, const char *toadd); XBT_PUBLIC(void) xbt_strbuff_printf(xbt_strbuff_t b, const char *fmt, ...); 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); /** @} */ SG_END_DECL()