diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
commit | 16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch) | |
tree | e09d4fe5191dc329b3e1b667f2914f8313bcba59 /src/fs/gnunet-service-fs_indexing.h | |
parent | 4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff) | |
download | gnunet-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.h | 42 |
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 | */ |
57 | int GNUNET_FS_handle_on_demand_block (const GNUNET_HashCode * key, | 57 | int |
58 | uint32_t size, const void *data, | 58 | GNUNET_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 | */ |
73 | void GNUNET_FS_handle_index_start (void *cls, | 73 | void |
74 | struct GNUNET_SERVER_Client *client, | 74 | GNUNET_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 | */ |
85 | void GNUNET_FS_handle_index_list_get (void *cls, | 85 | void |
86 | struct GNUNET_SERVER_Client *client, | 86 | GNUNET_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 | */ |
98 | void GNUNET_FS_handle_unindex (void *cls, struct GNUNET_SERVER_Client *client, | 97 | void |
99 | const struct GNUNET_MessageHeader *message); | 98 | GNUNET_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 | */ |
109 | int GNUNET_FS_indexing_init (const struct GNUNET_CONFIGURATION_Handle *c, | 109 | int |
110 | struct GNUNET_DATASTORE_Handle *d); | 110 | GNUNET_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 | */ |
116 | void GNUNET_FS_indexing_done (void); | 117 | void |
118 | GNUNET_FS_indexing_done (void); | ||
117 | 119 | ||
118 | 120 | ||
119 | #endif | 121 | #endif |