aboutsummaryrefslogtreecommitdiff
path: root/src/credential/credential_serialization.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/credential/credential_serialization.c')
-rw-r--r--src/credential/credential_serialization.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/credential/credential_serialization.c b/src/credential/credential_serialization.c
index 1fc72c203..1d23bb08c 100644
--- a/src/credential/credential_serialization.c
+++ b/src/credential/credential_serialization.c
@@ -34,11 +34,10 @@
34 34
35/** 35/**
36 * Calculate how many bytes we will need to serialize 36 * Calculate how many bytes we will need to serialize
37 * the given delegation chain and credential 37 * the given delegation chain
38 * 38 *
39 * @param d_count number of delegation chain entries 39 * @param ds_count number of delegation chain entries
40 * @param dd array of #GNUNET_CREDENTIAL_Delegation 40 * @param dsr array of #GNUNET_CREDENTIAL_DelegationSet
41 * @param cd a #GNUNET_CREDENTIAL_Credential
42 * @return the required size to serialize 41 * @return the required size to serialize
43 */ 42 */
44size_t 43size_t
@@ -62,8 +61,7 @@ GNUNET_CREDENTIAL_delegation_set_get_size (unsigned int ds_count,
62 * Serizalize the given delegation chain entries and credential 61 * Serizalize the given delegation chain entries and credential
63 * 62 *
64 * @param d_count number of delegation chain entries 63 * @param d_count number of delegation chain entries
65 * @param dd array of #GNUNET_CREDENTIAL_Delegation 64 * @param dsr array of #GNUNET_CREDENTIAL_DelegationSet
66 * @param cd a #GNUNET_CREDENTIAL_Credential
67 * @param dest_size size of the destination 65 * @param dest_size size of the destination
68 * @param dest where to store the result 66 * @param dest where to store the result
69 * @return the size of the data, -1 on failure 67 * @return the size of the data, -1 on failure
@@ -108,8 +106,7 @@ GNUNET_CREDENTIAL_delegation_set_serialize (unsigned int d_count,
108 * @param len size of the serialized delegation chain and cred 106 * @param len size of the serialized delegation chain and cred
109 * @param src the serialized data 107 * @param src the serialized data
110 * @param d_count the number of delegation chain entries 108 * @param d_count the number of delegation chain entries
111 * @param dd where to put the delegation chain entries 109 * @param dsr where to put the delegation chain entries
112 * @param cd where to put the credential data
113 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error 110 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
114 */ 111 */
115int 112int