version 1.14, 2008/12/04 23:10:51 |
version 1.15, 2008/12/05 17:43:14 |
|
|
#include "ml.h" |
#include "ml.h" |
|
|
|
|
static ssize_t xml_endtag(struct md_mbuf *, |
static ssize_t xml_endtag(struct md_mbuf *, void *, |
const struct md_args *, |
const struct md_args *, |
enum md_ns, int); |
enum md_ns, int); |
static ssize_t xml_begintag(struct md_mbuf *, |
static ssize_t xml_begintag(struct md_mbuf *, void *, |
const struct md_args *, |
const struct md_args *, |
enum md_ns, int, |
enum md_ns, int, |
const int *, const char **); |
const int *, const char **); |
Line 77 xml_end(struct md_mbuf *mbuf, const struct md_args *ar |
|
Line 77 xml_end(struct md_mbuf *mbuf, const struct md_args *ar |
|
|
|
/* ARGSUSED */ |
/* ARGSUSED */ |
static ssize_t |
static ssize_t |
xml_begintag(struct md_mbuf *mbuf, const struct md_args *args, |
xml_begintag(struct md_mbuf *mbuf, void *data, |
enum md_ns ns, int tok, |
const struct md_args *args, enum md_ns ns, |
const int *argc, const char **argv) |
int tok, const int *argc, const char **argv) |
{ |
{ |
size_t res; |
size_t res; |
|
|
Line 117 xml_begintag(struct md_mbuf *mbuf, const struct md_arg |
|
Line 117 xml_begintag(struct md_mbuf *mbuf, const struct md_arg |
|
|
|
/* ARGSUSED */ |
/* ARGSUSED */ |
static ssize_t |
static ssize_t |
xml_endtag(struct md_mbuf *mbuf, const struct md_args *args, |
xml_endtag(struct md_mbuf *mbuf, void *data, |
enum md_ns ns, int tok) |
const struct md_args *args, enum md_ns ns, int tok) |
{ |
{ |
size_t res; |
size_t res; |
|
|
Line 173 md_init_xml(const struct md_args *args, |
|
Line 173 md_init_xml(const struct md_args *args, |
|
struct md_mbuf *mbuf, const struct md_rbuf *rbuf) |
struct md_mbuf *mbuf, const struct md_rbuf *rbuf) |
{ |
{ |
|
|
return(mlg_alloc(args, rbuf, mbuf, xml_begintag, |
return(mlg_alloc(args, NULL, rbuf, mbuf, xml_begintag, |
xml_endtag, xml_begin, xml_end)); |
xml_endtag, xml_begin, xml_end)); |
} |
} |
|
|