extern void
chxj_cookie_db_unlock(
request_rec* r,
- apr_file_t* file);
+ apr_file_t* file);
extern void chxj_delete_cookie(request_rec* r, char* cookie_id);
extern char*
chxj_load_emoji_data(
Doc* doc,
- apr_pool_t *p, mod_chxj_config* conf);
+ apr_pool_t *p,
+ mod_chxj_config* conf);
#endif
typedef struct qr_code_t qr_code_t;
-struct _qr_code_t {
+struct qr_code_t {
qr_code_found_t found;
qr_mode_change_t mode_change;
struct device_table_t {
struct device_table_t* next;
- const char* device_id;
+ const char* device_id;
const char* device_name;
spec_type html_spec_type;
int width;
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);
-char* qs_get_istyle_attr (Doc* doc, Node* tag, request_rec* r);
+extern char* qs_get_istyle_attr (Doc* doc, Node* tag, request_rec* r);
char* qs_get_maxlength_attr (Doc* doc, Node* tag, request_rec* r);
char* qs_get_size_attr (Doc* doc, Node* tag, request_rec* r);
char* qs_get_accesskey_attr (Doc* doc, Node* tag, request_rec* r);
chtml30->out = apr_pstrcat(r->pool,
chtml30->out,
" name=\"",
- value,
+ value,
"\"",
NULL);
}
DBG(r,"end chxj_rencoding()");
return (char*)src;
}
+
memset(ibuf, 0, ilen+1);
memcpy(ibuf, src, ilen);
hdml->card_cnt++;
s_output_to_hdml_out(hdml,
- apr_psprintf(r->pool,
- "<A TASK=GOSUB LABEL=\x93\xfc\x97\xcd DEST=#D%d "
+ apr_psprintf(r->pool,
+ "<A TASK=GOSUB LABEL=\x93\xfc\x97\xcd DEST=#D%d "
"VARS=\"V=$%s%02d\" RECEIVE=%s%02d>",
hdml->card_cnt,
s_get_form_no(r, hdml),
default: dst = apr_pstrcat(r->pool, dst,".30", NULL); break;
}
- if (spec->available_jpeg != 0)
+ if (spec->available_jpeg)
return apr_pstrcat(r->pool, dst,".jpg", NULL);
if (spec->available_png != 0)
static apr_status_t s_create_cache_file(request_rec* r,
const char* tmpfile,
device_table* spec,
- apr_finfo_t* st,
- query_string_param_t *qsp);
+ apr_finfo_t* st,
+ query_string_param_t* qsp);
static apr_status_t s_send_cache_file( device_table* spec,
query_string_param_t* query_string,
request_rec* r,
/* CHTML1.0 */
/*----------------------------------------------------------------------*/
jhtml->out = apr_pstrcat(r->pool,
- jhtml->out,
+ jhtml->out,
" accesskey=\"",
value,
"\"",