X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flibsystemd-terminal%2Fsysview-internal.h;h=f1fd4b5f5376b563909a21fb9bf45e01718de343;hb=a2360a467b50a62902eb612ff747df87bace81c5;hp=5aee9f67d8035b022bd8ee3d9574fb583e43bcd3;hpb=7ed3a638b2e4ffb5e76a0cf1a008e1c7233edb75;p=elogind.git diff --git a/src/libsystemd-terminal/sysview-internal.h b/src/libsystemd-terminal/sysview-internal.h index 5aee9f67d..f1fd4b5f5 100644 --- a/src/libsystemd-terminal/sysview-internal.h +++ b/src/libsystemd-terminal/sysview-internal.h @@ -39,7 +39,7 @@ struct sysview_device { sysview_seat *seat; - const char *name; + char *name; unsigned int type; union { @@ -64,6 +64,7 @@ struct sysview_session { sysview_seat *seat; char *name; char *path; + void *userdata; sd_bus_slot *slot_take_control; @@ -87,6 +88,7 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(sysview_session*, sysview_session_free); struct sysview_seat { sysview_context *context; char *name; + char *path; Hashmap *session_map; Hashmap *device_map; @@ -111,6 +113,7 @@ struct sysview_context { sd_bus *sysbus; struct udev *ud; uint64_t custom_sid; + unsigned int n_probe; Hashmap *seat_map; Hashmap *session_map; @@ -135,6 +138,7 @@ struct sysview_context { bool running : 1; bool scanned : 1; bool rescan : 1; + bool settled : 1; }; int sysview_context_rescan(sysview_context *c);