summaryrefslogtreecommitdiff
path: root/generators.h
diff options
context:
space:
mode:
Diffstat (limited to 'generators.h')
-rw-r--r--generators.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generators.h b/generators.h
new file mode 100644
index 0000000..e08a0be
--- /dev/null
+++ b/generators.h
@@ -0,0 +1,8 @@
+#include <stddef.h>
+
+typedef void (*generatorfn)(int *, size_t);
+
+extern const struct generator {
+ const char *name;
+ generatorfn func;
+} generators[];