remote: close file on usteer_init_local_id fread fail
[project/usteer.git] / event.h
diff --git a/event.h b/event.h
index 57b35a0163554cf327be53f55d9a6dcd6eedfa1b..86d923256c63debdbbdcb7dc3a10110fc05a4ccb 100644 (file)
--- a/event.h
+++ b/event.h
@@ -30,6 +30,8 @@ enum uevent_select_reason {
        UEV_SELECT_REASON_LOAD,
 };
 
+#define UEV_SELECT_REASON_ALL ((1 << UEV_SELECT_REASON_NUM_ASSOC) | (1 << UEV_SELECT_REASON_SIGNAL) | (1 << UEV_SELECT_REASON_LOAD))
+
 struct uevent {
        enum uevent_type type;
        enum uevent_reason reason;