tivo: Add Avahi support
TiVo Bolt doesn't support the old TiVo Beacon discovery mechanism, so we need to support Bonjour discovery now. Use Avahi if it's available.
This commit is contained in:
9
avahi.h
Normal file
9
avahi.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "config.h"
|
||||
|
||||
#if defined(TIVO_SUPPORT) && defined(HAVE_AVAHI)
|
||||
void tivo_bonjour_register(void);
|
||||
void tivo_bonjour_unregister(void);
|
||||
#else
|
||||
static inline void tivo_bonjour_register(void) {};
|
||||
static inline void tivo_bonjour_unregister(void) {};
|
||||
#endif
|
||||
Reference in New Issue
Block a user