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

Diff for /mandoc/term.h between version 1.45 and 1.50

version 1.45, 2009/09/15 08:16:20 version 1.50, 2009/11/05 08:40:16
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 45  struct termp {
Line 43  struct termp {
 #define TERMP_ANPREC     (1 << 13)      /* See termp_an_pre(). */  #define TERMP_ANPREC     (1 << 13)      /* See termp_an_pre(). */
         int               bold;          int               bold;
         int               under;          int               under;
           int               metafont;     /* See do_escaped(). */
   #define METAF_BOLD       (1 << 0)
   #define METAF_UNDER      (1 << 1)
           int               metamask;     /* See do_escaped(). */
         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. */
 };  };
   
 void             *term_ascii2htab(void);  
 const char       *term_a2ascii(void *, const char *, size_t, size_t *);  
 const char       *term_a2res(void *, const char *, size_t, size_t *);  
 void              term_asciifree(void *);  
   
 void              term_newln(struct termp *);  void              term_newln(struct termp *);
 void              term_vspace(struct termp *);  void              term_vspace(struct termp *);
 void              term_word(struct termp *, const char *);  void              term_word(struct termp *, const char *);
 void              term_flushln(struct termp *);  void              term_flushln(struct termp *);
   
   size_t            term_hspan(const struct roffsu *);
   size_t            term_vspan(const struct roffsu *);
   
 __END_DECLS  __END_DECLS
   

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.50

CVSweb