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

Diff for /mandoc/mdoc.h between version 1.66 and 1.68

version 1.66, 2009/07/17 10:56:57 version 1.68, 2009/08/20 13:22:48
Line 200  enum mdoc_sec {
Line 200  enum mdoc_sec {
         SEC_SYNOPSIS,          SEC_SYNOPSIS,
         SEC_DESCRIPTION,          SEC_DESCRIPTION,
         SEC_IMPLEMENTATION,          SEC_IMPLEMENTATION,
           /* FIXME: EXIT STATUS */
         SEC_RETURN_VALUES,          SEC_RETURN_VALUES,
         SEC_ENVIRONMENT,          SEC_ENVIRONMENT,
         SEC_FILES,          SEC_FILES,
         SEC_EXAMPLES,          SEC_EXAMPLES,
         SEC_DIAGNOSTICS,          SEC_DIAGNOSTICS,
Line 213  enum mdoc_sec {
Line 214  enum mdoc_sec {
         SEC_AUTHORS,          SEC_AUTHORS,
         SEC_CAVEATS,          SEC_CAVEATS,
         SEC_BUGS,          SEC_BUGS,
           /* FIXME: SECURITY CONSIDERATIONS */
         SEC_CUSTOM              /* User-defined. */          SEC_CUSTOM              /* User-defined. */
 };  };
   
Line 258  struct mdoc_node {
Line 260  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 272  struct mdoc_node {
Line 273  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 *);

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.68

CVSweb