=================================================================== RCS file: /cvs/mandoc/mansearch.h,v retrieving revision 1.2 retrieving revision 1.5 diff -u -p -r1.2 -r1.5 --- mandoc/mansearch.h 2012/06/09 14:11:16 1.2 +++ mandoc/mansearch.h 2013/12/27 18:51:25 1.5 @@ -1,4 +1,4 @@ -/* $Id: mansearch.h,v 1.2 2012/06/09 14:11:16 kristaps Exp $ */ +/* $Id: mansearch.h,v 1.5 2013/12/27 18:51:25 schwarze Exp $ */ /* * Copyright (c) 2012 Kristaps Dzonsons * @@ -17,7 +17,7 @@ #ifndef MANSEARCH_H #define MANSEARCH_H -#define MANDOC_DB "mandocdb.db" +#define MANDOC_DB "mandoc.db" #define TYPE_An 0x0000000000000001ULL #define TYPE_Ar 0x0000000000000002ULL @@ -61,7 +61,8 @@ __BEGIN_DECLS struct manpage { - char file[MAXPATHLEN]; /* prefixed by manpath */ + char *file; /* to be prefixed by manpath */ + char *names; /* a list of names with sections */ char *desc; /* description of manpage */ int form; /* 0 == catpage */ };