-/* $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 <kristaps@bsd.lv>
*
#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.) */
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