X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/c4da36392950a99306bb7aae41a441fdf8e9f48f..0f8fb91ceac5354f8ffa501261ee7e1237223945:/private.h?ds=sidebyside diff --git a/private.h b/private.h index b64bdb85..dd4febfe 100644 --- a/private.h +++ b/private.h @@ -1,4 +1,4 @@ -/* $Id: private.h,v 1.72 2009/01/20 20:56:21 kristaps Exp $ */ +/* $Id: private.h,v 1.74 2009/01/21 11:35:26 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -33,13 +33,11 @@ struct mdoc { int linetok; int flags; #define MDOC_HALT (1 << 0) -#define MDOC_BODYPARSE (1 << 1) enum mdoc_next next; struct mdoc_node *last; struct mdoc_node *first; struct mdoc_meta meta; - enum mdoc_sec sec_lastn; - enum mdoc_sec sec_last; + enum mdoc_sec lastnamed; }; @@ -161,6 +159,7 @@ int xstrlcats(char *, const struct mdoc_node *, size_t); int xstrlcat(char *, const char *, size_t); int xstrlcpy(char *, const char *, size_t); int xstrcmp(const char *, const char *); +int xstrncmp(const char *, const char *, size_t); void *xcalloc(size_t, size_t); char *xstrdup(const char *);