summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal/sysview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-terminal/sysview.h')
-rw-r--r--src/libsystemd-terminal/sysview.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libsystemd-terminal/sysview.h b/src/libsystemd-terminal/sysview.h
index de6ff371db..b9452fab89 100644
--- a/src/libsystemd-terminal/sysview.h
+++ b/src/libsystemd-terminal/sysview.h
@@ -64,6 +64,8 @@ enum {
SYSVIEW_EVENT_SESSION_ATTACH,
SYSVIEW_EVENT_SESSION_DETACH,
SYSVIEW_EVENT_SESSION_CONTROL,
+
+ SYSVIEW_EVENT_DEVICE_CHANGE,
};
struct sysview_event {
@@ -94,6 +96,11 @@ struct sysview_event {
sysview_session *session;
int error;
} session_control;
+
+ struct {
+ sysview_device *device;
+ struct udev_device *ud;
+ } device_change;
};
};