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

Diff for /mandoc/term.h between version 1.44 and 1.46

version 1.44, 2009/08/10 10:09:51 version 1.46, 2009/09/16 09:41:24
Line 20 
Line 20 
 __BEGIN_DECLS  __BEGIN_DECLS
   
 enum    termenc {  enum    termenc {
         TERMENC_ASCII,          TERMENC_ASCII
         TERMENC_LATIN1,         /* Not implemented. */  
         TERMENC_UTF8            /* Not implemented. */  
 };  };
   
 struct  termp {  struct  termp {
Line 32  struct termp {
Line 30  struct termp {
         size_t            offset;       /* Margin offest. */          size_t            offset;       /* Margin offest. */
         size_t            col;          /* Bytes in buf. */          size_t            col;          /* Bytes in buf. */
         int               flags;          int               flags;
 #define TERMP_STYLE       0x3           /* Style mask. */  
 #define TERMP_BOLD       (1 << 0)       /* Styles... */  
 #define TERMP_UNDER      (1 << 1)  
 #define TERMP_NOSPACE    (1 << 2)       /* No space before words. */  #define TERMP_NOSPACE    (1 << 2)       /* No space before words. */
 #define TERMP_NOLPAD     (1 << 3)       /* See term_flushln(). */  #define TERMP_NOLPAD     (1 << 3)       /* See term_flushln(). */
 #define TERMP_NOBREAK    (1 << 4)       /* See term_flushln(). */  #define TERMP_NOBREAK    (1 << 4)       /* See term_flushln(). */
Line 46  struct termp {
Line 41  struct termp {
 #define TERMP_NOSPLIT    (1 << 11)      /* See termp_an_pre/post(). */  #define TERMP_NOSPLIT    (1 << 11)      /* See termp_an_pre/post(). */
 #define TERMP_SPLIT      (1 << 12)      /* See termp_an_pre/post(). */  #define TERMP_SPLIT      (1 << 12)      /* See termp_an_pre/post(). */
 #define TERMP_ANPREC     (1 << 13)      /* See termp_an_pre(). */  #define TERMP_ANPREC     (1 << 13)      /* See termp_an_pre(). */
           int               bold;
           int               under;
         char             *buf;          /* Output buffer. */          char             *buf;          /* Output buffer. */
         enum termenc      enc;          /* Type of encoding. */          enum termenc      enc;          /* Type of encoding. */
         void             *symtab;       /* Encoded-symbol table. */          void             *symtab;       /* Encoded-symbol table. */

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.46

CVSweb