00001 00009 #include "chunk.h" 00019 int sendChunk(struct nodeID *to, const struct chunk *c); 00020 00028 int chunkDeliveryInit(struct nodeID *myID); 00029 00030 00031 #if 0 00032 00035 typedef int (*ChunkNotification)(struct peer *from, struct chunk *c); 00036 00047 void registerSendChunkNotifier(struct peer *p, ChunkNotification *fn); 00048 #endif