Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Indent the rest of the code (examples, buildtools, doc...) except for examples/SMPI...
[simgrid.git] / tools / tesh2 / include / writer.h
index 1fe2c85..40f6cb5 100644 (file)
  *             This file contains all the declarations of the functions related with\r
  *             the tesh writer type.\r
  *\r
- */\r
\r
+ */  \r
+    \r
 #ifndef __WRITER_H\r
 #define __WRITER_H\r
-\r
+    \r
 #include <com.h>\r
-\r
+    \r
 #ifdef __cplusplus\r
-extern "C" {\r
-#endif\r
-\r
+extern "C" {
+  \r
+#endif  /* \r */
+  \r
 /*! \brief writer_new - create a new writer.\r
  *\r
  * \param command      The command owning the stdin written by the writer.\r
@@ -34,11 +35,9 @@ extern "C" {
  *                                     [EINVAL] if the parameter is invalid.\r
  *                                     [ENOMEM] if the system has not enough space to allocate\r
  *                                              the writer.\r
- */\r
-writer_t\r
-writer_new(command_t command);\r
-\r
-\r
+ */ \r
+  writer_t \r writer_new(command_t command);
+  \r \r \r
 /*! \brief writer_free - destroy a writer object.\r
  *\r
  * \param ptr          A pointer to the writer object to destroy.\r
@@ -51,18 +50,13 @@ writer_new(command_t command);
  *                                     [EINVAL] if the writer object pointed to by the parameter ptr is invalid.\r
  *                                     \r
  *                                     \r
- */\r
-int\r
-writer_free(writer_t* ptr);\r
-\r
-void\r
-writer_write(writer_t writer);\r
-\r
-void\r
-writer_wait(writer_t writer);\r
-\r
+ */ \r
+  int \r writer_free(writer_t * ptr);
+  \r \r void \r writer_write(writer_t writer);
+  \r \r void \r writer_wait(writer_t writer);
+  \r \r
 #ifdef __cplusplus\r
-}\r
-#endif\r
+} \r
+#endif  /* \r */
 \r
-#endif /* !__WRITER_H */\r
+#endif  /* !__WRITER_H */\r