openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
e2avahi.h File Reference

Go to the source code of this file.

Macros

#define E2AVAHI_EVENT_ADD   1
 
#define E2AVAHI_EVENT_REMOVE   2
 

Typedefs

typedef void(* E2AvahiResolveCallback) (void *userdata, int event, const char *name, const char *type, const char *host_name, uint16_t port)
 

Functions

void e2avahi_init (eMainloop *reactor)
 
void e2avahi_close ()
 
void e2avahi_announce (const char *service_name, const char *service_type, unsigned short port_num)
 
void e2avahi_resolve (const char *service_type, E2AvahiResolveCallback callback, void *userdata)
 
void e2avahi_resolve_cancel (const char *service_type, E2AvahiResolveCallback callback, void *userdata)
 

Macro Definition Documentation

◆ E2AVAHI_EVENT_ADD

#define E2AVAHI_EVENT_ADD   1

◆ E2AVAHI_EVENT_REMOVE

#define E2AVAHI_EVENT_REMOVE   2

Typedef Documentation

◆ E2AvahiResolveCallback

typedef void(* E2AvahiResolveCallback) (void *userdata, int event, const char *name, const char *type, const char *host_name, uint16_t port)

Function Documentation

◆ e2avahi_announce()

void e2avahi_announce ( const char *  service_name,
const char *  service_type,
unsigned short  port_num 
)

◆ e2avahi_close()

void e2avahi_close ( )

◆ e2avahi_init()

void e2avahi_init ( eMainloop reactor)

◆ e2avahi_resolve()

void e2avahi_resolve ( const char *  service_type,
E2AvahiResolveCallback  callback,
void *  userdata 
)

◆ e2avahi_resolve_cancel()

void e2avahi_resolve_cancel ( const char *  service_type,
E2AvahiResolveCallback  callback,
void *  userdata 
)