File: eventmonitor.h

package info (click to toggle)
sleepd 2.15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 192 kB
  • sloc: ansic: 1,535; makefile: 50; sh: 36
file content (13 lines) | stat: -rw-r--r-- 280 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#define MAX_CHANNELS 64
struct event_data
{
	char events[MAX_CHANNELS][128];
	int channels[MAX_CHANNELS];
	int emactivity;
};

extern void *eventMonitor(void *);

extern pthread_mutex_t activity_mutex;
extern pthread_mutex_t condition_mutex;
extern pthread_cond_t condition_cond;