aboutsummaryrefslogtreecommitdiff
path: root/src/abd/abd_serialization.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/abd/abd_serialization.h')
-rw-r--r--src/abd/abd_serialization.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/abd/abd_serialization.h b/src/abd/abd_serialization.h
index cef9f42ef..21dc45a7b 100644
--- a/src/abd/abd_serialization.h
+++ b/src/abd/abd_serialization.h
@@ -11,7 +11,7 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
@@ -21,7 +21,7 @@
21 21
22/** 22/**
23 * @file abd/abd_serialization.h 23 * @file abd/abd_serialization.h
24 * @brief API to serialize and deserialize delegation chains 24 * @brief API to serialize and deserialize delegation chains
25 * and abds 25 * and abds
26 * @author Martin Schanzenbach 26 * @author Martin Schanzenbach
27 */ 27 */
@@ -136,6 +136,7 @@ GNUNET_ABD_delegation_chain_deserialize (
136 struct GNUNET_ABD_Delegation *dd, 136 struct GNUNET_ABD_Delegation *dd,
137 unsigned int c_count, 137 unsigned int c_count,
138 struct GNUNET_ABD_Delegate *cd); 138 struct GNUNET_ABD_Delegate *cd);
139
139size_t 140size_t
140GNUNET_ABD_delegates_get_size ( 141GNUNET_ABD_delegates_get_size (
141 unsigned int c_count, 142 unsigned int c_count,
@@ -151,15 +152,16 @@ GNUNET_ABD_delegates_serialize (
151 152
152int 153int
153GNUNET_ABD_delegates_deserialize (size_t len, 154GNUNET_ABD_delegates_deserialize (size_t len,
154 const char *src, 155 const char *src,
155 unsigned int c_count, 156 unsigned int c_count,
156 struct GNUNET_ABD_Delegate *cd); 157 struct GNUNET_ABD_Delegate *cd);
157 158
158int 159int
159GNUNET_ABD_delegate_serialize (struct GNUNET_ABD_Delegate *cred, 160GNUNET_ABD_delegate_serialize (struct GNUNET_ABD_Delegate *cred,
160 char **data); 161 char **data);
161 162
162struct GNUNET_ABD_Delegate * 163struct GNUNET_ABD_Delegate *
163GNUNET_ABD_delegate_deserialize (const char *data, size_t data_size); 164GNUNET_ABD_delegate_deserialize (const char *data, size_t data_size);
165
164#endif 166#endif
165/* end of abd_serialization.h */ 167/* end of abd_serialization.h */