aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-01-29 19:21:41 +0000
committerChristian Grothoff <christian@grothoff.org>2010-01-29 19:21:41 +0000
commit258bd33b0a8e26200d8bf36d8e65524a1069790d (patch)
treeb45169bffadac84468c33d1fd696ff81ee84a3b3 /src/fs/fs.h
parent65f29cbee10775c4ec627f01c115d1bebea88642 (diff)
downloadgnunet-258bd33b0a8e26200d8bf36d8e65524a1069790d.tar.gz
gnunet-258bd33b0a8e26200d8bf36d8e65524a1069790d.zip
finally compiles again
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r--src/fs/fs.h49
1 files changed, 20 insertions, 29 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h
index ae2e67654..d19f27b6f 100644
--- a/src/fs/fs.h
+++ b/src/fs/fs.h
@@ -1132,28 +1132,23 @@ struct SBlock
1132 1132
1133 1133
1134/** 1134/**
1135 * Message sent from a GNUnet (fs) publishing 1135 * Message sent from a GNUnet (fs) publishing activity to the
1136 * activity to the gnunet-fs-service to 1136 * gnunet-fs-service to initiate indexing of a file. The service is
1137 * initiate indexing of a file. The service 1137 * supposed to check if the specified file is available and has the
1138 * is supposed to check if the specified file 1138 * same cryptographic hash. It should then respond with either a
1139 * is available and has the same cryptographic 1139 * confirmation or a denial.
1140 * hash. It should then respond with either
1141 * a confirmation or a denial.
1142 * 1140 *
1143 * On OSes where this works, it is considered 1141 * On OSes where this works, it is considered acceptable if the
1144 * acceptable if the service only checks that 1142 * service only checks that the path, device and inode match (it can
1145 * the path, device and inode match (it can 1143 * then be assumed that the hash will also match without actually
1146 * then be assumed that the hash will also match 1144 * computing it; this is an optimization that should be safe given
1147 * without actually computing it; this is an 1145 * that the client is not our adversary).
1148 * optimization that should be safe given that
1149 * the client is not our adversary).
1150 */ 1146 */
1151struct IndexStartMessage 1147struct IndexStartMessage
1152{ 1148{
1153 1149
1154 /** 1150 /**
1155 * Message type will be 1151 * Message type will be GNUNET_MESSAGE_TYPE_FS_INDEX_START.
1156 * GNUNET_MESSAGE_TYPE_FS_INDEX_START.
1157 */ 1152 */
1158 struct GNUNET_MessageHeader header; 1153 struct GNUNET_MessageHeader header;
1159 1154
@@ -1216,12 +1211,10 @@ struct IndexInfoMessage
1216 1211
1217 1212
1218/** 1213/**
1219 * Message sent from a GNUnet (fs) unindexing 1214 * Message sent from a GNUnet (fs) unindexing activity to the
1220 * activity to the gnunet-fs-service to 1215 * gnunet-service-fs to indicate that a file will be unindexed. The
1221 * indicate that a file will be unindexed. The service 1216 * service is supposed to remove the file from the list of indexed
1222 * is supposed to remove the file from the 1217 * files and response with a confirmation message (even if the file
1223 * list of indexed files and response with
1224 * a confirmation message (even if the file
1225 * was already not on the list). 1218 * was already not on the list).
1226 */ 1219 */
1227struct UnindexMessage 1220struct UnindexMessage
@@ -1247,9 +1240,8 @@ struct UnindexMessage
1247 1240
1248 1241
1249/** 1242/**
1250 * Message sent from a GNUnet (fs) search 1243 * Message sent from a GNUnet (fs) search activity to the
1251 * activity to the gnunet-fs-service to 1244 * gnunet-service-fs to start a search.
1252 * start a search.
1253 */ 1245 */
1254struct SearchMessage 1246struct SearchMessage
1255{ 1247{
@@ -1308,10 +1300,9 @@ struct SearchMessage
1308 1300
1309 1301
1310/** 1302/**
1311 * Response from FS service with a result for 1303 * Response from FS service with a result for a previous FS search.
1312 * a previous FS search. Note that queries 1304 * Note that queries for DBLOCKS and IBLOCKS that have received a
1313 * for DBLOCKS and IBLOCKS that have received 1305 * single response are considered done.
1314 * a single response are considered done.
1315 */ 1306 */
1316struct ContentMessage 1307struct ContentMessage
1317{ 1308{