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

Diff for /mandoc/libman.h between version 1.50 and 1.55

version 1.50, 2011/03/23 12:40:04 version 1.55, 2011/11/07 01:24:40
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  *   *
  * 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 36  struct man {
Line 36  struct man {
         struct man_node *last; /* the last parsed node */          struct man_node *last; /* the last parsed node */
         struct man_node *first; /* the first parsed node */          struct man_node *first; /* the first parsed node */
         struct man_meta  meta; /* document meta-data */          struct man_meta  meta; /* document meta-data */
         struct regset   *regs; /* registers */          struct roff     *roff;
 };  };
   
 #define MACRO_PROT_ARGS   struct man *m, \  #define MACRO_PROT_ARGS   struct man *m, \
Line 54  struct man_macro {
Line 54  struct man_macro {
 #define MAN_FSCOPED      (1 << 2)       /* See blk_imp(). */  #define MAN_FSCOPED      (1 << 2)       /* See blk_imp(). */
 #define MAN_NSCOPED      (1 << 3)       /* See in_line_eoln(). */  #define MAN_NSCOPED      (1 << 3)       /* See in_line_eoln(). */
 #define MAN_NOCLOSE      (1 << 4)       /* See blk_exp(). */  #define MAN_NOCLOSE      (1 << 4)       /* See blk_exp(). */
   #define MAN_BSCOPE       (1 << 5)       /* Break BLINE scope. */
 };  };
   
 enum    margserr {  
         ARGS_EOLN,  
         ARGS_WORD,  
         ARGS_QWORD  
 };  
   
 extern  const struct man_macro *const man_macros;  extern  const struct man_macro *const man_macros;
   
 __BEGIN_DECLS  __BEGIN_DECLS
Line 80  void    man_node_delete(struct man *, struct man_node 
Line 75  void    man_node_delete(struct man *, struct man_node 
 void              man_hash_init(void);  void              man_hash_init(void);
 enum mant         man_hash_find(const char *);  enum mant         man_hash_find(const char *);
 int               man_macroend(struct man *);  int               man_macroend(struct man *);
 enum margserr     man_args(struct man *, int, int *, char *, char **);  
 int               man_valid_post(struct man *);  int               man_valid_post(struct man *);
 int               man_valid_pre(struct man *, struct man_node *);  int               man_valid_pre(struct man *, struct man_node *);
 int               man_unscope(struct man *,  int               man_unscope(struct man *,

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

CVSweb