diff options
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r-- | src/include/gnunet_fs_service.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index dbd885353..a13c3b91c 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -134,7 +134,7 @@ GNUNET_FS_uri_ksk_to_string_fancy (const struct GNUNET_FS_Uri *uri); | |||
134 | * @param is_mandatory is this keyword mandatory? | 134 | * @param is_mandatory is this keyword mandatory? |
135 | */ | 135 | */ |
136 | void | 136 | void |
137 | GNUNET_FS_uri_ksk_add_keyword (struct GNUNET_FS_Uri *uri, | 137 | GNUNET_FS_uri_ksk_add_keyword (struct GNUNET_FS_Uri *uri, |
138 | const char *keyword, | 138 | const char *keyword, |
139 | int is_mandatory); | 139 | int is_mandatory); |
140 | 140 | ||
@@ -303,7 +303,7 @@ GNUNET_FS_uri_ksk_create (const char *keywords, char **emsg); | |||
303 | * if keywords is not legal (i.e. empty). | 303 | * if keywords is not legal (i.e. empty). |
304 | */ | 304 | */ |
305 | struct GNUNET_FS_Uri * | 305 | struct GNUNET_FS_Uri * |
306 | GNUNET_FS_uri_ksk_create_from_args (unsigned int argc, | 306 | GNUNET_FS_uri_ksk_create_from_args (unsigned int argc, |
307 | const char **argv); | 307 | const char **argv); |
308 | 308 | ||
309 | 309 | ||
@@ -337,7 +337,7 @@ GNUNET_FS_uri_test_sks (const struct GNUNET_FS_Uri *uri); | |||
337 | * @return an FS URI for the given namespace and identifier | 337 | * @return an FS URI for the given namespace and identifier |
338 | */ | 338 | */ |
339 | struct GNUNET_FS_Uri * | 339 | struct GNUNET_FS_Uri * |
340 | GNUNET_FS_uri_sks_create (const struct GNUNET_CRYPTO_EccPublicSignKey *ns, | 340 | GNUNET_FS_uri_sks_create (const struct GNUNET_CRYPTO_EccPublicSignKey *ns, |
341 | const char *id); | 341 | const char *id); |
342 | 342 | ||
343 | 343 | ||
@@ -1698,7 +1698,7 @@ typedef int (*GNUNET_FS_FileInformationProcessor) (void *cls, | |||
1698 | * file information structures. | 1698 | * file information structures. |
1699 | * | 1699 | * |
1700 | * @param s structure to get the filename for | 1700 | * @param s structure to get the filename for |
1701 | * @return NULL on error, otherwise filename that can be used | 1701 | * @return NULL on error, otherwise filename that can be used |
1702 | * to read this fi-struct from disk. | 1702 | * to read this fi-struct from disk. |
1703 | */ | 1703 | */ |
1704 | const char * | 1704 | const char * |
@@ -2055,7 +2055,7 @@ struct GNUNET_FS_PublishSksContext; | |||
2055 | struct GNUNET_FS_PublishSksContext * | 2055 | struct GNUNET_FS_PublishSksContext * |
2056 | GNUNET_FS_publish_sks (struct GNUNET_FS_Handle *h, | 2056 | GNUNET_FS_publish_sks (struct GNUNET_FS_Handle *h, |
2057 | const struct GNUNET_CRYPTO_EccPrivateKey *ns, | 2057 | const struct GNUNET_CRYPTO_EccPrivateKey *ns, |
2058 | const char *identifier, | 2058 | const char *identifier, |
2059 | const char *update, | 2059 | const char *update, |
2060 | const struct GNUNET_CONTAINER_MetaData *meta, | 2060 | const struct GNUNET_CONTAINER_MetaData *meta, |
2061 | const struct GNUNET_FS_Uri *uri, | 2061 | const struct GNUNET_FS_Uri *uri, |
@@ -2146,10 +2146,10 @@ GNUNET_FS_unindex_stop (struct GNUNET_FS_UnindexContext *uc); | |||
2146 | * @param last_meta metadata associated with @a last_uri | 2146 | * @param last_meta metadata associated with @a last_uri |
2147 | * @param next_id identifier that should be used for updates | 2147 | * @param next_id identifier that should be used for updates |
2148 | */ | 2148 | */ |
2149 | typedef void (*GNUNET_FS_IdentifierProcessor) (void *cls, | 2149 | typedef void (*GNUNET_FS_IdentifierProcessor) (void *cls, |
2150 | const char *last_id, | 2150 | const char *last_id, |
2151 | const struct GNUNET_FS_Uri *last_uri, | 2151 | const struct GNUNET_FS_Uri *last_uri, |
2152 | const struct GNUNET_CONTAINER_MetaData *last_meta, | 2152 | const struct GNUNET_CONTAINER_MetaData *last_meta, |
2153 | const char *next_id); | 2153 | const char *next_id); |
2154 | 2154 | ||
2155 | 2155 | ||
@@ -2283,7 +2283,7 @@ enum GNUNET_FS_DownloadOptions | |||
2283 | * No options (use defaults for everything). | 2283 | * No options (use defaults for everything). |
2284 | */ | 2284 | */ |
2285 | GNUNET_FS_DOWNLOAD_OPTION_NONE = 0, | 2285 | GNUNET_FS_DOWNLOAD_OPTION_NONE = 0, |
2286 | 2286 | ||
2287 | /** | 2287 | /** |
2288 | * Only download from the local host, do not access remote systems (no P2P) | 2288 | * Only download from the local host, do not access remote systems (no P2P) |
2289 | */ | 2289 | */ |
@@ -2600,9 +2600,9 @@ enum GNUNET_FS_DirScannerProgressUpdateReason | |||
2600 | * #GNUNET_SYSERR if it is neither (or unknown) | 2600 | * #GNUNET_SYSERR if it is neither (or unknown) |
2601 | * @param reason kind of progress we are making | 2601 | * @param reason kind of progress we are making |
2602 | */ | 2602 | */ |
2603 | typedef void (*GNUNET_FS_DirScannerProgressCallback) (void *cls, | 2603 | typedef void (*GNUNET_FS_DirScannerProgressCallback) (void *cls, |
2604 | const char *filename, | 2604 | const char *filename, |
2605 | int is_directory, | 2605 | int is_directory, |
2606 | enum GNUNET_FS_DirScannerProgressUpdateReason reason); | 2606 | enum GNUNET_FS_DirScannerProgressUpdateReason reason); |
2607 | 2607 | ||
2608 | 2608 | ||
@@ -2685,9 +2685,9 @@ struct GNUNET_FS_DirScanner; | |||
2685 | */ | 2685 | */ |
2686 | struct GNUNET_FS_DirScanner * | 2686 | struct GNUNET_FS_DirScanner * |
2687 | GNUNET_FS_directory_scan_start (const char *filename, | 2687 | GNUNET_FS_directory_scan_start (const char *filename, |
2688 | int disable_extractor, | 2688 | int disable_extractor, |
2689 | const char *ex, | 2689 | const char *ex, |
2690 | GNUNET_FS_DirScannerProgressCallback cb, | 2690 | GNUNET_FS_DirScannerProgressCallback cb, |
2691 | void *cb_cls); | 2691 | void *cb_cls); |
2692 | 2692 | ||
2693 | 2693 | ||