OSDN Git Service

*** empty log message ***
[modchxj/mod_chxj.git] / include / chxj_chtml20.h
1 /*
2  * Copyright (C) 2005 QSDN,Inc. All rights reserved.
3  * Copyright (C) 2005 Atsushi Konno All rights reserved.
4  *
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
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
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.
16  */
17 #ifndef __CHXJ_CHTM20_H__
18 #define __CHXJ_CHTM20_H__
19
20 /*#define DUMP_CHTML20 ""*/
21 #include "mod_chxj.h"
22 /*----------------------------------------------------------------------------*/
23 /* Structure for CHTML2.0                                                     */
24 /*----------------------------------------------------------------------------*/
25 typedef struct _ctml20_t {
26     Doc*               doc;
27     char*              out;
28     int                out_len;
29     int                pre_flag;
30     int                textarea_flag;
31
32     device_table*      spec;
33     mod_chxj_config*   conf;
34     chxjconvrule_entry* entryp;
35 } chtml20_t;
36
37 /*----------------------------------------------------------------------------*/
38 /* Prototype                                                                  */
39 /*----------------------------------------------------------------------------*/
40 char*
41 chxj_exchange_chtml20(
42                   request_rec* r,
43                   device_table* spec,
44                   const char* src,
45                   apr_size_t srclen,
46                   apr_size_t *dstlen,
47                   chxjconvrule_entry* entryp,
48                   const char* cookie_id);
49 #endif