summaryrefslogtreecommitdiff
path: root/module/p11-unity.h
diff options
context:
space:
mode:
Diffstat (limited to 'module/p11-unity.h')
-rw-r--r--module/p11-unity.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/module/p11-unity.h b/module/p11-unity.h
index 52855f3..6ba0c10 100644
--- a/module/p11-unity.h
+++ b/module/p11-unity.h
@@ -35,22 +35,23 @@
#ifndef __P11_UNITY_H__
#define __P11_UNITY_H__
-CK_RV p11_unity_initialize (void);
+CK_RV p11_unity_initialize_registered (void);
-CK_RV p11_unity_finalize (void);
+CK_RV p11_unity_finalize_registered (void);
-char** p11_unity_module_names (void);
+char** p11_unity_registered_names (void);
-void p11_unity_free_names (char **module_names);
+CK_FUNCTION_LIST_PTR p11_unity_registered_module (const char *module_name);
-CK_FUNCTION_LIST_PTR p11_unity_module_functions (const char *module_name);
+void p11_unity_free_names (char **module_names);
-int p11_unity_module_add (const char *module_name,
- CK_FUNCTION_LIST_PTR module);
+char* p11_unity_registered_option (const char *module_name,
+ const char *field);
-int p11_unity_module_remove (const char *module_name);
+CK_RV p11_unity_initialize_module (CK_FUNCTION_LIST_PTR module,
+ CK_C_INITIALIZE_ARGS_PTR init_args);
-char* p11_unity_config_get_option (const char *module_name,
- const char *field);
+CK_RV p11_unity_finalize_module (CK_FUNCTION_LIST_PTR module,
+ CK_VOID_PTR reserved);
#endif /* __P11_UNITY_H__ */