/*
+ * 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.
#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_entry* entryp;
- 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