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

Diff for /mandoc/mdoc.h between version 1.63 and 1.67

version 1.63, 2009/07/12 20:24:24 version 1.67, 2009/07/24 12:48:18
Line 147 
Line 147 
 #define MDOC_En          115  #define MDOC_En          115
 #define MDOC_Dx          116  #define MDOC_Dx          116
 #define MDOC__Q          117  #define MDOC__Q          117
 #define MDOC_MAX         118  #define MDOC_br          118
   #define MDOC_sp          119
   #define MDOC_MAX         120
   
 /* What follows is a list of ALL possible macro arguments. */  /* What follows is a list of ALL possible macro arguments. */
   
Line 256  struct mdoc_node {
Line 258  struct mdoc_node {
         enum mdoc_type    type;          enum mdoc_type    type;
         enum mdoc_sec     sec;          enum mdoc_sec     sec;
   
         /* FIXME: union/struct this with #defines. */  
         struct mdoc_arg  *args;         /* BLOCK/ELEM */          struct mdoc_arg  *args;         /* BLOCK/ELEM */
         struct mdoc_node *head;         /* BLOCK */          struct mdoc_node *head;         /* BLOCK */
         struct mdoc_node *body;         /* BLOCK */          struct mdoc_node *body;         /* BLOCK */
Line 270  struct mdoc_node {
Line 271  struct mdoc_node {
 #define MDOC_IGN_CHARS   (1 << 3) /* Ignore disallowed chars. */  #define MDOC_IGN_CHARS   (1 << 3) /* Ignore disallowed chars. */
   
 /* Call-backs for parse messages. */  /* Call-backs for parse messages. */
 /* FIXME: unify somehow with man_cb. */  
 struct  mdoc_cb {  struct  mdoc_cb {
         int     (*mdoc_err)(void *, int, int, const char *);          int     (*mdoc_err)(void *, int, int, const char *);
         int     (*mdoc_warn)(void *, int, int, const char *);          int     (*mdoc_warn)(void *, int, int, const char *);
Line 294  int     mdoc_parseln(struct mdoc *, int, char *buf);
Line 295  int     mdoc_parseln(struct mdoc *, int, char *buf);
 const struct mdoc_node *mdoc_node(const struct mdoc *);  const struct mdoc_node *mdoc_node(const struct mdoc *);
 const struct mdoc_meta *mdoc_meta(const struct mdoc *);  const struct mdoc_meta *mdoc_meta(const struct mdoc *);
 int               mdoc_endparse(struct mdoc *);  int               mdoc_endparse(struct mdoc *);
   
 const char       *mdoc_a2lib(const char *);  
 const char       *mdoc_a2st(const char *);  
   
 __END_DECLS  __END_DECLS
   

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.67

CVSweb