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

Diff for /texi2mdoc/extern.h between version 1.21 and 1.26

version 1.21, 2015/03/01 00:25:07 version 1.26, 2015/03/05 08:35:35
Line 55  enum texicmd {
Line 55  enum texicmd {
         TEXICMD_AT,          TEXICMD_AT,
         TEXICMD_AUTHOR,          TEXICMD_AUTHOR,
         TEXICMD_B,          TEXICMD_B,
           TEXICMD_BACKSLASH,
         TEXICMD_BANG,          TEXICMD_BANG,
         TEXICMD_BULLET,          TEXICMD_BULLET,
         TEXICMD_BYE,          TEXICMD_BYE,
Line 373  struct teximacro {
Line 374  struct teximacro {
  */   */
 struct  texi {  struct  texi {
         const char       *chapters; /* are we splitting chapters */          const char       *chapters; /* are we splitting chapters */
         size_t            chapnum;          size_t            chapnum; /* current chapter node */
         char            **dirs; /* texi directories */          char            **dirs; /* texi directories */
         size_t            dirsz; /* number of texi directories */          size_t            dirsz; /* number of texi directories */
         FILE             *outfile;          FILE             *outfile; /* current output stream */
         /*          /*
          * Run-time parameters.           * Run-time parameters.
          */           */
Line 393  struct texi {
Line 394  struct texi {
         size_t            valsz; /* entries in vals */          size_t            valsz; /* entries in vals */
         struct teximacro *macros; /* @macro entries */          struct teximacro *macros; /* @macro entries */
         size_t            macrosz; /* entries in macros */          size_t            macrosz; /* entries in macros */
           char             *copying; /* the @copying block */
           size_t            copyingsz; /* length of @copying */
         /*          /*
          * The following control what we output to the screen.           * The following control what we output to the screen.
          * The complexity is required to accomodate for mdoc(7).           * The complexity is required to accomodate for mdoc(7).
Line 404  struct texi {
Line 407  struct texi {
         int               seenvs; /* newline has been Pp'd */          int               seenvs; /* newline has been Pp'd */
         int               ign; /* if >0, don't print anything */          int               ign; /* if >0, don't print anything */
         int               literal; /* if >0, literal context */          int               literal; /* if >0, literal context */
           int               uppercase; /* if >0, uppercase */
 };  };
   
 #define BUF(_p) ((_p)->files[(_p)->filepos - 1].map)  #define BUF(_p) ((_p)->files[(_p)->filepos - 1].map)
Line 444  void texifilepop(struct texi *);
Line 448  void texifilepop(struct texi *);
 void    teximacro(struct texi *, const char *);  void    teximacro(struct texi *, const char *);
 void    teximacroclose(struct texi *);  void    teximacroclose(struct texi *);
 void    teximacroopen(struct texi *, const char *);  void    teximacroopen(struct texi *, const char *);
 void    teximdocopen(struct texi *);  void    teximdocopen(struct texi *, size_t *);
 void    teximdocclose(struct texi *, int);  void    teximdocclose(struct texi *, int);
 void    texipunctuate(struct texi *, size_t *);  void    texipunctuate(struct texi *, size_t *);
 void    texiputbuf(struct texi *p, size_t, size_t);  void    texiputbuf(struct texi *p, size_t, size_t);
Line 453  void texiputchars(struct texi *, const char *);
Line 457  void texiputchars(struct texi *, const char *);
 void    texivspace(struct texi *);  void    texivspace(struct texi *);
 void    texiwarn(const struct texi *, const char *, ...)  void    texiwarn(const struct texi *, const char *, ...)
                 __attribute__((format(printf, 2, 3)));                  __attribute__((format(printf, 2, 3)));
 void    texisplice(struct texi *, const char *, size_t, size_t *);  void    texisplice(struct texi *, const char *, size_t, size_t);
   
 void    valueadd(struct texi *, char *, char *);  void    valueadd(struct texi *, char *, char *);
 const char *  const char *

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.26

CVSweb