summaryrefslogtreecommitdiffstats
path: root/private.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-06 14:13:47 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-06 14:13:47 +0000
commitbc942b21e65675353944cc575b047c6a80080195 (patch)
tree1b072ecd73ada8d8dda604f7c050fe83b272dabd /private.h
parentc0584f0a6b55bd89fdb730f06598436ff3b2c184 (diff)
downloadmandoc-bc942b21e65675353944cc575b047c6a80080195.tar.gz
Strings abstracted into dynamically-created C files.
Added -V option. Deprecated README files.
Diffstat (limited to 'private.h')
-rw-r--r--private.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/private.h b/private.h
index 973e96d2..728fbf4e 100644
--- a/private.h
+++ b/private.h
@@ -128,13 +128,12 @@ int mdoc_iscdelim(char);
size_t mdoc_isescape(const char *);
enum mdoc_sec mdoc_atosec(const char *);
enum mdoc_msec mdoc_atomsec(const char *);
-enum mdoc_vol mdoc_atovol(const char *);
-enum mdoc_arch mdoc_atoarch(const char *);
time_t mdoc_atotime(const char *);
size_t mdoc_macro2len(int);
-char *mdoc_type2a(enum mdoc_type);
-char *mdoc_node2a(struct mdoc_node *);
+const char *mdoc_a2arch(const char *);
+const char *mdoc_a2vol(const char *);
+const char *mdoc_a2msec(const char *);
int mdoc_valid_pre(struct mdoc *,
const struct mdoc_node *);
@@ -158,7 +157,7 @@ int mdoc_args(struct mdoc *, int,
#define ARGS_QWORD (3)
#define ARGS_PHRASE (4)
-int xstrlcats(char *, const struct mdoc_node *, size_t);
+int xstrlcpys(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 *);