paul@380 | 1 | /* Native functions for character set conversion. |
paul@380 | 2 | |
paul@664 | 3 | Copyright (C) 2016, 2017 Paul Boddie <paul@boddie.org.uk> |
paul@380 | 4 | |
paul@380 | 5 | This program is free software; you can redistribute it and/or modify it under |
paul@380 | 6 | the terms of the GNU General Public License as published by the Free Software |
paul@380 | 7 | Foundation; either version 3 of the License, or (at your option) any later |
paul@380 | 8 | version. |
paul@380 | 9 | |
paul@380 | 10 | This program is distributed in the hope that it will be useful, but WITHOUT |
paul@380 | 11 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
paul@380 | 12 | FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
paul@380 | 13 | details. |
paul@380 | 14 | |
paul@380 | 15 | You should have received a copy of the GNU General Public License along with |
paul@380 | 16 | this program. If not, see <http://www.gnu.org/licenses/>. |
paul@380 | 17 | */ |
paul@380 | 18 | |
paul@380 | 19 | #ifndef __NATIVE_ICONV_H__ |
paul@380 | 20 | #define __NATIVE_ICONV_H__ |
paul@380 | 21 | |
paul@380 | 22 | #include "types.h" |
paul@380 | 23 | |
paul@380 | 24 | /* Input/output. */ |
paul@380 | 25 | |
paul@664 | 26 | __attr __fn_native_iconv_iconv(__attr __self, __attr cd, __attr state); |
paul@664 | 27 | __attr __fn_native_iconv_iconv_close(__attr __self, __attr cd); |
paul@664 | 28 | __attr __fn_native_iconv_iconv_open(__attr __self, __attr tocode, __attr fromcode); |
paul@664 | 29 | __attr __fn_native_iconv_iconv_reset(__attr __self, __attr cd); |
paul@380 | 30 | |
paul@380 | 31 | /* Module initialisation. */ |
paul@380 | 32 | |
paul@380 | 33 | void __main_native_iconv(); |
paul@380 | 34 | |
paul@380 | 35 | #endif /* __NATIVE_ICONV_H__ */ |