summaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-02 21:44:26 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-02 21:44:26 +0000
commitbfa934e76ae3cac505610447071984b4bc4c49f5 (patch)
tree9fc6156aab7fbaddee39d369fefc9ef2f229c892 /iconv
parent36654964b717ebbcc98a77a0eb5ca70428ede833 (diff)
(__gconv_btowc_fct): New typedef. (struct __gconv_step): New field __btowc_fct.
Diffstat (limited to 'iconv')
-rw-r--r--iconv/gconv.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/iconv/gconv.h b/iconv/gconv.h
index 78885c590d..d8be8fa8cf 100644
--- a/iconv/gconv.h
+++ b/iconv/gconv.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1997-1999, 2000-2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -71,6 +71,9 @@ typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *,
__const unsigned char **, __const unsigned char *,
unsigned char **, size_t *, int, int);
+/* Type of a specialized conversion function for a single byte to INTERNAL. */
+typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char);
+
/* Constructor and destructor for local data for conversion step. */
typedef int (*__gconv_init_fct) (struct __gconv_step *);
typedef void (*__gconv_end_fct) (struct __gconv_step *);
@@ -120,6 +123,7 @@ struct __gconv_step
char *__to_name;
__gconv_fct __fct;
+ __gconv_btowc_fct __btowc_fct;
__gconv_init_fct __init_fct;
__gconv_end_fct __end_fct;