mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
miracle-wfdctl: clarify teardown procedure of session
This commit is contained in:
parent
b0419509b8
commit
155060919e
8 changed files with 183 additions and 141 deletions
|
@ -198,6 +198,8 @@ struct wfd_sink
|
|||
union wfd_sube dev_info;
|
||||
char *label;
|
||||
struct wfd_session *session;
|
||||
|
||||
sd_event_source *session_cleanup_source;
|
||||
};
|
||||
|
||||
int wfd_sink_new(struct wfd_sink **out,
|
||||
|
@ -237,6 +239,8 @@ struct ctl_wfd
|
|||
struct shl_htable sessions;
|
||||
size_t n_sessions;
|
||||
uint64_t id_pool;
|
||||
|
||||
sd_event_source *signal_sources[4];
|
||||
};
|
||||
|
||||
struct ctl_wfd * ctl_wfd_get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue