summaryrefslogtreecommitdiff
path: root/p11-kit/p11-kit.h
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-06-07 12:58:38 +0000
committerStef Walter <stefw@collabora.co.uk>2011-06-07 12:58:38 +0000
commitb9a8a140cf09780671402e872130a51ec4f4b014 (patch)
tree63f7d4bbb427ef90f473b6c30e1567ff5281839a /p11-kit/p11-kit.h
parentb315f99c90d01104d6baa91ca0f2cfb32c920abd (diff)
Add p11_kit_space_strdup() function, and rename p11_kit_space_strlen()
* Print out module info in p11-kit tool.
Diffstat (limited to 'p11-kit/p11-kit.h')
-rw-r--r--p11-kit/p11-kit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/p11-kit/p11-kit.h b/p11-kit/p11-kit.h
index f60e4ae..96b9df3 100644
--- a/p11-kit/p11-kit.h
+++ b/p11-kit/p11-kit.h
@@ -72,6 +72,12 @@ CK_RV p11_kit_load_initialize_module (const char *module_p
const char* p11_kit_strerror (CK_RV rv);
+size_t p11_kit_space_strlen (const unsigned char *string,
+ size_t max_length);
+
+char* p11_kit_space_strdup (const unsigned char *string,
+ size_t max_length);
+
#ifdef __cplusplus
} /* extern "C" */
#endif