[BACK]Return to mansearch.h CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mansearch.h between version 1.26 and 1.30

version 1.26, 2016/07/20 00:23:14 version 1.30, 2019/04/30 18:51:57
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2012 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2012 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2013, 2014, 2016 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2013, 2014, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 16 
Line 16 
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * 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_MAGIC   0x3a7d0cdb
 #define MANDOCDB_VERSION 0  /* XXX Start counting in production. */  #define MANDOCDB_VERSION 1
   
 #define MACRO_MAX        36  #define MACRO_MAX        36
   #define KEY_arch         0
   #define KEY_sec          1
   #define KEY_Nm           38
 #define KEY_Nd           39  #define KEY_Nd           39
 #define KEY_MAX          40  #define KEY_MAX          40
   
Line 89  struct manpage {
Line 92  struct manpage {
         char            *file; /* to be prefixed by manpath */          char            *file; /* to be prefixed by manpath */
         char            *names; /* a list of names with sections */          char            *names; /* a list of names with sections */
         char            *output; /* user-defined additional output */          char            *output; /* user-defined additional output */
         size_t           ipath; /* number of the manpath */  
         uint64_t         bits; /* name type mask */          uint64_t         bits; /* name type mask */
           size_t           ipath; /* number of the manpath */
         int              sec; /* section number, 10 means invalid */          int              sec; /* section number, 10 means invalid */
         enum form        form;          enum form        form;
 };  };

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.30

CVSweb