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

Diff for /mandoc/libman.h between version 1.39 and 1.43

version 1.39, 2010/06/27 15:52:41 version 1.43, 2010/08/20 01:02:07
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
  *   *
  * 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 17 
Line 17 
 #ifndef LIBMAN_H  #ifndef LIBMAN_H
 #define LIBMAN_H  #define LIBMAN_H
   
 #include "regs.h"  
 #include "man.h"  #include "man.h"
   
 enum    man_next {  enum    man_next {
Line 28  enum man_next {
Line 27  enum man_next {
 struct  man {  struct  man {
         void            *data; /* private application data */          void            *data; /* private application data */
         mandocmsg        msg; /* output message handler */          mandocmsg        msg; /* output message handler */
         int              pflags; /* parse flags (see man.h) */  
         int              flags; /* parse flags */          int              flags; /* parse flags */
 #define MAN_HALT        (1 << 0) /* badness happened: die */  #define MAN_HALT        (1 << 0) /* badness happened: die */
 #define MAN_ELINE       (1 << 1) /* Next-line element scope. */  #define MAN_ELINE       (1 << 1) /* Next-line element scope. */
Line 40  struct man {
Line 38  struct man {
         struct man_node *last; /* the last parsed node */          struct man_node *last; /* the last parsed node */
         struct man_node *first; /* the first parsed node */          struct man_node *first; /* the first parsed node */
         struct man_meta  meta; /* document meta-data */          struct man_meta  meta; /* document meta-data */
         const struct regset *regs; /* readonly registers */          struct regset   *regs; /* registers */
 };  };
   
 #define MACRO_PROT_ARGS   struct man *m, \  #define MACRO_PROT_ARGS   struct man *m, \

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.43

CVSweb