Revision 0c6efcd5 include/peer.h

View differences:

include/peer.h
12 12
#include <sys/time.h>
13 13

  
14 14
struct peer {
15
    struct nodeID *id; ///< NodeId associated to the peer
16
    struct timeval creation_timestamp; ///< creation timestamp
17
    struct chunkID_set *bmap; ///< buffermap of the peer
18
    struct timeval bmap_timestamp; ///< buffermap timestamp
19
    void * metadata;
15
    /* Peer identifier, the nodeid associated with the peer */
16
    struct nodeID *id;
17

  
18
    /* Peer creation time */
19
    struct timeval creation_timestamp; 
20

  
21
    /* User defined data to be broadcasted in the network */
22
    void * metadata; 
23

  
24
    /* User defined data not to be sent over the network */
25
    void * user_data;
20 26
};
21 27

  
22 28

  

Also available in: Unified diff