diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:51:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:51:21 +0000 |
commit | 6fd3e715cae09fa6e657c96f1c6f9711ee51f42f (patch) | |
tree | edbc42f37889069033e57da201fef242939a6e0f /src/fs/gnunet-service-fs_indexing.h | |
parent | 502af2167f7c218366666ca4944bd7cc54b5b19a (diff) | |
download | gnunet-6fd3e715cae09fa6e657c96f1c6f9711ee51f42f.tar.gz gnunet-6fd3e715cae09fa6e657c96f1c6f9711ee51f42f.zip |
indentation
Diffstat (limited to 'src/fs/gnunet-service-fs_indexing.h')
-rw-r--r-- | src/fs/gnunet-service-fs_indexing.h | 45 |
1 files changed, 19 insertions, 26 deletions
diff --git a/src/fs/gnunet-service-fs_indexing.h b/src/fs/gnunet-service-fs_indexing.h index c6ef53351..a5c8f6593 100644 --- a/src/fs/gnunet-service-fs_indexing.h +++ b/src/fs/gnunet-service-fs_indexing.h | |||
@@ -54,17 +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 | */ |
57 | int | 57 | int GNUNET_FS_handle_on_demand_block (const GNUNET_HashCode * key, |
58 | GNUNET_FS_handle_on_demand_block (const GNUNET_HashCode * key, | 58 | uint32_t size, const void *data, |
59 | uint32_t size, | 59 | enum GNUNET_BLOCK_Type type, |
60 | const void *data, | 60 | uint32_t priority, uint32_t anonymity, |
61 | enum GNUNET_BLOCK_Type type, | 61 | struct GNUNET_TIME_Absolute expiration, |
62 | uint32_t priority, | 62 | uint64_t uid, |
63 | uint32_t anonymity, | 63 | GNUNET_DATASTORE_DatumProcessor cont, |
64 | struct GNUNET_TIME_Absolute | 64 | void *cont_cls); |
65 | expiration, uint64_t uid, | ||
66 | GNUNET_DATASTORE_DatumProcessor cont, | ||
67 | void *cont_cls); | ||
68 | 65 | ||
69 | /** | 66 | /** |
70 | * Handle INDEX_START-message. | 67 | * Handle INDEX_START-message. |
@@ -73,10 +70,9 @@ GNUNET_FS_handle_on_demand_block (const GNUNET_HashCode * key, | |||
73 | * @param client identification of the client | 70 | * @param client identification of the client |
74 | * @param message the actual message | 71 | * @param message the actual message |
75 | */ | 72 | */ |
76 | void | 73 | void GNUNET_FS_handle_index_start (void *cls, |
77 | GNUNET_FS_handle_index_start (void *cls, | 74 | struct GNUNET_SERVER_Client *client, |
78 | struct GNUNET_SERVER_Client *client, | 75 | const struct GNUNET_MessageHeader *message); |
79 | const struct GNUNET_MessageHeader *message); | ||
80 | 76 | ||
81 | 77 | ||
82 | /** | 78 | /** |
@@ -86,10 +82,10 @@ GNUNET_FS_handle_index_start (void *cls, | |||
86 | * @param client identification of the client | 82 | * @param client identification of the client |
87 | * @param message the actual message | 83 | * @param message the actual message |
88 | */ | 84 | */ |
89 | void | 85 | void GNUNET_FS_handle_index_list_get (void *cls, |
90 | GNUNET_FS_handle_index_list_get (void *cls, | 86 | struct GNUNET_SERVER_Client *client, |
91 | struct GNUNET_SERVER_Client *client, | 87 | const struct GNUNET_MessageHeader |
92 | const struct GNUNET_MessageHeader *message); | 88 | *message); |
93 | 89 | ||
94 | 90 | ||
95 | /** | 91 | /** |
@@ -99,10 +95,8 @@ GNUNET_FS_handle_index_list_get (void *cls, | |||
99 | * @param client identification of the client | 95 | * @param client identification of the client |
100 | * @param message the actual message | 96 | * @param message the actual message |
101 | */ | 97 | */ |
102 | void | 98 | void GNUNET_FS_handle_unindex (void *cls, struct GNUNET_SERVER_Client *client, |
103 | GNUNET_FS_handle_unindex (void *cls, | 99 | const struct GNUNET_MessageHeader *message); |
104 | struct GNUNET_SERVER_Client *client, | ||
105 | const struct GNUNET_MessageHeader *message); | ||
106 | 100 | ||
107 | 101 | ||
108 | /** | 102 | /** |
@@ -112,9 +106,8 @@ GNUNET_FS_handle_unindex (void *cls, | |||
112 | * @param d datastore to use | 106 | * @param d datastore to use |
113 | * @return GNUNET_OK on success | 107 | * @return GNUNET_OK on success |
114 | */ | 108 | */ |
115 | int | 109 | int GNUNET_FS_indexing_init (const struct GNUNET_CONFIGURATION_Handle *c, |
116 | GNUNET_FS_indexing_init (const struct GNUNET_CONFIGURATION_Handle *c, | 110 | struct GNUNET_DATASTORE_Handle *d); |
117 | struct GNUNET_DATASTORE_Handle *d); | ||
118 | 111 | ||
119 | 112 | ||
120 | /** | 113 | /** |