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

Diff for /mandoc/libman.h between version 1.8 and 1.12

version 1.8, 2009/04/12 19:45:26 version 1.12, 2009/07/04 09:01:55
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2009 Kristaps Dzonsons <kristaps@openbsd.org>   * Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
  *   *
  * 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 38  struct man {
Line 38  struct man {
         struct man_meta  meta;          struct man_meta  meta;
 };  };
   
   enum    merr {
           WNPRINT,
           WNMEM,
           WMSEC,
           WDATE,
           WLNSCOPE,
           WTSPACE,
           WTQUOTE,
           WNODATA,
           WNOTITLE,
           WESCAPE
   };
   
 __BEGIN_DECLS  __BEGIN_DECLS
   
   #define           man_perr(m, l, p, t) \
                     man_err((m), l, p, 1, (t))
   #define           man_pwarn(m, l, p, t) \
                     man_err((m), l, p, 0, (t))
   #define           man_nerr(m, n, t) \
                     man_err((m), (n)->line, (n)->pos, 1, (t))
   #define           man_nwarn(m, n, t) \
                     man_err((m), (n)->line, (n)->pos, 0, (t))
   
   int               man_err(struct man *, int, int, int, enum merr);
 int               man_word_alloc(struct man *, int, int, const char *);  int               man_word_alloc(struct man *, int, int, const char *);
 int               man_elem_alloc(struct man *, int, int, int);  int               man_elem_alloc(struct man *, int, int, int);
 void              man_node_free(struct man_node *);  void              man_node_free(struct man_node *);

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.12

CVSweb