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

Diff for /mandoc/mdoc.h between version 1.115 and 1.118

version 1.115, 2011/01/25 10:37:49 version 1.118, 2011/03/07 01:35:51
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008, 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 191  enum mdoc_type {
Line 191  enum mdoc_type {
         MDOC_BODY,          MDOC_BODY,
         MDOC_BLOCK,          MDOC_BLOCK,
         MDOC_TBL,          MDOC_TBL,
           MDOC_EQN,
         MDOC_ROOT          MDOC_ROOT
 };  };
   
Line 231  struct mdoc_meta {
Line 232  struct mdoc_meta {
         char             *msec; /* `Dt' section (1, 3p, etc.) */          char             *msec; /* `Dt' section (1, 3p, etc.) */
         char             *vol; /* `Dt' volume (implied) */          char             *vol; /* `Dt' volume (implied) */
         char             *arch; /* `Dt' arch (i386, etc.) */          char             *arch; /* `Dt' arch (i386, etc.) */
         time_t            date; /* `Dd' normalised date */          char             *date; /* `Dd' normalised date */
         char             *title; /* `Dt' title (FOO, etc.) */          char             *title; /* `Dt' title (FOO, etc.) */
         char             *os; /* `Os' system (OpenBSD, etc.) */          char             *os; /* `Os' system (OpenBSD, etc.) */
         char             *name; /* leading `Nm' name */          char             *name; /* leading `Nm' name */
Line 401  struct mdoc_node {
Line 402  struct mdoc_node {
         struct mdoc_node *tail; /* BLOCK */          struct mdoc_node *tail; /* BLOCK */
         char             *string; /* TEXT */          char             *string; /* TEXT */
         const struct tbl_span *span; /* TBL */          const struct tbl_span *span; /* TBL */
           const struct eqn *eqn; /* EQN */
         enum mdoc_endbody end; /* BODY */          enum mdoc_endbody end; /* BODY */
 };  };
   
Line 430  const struct mdoc_meta *mdoc_meta(const struct mdoc *)
Line 432  const struct mdoc_meta *mdoc_meta(const struct mdoc *)
 int               mdoc_endparse(struct mdoc *);  int               mdoc_endparse(struct mdoc *);
 int               mdoc_addspan(struct mdoc *,  int               mdoc_addspan(struct mdoc *,
                         const struct tbl_span *);                          const struct tbl_span *);
   int               mdoc_addeqn(struct mdoc *,
                           const struct eqn *);
   
 __END_DECLS  __END_DECLS
   

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.118

CVSweb