* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
+/** \file file_writer.c simple output plugin for testing purposes */
+
#include "para.h"
#include "write.h"
#include "string.h"
#include "error.h"
+/** data specific to the file writer */
struct private_file_writer_data {
- int fd;
+/** the file descriptor of the output file */
+int fd;
};
+
static int file_writer_open(struct writer_node *w)
{
struct private_file_writer_data *pfwd = para_calloc(
free(pfwd);
}
+/** the init function of the file writer */
void file_writer_init(struct writer *w)
{
w->open = file_writer_open;