2 * Copyright (C) 2005 QSDN,Inc. All rights reserved.
3 * Copyright (C) 2005 Atsushi Konno All rights reserved.
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 #ifndef __CHXJ_TAG_UTIL_H__
18 #define __CHXJ_TAG_UTIL_H__
22 /*----------------------------------------------------------------------------*/
23 /* prototype declare */
24 /*----------------------------------------------------------------------------*/
25 extern char* qs_get_value_attr(
30 extern char* qs_get_checked_attr(
35 extern char* qs_get_type_attr(
40 extern char* qs_get_name_attr(
45 extern char* qs_get_istyle_attr(
50 extern char* qs_get_maxlength_attr(
55 extern char* qs_get_size_attr(
60 extern char* qs_get_accesskey_attr(
65 extern int qs_is_checked_checkbox_attr(
70 extern char* qs_get_selected_value_text(
75 extern char* qs_get_selected_value(
80 extern char* qs_alloc_zero_byte_string(
83 extern char* qs_trim_string(request_rec* r, char* s);
85 extern int chxj_chxjif_is_mine(device_table* spec, Doc* doc, Node* tag);
86 extern char* qs_get_destlang_attr(Doc* doc, Node* tag, request_rec* r);
87 extern char* qs_get_parse_attr(Doc* doc, Node* tag, request_rec* r);