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

Diff for /mandoc/libmdoc.h between version 1.10 and 1.12

version 1.10, 2009/06/15 10:36:01 version 1.12, 2009/07/06 09:21:24
Line 29  struct mdoc {
Line 29  struct mdoc {
         struct mdoc_cb    cb;          struct mdoc_cb    cb;
         void             *htab;          void             *htab;
         int               flags;          int               flags;
 #define MDOC_HALT        (1 << 0)  #define MDOC_HALT        (1 << 0)       /* Error in parse. Halt. */
 #define MDOC_LITERAL     (1 << 1)  #define MDOC_LITERAL     (1 << 1)       /* In a literal scope. */
   #define MDOC_PBODY       (1 << 2)       /* In the document body. */
         int               pflags;          int               pflags;
         enum mdoc_next    next;          enum mdoc_next    next;
         struct mdoc_node *last;          struct mdoc_node *last;
Line 63  __BEGIN_DECLS
Line 64  __BEGIN_DECLS
  * When GCC2 is deprecated, most of these can be reverted to #define   * When GCC2 is deprecated, most of these can be reverted to #define
  * as mdoc_vXXX using __VA_ARGS__.  Until then, use real functions.   * as mdoc_vXXX using __VA_ARGS__.  Until then, use real functions.
  */   */
 int               mdoc_vwarn(struct mdoc *, int, int,  int               mdoc_vwarn(struct mdoc *, int, int, const char *, ...);
                         enum mdoc_warn, const char *, ...);  int               mdoc_verr(struct mdoc *, int, int, const char *, ...);
 int               mdoc_verr(struct mdoc *, int, int,  
                         const char *, ...);  
 int               mdoc_nerr(struct mdoc *, const struct mdoc_node *,  int               mdoc_nerr(struct mdoc *, const struct mdoc_node *,
                         const char *, ...);                          const char *, ...);
 int               mdoc_warn(struct mdoc *, enum mdoc_warn, const char *, ...);  int               mdoc_warn(struct mdoc *, const char *, ...);
 int               mdoc_err(struct mdoc *, const char *, ...);  int               mdoc_err(struct mdoc *, const char *, ...);
 int               mdoc_pwarn(struct mdoc *, int, int,  int               mdoc_pwarn(struct mdoc *, int, int, const char *, ...);
                         enum mdoc_warn,const char *, ...);  
 int               mdoc_perr(struct mdoc *, int, int, const char *, ...);  int               mdoc_perr(struct mdoc *, int, int, const char *, ...);
 int               mdoc_macro(MACRO_PROT_ARGS);  int               mdoc_macro(MACRO_PROT_ARGS);
 int               mdoc_word_alloc(struct mdoc *,  int               mdoc_word_alloc(struct mdoc *,

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

CVSweb