X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/69d97910b92419335f6a1b35302ce4b8c1c9b2cc..056c4b5a29aa4b330af315840b00a92b0991ae94:/tools/tesh2/include/str_replace.h diff --git a/tools/tesh2/include/str_replace.h b/tools/tesh2/include/str_replace.h index e190c02571..4c18e355d2 100644 --- a/tools/tesh2/include/str_replace.h +++ b/tools/tesh2/include/str_replace.h @@ -1,17 +1,19 @@ -#ifndef __STR_REPLACE_H -#define __STR_REPLACE_H - -#ifdef __cplusplus -extern "C" { -#endif -int -str_replace(char** str, const char *what, const char *with); - -int -str_replace_all(char** str, const char* what, const char* with); - -#ifdef __cplusplus -} -#endif - -#endif /* !__STR_REPLACE_H */ +#ifndef __STR_REPLACE_H +#define __STR_REPLACE_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif +int +str_replace(char** str, const char *what, const char *with, const char* delimiters); + +int +str_replace_all(char** str, const char* what, const char* with, const char* delimiters); + +#ifdef __cplusplus +} +#endif + +#endif /* !__STR_REPLACE_H */