summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/plugin-api.h')
-rw-r--r--src/plugins/plugin-api.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/plugin-api.h b/src/plugins/plugin-api.h
index 4eed26145..6cc6f1646 100644
--- a/src/plugins/plugin-api.h
+++ b/src/plugins/plugin-api.h
@@ -33,6 +33,9 @@ extern const char *plugin_api_ngettext (const char *single, const char *plural,
extern int plugin_api_crypto_hash (const void *data, int data_size,
const char *hash_algo,
void *hash, int *hash_size);
+extern int plugin_api_crypto_hash_file (const char *filename,
+ const char *hash_algo,
+ void *hash, int *hash_size);
extern int plugin_api_crypto_hash_pbkdf2 (const void *data, int data_size,
const char *hash_algo,
const void *salt, int salt_size,