aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_tree.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-15 18:23:27 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-15 18:23:27 +0000
commit8b20ea06fdb75740cead194d5c6826b4233ec500 (patch)
treeb96b67ef0785a2bf9f1db49cee82e8cc5da4843e /src/fs/fs_tree.h
parent34f5392dc97d411d437c963af3a6a8ade2529306 (diff)
downloadgnunet-8b20ea06fdb75740cead194d5c6826b4233ec500.tar.gz
gnunet-8b20ea06fdb75740cead194d5c6826b4233ec500.zip
-doxygen fixes, and fixing publish URI serization for proper resume
Diffstat (limited to 'src/fs/fs_tree.h')
-rw-r--r--src/fs/fs_tree.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/fs/fs_tree.h b/src/fs/fs_tree.h
index 5b1c2024f..cd25a6dd1 100644
--- a/src/fs/fs_tree.h
+++ b/src/fs/fs_tree.h
@@ -158,19 +158,28 @@ GNUNET_FS_tree_encoder_next (struct GNUNET_FS_TreeEncoder *te);
158 158
159 159
160/** 160/**
161 * Get the resulting URI from the encoding.
162 *
163 * @param te the tree encoder to clean up
164 * @return uri set to the resulting URI (if encoding finished), NULL otherwise
165 */
166struct GNUNET_FS_Uri *
167GNUNET_FS_tree_encoder_get_uri (struct GNUNET_FS_TreeEncoder *te);
168
169
170/**
161 * Clean up a tree encoder and return information 171 * Clean up a tree encoder and return information
162 * about the resulting URI or an error message. 172 * about possible errors.
163 * 173 *
164 * @param te the tree encoder to clean up 174 * @param te the tree encoder to clean up
165 * @param uri set to the resulting URI (if encoding finished)
166 * @param emsg set to an error message (if an error occured 175 * @param emsg set to an error message (if an error occured
167 * within the tree encoder; if this function is called 176 * within the tree encoder; if this function is called
168 * prior to completion and prior to an internal error, 177 * prior to completion and prior to an internal error,
169 * both "*uri" and "*emsg" will be set to NULL). 178 * both "*emsg" will be set to NULL).
170 */ 179 */
171void 180void
172GNUNET_FS_tree_encoder_finish (struct GNUNET_FS_TreeEncoder *te, 181GNUNET_FS_tree_encoder_finish (struct GNUNET_FS_TreeEncoder *te,
173 struct GNUNET_FS_Uri **uri, char **emsg); 182 char **emsg);
174 183
175 184
176#if 0 185#if 0
@@ -200,6 +209,7 @@ GNUNET_FS_tree_encoder_resume_get_data (const struct GNUNET_FS_TreeEncoder *te,
200void 209void
201GNUNET_FS_tree_encoder_resume (struct GNUNET_FS_TreeEncoder *te, 210GNUNET_FS_tree_encoder_resume (struct GNUNET_FS_TreeEncoder *te,
202 const void *data, size_t size); 211 const void *data, size_t size);
212
203#endif 213#endif
204 214
205#endif 215#endif