summaryrefslogtreecommitdiff
path: root/include/idManager.h
blob: 62e2651cd3ed3917597387b353e43fadac97cbc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


#ifndef ID_MANAGER_H

#define ID_MANAGER_H

#define MAX_ID		1000
#define ID_UNKNOWN	-1

#include "list.h"

extern void initListID();
extern int getNewID();
extern int isRegisterID(int id);
extern void delID(int id);
extern void replaceID(int old_id, int new_id);
extern void quitListID();

#endif