summaryrefslogtreecommitdiffstats
path: root/charset.h
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-06-14 09:23:45 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-06-14 09:23:45 +0000
commitb176fd6ae5b1126c075d95449af3438ce744b18d (patch)
treeb647c91de706d3a9f35583d0f2b664322ab6ecb0 /charset.h
parent22a9b57716389d23b7ce97c4929fbcb11add4f80 (diff)
Remove recode-attachment, and the "decoder" API. (EGE)
Diffstat (limited to 'charset.h')
-rw-r--r--charset.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/charset.h b/charset.h
index cac2afae..e5e6849f 100644
--- a/charset.h
+++ b/charset.h
@@ -21,40 +21,6 @@
#include <iconv.h>
-#define DECODER_BUFFSIZE 4096
-
-struct decoder_buff
-{
- size_t size, used;
- char buff[DECODER_BUFFSIZE];
-};
-
-typedef struct decoder
-{
- /*short src_is_utf8;*/
- short just_take_id;
- short forced;
- char *outrepl;
-
- /* conversion descriptor */
- iconv_t cd;
-
- /* the buffers */
- struct decoder_buff in;
- struct decoder_buff out;
- struct decoder_buff *_in;
-}
-DECODER;
-
-DECODER *mutt_open_decoder (const char *, const char *);
-void mutt_decoder_push (DECODER *, void *, size_t, size_t *);
-void mutt_decoder_pop (DECODER *, void *, size_t, size_t *);
-void mutt_decoder_pop_to_state (DECODER *, STATE *);
-void mutt_free_decoder (DECODER **);
-int mutt_decoder_push_one (DECODER *, char);
-
-int mutt_recode_file (const char *, const char *, const char *);
-
int mutt_convert_string (char **, const char *, const char *);
iconv_t mutt_iconv_open (const char *, const char *);