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

Diff for /mandoc/Attic/ml.h between version 1.15 and 1.16

version 1.15, 2008/12/10 12:09:47 version 1.16, 2008/12/10 17:31:57
Line 41  enum ml_scope {
Line 41  enum ml_scope {
         ML_CLOSE          ML_CLOSE
 };  };
   
   struct  ml_args {
           const struct md_args    *args;
           const struct md_rbuf    *rbuf;
           struct md_mbuf          *mbuf;
           int                      section;
           void                    *data;
   };
   
 struct  ml_cbs {  struct  ml_cbs {
         int     (*ml_begin)(struct md_mbuf *,          int     (*ml_begin)(struct ml_args *, const struct tm *,
                         const struct md_args *,  
                         const struct tm *,  
                         const char *, const char *,                          const char *, const char *,
                         enum roffmsec, enum roffvol);                          enum roffmsec, enum roffvol);
         int     (*ml_end)(struct md_mbuf *,          int     (*ml_end)(struct ml_args *, const struct tm *,
                         const struct md_args *,  
                         const struct tm *,  
                         const char *, const char *,                          const char *, const char *,
                         enum roffmsec, enum roffvol);                          enum roffmsec, enum roffvol);
         ssize_t (*ml_beginstring)(struct md_mbuf *,          ssize_t (*ml_beginstring)(struct ml_args *,
                         const struct md_args *,  
                         const char *, size_t);                          const char *, size_t);
         ssize_t (*ml_endstring)(struct md_mbuf *,          ssize_t (*ml_endstring)(struct ml_args *,
                         const struct md_args *,  
                         const char *, size_t);                          const char *, size_t);
         ssize_t (*ml_endtag)(struct md_mbuf *,          ssize_t (*ml_endtag)(struct ml_args *, enum md_ns, int);
                         void *, const struct md_args *,          ssize_t (*ml_begintag)(struct ml_args *, enum md_ns, int,
                         enum md_ns, int);  
         ssize_t (*ml_begintag)(struct md_mbuf *,  
                         void *, const struct md_args *,  
                         enum md_ns, int,  
                         const int *, const char **);                          const int *, const char **);
         int     (*ml_alloc)(void **);          int     (*ml_alloc)(void **);
         void    (*ml_free)(void *);          void    (*ml_free)(void *);
Line 81  int    ml_puts(struct md_mbuf *, const char *, size_t 
Line 79  int    ml_puts(struct md_mbuf *, const char *, size_t 
 int               ml_putchars(struct md_mbuf *,  int               ml_putchars(struct md_mbuf *,
                         char, size_t, size_t *);                          char, size_t, size_t *);
   
 /* FIXME: move into mlg.h or private.h. */  
 struct md_mlg    *mlg_alloc(const struct md_args *,  struct md_mlg    *mlg_alloc(const struct md_args *,
                         const struct md_rbuf *, struct md_mbuf *,                          const struct md_rbuf *, struct md_mbuf *,
                         const struct ml_cbs *);                          const struct ml_cbs *);

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

CVSweb