=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mansearch.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- src/usr.bin/mandoc/mansearch.h 2014/04/11 15:45:39 1.9 +++ src/usr.bin/mandoc/mansearch.h 2014/07/12 13:59:54 1.10 @@ -1,4 +1,4 @@ -/* $Id: mansearch.h,v 1.9 2014/04/11 15:45:39 schwarze Exp $ */ +/* $Id: mansearch.h,v 1.10 2014/07/12 13:59:54 schwarze Exp $ */ /* * Copyright (c) 2012 Kristaps Dzonsons * Copyright (c) 2013, 2014 Ingo Schwarze @@ -82,7 +82,8 @@ const char *sec; /* mansection/NULL */ uint64_t deftype; /* type if no key */ int flags; -#define MANSEARCH_WHATIS 0x01 /* whatis mode: equality, no key */ +#define MANSEARCH_WHATIS 0x01 /* whatis(1) mode: whole words, no keys */ +#define MANSEARCH_MAN 0x02 /* man(1) mode: string equality, no keys */ }; int mansearch_setup(int);