summaryrefslogtreecommitdiff
path: root/include/gsmd/state.h
blob: 7162b4f17f2c3fe699260117f46acbbe4641b3da (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
#ifndef _GSMD_STATE_H
#define _GSMD_STATE_H

#ifdef __GSMD__

#define GSMD_CIPHIND_CAPABLE		0x01
#define GSMD_CIPHIND_DISABLED_SIM	0x02
#define GSMD_CIPHIND_ACTIVE		0x04

struct gsmd_device_state {
	struct {
		unsigned int flags;
		unsigned int network_state_gsm;
		unsigned int network_state_gprs;
	} ciph_ind;
	unsigned int vibrator;
	unsigned int on;
	unsigned int registered;
        unsigned int ringing;
        struct gsmd_timer *ring_check;
};

#endif /* __GSMD__ */

#endif /* _GSMD_STATE_H */
personal git repositories of Harald Welte. Your mileage may vary