summaryrefslogtreecommitdiffabout
path: root/gammu/emb/gammu/depend/nokia/dct3trac/wmx-list.h
blob: 1e76af93a10626de24f0a14eb367b6601da7d5e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef WMX_TRACELIST_INCLUDED
#define WMX_TRACELIST_INCLUDED

struct wmx_tracetype {
	int 			type;
	char 			*desc;
};

struct wmx_tracelist {
	int 			max, entries;
	struct wmx_tracetype 	*records;
};

struct wmx_tracestruct {
	struct wmx_tracelist 	majors, minors;
};

struct wmx_tracestruct 	*wmx_tracestruct_load(char *listfile);
struct wmx_tracetype 	*wmx_tracestruct_querymajor(struct wmx_tracestruct * ts, int type);
struct wmx_tracetype 	*wmx_tracestruct_queryminor(struct wmx_tracestruct * ts, int type);

void wmx_tracestruct_free(struct wmx_tracestruct * ts);

#endif

/* How should editor hadle tabs in this file? Add editor commands here.
 * vim: noexpandtab sw=8 ts=8 sts=8:
 */