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

Diff for /mandoc/term.h between version 1.4 and 1.9

version 1.4, 2009/02/22 19:23:48 version 1.9, 2009/02/25 15:12:26
Line 40  struct termp {
Line 40  struct termp {
         char             *buf;          char             *buf;
 };  };
   
   struct  termpair {
           struct termpair  *ppair;
           int               type;
   #define TERMPAIR_FLAG    (1 << 0)
           int               flag;
           size_t            offset;
           size_t            rmargin;
           int               count;
   };
   
   #define TERMPAIR_SETFLAG(p, fl) \
           do { \
                   assert(! (TERMPAIR_FLAG & (p)->type)); \
                   (p)->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 *);
 };  };
   
 void                      termprint(const struct mdoc_node *,  
                                 const struct mdoc_meta *);  
   
 void                      newln(struct termp *);  void                      newln(struct termp *);
 void                      vspace(struct termp *);  void                      vspace(struct termp *);
 void                      word(struct termp *, const char *);  void                      word(struct termp *, const char *);
 void                      flushln(struct termp *);  void                      flushln(struct termp *);
 void                      transcode(struct termp *,  void                      transcode(struct termp *,
                                 const char *, size_t);                                  const char *, size_t);
   
   void                      subtree(struct termp *,
                                   const struct mdoc_meta *,
                                   const struct mdoc_node *);
   
 const   struct termact   *termacts;  const   struct termact   *termacts;
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.9

CVSweb