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

Diff for /mandoc/Attic/xml.c between version 1.21 and 1.23

version 1.21, 2008/12/09 17:09:12 version 1.23, 2008/12/10 10:43:57
Line 43  static int  xml_begin(struct md_mbuf *,
Line 43  static int  xml_begin(struct md_mbuf *,
                                 const struct md_args *,                                  const struct md_args *,
                                 const struct tm *,                                  const struct tm *,
                                 const char *, const char *,                                  const char *, const char *,
                                 enum roffmsec, const char *);                                  enum roffmsec, enum roffvol);
 static  int             xml_end(struct md_mbuf *,  static  int             xml_end(struct md_mbuf *,
                                 const struct md_args *);                                  const struct md_args *);
 static  ssize_t         xml_printtagname(struct md_mbuf *,  static  ssize_t         xml_printtagname(struct md_mbuf *,
Line 68  xml_printtagargs(struct md_mbuf *mbuf, const int *argc
Line 68  xml_printtagargs(struct md_mbuf *mbuf, const int *argc
                 if ( ! ml_nputs(mbuf, " ", 1, &res))                  if ( ! ml_nputs(mbuf, " ", 1, &res))
                         return(-1);                          return(-1);
   
                   /* FIXME: should puke on some, no? */
   
                 if ( ! ml_puts(mbuf, tokargnames[c], &res))                  if ( ! ml_puts(mbuf, tokargnames[c], &res))
                         return(-1);                          return(-1);
                 if ( ! ml_nputs(mbuf, "=\"", 2, &res))                  if ( ! ml_nputs(mbuf, "=\"", 2, &res))
Line 122  xml_printtagname(struct md_mbuf *mbuf, enum md_ns ns, 
Line 124  xml_printtagname(struct md_mbuf *mbuf, enum md_ns ns, 
 static int  static int
 xml_begin(struct md_mbuf *mbuf, const struct md_args *args,  xml_begin(struct md_mbuf *mbuf, const struct md_args *args,
                 const struct tm *tm, const char *os,                  const struct tm *tm, const char *os,
                 const char *title, enum roffmsec section,                  const char *title, enum roffmsec sec, enum roffvol vol)
                 const char *vol)  
 {  {
   
         if ( ! ml_puts(mbuf, "<?xml version=\"1.0\" "          if ( ! ml_puts(mbuf, "<?xml version=\"1.0\" "

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

CVSweb