summaryrefslogtreecommitdiffstats
path: root/mdocml.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdocml.c')
-rw-r--r--mdocml.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/mdocml.c b/mdocml.c
index 0befca5a..87884080 100644
--- a/mdocml.c
+++ b/mdocml.c
@@ -34,19 +34,7 @@
#define MD_LINE_SZ (256) /* Max input line size. */
-/*
- * Put this into a mdoctrans.h, which has:
- *
- * struct mdoc_trans; (opaque)
- *
- * struct mdoc_trans *mdoc_trans_alloc(const char *filter);
- *
- * mdoc_trans_free(struct mdoc_trans *);
- *
- * int mdoc_trans_getopt(struct mdoc_trans *, char *);
- *
- * int mdoc_trans_print(struct mdoc_trans *, const struct mdoc_node *);
- */
+/* TODO: have a struct for each transformer. */
typedef int (*mdocprint)(const struct mdoc_node *);