X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/490252b369661e1862919f425cdaf44accbeb1ae..fcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76:/mansearch.h diff --git a/mansearch.h b/mansearch.h index acad65da..355873f8 100644 --- a/mansearch.h +++ b/mansearch.h @@ -1,7 +1,7 @@ -/* $Id: mansearch.h,v 1.25 2016/07/19 21:31:55 schwarze Exp $ */ +/* $Id: mansearch.h,v 1.29 2018/11/22 12:01:46 schwarze Exp $ */ /* * Copyright (c) 2012 Kristaps Dzonsons - * Copyright (c) 2013, 2014 Ingo Schwarze + * Copyright (c) 2013, 2014, 2016, 2017 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -16,11 +16,14 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define MANDOC_DB "mandoc.new.db" +#define MANDOC_DB "mandoc.db" #define MANDOCDB_MAGIC 0x3a7d0cdb -#define MANDOCDB_VERSION 0 /* XXX Start counting in production. */ +#define MANDOCDB_VERSION 1 #define MACRO_MAX 36 +#define KEY_arch 0 +#define KEY_sec 1 +#define KEY_Nm 38 #define KEY_Nd 39 #define KEY_MAX 40 @@ -90,7 +93,6 @@ struct manpage { char *names; /* a list of names with sections */ char *output; /* user-defined additional output */ size_t ipath; /* number of the manpath */ - uint64_t bits; /* name type mask */ int sec; /* section number, 10 means invalid */ enum form form; };