diff options
author | Willow Liquorice <willow@howhill.com> | 2022-08-31 22:52:31 +0100 |
---|---|---|
committer | Willow Liquorice <willow@howhill.com> | 2022-10-03 00:44:24 +0100 |
commit | 308d54a985e18dd8765bf9cc394c16a21d2ee456 (patch) | |
tree | 4ade00858d44c92708a8b8061f0672883690b047 /src/reclaim/reclaim_credential.c | |
parent | 8367a2ac29f3c439df13391ac95e6785583888c1 (diff) | |
download | gnunet-308d54a985e18dd8765bf9cc394c16a21d2ee456.tar.gz gnunet-308d54a985e18dd8765bf9cc394c16a21d2ee456.zip |
-DOC: Pass through RECLAIM subsystem
Diffstat (limited to 'src/reclaim/reclaim_credential.c')
-rw-r--r-- | src/reclaim/reclaim_credential.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/reclaim/reclaim_credential.c b/src/reclaim/reclaim_credential.c index b4aeedf29..b1312f403 100644 --- a/src/reclaim/reclaim_credential.c +++ b/src/reclaim/reclaim_credential.c | |||
@@ -250,15 +250,6 @@ GNUNET_RECLAIM_credential_value_to_string (uint32_t type, | |||
250 | } | 250 | } |
251 | 251 | ||
252 | 252 | ||
253 | /** | ||
254 | * Create a new credential. | ||
255 | * | ||
256 | * @param attr_name the credential name | ||
257 | * @param type the credential type | ||
258 | * @param data the credential value | ||
259 | * @param data_size the credential value size | ||
260 | * @return the new credential | ||
261 | */ | ||
262 | struct GNUNET_RECLAIM_Credential * | 253 | struct GNUNET_RECLAIM_Credential * |
263 | GNUNET_RECLAIM_credential_new (const char *attr_name, | 254 | GNUNET_RECLAIM_credential_new (const char *attr_name, |
264 | uint32_t type, | 255 | uint32_t type, |
@@ -339,13 +330,6 @@ GNUNET_RECLAIM_credential_list_serialize ( | |||
339 | } | 330 | } |
340 | 331 | ||
341 | 332 | ||
342 | /** | ||
343 | * Deserialize an credential list | ||
344 | * | ||
345 | * @param data the serialized attribute list | ||
346 | * @param data_size the length of the serialized data | ||
347 | * @return a GNUNET_IDENTITY_PROVIDER_AttributeList, must be free'd by caller | ||
348 | */ | ||
349 | struct GNUNET_RECLAIM_CredentialList * | 333 | struct GNUNET_RECLAIM_CredentialList * |
350 | GNUNET_RECLAIM_credential_list_deserialize (const char *data, size_t data_size) | 334 | GNUNET_RECLAIM_credential_list_deserialize (const char *data, size_t data_size) |
351 | { | 335 | { |
@@ -454,13 +438,6 @@ GNUNET_RECLAIM_credential_serialize_get_size ( | |||
454 | } | 438 | } |
455 | 439 | ||
456 | 440 | ||
457 | /** | ||
458 | * Serialize an credential | ||
459 | * | ||
460 | * @param attr the credential to serialize | ||
461 | * @param result the serialized credential | ||
462 | * @return length of serialized data | ||
463 | */ | ||
464 | size_t | 441 | size_t |
465 | GNUNET_RECLAIM_credential_serialize ( | 442 | GNUNET_RECLAIM_credential_serialize ( |
466 | const struct GNUNET_RECLAIM_Credential *credential, | 443 | const struct GNUNET_RECLAIM_Credential *credential, |
@@ -627,12 +604,6 @@ GNUNET_RECLAIM_presentation_typename_to_number (const char *typename) | |||
627 | } | 604 | } |
628 | 605 | ||
629 | 606 | ||
630 | /** | ||
631 | * Convert an presentation type number to the corresponding presentation type string | ||
632 | * | ||
633 | * @param type number of a type | ||
634 | * @return corresponding typestring, NULL on error | ||
635 | */ | ||
636 | const char * | 607 | const char * |
637 | GNUNET_RECLAIM_presentation_number_to_typename (uint32_t type) | 608 | GNUNET_RECLAIM_presentation_number_to_typename (uint32_t type) |
638 | { | 609 | { |
@@ -758,13 +729,6 @@ GNUNET_RECLAIM_presentation_list_serialize_get_size ( | |||
758 | } | 729 | } |
759 | 730 | ||
760 | 731 | ||
761 | /** | ||
762 | * Serialize an attribute list | ||
763 | * | ||
764 | * @param attrs the attribute list to serialize | ||
765 | * @param result the serialized attribute | ||
766 | * @return length of serialized data | ||
767 | */ | ||
768 | size_t | 732 | size_t |
769 | GNUNET_RECLAIM_presentation_list_serialize ( | 733 | GNUNET_RECLAIM_presentation_list_serialize ( |
770 | const struct GNUNET_RECLAIM_PresentationList *presentations, | 734 | const struct GNUNET_RECLAIM_PresentationList *presentations, |
@@ -900,13 +864,6 @@ GNUNET_RECLAIM_presentation_serialize_get_size ( | |||
900 | } | 864 | } |
901 | 865 | ||
902 | 866 | ||
903 | /** | ||
904 | * Serialize an presentation | ||
905 | * | ||
906 | * @param attr the presentation to serialize | ||
907 | * @param result the serialized presentation | ||
908 | * @return length of serialized data | ||
909 | */ | ||
910 | size_t | 867 | size_t |
911 | GNUNET_RECLAIM_presentation_serialize ( | 868 | GNUNET_RECLAIM_presentation_serialize ( |
912 | const struct GNUNET_RECLAIM_Presentation *presentation, | 869 | const struct GNUNET_RECLAIM_Presentation *presentation, |