tizen 2.3 release
[framework/system/deviced.git] / src / logd / src / shared / proc-events.h
1 #ifndef _LOGD_PROC_EVENTS_H_
2 #define _LOGD_PROC_EVENTS_H_
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include <sys/socket.h>
9 #include <linux/netlink.h>
10 #include <linux/connector.h>
11 #include <linux/cn_proc.h>
12
13 int subscribe_on_proc_events(int sock);
14 int process_proc_event_answer(int sock,
15         int (*process_cb)(struct proc_event *e, void *user_data), void *user_data);
16
17 #ifdef __cplusplus
18 }
19 #endif
20
21 #endif /* _LOGD_PROC_EVENTS_H_ */