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

Diff for /mandoc/term.h between version 1.5 and 1.6

version 1.5, 2009/02/24 16:16:45 version 1.6, 2009/02/25 12:09:20
Line 40  struct termp {
Line 40  struct termp {
         char             *buf;          char             *buf;
 };  };
   
   struct  termpair {
           int               type;
   #define TERMPAIR_FLAG    (1 << 0)
           union {
                   int       flag;
           } data;
   };
   
   #define TERMPAIR_SETFLAG(p, fl) \
           do { \
                   (p)->data.flag = (fl); \
                   (p)->type = TERMPAIR_FLAG; \
           } while (0)
   
 struct  termact {  struct  termact {
         int             (*pre)(struct termp *,          int             (*pre)(struct termp *,
                                   struct termpair *,
                                 const struct mdoc_meta *,                                  const struct mdoc_meta *,
                                 const struct mdoc_node *);                                  const struct mdoc_node *);
         void            (*post)(struct termp *,          void            (*post)(struct termp *,
                                   struct termpair *,
                                 const struct mdoc_meta *,                                  const struct mdoc_meta *,
                                 const struct mdoc_node *);                                  const struct mdoc_node *);
 };  };

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

CVSweb