Rename struct audio format to audio_format_handler
[paraslash.git] / file_writer.c
index dabe92ce37fb941909a3286fe0575ef9e23e260d..a7a765e1175c6379e1881973faa9553255a3cd40 100644 (file)
 #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(
@@ -60,6 +63,7 @@ static void file_writer_close(struct writer_node *wn)
        free(pfwd);
 }
 
+/** the init function of the file writer */
 void file_writer_init(struct writer *w)
 {
        w->open = file_writer_open;