summaryrefslogtreecommitdiffstatshomepage
path: root/mdocml.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdocml.c')
-rw-r--r--mdocml.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/mdocml.c b/mdocml.c
index d186abec..8d0433ab 100644
--- a/mdocml.c
+++ b/mdocml.c
@@ -1,4 +1,4 @@
- /* $Id: mdocml.c,v 1.49 2009/01/19 17:51:33 kristaps Exp $ */
+ /* $Id: mdocml.c,v 1.50 2009/01/20 12:51:28 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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 *);