static char *s_chtml20_start_div_tag (void *pdoc, Node *node);
static char *s_chtml20_end_div_tag (void *pdoc, Node *node);
-static void s_init_chtml20(chtml20_t* chtml, Doc* doc, request_rec* r, device_table* spec);
+static void s_init_chtml20(chtml20_t *chtml, Doc *doc, request_rec *r, device_table *spec);
-static int s_chtml20_search_emoji(chtml20_t* chtml, char* txt, char** rslt);
+static int s_chtml20_search_emoji(chtml20_t *chtml, char *txt, char **rslt);
-static char* s_chtml20_chxjif_tag(void* pdoc, Node * node);
-static char* s_chtml20_text_tag(void* pdoc, Node* node);
+static char *s_chtml20_chxjif_tag(void *pdoc, Node *node);
+static char *s_chtml20_text_tag(void *pdoc, Node *node);
tag_handler chtml20_handler[] = {
* @param src [i] The character string before the converting is appointed.
* @return The character string after the converting is returned.
*/
-char*
+char *
chxj_exchange_chtml20(
- request_rec* r,
- device_table* spec,
- const char* src,
+ request_rec *r,
+ device_table *spec,
+ const char *src,
apr_size_t srclen,
- apr_size_t* dstlen,
- chxjconvrule_entry* entryp,
- cookie_t* cookie
+ apr_size_t *dstlen,
+ chxjconvrule_entry *entryp,
+ cookie_t *cookie
)
{
char *dst = NULL;
/*--------------------------------------------------------------------------*/
/* It converts it from CHTML to CHTML. */
/*--------------------------------------------------------------------------*/
- chxj_node_exchange(spec,r,(void*)&chtml20, &doc, qs_get_root(&doc), 0);
+ chxj_node_exchange(spec,r,(void *)&chtml20, &doc, qs_get_root(&doc), 0);
chtml20.out = chxj_buffered_write_flush(chtml20.out, &doc.buf);
dst = apr_pstrdup(r->pool, chtml20.out);
chxj_buffered_write_terminate(&doc.buf);
* @param spec [i] The pointer to the device_table
*/
static void
-s_init_chtml20(chtml20_t* chtml20, Doc* doc, request_rec* r, device_table* spec)
+s_init_chtml20(chtml20_t *chtml20, Doc *doc, request_rec *r, device_table *spec)
{
memset(doc, 0, sizeof(Doc));
memset(chtml20, 0, sizeof(chtml20_t));
* @return When corresponding EMOJI exists, it returns it excluding 0.
*/
static int
-s_chtml20_search_emoji(chtml20_t* chtml20, char* txt, char** rslt)
+s_chtml20_search_emoji(chtml20_t *chtml20, char *txt, char **rslt)
{
- emoji_t* ee;
- request_rec* r;
- device_table* spec;
+ emoji_t *ee;
+ request_rec *r;
+ device_table *spec;
int len;
spec = chtml20->spec;
* @param node [i] The HTML tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_html_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_html_tag(void *pdoc, Node *UNUSED(node))
{
- Doc* doc;
- request_rec* r;
- chtml20_t* chtml20;
+ Doc *doc;
+ request_rec *r;
+ chtml20_t *chtml20;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The HTML tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_html_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_html_tag(void *pdoc, Node *UNUSED(child))
{
- Doc* doc;
- request_rec* r;
- chtml20_t* chtml20;
+ Doc *doc;
+ request_rec *r;
+ chtml20_t *chtml20;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The META tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_meta_tag(void* pdoc, Node* node)
+static char *
+s_chtml20_start_meta_tag(void *pdoc, Node *node)
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
- Attr* attr;
- int content_type_flag;
- int refresh_flag;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+ Attr *attr;
+ int content_type_flag;
+ int refresh_flag;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
attr;
attr = qs_get_next_attr(doc,attr)) {
- char* name;
- char* value;
+ char *name;
+ char *value;
name = qs_get_attr_name(doc,attr);
value = qs_get_attr_value(doc,attr);
W20_L("=\"text/html; charset=Windows-31J\"");
}
else if (refresh_flag) {
- char* buf = apr_pstrdup(r->pool, value);
- char* sec;
- char* url;
+ char *buf = apr_pstrdup(r->pool, value);
+ char *sec;
+ char *url;
url = strchr(buf, ';');
if (url) {
* @param node [i] The META tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_meta_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_meta_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
+ chtml20_t *chtml20;
chtml20 = GET_CHTML20(pdoc);
* @param node [i] The HEAD tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_head_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_head_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The HEAD tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_head_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_head_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The TITLE tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_title_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_title_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The TITLE tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_title_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_title_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The BASE tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_base_tag(void* pdoc, Node* node)
+static char *
+s_chtml20_start_base_tag(void *pdoc, Node *node)
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
- Attr* attr;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+ Attr *attr;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
attr;
attr = qs_get_next_attr(doc,attr)) {
- char* name;
- char* value;
+ char *name;
+ char *value;
name = qs_get_attr_name(doc,attr);
value = qs_get_attr_value(doc,attr);
* @param node [i] The BASE tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_base_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_base_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The BODY tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_body_tag(void* pdoc, Node* node)
+static char *
+s_chtml20_start_body_tag(void *pdoc, Node *node)
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
- Attr* attr;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+ Attr *attr;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
for (attr = qs_get_attr(doc,node);
attr;
attr = qs_get_next_attr(doc,attr)) {
- char* name;
- char* value;
+ char *name;
+ char *value;
name = qs_get_attr_name(doc,attr);
value = qs_get_attr_value(doc,attr);
* @param node [i] The BODY tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_body_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_body_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The A tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_a_tag(void* pdoc, Node* node)
+static char *
+s_chtml20_start_a_tag(void *pdoc, Node *node)
{
- Attr* attr;
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ Attr *attr;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
attr;
attr = qs_get_next_attr(doc,attr)) {
- char* name;
- char* value;
+ char *name;
+ char *value;
name = qs_get_attr_name(doc,attr);
value = qs_get_attr_value(doc,attr);
* @param node [i] The A tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_a_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_a_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The BR tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_br_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_br_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The BR tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_br_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_br_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The TR tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_tr_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_tr_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The TR tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_tr_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_tr_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The FONT tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_font_tag(void* pdoc, Node* node)
+static char *
+s_chtml20_start_font_tag(void *pdoc, Node *node)
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
- Attr* attr;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+ Attr *attr;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
attr;
attr = qs_get_next_attr(doc,attr)) {
- char* name;
- char* value;
+ char *name;
+ char *value;
name = qs_get_attr_name(doc,attr);
value = qs_get_attr_value(doc,attr);
* @param node [i] The FONT tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_font_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_font_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The FORM tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_form_tag(void* pdoc, Node* node)
+static char *
+s_chtml20_start_form_tag(void *pdoc, Node *node)
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
- Attr* attr;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+ Attr *attr;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
attr;
attr = qs_get_next_attr(doc,attr)) {
- char* name;
- char* value;
+ char *name;
+ char *value;
name = qs_get_attr_name(doc,attr);
value = qs_get_attr_value(doc,attr);
* @param node [i] The FORM tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_form_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_form_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The INPUT tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_input_tag(void* pdoc, Node* node)
+static char *
+s_chtml20_start_input_tag(void *pdoc, Node *node)
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
- char* max_length = NULL;
- char* type = NULL;
- char* name = NULL;
- char* value = NULL;
- char* istyle = NULL;
- char* size = NULL;
- char* checked = NULL;
- char* accesskey = NULL;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+ char *max_length = NULL;
+ char *type = NULL;
+ char *name = NULL;
+ char *value = NULL;
+ char *istyle = NULL;
+ char *size = NULL;
+ char *checked = NULL;
+ char *accesskey = NULL;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The INPUT tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_input_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_input_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The CENTER tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_center_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_center_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The CENTER tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_center_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_center_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The UL tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_ul_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_ul_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The UL tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_ul_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_ul_tag(void *pdoc, Node *UNUSED(child))
{
chtml20_t* chtml20;
Doc* doc;
* @param node [i] The OL tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_ol_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_ol_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The OL tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_ol_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_ol_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The LI tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_li_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_li_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The LI tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_li_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_li_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The HR tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_hr_tag(void* pdoc, Node* node)
+static char *
+s_chtml20_start_hr_tag(void *pdoc, Node *node)
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
- Attr* attr;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+ Attr *attr;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
attr;
attr = qs_get_next_attr(doc,attr)) {
- char* name;
- char* value;
+ char *name;
+ char *value;
name = qs_get_attr_name(doc,attr);
value = qs_get_attr_value(doc,attr);
* @param node [i] The HR tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_hr_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_hr_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The IMG tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_img_tag(void* pdoc, Node* node)
+static char *
+s_chtml20_start_img_tag(void *pdoc, Node *node)
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
- Attr* attr;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+ Attr *attr;
#ifndef IMG_NOT_CONVERT_FILENAME
- device_table* spec;
+ device_table *spec;
#endif
chtml20 = GET_CHTML20(pdoc);
attr;
attr = qs_get_next_attr(doc,attr)) {
- char* name;
- char* value;
+ char *name;
+ char *value;
name = qs_get_attr_name(doc,attr);
value = qs_get_attr_value(doc,attr);
* @param node [i] The IMG tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_img_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_img_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The SELECT tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_select_tag(void* pdoc, Node* child)
+static char *
+s_chtml20_start_select_tag(void *pdoc, Node *child)
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
- Attr* attr;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+ Attr *attr;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
attr;
attr = qs_get_next_attr(doc,attr)) {
- char* nm;
- char* val;
+ char *nm;
+ char *val;
nm = qs_get_attr_name(doc,attr);
val = qs_get_attr_value(doc,attr);
* @param node [i] The SELECT tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_select_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_select_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The OPTION tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_option_tag(void* pdoc, Node* child)
+static char *
+s_chtml20_start_option_tag(void *pdoc, Node *child)
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
- Attr* attr;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+ Attr *attr;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
r = doc->r;
- char* selected = NULL;
- char* value = NULL;
+ char *selected = NULL;
+ char *value = NULL;
W20_L("<option");
for (attr = qs_get_attr(doc,child);
attr;
attr = qs_get_next_attr(doc,attr)) {
- char* nm;
- char* val;
+ char *nm;
+ char *val;
nm = qs_get_attr_name(doc,attr);
val = qs_get_attr_value(doc,attr);
* @param node [i] The OPTION tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_option_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_option_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The DIV tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_div_tag(void* pdoc, Node* child)
+static char *
+s_chtml20_start_div_tag(void *pdoc, Node *child)
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
- Attr* attr;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+ Attr *attr;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
attr;
attr = qs_get_next_attr(doc,attr)) {
- char* nm;
- char* val;
+ char *nm;
+ char *val;
nm = qs_get_attr_name(doc,attr);
val = qs_get_attr_value(doc,attr);
* @param node [i] The DIV tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_div_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_div_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The H1 tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_h1_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_h1_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The H1 tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_h1_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_h1_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The H2 tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_h2_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_h2_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The H2 tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_h2_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_h2_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The H3 tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_h3_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_h3_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The H3 tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_h3_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_h3_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The H4 tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_h4_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_h4_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The H4 tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_h4_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_h4_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The H5 tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_h5_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_h5_tag(void *pdoc, Node *UNUSED(node))
{
chtml20_t* chtml20;
Doc* doc;
* @param node [i] The H5 tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_h5_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_h5_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The H6 tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_h6_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_h6_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The H6 tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_h6_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_h6_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The PRE tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_pre_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_pre_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The PRE tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_pre_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_pre_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The P tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_p_tag(void* pdoc, Node* UNUSED(node))
+static char *
+s_chtml20_start_p_tag(void *pdoc, Node *UNUSED(node))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The P tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_p_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_p_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
}
-static char*
-s_chtml20_chxjif_tag(void* pdoc, Node* node)
+static char *
+s_chtml20_chxjif_tag(void *pdoc, Node *node)
{
- chtml20_t* chtml20;
- Doc* doc;
- Node* child;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ Node *child;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
* @param node [i] The TEXTAREA tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_start_textarea_tag(void* pdoc, Node* node)
+static char *
+s_chtml20_start_textarea_tag(void *pdoc, Node *node)
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
- Attr* attr;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+ Attr *attr;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
attr;
attr = qs_get_next_attr(doc,attr)) {
- char* name;
- char* value;
+ char *name;
+ char *value;
name = qs_get_attr_name(doc,attr);
value = qs_get_attr_value(doc,attr);
* @param node [i] The TEXTAREA tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml20_end_textarea_tag(void* pdoc, Node* UNUSED(child))
+static char *
+s_chtml20_end_textarea_tag(void *pdoc, Node *UNUSED(child))
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
chtml20 = GET_CHTML20(pdoc);
doc = chtml20->doc;
}
-static char*
-s_chtml20_text_tag(void* pdoc, Node* child)
+static char *
+s_chtml20_text_tag(void *pdoc, Node *child)
{
- chtml20_t* chtml20;
- Doc* doc;
- request_rec* r;
- char* textval;
- char* tmp;
- char* tdst;
- char one_byte[2];
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+ char *textval;
+ char *tmp;
+ char *tdst;
+ char one_byte[2];
int ii;
int tdst_len;