aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/misc/putget.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/erl_interface/src/misc/putget.h')
-rw-r--r--lib/erl_interface/src/misc/putget.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/erl_interface/src/misc/putget.h b/lib/erl_interface/src/misc/putget.h
index 8b0d4d3404..77ae168f8c 100644
--- a/lib/erl_interface/src/misc/putget.h
+++ b/lib/erl_interface/src/misc/putget.h
@@ -105,8 +105,12 @@
((EI_ULONGLONG)((unsigned char *)(s))[-2] << 8) | \
(EI_ULONGLONG)((unsigned char *)(s))[-1]))
-int ei_internal_get_atom(const char** bufp, char* p);
+int utf8_to_latin1(char* dst, const char* src, int slen, int destlen, enum erlang_char_encoding* res_encp);
+int latin1_to_utf8(char* dst, const char* src, int slen, int destlen, enum erlang_char_encoding* res_encp);
+int ei_internal_get_atom(const char** bufp, char* p, enum erlang_char_encoding*);
+int ei_internal_put_atom(char** bufp, const char* p, int slen, enum erlang_char_encoding);
#define get_atom ei_internal_get_atom
+#define put_atom ei_internal_put_atom
typedef union float_ext {
double d;