aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/connector.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/connector.h')
-rw-r--r--include/linux/connector.h34
1 files changed, 2 insertions, 32 deletions
diff --git a/include/linux/connector.h b/include/linux/connector.h
index 3a14615fd35c..3a779ffba60b 100644
--- a/include/linux/connector.h
+++ b/include/linux/connector.h
@@ -24,9 +24,6 @@
24 24
25#include <linux/types.h> 25#include <linux/types.h>
26 26
27#define CN_IDX_CONNECTOR 0xffffffff
28#define CN_VAL_CONNECTOR 0xffffffff
29
30/* 27/*
31 * Process Events connector unique ids -- used for message routing 28 * Process Events connector unique ids -- used for message routing
32 */ 29 */
@@ -43,6 +40,8 @@
43#define CN_DST_VAL 0x1 40#define CN_DST_VAL 0x1
44#define CN_IDX_DM 0x7 /* Device Mapper */ 41#define CN_IDX_DM 0x7 /* Device Mapper */
45#define CN_VAL_DM_USERSPACE_LOG 0x1 42#define CN_VAL_DM_USERSPACE_LOG 0x1
43#define CN_IDX_DRBD 0x8
44#define CN_VAL_DRBD 0x1
46 45
47#define CN_NETLINK_USERS 8 46#define CN_NETLINK_USERS 8
48 47
@@ -73,30 +72,6 @@ struct cn_msg {
73 __u8 data[0]; 72 __u8 data[0];
74}; 73};
75 74
76/*
77 * Notify structure - requests notification about
78 * registering/unregistering idx/val in range [first, first+range].
79 */
80struct cn_notify_req {
81 __u32 first;
82 __u32 range;
83};
84
85/*
86 * Main notification control message
87 * *_notify_num - number of appropriate cn_notify_req structures after
88 * this struct.
89 * group - notification receiver's idx.
90 * len - total length of the attached data.
91 */
92struct cn_ctl_msg {
93 __u32 idx_notify_num;
94 __u32 val_notify_num;
95 __u32 group;
96 __u32 len;
97 __u8 data[0];
98};
99
100#ifdef __KERNEL__ 75#ifdef __KERNEL__
101 76
102#include <asm/atomic.h> 77#include <asm/atomic.h>
@@ -149,11 +124,6 @@ struct cn_callback_entry {
149 u32 seq, group; 124 u32 seq, group;
150}; 125};
151 126
152struct cn_ctl_entry {
153 struct list_head notify_entry;
154 struct cn_ctl_msg *msg;
155};
156
157struct cn_dev { 127struct cn_dev {
158 struct cb_id id; 128 struct cb_id id;
159 129