aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apropos_db.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-11-27 18:54:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-11-27 18:54:01 +0000
commit7f0964d6bed1077435683bcb011c0c605f6a0255 (patch)
tree546ec179ee4d7b7a9fa2be1d9b8d222d47bf09c3 /apropos_db.h
parent70b854a8e664254f12bc43f940791a2514b10cfc (diff)
downloadmandoc-7f0964d6bed1077435683bcb011c0c605f6a0255.tar.gz
mandoc-7f0964d6bed1077435683bcb011c0c605f6a0255.tar.zst
mandoc-7f0964d6bed1077435683bcb011c0c605f6a0255.zip
Get us a whatis(1) mode for apropos(1).
This is from a patch to tech@ as critiqued by schwarze@, checked in to get the ball rolling.
Diffstat (limited to 'apropos_db.h')
-rw-r--r--apropos_db.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apropos_db.h b/apropos_db.h
index 85b4c9e6..8d03e5be 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.9 2011/11/27 18:54:01 kristaps Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -45,6 +45,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