summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-01-07 11:01:09 +0100
committerStef Walter <stefw@gnome.org>2013-01-07 11:17:24 +0100
commit6ac5af8deece74c383c912f2003b9650c87317b8 (patch)
treee052b59c96d71e484af671cba78dc53db45cf749 /p11-kit
parente2b5bba185c96bf4ecddfe22d34ace02706122b4 (diff)
Fix documentation warnings.
* P11_KIT_URI_NO_MEMORY is an unexpected state, that will probably never actually be returned. But kept for API compatibility. * make distcheck doc fix
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/uri.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/p11-kit/uri.c b/p11-kit/uri.c
index b9eef1f..752d677 100644
--- a/p11-kit/uri.c
+++ b/p11-kit/uri.c
@@ -117,6 +117,12 @@
*/
/**
+ * P11_KIT_URI_NO_MEMORY:
+ *
+ * Unexpected memory allocation failure result. Same as #P11_KIT_URI_UNEXPECTED.
+ */
+
+/**
* P11_KIT_URI_SCHEME:
*
* String of URI scheme for PKCS\#11 URIs.
@@ -468,7 +474,6 @@ uri_take_attribute (P11KitUri *uri, CK_ATTRIBUTE_PTR attr)
*
* Returns: %P11_KIT_URI_OK if the attribute was successfully set.
* %P11_KIT_URI_NOT_FOUND if the attribute was not valid for a URI.
- * %P11_KIT_URI_NO_MEMORY if allocation failed.
*/
int
p11_kit_uri_set_attribute (P11KitUri *uri, CK_ATTRIBUTE_PTR attr)
@@ -933,7 +938,6 @@ format_struct_version (char **string, size_t *length, int *is_first,
* The resulting string should be freed with free().
*
* Returns: %P11_KIT_URI_OK if the URI was formatted successfully.
- * %P11_KIT_URI_NO_MEMORY if memory allocation failed.
*/
int
p11_kit_uri_format (P11KitUri *uri, P11KitUriType uri_type, char **string)
@@ -1276,7 +1280,6 @@ parse_extra_info (const char *name, const char *start, const char *end,
* Returns: %P11_KIT_URI_OK if the URI was parsed successfully.
* %P11_KIT_URI_BAD_SCHEME if this was not a PKCS\#11 URI.
* %P11_KIT_URI_BAD_SYNTAX if the URI syntax was bad.
- * %P11_KIT_URI_NO_MEMORY if memory allocation failed.
* %P11_KIT_URI_BAD_VERSION if a version number was bad.
* %P11_KIT_URI_BAD_ENCODING if the URI encoding was invalid.
*/