Revision 408ab77c

View differences:

include/chunkidset.h
1
#ifndef CHUNKIDSET_H
2
#define CHUNKIDSET_H
3

  
4
typedef struct chunkID_set ChunkIDSet;
5

  
6
struct chunkID_set *chunkID_set_init(void);
7
int chunkID_set_add_chunk(struct chunkID_set *h, int chunk_id, int priority);
8
int chunkID_size(const struct chunkID_set *h);
9
int chunkID_set_get_chunk(const struct chunkID_set *h, int i, int *priority);
10
void chunkID_clear(struct chunkID_set *h);
11

  
12
#endif	/* CHUNKIDSET_H */

Also available in: Unified diff