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

Diff for /mandoc/tag.h between version 1.3 and 1.10

version 1.3, 2015/07/25 14:02:06 version 1.10, 2020/01/20 10:37:15
Line 1 
Line 1 
 /*      $Id$    */  /*      $Id$    */
 /*  /*
  * Copyright (c) 2015 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2015, 2018, 2019, 2020 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 15 
Line 15 
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   
 __BEGIN_DECLS  /*
    * Tagging priorities.
    * Lower numbers indicate higher importance.
    */
   #define TAG_MANUAL      1               /* Set with a .Tg macro. */
   #define TAG_STRONG      2               /* Good automatic tagging. */
   #define TAG_WEAK        (INT_MAX - 2)   /* Dubious automatic tagging. */
   #define TAG_FALLBACK    (INT_MAX - 1)   /* Tag only used if unique. */
   #define TAG_DELETE      (INT_MAX)       /* Tag not used at all. */
   
 char    *tag_init(void);  
 size_t   tag_get(const char *, size_t, int);  struct  tag_files {
 void     tag_put(const char *, size_t, int, size_t);          char     ofn[20];
           char     tfn[20];
           char    *tagname;
           int      ofd;
           int      tfd;
           pid_t    tcpgid;
           pid_t    pager_pid;
   };
   
   
   struct tag_files *tag_init(char *);
   void     tag_put(const char *, int, size_t);
 void     tag_write(void);  void     tag_write(void);
 void     tag_unlink(void);  void     tag_unlink(void);
   
 __END_DECLS  

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.10

CVSweb