diff options
Diffstat (limited to 'src/plugins/plugin-api.h')
-rw-r--r-- | src/plugins/plugin-api.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/plugin-api.h b/src/plugins/plugin-api.h index 1f90cad85..7526213a8 100644 --- a/src/plugins/plugin-api.h +++ b/src/plugins/plugin-api.h @@ -33,6 +33,11 @@ extern int plugin_api_string_base_encode (int base, const char *from, extern int plugin_api_string_base_decode (int base, const char *from, char *to); +/* crypto */ +extern int plugin_api_crypto_hash (const void *data, int data_size, + const char *hash_algo, + void *hash, int *hash_size); + /* config */ extern void plugin_api_config_file_option_free (struct t_config_option *option); extern struct t_config_option *plugin_api_config_get (const char *option_name); |