diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-12 19:07:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-12 19:07:40 +0000 |
commit | 6c471eeb15e27f8226492b4860a3c2acb94c5f25 (patch) | |
tree | a3a9dcba12ee5356c03056c10b7aba5367b2ef34 /src/include/gnunet_fs_service.h | |
parent | 16bcbbea7133fd2265d46bd2ae1dc70e8c9ba96f (diff) | |
download | gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.tar.gz gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.zip |
-consistently use struct GNUNET_HashCode
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r-- | src/include/gnunet_fs_service.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index 1f1e60f0f..eaff18320 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -91,7 +91,7 @@ typedef int (*GNUNET_FS_KeywordIterator) (void *cls, const char *keyword, | |||
91 | * @param key wherer to store the unique key | 91 | * @param key wherer to store the unique key |
92 | */ | 92 | */ |
93 | void | 93 | void |
94 | GNUNET_FS_uri_to_key (const struct GNUNET_FS_Uri *uri, GNUNET_HashCode * key); | 94 | GNUNET_FS_uri_to_key (const struct GNUNET_FS_Uri *uri, struct GNUNET_HashCode * key); |
95 | 95 | ||
96 | /** | 96 | /** |
97 | * Convert a URI to a UTF-8 String. | 97 | * Convert a URI to a UTF-8 String. |
@@ -341,7 +341,7 @@ GNUNET_FS_uri_sks_create (struct GNUNET_FS_Namespace *ns, const char *id, | |||
341 | * @return an FS URI for the given namespace and identifier | 341 | * @return an FS URI for the given namespace and identifier |
342 | */ | 342 | */ |
343 | struct GNUNET_FS_Uri * | 343 | struct GNUNET_FS_Uri * |
344 | GNUNET_FS_uri_sks_create_from_nsid (GNUNET_HashCode * nsid, const char *id); | 344 | GNUNET_FS_uri_sks_create_from_nsid (struct GNUNET_HashCode * nsid, const char *id); |
345 | 345 | ||
346 | 346 | ||
347 | /** | 347 | /** |
@@ -354,7 +354,7 @@ GNUNET_FS_uri_sks_create_from_nsid (GNUNET_HashCode * nsid, const char *id); | |||
354 | */ | 354 | */ |
355 | int | 355 | int |
356 | GNUNET_FS_uri_sks_get_namespace (const struct GNUNET_FS_Uri *uri, | 356 | GNUNET_FS_uri_sks_get_namespace (const struct GNUNET_FS_Uri *uri, |
357 | GNUNET_HashCode * nsid); | 357 | struct GNUNET_HashCode * nsid); |
358 | 358 | ||
359 | 359 | ||
360 | /** | 360 | /** |
@@ -1383,7 +1383,7 @@ struct GNUNET_FS_ProgressInfo | |||
1383 | /** | 1383 | /** |
1384 | * Hash-identifier for the namespace. | 1384 | * Hash-identifier for the namespace. |
1385 | */ | 1385 | */ |
1386 | GNUNET_HashCode id; | 1386 | struct GNUNET_HashCode id; |
1387 | 1387 | ||
1388 | } namespace; | 1388 | } namespace; |
1389 | 1389 | ||
@@ -2112,7 +2112,7 @@ GNUNET_FS_publish_sks_cancel (struct GNUNET_FS_PublishSksContext *psc); | |||
2112 | * @return GNUNET_OK to continue iteration, GNUNET_SYSERR to abort | 2112 | * @return GNUNET_OK to continue iteration, GNUNET_SYSERR to abort |
2113 | */ | 2113 | */ |
2114 | typedef int (*GNUNET_FS_IndexedFileProcessor) (void *cls, const char *filename, | 2114 | typedef int (*GNUNET_FS_IndexedFileProcessor) (void *cls, const char *filename, |
2115 | const GNUNET_HashCode * file_id); | 2115 | const struct GNUNET_HashCode * file_id); |
2116 | 2116 | ||
2117 | 2117 | ||
2118 | /** | 2118 | /** |
@@ -2252,7 +2252,7 @@ GNUNET_FS_namespace_delete (struct GNUNET_FS_Namespace *namespace, int freeze); | |||
2252 | * @param id hash identifier for the namespace | 2252 | * @param id hash identifier for the namespace |
2253 | */ | 2253 | */ |
2254 | typedef void (*GNUNET_FS_NamespaceInfoProcessor) (void *cls, const char *name, | 2254 | typedef void (*GNUNET_FS_NamespaceInfoProcessor) (void *cls, const char *name, |
2255 | const GNUNET_HashCode * id); | 2255 | const struct GNUNET_HashCode * id); |
2256 | 2256 | ||
2257 | 2257 | ||
2258 | /** | 2258 | /** |