-/* $Id: mdoc.h,v 1.66 2009/07/17 10:56:57 kristaps Exp $ */
+/* $Id: mdoc.h,v 1.67 2009/07/24 12:48:18 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
enum mdoc_type type;
enum mdoc_sec sec;
- /* FIXME: union/struct this with #defines. */
struct mdoc_arg *args; /* BLOCK/ELEM */
struct mdoc_node *head; /* BLOCK */
struct mdoc_node *body; /* BLOCK */
#define MDOC_IGN_CHARS (1 << 3) /* Ignore disallowed chars. */
/* Call-backs for parse messages. */
-/* FIXME: unify somehow with man_cb. */
+
struct mdoc_cb {
int (*mdoc_err)(void *, int, int, const char *);
int (*mdoc_warn)(void *, int, int, const char *);