static char* s_chtml10_end_tr_tag (void* pdoc, Node* node);
static char* s_chtml10_start_font_tag (void* pdoc, Node* node);
static char* s_chtml10_end_font_tag (void* pdoc, Node* node);
+static char* s_chtml10_start_input_tag (void* pdoc, Node* node);
+static char* s_chtml10_end_input_tag (void* pdoc, Node* node);
+static char* s_chtml10_start_form_tag (void* pdoc, Node* node);
+static char* s_chtml10_end_form_tag (void* pdoc, Node* node);
-static char* s_chtml10_start_form_tag (chtml10_t* chtml, Node* node);
-static char* s_chtml10_end_form_tag (chtml10_t* chtml, Node* node);
-static char* s_chtml10_start_input_tag (chtml10_t* chtml, Node* node);
-static char* s_chtml10_end_input_tag (chtml10_t* chtml, Node* node);
static char* s_chtml10_start_center_tag (chtml10_t* chtml, Node* node);
static char* s_chtml10_end_center_tag (chtml10_t* chtml, Node* node);
static char* s_chtml10_start_hr_tag (chtml10_t* chtml, Node* node);
s_chtml10_start_font_tag,
s_chtml10_end_font_tag,
},
+ /* tagFORM */
+ {
+ s_chtml10_start_form_tag,
+ s_chtml10_end_form_tag,
+ },
+ /* tagINPUT */
+ {
+ s_chtml10_start_input_tag,
+ s_chtml10_end_input_tag,
+ },
#if 0
- tagFORM,
- tagINPUT,
tagCENTER,
tagHR,
tagIMG,
/**
* It is a handler who processes the FORM tag.
*
- * @param chtml10 [i/o] The pointer to the CHTML structure at the output
+ * @param pdoc [i/o] The pointer to the CHTML structure at the output
* destination is specified.
* @param node [i] The FORM tag node is specified.
* @return The conversion result is returned.
*/
static char*
-s_chtml10_start_form_tag(chtml10_t* chtml10, Node* node)
+s_chtml10_start_form_tag(void* pdoc, Node* node)
{
- Doc* doc = chtml10->doc;
- request_rec* r = doc->r;
- Attr* attr;
+ chtml10_t* chtml10;
+ Doc* doc;
+ request_rec* r;
+ Attr* attr;
+
+ chtml10 = GET_CHTML10(pdoc);
+ doc = chtml10->doc;
+ r = doc->r;
chtml10->out = apr_pstrcat(r->pool, chtml10->out, "<form", NULL);
return chtml10->out;
}
+
/**
* It is a handler who processes the FORM tag.
*
- * @param chtml10 [i/o] The pointer to the CHTML structure at the output
+ * @param pdoc [i/o] The pointer to the CHTML structure at the output
* destination is specified.
* @param node [i] The FORM tag node is specified.
* @return The conversion result is returned.
*/
static char*
-s_chtml10_end_form_tag(chtml10_t* chtml10, Node* child)
+s_chtml10_end_form_tag(void* pdoc, Node* child)
{
- Doc* doc = chtml10->doc;
- request_rec* r = doc->r;
+ chtml10_t* chtml10;
+ Doc* doc;
+ request_rec* r;
+
+ chtml10 = GET_CHTML10(pdoc);
+ doc = chtml10->doc;
+ r = doc->r;
chtml10->out = apr_pstrcat(r->pool, chtml10->out, "</form>", NULL);
+
return chtml10->out;
}
+
/**
* It is a handler who processes the INPUT tag.
*
- * @param chtml10 [i/o] The pointer to the CHTML structure at the output
+ * @param pdoc [i/o] The pointer to the CHTML structure at the output
* destination is specified.
* @param node [i] The INPUT tag node is specified.
* @return The conversion result is returned.
*/
static char*
-s_chtml10_start_input_tag(chtml10_t* chtml10, Node* node)
+s_chtml10_start_input_tag(void* pdoc, Node* node)
{
- Doc* doc = chtml10->doc;
- request_rec* r = doc->r;
+ chtml10_t* chtml10;
+ Doc* doc;
+ request_rec* r;
char* max_length = NULL;
char* type = NULL;
char* name = NULL;
char* checked = NULL;
char* accesskey = NULL;
+ chtml10 = GET_CHTML10(pdoc);
+ doc = chtml10->doc;
+ r = doc->r;
+
chtml10->out = apr_pstrcat(r->pool, chtml10->out, "<input", NULL);
/*--------------------------------------------------------------------------*/
return chtml10->out;
}
+
/**
* It is a handler who processes the INPUT tag.
*
- * @param chtml10 [i/o] The pointer to the CHTML structure at the output
+ * @param pdoc [i/o] The pointer to the CHTML structure at the output
* destination is specified.
* @param node [i] The INPUT tag node is specified.
* @return The conversion result is returned.
*/
static char*
-s_chtml10_end_input_tag(chtml10_t* chtml10, Node* child)
+s_chtml10_end_input_tag(void* pdoc, Node* child)
{
+ chtml10_t* chtml10 = GET_CHTML10(pdoc);
+
return chtml10->out;
}
+
/**
* It is a handler who processes the CENTER tag.
*