X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/41c017fd617974d1e7c44afa5e64143ad4f41e1e..c719ec85550f1763968d4ff729b4269511f07ad6:/private.h diff --git a/private.h b/private.h index 7e7aa4ad..10559e77 100644 --- a/private.h +++ b/private.h @@ -1,4 +1,4 @@ -/* $Id: private.h,v 1.60 2009/01/08 14:55:59 kristaps Exp $ */ +/* $Id: private.h,v 1.62 2009/01/12 16:39:57 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -53,6 +53,7 @@ struct mdoc_macro { #define MDOC_QUOTABLE (1 << 3) #define MDOC_PROLOGUE (1 << 4) #define MDOC_NESTED (1 << 5) +#define MDOC_TABSEP (1 << 6) }; extern const struct mdoc_macro *const mdoc_macros; @@ -78,6 +79,7 @@ int mdoc_elem_alloc(struct mdoc *, int, int, 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); @@ -117,6 +119,7 @@ int mdoc_args(struct mdoc *, 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);