X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/8f00108b9e7335a68e0dfa8b30abc8679c8c6a0a..992470d745901ca26e106a31bebfe62d6d0fccd9:/apropos_db.h?ds=sidebyside diff --git a/apropos_db.h b/apropos_db.h index 85b4c9e6..be48b063 100644 --- a/apropos_db.h +++ b/apropos_db.h @@ -1,4 +1,4 @@ -/* $Id: apropos_db.h,v 1.8 2011/11/26 22:38:11 schwarze Exp $ */ +/* $Id: apropos_db.h,v 1.10 2011/11/27 23:11:37 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -18,6 +18,7 @@ #define APROPOS_H struct res { + char *type; /* file type: mdoc, man or cat */ char *file; /* file in file-system */ char *cat; /* category (3p, 3, etc.) */ char *title; /* title (FOO, etc.) */ @@ -45,6 +46,7 @@ int apropos_search(int, char **, const struct opts *, void (*)(struct res *, size_t, void *)); struct expr *exprcomp(int, char *[], size_t *); void exprfree(struct expr *); +struct expr *termcomp(int, char *[], size_t *); __END_DECLS