device_table* spec, Doc* doc, Node* tag);
extern char* qs_get_destlang_attr(Doc* doc, Node* tag, request_rec* r);
+
extern char* qs_get_parse_attr(Doc* doc, Node* tag, request_rec* r);
#endif
extern void qs_all_free(
Doc* doc,
- const char* fname, int line);
+ const char* fname,
+ int line);
#endif
/*
* Prototype Declare
*/
-extern Node* qs_parse_file(Doc* doc, const char* filename) ;
+extern Node* qs_parse_file(
+ Doc* doc, const char* filename) ;
#endif
extern char* qs_get_node_value(Doc* doc,Node* node);
extern char* qs_get_node_name(Doc* doc, Node* node) ;
+
int qs_get_node_size(Doc* doc, Node* node) ;
Node* qs_get_child_node(Doc* doc, Node* node) ;
Node* qs_get_next_node(Doc* doc, Node* node) ;
entryp = chxj_apply_convrule(r, dconf->convrules);
if (! entryp->encoding) {
DBG(r,"none encoding.");
+ DBG(r,"end chxj_rencoding()");
return (char*)src;
}
mod_chxj_config* conf,
Node* node);
-static void
-s_set_device_data(
- Doc* doc, apr_pool_t* p, device_table_list* dtl, Node* node) ;
+static void s_set_device_data(
+ Doc* doc,
+ apr_pool_t* p, device_table_list* dtl, Node* node) ;
/**
static int
s_count_same_block(qr_ver_t ver, char* dst[])
{
- int module_count = v_module_count_table[ver];
+ int module_count;
int point;
int count;
int xx,yy;
+ module_count = v_module_count_table[ver];
+
point = 0;
for (yy = 0; yy < module_count-1; yy++) {
for (xx = 0; xx < module_count-1; xx++) {
attr->parent = NULL;
attr->name = NULL;
attr->value = NULL;
+
return attr;
}
/*
Node*
qs_parse_string(Doc* doc, const char* src, int srclen)
{
- int ii;
+ int ii;
char encoding[256];
char* osrc;
char* ibuf;
{
Node* node;
char* tag_name;
- char* sp = (char*)s;
- int ll = len;
- int next_point = 0;
+ char* sp;
+ int ll;
+ int next_point;
+
+ sp = (char*)s;
+ ll = len;
+ next_point = 0;
QX_LOGGER_DEBUG("start parse_tag()");