diff options
Diffstat (limited to 'src/core/wee-string.h')
-rw-r--r-- | src/core/wee-string.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/wee-string.h b/src/core/wee-string.h index 45df857b5..5db751df2 100644 --- a/src/core/wee-string.h +++ b/src/core/wee-string.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org> + * Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org> * * This file is part of WeeChat, the extensible chat client. * @@ -85,12 +85,15 @@ extern char *string_iconv (int from_utf8, const char *from_code, extern char *string_iconv_to_internal (const char *charset, const char *string); extern char *string_iconv_from_internal (const char *charset, const char *string); -extern int string_iconv_fprintf (FILE *file, const char *data, ...); +extern int string_fprintf (FILE *file, const char *data, ...); extern char *string_format_size (unsigned long long size); extern void string_encode_base16 (const char *from, int length, char *to); extern int string_decode_base16 (const char *from, char *to); extern void string_encode_base64 (const char *from, int length, char *to); extern int string_decode_base64 (const char *from, char *to); +extern char *string_hex_dump (const char *data, int data_size, + int bytes_per_line, + const char *prefix, const char *suffix); extern int string_is_command_char (const char *string); extern const char *string_input_for_buffer (const char *string); extern char *string_replace_with_callback (const char *string, |