-/* $Id: private.h,v 1.60 2009/01/08 14:55:59 kristaps Exp $ */
+/* $Id: private.h,v 1.63 2009/01/14 11:58:24 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
#define MDOC_EXPLICIT (1 << 2)
#define MDOC_QUOTABLE (1 << 3)
#define MDOC_PROLOGUE (1 << 4)
-#define MDOC_NESTED (1 << 5)
+#define MDOC_TABSEP (1 << 5)
};
extern const struct mdoc_macro *const mdoc_macros;
int, size_t, const struct mdoc_arg *);
int mdoc_block_alloc(struct mdoc *, int, int,
int, size_t, const struct mdoc_arg *);
+int mdoc_root_alloc(struct mdoc *);
int mdoc_head_alloc(struct mdoc *, int, int, int);
int mdoc_tail_alloc(struct mdoc *, int, int, int);
int mdoc_body_alloc(struct mdoc *, int, int, int);
#define ARGS_QUOTED (1 << 0)
#define ARGS_DELIM (1 << 1)
+#define ARGS_TABSEP (1 << 2)
int xstrlcat(char *, const char *, size_t);
int xstrlcpy(char *, const char *, size_t);
int macro_constant_delimited(MACRO_PROT_ARGS);
int macro_text(MACRO_PROT_ARGS);
int macro_scoped(MACRO_PROT_ARGS);
-int macro_close_explicit(MACRO_PROT_ARGS);
+int macro_scoped_close(MACRO_PROT_ARGS);
int macro_scoped_line(MACRO_PROT_ARGS);
int macro_prologue(MACRO_PROT_ARGS);
int macro_end(struct mdoc *);