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

Diff for /texi2mdoc/extern.h between version 1.4 and 1.5

version 1.4, 2015/02/21 21:49:18 version 1.5, 2015/02/23 11:44:30
Line 124  enum texicmd {
Line 124  enum texicmd {
         TEXICMD_IMAGE,          TEXICMD_IMAGE,
         TEXICMD_INCLUDE,          TEXICMD_INCLUDE,
         TEXICMD_INDENTBLOCK,          TEXICMD_INDENTBLOCK,
         TEXICMD_INDEX,          TEXICMD_USER_INDEX,
         TEXICMD_INSERTCOPYING,          TEXICMD_INSERTCOPYING,
         TEXICMD_ITEM,          TEXICMD_ITEM,
         TEXICMD_ITEMIZE,          TEXICMD_ITEMIZE,
Line 134  enum texicmd {
Line 134  enum texicmd {
         TEXICMD_KINDEX,          TEXICMD_KINDEX,
         TEXICMD_LATEX,          TEXICMD_LATEX,
         TEXICMD_LOWERSECTIONS,          TEXICMD_LOWERSECTIONS,
           TEXICMD_MACRO,
         TEXICMD_MATH,          TEXICMD_MATH,
         TEXICMD_MENU,          TEXICMD_MENU,
         TEXICMD_MINUS,          TEXICMD_MINUS,
Line 256  struct texivalue {
Line 257  struct texivalue {
         char            *value;          char            *value;
 };  };
   
   struct  teximacro {
           char             *key;
           char             *value;
           char            **args;
           size_t            argsz;
   };
   
 /*  /*
  * The main parse structure.   * The main parse structure.
  * This keeps any necessary information handy.   * This keeps any necessary information handy.
Line 275  struct texi {
Line 283  struct texi {
         size_t            indexsz; /* entries in indexs */          size_t            indexsz; /* entries in indexs */
         struct texivalue *vals; /* @value entries */          struct texivalue *vals; /* @value entries */
         size_t            valsz; /* entries in vals */          size_t            valsz; /* entries in vals */
           struct teximacro *macros;
           size_t            macrosz;
         /*          /*
          * 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 298  void advance(struct texi *, const char *, size_t *);
Line 308  void advance(struct texi *, const char *, size_t *);
 size_t  advanceeoln(struct texi *, const char *, size_t, size_t *, int);  size_t  advanceeoln(struct texi *, const char *, size_t, size_t *, int);
 void    advanceto(struct texi *, const char *, size_t *, size_t);  void    advanceto(struct texi *, const char *, size_t *, size_t);
   
   char  **argparse(struct texi *, const char *, size_t, size_t *, size_t *);
   
 int     parsearg(struct texi *, const char *, size_t, size_t *, size_t);  int     parsearg(struct texi *, const char *, size_t, size_t *, size_t);
 void    parsebracket(struct texi *, const char *, size_t, size_t *);  void    parsebracket(struct texi *, const char *, size_t, size_t *);
 void    parsefile(struct texi *, const char *, int);  void    parsefile(struct texi *, const char *, int);
Line 310  void parseto(struct texi *, const char *, size_t, size
Line 322  void parseto(struct texi *, const char *, size_t, size
 void    texiabort(struct texi *, const char *)  void    texiabort(struct texi *, const char *)
                 __attribute__((noreturn));                  __attribute__((noreturn));
 enum texicmd  enum texicmd
         texicmd(struct texi *, const char *, size_t, size_t, size_t *);          texicmd(struct texi *, const char *, size_t, size_t,
                   size_t *, struct teximacro **);
 void    texierr(struct texi *, const char *, ...)  void    texierr(struct texi *, const char *, ...)
                 __attribute__((format(printf, 2, 3)))                  __attribute__((format(printf, 2, 3)))
                 __attribute__((noreturn));                  __attribute__((noreturn));

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CVSweb