1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 09:13:14 +02:00

api: add functions string_hash_binary and string_hash

This commit is contained in:
Sébastien Helleu
2020-02-29 21:02:42 +01:00
parent 7e808e2ef7
commit 410a5b341f
14 changed files with 700 additions and 22 deletions
+5
View File
@@ -118,6 +118,11 @@ extern int string_base64_decode (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 void string_hash_binary (const char *data, int length_data,
const char *hash_algo,
char **hash, int *length_hash);
extern char *string_hash (const char *data, int length_data,
const char *hash_algo);
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,