Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

charconvert.h

Go to the documentation of this file.
00001 
00011 /* {{{ Initial headers */
00012 /*
00013  * $LastChangedDate: 2004-04-01 18:34:17 +0200 (Thu, 01 Apr 2004) $
00014  * $LastChangedRevision: 50 $
00015  * $LastChangedBy: ckruse $
00016  *
00017  */
00018 /* }}} */
00019 
00020 #ifndef __CHARCONVERT_H
00021 #define __CHARCONVERT_H
00022 
00033 u_char *charset_convert(const u_char *toencode,size_t in_len,const u_char *from_charset,const u_char *to_charset,size_t *out_len_p);
00034 
00044 u_char *htmlentities(const u_char *string,int sq);
00045 
00054 size_t print_htmlentities_encoded(const u_char *string,int sq,FILE *handle);
00055 
00065 int utf8_to_unicode(const u_char *s,size_t n,u_int32_t *num);
00066 
00080 u_char *htmlentities_charset_convert(const u_char *toencode, const u_char *from, const u_char *to,size_t *outlen,int sq);
00081 
00094 u_char *charset_convert_entities(const u_char *toencode, size_t in_len,const u_char *from, const u_char *to,size_t *outlen);
00095 
00102 int is_valid_utf8_string(const u_char *str,size_t len);
00103 
00104 #endif
00105 
00106 /* eof */

Generated on Sun Apr 25 16:37:37 2004 for Classic Forum by doxygen 1.3.5