OSDN Git Service

* version up.
[modchxj/mod_chxj.git] / include / chxj_jhtml.h
index 2fbec65..bce7ade 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_JHTML_H__
 
 /* #define DUMP_JHTML "" */
+
 #include "mod_chxj.h"
 #include "chxj_cookie.h"
 
 typedef struct jhtml_t jhtml_t;
 
 struct jhtml_t {
-    Doc*                doc;
-    char*               out;
+    Doc                 *doc;
+    char                *out;
     int                 out_len;
     int                 pre_flag;
     int                 textarea_flag;
+    int                 h1_align_flag;
+    int                 h2_align_flag;
+    int                 h3_align_flag;
+    int                 h4_align_flag;
+    int                 h5_align_flag;
+    int                 h6_align_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                                                                  */
 /*----------------------------------------------------------------------------*/
-extern char* chxj_exchange_jhtml(
-  request_rec*        r,
-  device_table*       spec,
-  const char*         src,
-  apr_size_t          srclen,
-  apr_size_t*         dstlen,
-  chxjconvrule_entryentryp,
-  cookie_t*           cookie);
+extern char *chxj_convert_jhtml(
+  request_rec               *r,
+  device_table              *spec,
+  const char                *src,
+  apr_size_t                srclen,
+  apr_size_t                *dstlen,
+  chxjconvrule_entry        *entryp,
+  cookie_t                  *cookie);
 
 #endif