* 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
* [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
* [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