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

Diff for /mandoc/Attic/private.h between version 1.14 and 1.18

version 1.14, 2008/11/28 11:21:12 version 1.18, 2008/11/30 18:50:44
Line 209  extern const char *const *tokargnames;
Line 209  extern const char *const *tokargnames;
 enum    roffmsg { ROFF_WARN, ROFF_ERROR };  enum    roffmsg { ROFF_WARN, ROFF_ERROR };
   
 struct  roffcb {  struct  roffcb {
         void    (*roffmsg)(const struct md_args *, enum roffmsg,          void    (*roffmsg)(void *, enum roffmsg,
                         const char *, const char *, const char *,                          const char *, const char *, char *);
                         int, char *);          int     (*roffhead)(void *);
         int     (*roffhead)(const struct md_args *);          int     (*rofftail)(void *);
         int     (*rofftail)(const struct md_args *);          int     (*roffin)(void *, int, int *, char **);
         int     (*roffin)(const struct md_args *, int, int *, char **);          int     (*roffdata)(void *, int, char *);
         int     (*roffout)(const struct md_args *, int);          int     (*roffout)(void *, int);
         int     (*roffblkin)(const struct md_args *, int);          int     (*roffblkin)(void *, int, int *, char **);
         int     (*roffblkout)(const struct md_args *, int);          int     (*roffblkout)(void *, int);
         int     (*roffspecial)(const struct md_args *, int);          int     (*roffspecial)(void *, int);
 };  };
   
 __BEGIN_DECLS  __BEGIN_DECLS
   
 typedef void  (*(*md_init)(const struct md_args *,  typedef void  (*(*md_init)(const struct md_args *,
                         struct md_mbuf *, const struct md_rbuf *));                          struct md_mbuf *, const struct md_rbuf *));
 typedef int     (*md_line)(void *, char *, size_t);  typedef int     (*md_line)(void *, char *);
 typedef int     (*md_exit)(void *, int);  typedef int     (*md_exit)(void *, int);
   
 void             *md_init_html4_strict(const struct md_args *,  void             *md_init_html4_strict(const struct md_args *,
                         struct md_mbuf *, const struct md_rbuf *);                          struct md_mbuf *, const struct md_rbuf *);
 int               md_line_html4_strict(void *, char *, size_t);  int               md_line_html4_strict(void *, char *);
 int               md_exit_html4_strict(void *, int);  int               md_exit_html4_strict(void *, int);
   
 void             *md_init_valid(const struct md_args *,  void             *md_init_valid(const struct md_args *,
                         struct md_mbuf *, const struct md_rbuf *);                          struct md_mbuf *, const struct md_rbuf *);
 int               md_line_valid(void *, char *, size_t);  int               md_line_valid(void *, char *);
 int               md_exit_valid(void *, int);  int               md_exit_valid(void *, int);
   
 int               md_buf_puts(struct md_mbuf *, const char *, size_t);  int               md_buf_puts(struct md_mbuf *, const char *, size_t);
Line 244  int     md_buf_putstring(struct md_mbuf *, const char 
Line 244  int     md_buf_putstring(struct md_mbuf *, const char 
   
 struct  rofftree;  struct  rofftree;
   
 struct  rofftree *roff_alloc(const struct md_args *,  struct  rofftree *roff_alloc(const struct roffcb *, void *);
                         struct md_mbuf *, const struct md_rbuf *,  int               roff_engine(struct rofftree *, char *);
                         const struct roffcb *);  
 int               roff_engine(struct rofftree *, char *, size_t);  
 int               roff_free(struct rofftree *, int);  int               roff_free(struct rofftree *, int);
   
 __END_DECLS  __END_DECLS

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.18

CVSweb