fs.h | fs.h | |||
---|---|---|---|---|
skipping to change at line 262 | skipping to change at line 262 | |||
* results (which should hence be excluded from what | * results (which should hence be excluded from what | |||
* the service returns); naturally, this only applies | * the service returns); naturally, this only applies | |||
* to queries that can have multiple results, such as | * to queries that can have multiple results, such as | |||
* those for KBLOCKS (KSK) and SBLOCKS (SKS) */ | * those for KBLOCKS (KSK) and SBLOCKS (SKS) */ | |||
}; | }; | |||
/** | /** | |||
* Response from FS service with a result for a previous FS search. | * Response from FS service with a result for a previous FS search. | |||
* Note that queries for DBLOCKS and IBLOCKS that have received a | * Note that queries for DBLOCKS and IBLOCKS that have received a | |||
* single response are considered done. This message is transmitted | * single response are considered done. This message is transmitted | |||
* between peers as well as between the service and a client. | * between peers. | |||
*/ | */ | |||
struct PutMessage | struct PutMessage | |||
{ | { | |||
/** | /** | |||
* Message type will be GNUNET_MESSAGE_TYPE_FS_PUT. | * Message type will be GNUNET_MESSAGE_TYPE_FS_PUT. | |||
*/ | */ | |||
struct GNUNET_MessageHeader header; | struct GNUNET_MessageHeader header; | |||
/** | /** | |||
skipping to change at line 285 | skipping to change at line 285 | |||
uint32_t type GNUNET_PACKED; | uint32_t type GNUNET_PACKED; | |||
/** | /** | |||
* When does this result expire? | * When does this result expire? | |||
*/ | */ | |||
struct GNUNET_TIME_AbsoluteNBO expiration; | struct GNUNET_TIME_AbsoluteNBO expiration; | |||
/* this is followed by the actual encrypted content */ | /* this is followed by the actual encrypted content */ | |||
}; | }; | |||
/** | ||||
* Response from FS service with a result for a previous FS search. | ||||
* Note that queries for DBLOCKS and IBLOCKS that have received a | ||||
* single response are considered done. This message is transmitted | ||||
* between the service and a client. | ||||
*/ | ||||
struct ClientPutMessage | ||||
{ | ||||
/** | ||||
* Message type will be GNUNET_MESSAGE_TYPE_FS_PUT. | ||||
*/ | ||||
struct GNUNET_MessageHeader header; | ||||
/** | ||||
* Type of the block (in big endian). Should never be zero. | ||||
*/ | ||||
uint32_t type GNUNET_PACKED; | ||||
/** | ||||
* When does this result expire? | ||||
*/ | ||||
struct GNUNET_TIME_AbsoluteNBO expiration; | ||||
/** | ||||
* When was the last time we've tried to download this block? | ||||
* (FOREVER if unknown/not relevant) | ||||
*/ | ||||
struct GNUNET_TIME_AbsoluteNBO last_transmission; | ||||
/* this is followed by the actual encrypted content */ | ||||
}; | ||||
GNUNET_NETWORK_STRUCT_END | GNUNET_NETWORK_STRUCT_END | |||
#endif | #endif | |||
/* end of fs.h */ | /* end of fs.h */ | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 35 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |