summaryrefslogtreecommitdiff
path: root/source4/include/charset.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-03 00:17:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:22 -0500
commit6f214cc510a59b7a65ee9d4486baf14a3e579f73 (patch)
tree4e579f2500247716babf400b3bbf13039bacce02 /source4/include/charset.h
parentacb23b2c5fa02ebbee762a8bf4b9d1fec40d4fea (diff)
downloadsamba-6f214cc510a59b7a65ee9d4486baf14a3e579f73.tar.gz
samba-6f214cc510a59b7a65ee9d4486baf14a3e579f73.tar.bz2
samba-6f214cc510a59b7a65ee9d4486baf14a3e579f73.zip
r3494: got rid of include/rewrite.h, and split out the dynconfig.h header
(This used to be commit 558de54ec6432a4ae90aa14a585f32c6cd03ced2)
Diffstat (limited to 'source4/include/charset.h')
-rw-r--r--source4/include/charset.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/include/charset.h b/source4/include/charset.h
index 6c3ad2d916..ba1402acb3 100644
--- a/source4/include/charset.h
+++ b/source4/include/charset.h
@@ -42,3 +42,16 @@ struct charset_functions {
typedef uint32_t codepoint_t;
#define INVALID_CODEPOINT ((codepoint_t)-1)
+
+
+/* generic iconv conversion structure */
+typedef struct {
+ size_t (*direct)(void *cd, const char **inbuf, size_t *inbytesleft,
+ char **outbuf, size_t *outbytesleft);
+ size_t (*pull)(void *cd, const char **inbuf, size_t *inbytesleft,
+ char **outbuf, size_t *outbytesleft);
+ size_t (*push)(void *cd, const char **inbuf, size_t *inbytesleft,
+ char **outbuf, size_t *outbytesleft);
+ void *cd_direct, *cd_pull, *cd_push;
+} *smb_iconv_t;
+