aboutsummaryrefslogtreecommitdiffstats
path: root/writers.c
diff options
context:
space:
mode:
Diffstat (limited to 'writers.c')
-rw-r--r--writers.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/writers.c b/writers.c
new file mode 100644
index 0000000..18a1991
--- /dev/null
+++ b/writers.c
@@ -0,0 +1,15 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "readers.h"
+#include "writers.h"
+
+/* ----------------------------------------------------------------------- */
+
+LIST_HEAD(writers);
+
+void write_register(struct ida_writer *writer)
+{
+ list_add_tail(&writer->list, &writers);
+}