Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] functions to be used by other parts of tracing (container handling)
[simgrid.git] / tools / tesh2 / include / str_replace.h
index e190c02..8f12af5 100644 (file)
@@ -1,17 +1,20 @@
-#ifndef __STR_REPLACE_H
-#define __STR_REPLACE_H
-
-#ifdef __cplusplus
+#ifndef __STR_REPLACE_H\r
+#define __STR_REPLACE_H\r
+\r
+#include <com.h>\r
+    \r
+#ifdef __cplusplus\r
 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 */
+  \r
+#endif  /* \r */
+  int \r
+      str_replace(char **str, const char *what, const char *with,
+                  const char *delimiters);
+  \r\rint \r str_replace_all(char **str, const char *what, const char *with,
+                          const char *delimiters);
+  \r\r
+#ifdef __cplusplus\r
+} \r
+#endif  /* \r */
+\r
+#endif  /* !__STR_REPLACE_H */\r