avahi: Prepare code for support of renderer discovery
commitda019696fbc76b7afea69b33f2c537c85a350a59
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sat, 19 Jan 2019 21:41:13 +0000 (19 22:41 +0100)
committerThomas Guillem <thomas@gllm.fr>
Mon, 21 Jan 2019 13:31:40 +0000 (21 14:31 +0100)
tree850697c92cfc13b27188bcbbbae4d0181fdd3fda
parent6d4afd268bbbf5c99609bd777d740a624cf7d705
avahi: Prepare code for support of renderer discovery

Instead of passing the services_discovery_t as userdata for the callbacks,
use a struct discovery_sys_t which is common for both the input and renderer
private data structures.

The discovery_sys_t is embedded into the service type specific private
member structs, i.e. struct services_discovery_sys_t (done here) and
struct vlc_renderer_discovery_sys (next patch).

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
modules/services_discovery/avahi.c