OSDN Git Service

* Added Sample Device Data.
[modchxj/mod_chxj.git] / include / chxj_chtml30.h
index f757d9f..5f58fa1 100644 (file)
@@ -1,6 +1,6 @@
 /*
+ * Copyright (C) 2005-2008 Atsushi Konno All rights reserved.
  * Copyright (C) 2005 QSDN,Inc. All rights reserved.
- * Copyright (C) 2005 Atsushi Konno All rights reserved.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -18,6 +18,7 @@
 #define __CHXJ_CHTM30_H__
 
 /* #define DUMP_CHTML30 "" */
+
 #include "mod_chxj.h"
 #include "chxj_cookie.h"
 
 /* Structure for CHTML3.0                                                     */
 /*----------------------------------------------------------------------------*/
 typedef struct chtml30_t chtml30_t;
+
 struct chtml30_t {
-    Doc*               doc;
-    char*              out;
-    int                out_len;
-    int                pre_flag;
-    int                textarea_flag;
+    Doc                 *doc;
+    char                *out;
+    int                 out_len;
+    int                 pre_flag;
+    int                 textarea_flag;
+    int                 font_flag;
 
-    device_table*       spec;
-    mod_chxj_config*    conf;
-    chxjconvrule_entryentryp;
-    cookie_t*           cookie;
+    device_table        *spec;
+    mod_chxj_config     *conf;
+    chxjconvrule_entry  *entryp;
+    cookie_t            *cookie;
 };
 
 /*----------------------------------------------------------------------------*/
 /* Prototype                                                                  */
 /*----------------------------------------------------------------------------*/
-char*
-chxj_exchange_chtml30(
-  request_rec*    r,
-  device_table*   spec,
-  const char*     src,
-  apr_size_t      srclen,
-  apr_size_t*     dstlen,
-  chxjconvrule_entry* entryp,
-  cookie_t*           cookie);
+extern char *chxj_convert_chtml30(
+  request_rec           *r,
+  device_table          *spec,
+  const char            *src,
+  apr_size_t            srclen,
+  apr_size_t            *dstlen,
+  chxjconvrule_entry    *entryp,
+  cookie_t              *cookie);
+
 #endif