[BACK]Return to term.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/term.h between version 1.27 and 1.28

version 1.27, 2010/07/31 21:43:07 version 1.28, 2011/01/04 22:28:17
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008, 2009, 2010, 2011 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 71 
Line 71 
         size_t            pdfobjsz;     /* size of pdfobjs */          size_t            pdfobjsz;     /* size of pdfobjs */
 };  };
   
   struct  termp_tbl {
           int               width;        /* width in fixed chars */
           int               decimal;      /* decimal point position */
   };
   
 struct  termp {  struct  termp {
         enum termtype     type;          enum termtype     type;
         size_t            defrmargin;   /* Right margin of the device.. */          struct termp_tbl *tbl;          /* table configuration */
           size_t            defrmargin;   /* Right margin of the device. */
         size_t            rmargin;      /* Current right margin. */          size_t            rmargin;      /* Current right margin. */
         size_t            maxrmargin;   /* Max right margin. */          size_t            maxrmargin;   /* Max right margin. */
         size_t            maxcols;      /* Max size of buf. */          size_t            maxcols;      /* Max size of buf. */
Line 120 
Line 126 
 };  };
   
 struct termp     *term_alloc(enum termenc);  struct termp     *term_alloc(enum termenc);
   void              term_tbl(struct termp *, const struct tbl_span *);
 void              term_free(struct termp *);  void              term_free(struct termp *);
 void              term_newln(struct termp *);  void              term_newln(struct termp *);
 void              term_vspace(struct termp *);  void              term_vspace(struct termp *);

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28