Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add new files
[simgrid.git] / tools / tesh2 / include / str_replace.h
diff --git a/tools/tesh2/include/str_replace.h b/tools/tesh2/include/str_replace.h
new file mode 100644 (file)
index 0000000..e190c02
--- /dev/null
@@ -0,0 +1,17 @@
+#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 */