-/* $Id: manpath.h,v 1.2 2011/11/24 10:43:55 kristaps Exp $ */
+/* $Id: manpath.h,v 1.6 2012/06/08 10:32:40 kristaps Exp $ */
/*
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* databases.
*/
struct manpaths {
- int sz;
+ size_t sz;
char **paths;
};
__BEGIN_DECLS
-void manpath_manconf(struct manpaths *);
-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