=================================================================== RCS file: /cvs/mandoc/Attic/apropos_db.h,v retrieving revision 1.5 retrieving revision 1.8 diff -u -p -r1.5 -r1.8 --- mandoc/Attic/apropos_db.h 2011/11/18 07:02:19 1.5 +++ mandoc/Attic/apropos_db.h 2011/11/26 22:38:11 1.8 @@ -1,4 +1,4 @@ -/* $Id: apropos_db.h,v 1.5 2011/11/18 07:02:19 kristaps Exp $ */ +/* $Id: apropos_db.h,v 1.8 2011/11/26 22:38:11 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -24,6 +24,11 @@ struct res { char *arch; /* arch (or empty string) */ char *desc; /* description (from Nd) */ unsigned int rec; /* record in index */ + /* + * The index volume. This indexes into the array of directories + * searched for manual page databases. + */ + unsigned int volume; }; struct opts { @@ -35,8 +40,8 @@ __BEGIN_DECLS struct expr; -int apropos_search(const struct opts *, - const struct expr *, size_t, void *, +int apropos_search(int, char **, const struct opts *, + const struct expr *, size_t, void *, void (*)(struct res *, size_t, void *)); struct expr *exprcomp(int, char *[], size_t *); void exprfree(struct expr *);