X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/20d59d4bad754ab90961dbaa63d507f984f76c88..0b6903db7750adfcd88f388a0196037f91e474c6:/manpath.h?ds=sidebyside diff --git a/manpath.h b/manpath.h index 2d564c3f..2fe1b36e 100644 --- a/manpath.h +++ b/manpath.h @@ -1,4 +1,4 @@ -/* $Id: manpath.h,v 1.1 2011/11/23 09:47:38 kristaps Exp $ */ +/* $Id: manpath.h,v 1.6 2012/06/08 10:32:40 kristaps Exp $ */ /* * Copyright (c) 2011 Ingo Schwarze * Copyright (c) 2011 Kristaps Dzonsons @@ -23,15 +23,14 @@ * databases. */ struct manpaths { - int sz; + size_t sz; char **paths; }; __BEGIN_DECLS -void manpath_parse(struct manpaths *, char *, char *); -void manpath_parseconf(struct manpaths *); -void manpath_parseline(struct manpaths *, char *); +void manpath_manconf(struct manpaths *, const char *); +void manpath_parse(struct manpaths *, const char *, char *, char *); void manpath_free(struct manpaths *); __END_DECLS