Statistics
| Branch: | Revision:

streamers / chunklock.h @ 7f591208

History | View | Annotate | Download (318 Bytes)

1
/*
2
 *  Copyright (c) 2010 Csaba Kiraly
3
 *  Copyright (c) 2010 Luca Abeni
4
 *
5
 *  This is free software; see gpl-3.0.txt
6
 */
7
#ifndef CHUNKLOCK_H
8
#define CHUNKLOCK_H
9

    
10
#include <peer.h>
11

    
12
void chunk_lock(int chunkid,struct peer *from);
13
void chunk_unlock(int chunkid);
14
int chunk_islocked(int chunkid);
15

    
16
#endif //CHUNKLOCK_H