bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnu-libiconv] Fw:the lib can be cliped?


From: ruoge2007
Subject: [bug-gnu-libiconv] Fw:the lib can be cliped?
Date: Thu, 1 Sep 2011 11:36:54 +0800 (CST)




-------- Forwarding messages --------
From: ruoge2007 <address@hidden>
Date: 2011-09-01 11:34:54
To: address@hidden
Subject: the lib can be cliped?
i not read all files , the result lib maybe 1M, i think , is it can be cliped? i think as list:
-----------------
//clip.h
typedef void(*cb_gbk2312_utf8)( char * in, int insize, char * out, int outsize);
typedef struct 
{
 char f[128];
 char t[128];
 cb_gbk2312_utf8 cb;
} gbk2312_utf8_t;
typedef void(*cb_utf8_gbk2312)( char * in, int insize, char * out, int outsize);
typedef struct 
{
 char f[128];
 char t[128];
 cb_utf8_gbk2312 cb;
} utf8_gbk2312_t;
typedef union
{
 gbk2312_utf8_t gbk2312_utf8;
 utf8_gbk2312_t utf8_gbk2312;
}iconv_cb_map_t;
//clip.c
#include "clip.h"
void cb_gbk2312_utf8( char * in, int insize, char * out, int outsize);
static iconv_cb_map_t iconv_cb_map[] =
{
 {"gbk2312","utf8", cb_gbk2312_utf8}
};
void cb_gbk2312_utf8( char * in, int insize, char * out, int outsize)
{
//......
}
 
do you know what i mean?
 
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]