Statistics
| Branch: | Revision:

grapes / include / peer.h @ b9e0d721

History | View | Annotate | Download (395 Bytes)

1
/**
2
 * @file:   peer.h
3
 * @brief Peer structure definition.
4
 * @author: Alessandro Russo <russo@disi.unitn.it>
5
 *
6
 * @date December 15, 2009, 2:09 PM
7
 */
8

    
9
#ifndef _PEER_H
10
#define        _PEER_H
11

    
12
#include <sys/time.h>
13

    
14
struct peer {
15
    struct nodeID *id;
16
    struct timeval creation_timestamp;
17
    struct chunkID_set *bmap;
18
    struct timeval bmap_timestamp;
19
    int cb_size;
20
};
21

    
22

    
23
#endif        /* _PEER_H */