1
0
Fork 0
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:
Derek Dai 2017-02-23 14:20:34 +08:00
parent b0419509b8
commit 155060919e
No known key found for this signature in database
GPG key ID: E109CC97553EF009
8 changed files with 183 additions and 141 deletions

View file

@ -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();