size_t* img_len);
extern void
-chxj_qrcode_node_to_qrcode (qr_code_t* qrcode, Node* root);
+chxj_qrcode_node_to_qrcode(
+ qr_code_t* qrcode, Node* root);
extern char* chxj_qr_code_blob_handler (request_rec* r, const char* indata, size_t* len);
#endif
/* Resolution */
/*--------------------------------------------------------------------------*/
int dpi_width;
- int dpi_heigh;
+ int dpi_heigh;
/*--------------------------------------------------------------------------*/
/* Color number type */
/* 2 : 2 Colors */
/*----------------------------------------------------------------------------*/
/* prototype declare */
/*----------------------------------------------------------------------------*/
-extern char* qs_get_value_attr (Doc* doc, Node* tag, request_rec* r);
+extern char*
+qs_get_value_attr (Doc* doc, Node* tag, request_rec* r);
extern char* qs_get_checked_attr (Doc* doc, Node* tag, request_rec* r);
extern char* qs_get_type_attr (Doc* doc, Node* tag, request_rec* r);
extern char* qs_get_name_attr (Doc* doc, Node* tag, request_rec* r);
if (strcasecmp(name, "color") == 0) {
chtml30->out = apr_pstrcat(r->pool,
chtml30->out,
- " color=\"",
+ " color=\"",
value,
"\"",
NULL);
s_output_to_hdml_card(hdml,
" MARKABLE=FALSE>\n"
"<ACTION TYPE=ACCEPT TASK=RETURN RETVALS=$V>\n"
- "</ENTRY>\n");
+ "</ENTRY>\n");
if (val)
s_output_to_init_vars(hdml,
static apr_status_t s_header_only_cache_file(device_table* spec,
query_string_param_t* query_string,
request_rec* r,
- const char* tmpfile);
+ const char* tmpfile);
static query_string_param_t* s_get_query_string_param(request_rec *r);
static unsigned short s_add_crc( const char* writedata,
apr_size_t witebyte);
for (attr = qs_get_attr(doc,node);
attr;
attr = qs_get_next_attr(doc,attr)) {
- char* name = qs_get_attr_name(doc,attr);
- char* value = qs_get_attr_value(doc,attr);
+ char* name;
+ char* value;
+
+ name = qs_get_attr_name(doc,attr);
+ value = qs_get_attr_value(doc,attr);
if ((*name == 'c' || *name == 'C') && strcasecmp(name, "color") == 0) {
jhtml->out = apr_pstrcat(r->pool,
Doc* doc,
apr_pool_t* p,
mod_chxj_config* conf,
- Node* node) ;
+ Node* node);
static void s_set_device_data(Doc* doc, apr_pool_t* p, device_table_list* dtl, Node* node) ;
/**
* load device_data.xml