Statistics
| Branch: | Revision:

streamers / chunklock.h @ 3fcca057

History | View | Annotate | Download (318 Bytes)

1 7f591208 Csaba Kiraly
/*
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 abd2ef3b Csaba Kiraly
#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