aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_indexing.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
commit16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch)
treee09d4fe5191dc329b3e1b667f2914f8313bcba59 /src/fs/gnunet-service-fs_indexing.h
parent4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff)
downloadgnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.tar.gz
gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.zip
even nicer indentation, thanks to LRN's indent patch
Diffstat (limited to 'src/fs/gnunet-service-fs_indexing.h')
-rw-r--r--src/fs/gnunet-service-fs_indexing.h42
1 files changed, 22 insertions, 20 deletions
diff --git a/src/fs/gnunet-service-fs_indexing.h b/src/fs/gnunet-service-fs_indexing.h
index a5c8f6593..4295b2011 100644
--- a/src/fs/gnunet-service-fs_indexing.h
+++ b/src/fs/gnunet-service-fs_indexing.h
@@ -54,14 +54,14 @@
54 * @param cont_cls closure for cont 54 * @param cont_cls closure for cont
55 * @return GNUNET_OK on success 55 * @return GNUNET_OK on success
56 */ 56 */
57int GNUNET_FS_handle_on_demand_block (const GNUNET_HashCode * key, 57int
58 uint32_t size, const void *data, 58GNUNET_FS_handle_on_demand_block (const GNUNET_HashCode * key, uint32_t size,
59 enum GNUNET_BLOCK_Type type, 59 const void *data, enum GNUNET_BLOCK_Type type,
60 uint32_t priority, uint32_t anonymity, 60 uint32_t priority, uint32_t anonymity,
61 struct GNUNET_TIME_Absolute expiration, 61 struct GNUNET_TIME_Absolute expiration,
62 uint64_t uid, 62 uint64_t uid,
63 GNUNET_DATASTORE_DatumProcessor cont, 63 GNUNET_DATASTORE_DatumProcessor cont,
64 void *cont_cls); 64 void *cont_cls);
65 65
66/** 66/**
67 * Handle INDEX_START-message. 67 * Handle INDEX_START-message.
@@ -70,9 +70,9 @@ int GNUNET_FS_handle_on_demand_block (const GNUNET_HashCode * key,
70 * @param client identification of the client 70 * @param client identification of the client
71 * @param message the actual message 71 * @param message the actual message
72 */ 72 */
73void GNUNET_FS_handle_index_start (void *cls, 73void
74 struct GNUNET_SERVER_Client *client, 74GNUNET_FS_handle_index_start (void *cls, struct GNUNET_SERVER_Client *client,
75 const struct GNUNET_MessageHeader *message); 75 const struct GNUNET_MessageHeader *message);
76 76
77 77
78/** 78/**
@@ -82,10 +82,9 @@ void GNUNET_FS_handle_index_start (void *cls,
82 * @param client identification of the client 82 * @param client identification of the client
83 * @param message the actual message 83 * @param message the actual message
84 */ 84 */
85void GNUNET_FS_handle_index_list_get (void *cls, 85void
86 struct GNUNET_SERVER_Client *client, 86GNUNET_FS_handle_index_list_get (void *cls, struct GNUNET_SERVER_Client *client,
87 const struct GNUNET_MessageHeader 87 const struct GNUNET_MessageHeader *message);
88 *message);
89 88
90 89
91/** 90/**
@@ -95,8 +94,9 @@ void GNUNET_FS_handle_index_list_get (void *cls,
95 * @param client identification of the client 94 * @param client identification of the client
96 * @param message the actual message 95 * @param message the actual message
97 */ 96 */
98void GNUNET_FS_handle_unindex (void *cls, struct GNUNET_SERVER_Client *client, 97void
99 const struct GNUNET_MessageHeader *message); 98GNUNET_FS_handle_unindex (void *cls, struct GNUNET_SERVER_Client *client,
99 const struct GNUNET_MessageHeader *message);
100 100
101 101
102/** 102/**
@@ -106,14 +106,16 @@ void GNUNET_FS_handle_unindex (void *cls, struct GNUNET_SERVER_Client *client,
106 * @param d datastore to use 106 * @param d datastore to use
107 * @return GNUNET_OK on success 107 * @return GNUNET_OK on success
108 */ 108 */
109int GNUNET_FS_indexing_init (const struct GNUNET_CONFIGURATION_Handle *c, 109int
110 struct GNUNET_DATASTORE_Handle *d); 110GNUNET_FS_indexing_init (const struct GNUNET_CONFIGURATION_Handle *c,
111 struct GNUNET_DATASTORE_Handle *d);
111 112
112 113
113/** 114/**
114 * Shutdown the module. 115 * Shutdown the module.
115 */ 116 */
116void GNUNET_FS_indexing_done (void); 117void
118GNUNET_FS_indexing_done (void);
117 119
118 120
119#endif 121#endif