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

Diff for /mandoc/term.h between version 1.111 and 1.112

version 1.111, 2015/01/31 00:12:41 version 1.112, 2015/04/02 23:48:20
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2011-2015 Ingo Schwarze <schwarze@openbsd.org>
  *   *
  * 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
  * copyright notice and this permission notice appear in all copies.   * copyright notice and this permission notice appear in all copies.
  *   *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES   * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF   * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR   * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES   * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN   * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
Line 38  enum termfont {
Line 38  enum termfont {
   
 #define TERM_MAXMARGIN    100000 /* FIXME */  #define TERM_MAXMARGIN    100000 /* FIXME */
   
   struct  roff_meta;
 struct  termp;  struct  termp;
   
 typedef void    (*term_margin)(struct termp *, const void *);  typedef void    (*term_margin)(struct termp *, const struct roff_meta *);
   
 struct  termp_tbl {  struct  termp_tbl {
         int               width;        /* width in fixed chars */          int               width;        /* width in fixed chars */
Line 117  void    term_vspace(struct termp *);
Line 118  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 *);
 void              term_begin(struct termp *, term_margin,  void              term_begin(struct termp *, term_margin,
                         term_margin, const void *);                          term_margin, const struct roff_meta *);
 void              term_end(struct termp *);  void              term_end(struct termp *);
   
 void              term_setwidth(struct termp *, const char *);  void              term_setwidth(struct termp *, const char *);

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.112

CVSweb