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

Diff for /mandoc/mansearch.h between version 1.12 and 1.15

version 1.12, 2014/04/10 02:46:21 version 1.15, 2014/07/24 20:30:45
Line 74  struct manpage {
Line 74  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 */
           int              sec; /* section number, 10 means invalid */
         int              form; /* 0 == catpage */          int              form; /* 0 == catpage */
 };  };
   
Line 82  struct mansearch {
Line 83  struct mansearch {
         const char      *sec; /* mansection/NULL */          const char      *sec; /* mansection/NULL */
         uint64_t         deftype; /* type if no key  */          uint64_t         deftype; /* type if no key  */
         int              flags;          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);
 int     mansearch(const struct mansearch *cfg, /* options */  int     mansearch(const struct mansearch *cfg, /* options */
                 const struct manpaths *paths, /* manpaths */                  const struct manpaths *paths, /* manpaths */
                 int argc, /* size of argv */                  int argc, /* size of argv */

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.15

CVSweb