diff options
Diffstat (limited to 'avahi-core/internal.h')
-rw-r--r-- | avahi-core/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/avahi-core/internal.h b/avahi-core/internal.h index 47a9c84..27edde8 100644 --- a/avahi-core/internal.h +++ b/avahi-core/internal.h @@ -180,6 +180,9 @@ void avahi_server_decrease_host_rr_pending(AvahiServer *s); int avahi_server_set_errno(AvahiServer *s, int error); +int avahi_server_is_service_local(AvahiServer *s, AvahiIfIndex interface, AvahiProtocol protocol, const char *name); +int avahi_server_is_record_local(AvahiServer *s, AvahiIfIndex interface, AvahiProtocol protocol, AvahiRecord *record); + int avahi_server_add_ptr( AvahiServer *s, AvahiSEntryGroup *g, @@ -191,6 +194,8 @@ int avahi_server_add_ptr( const char *dest); + + #define AVAHI_CHECK_VALIDITY_RETURN_NULL(server, expression, error) { \ if (!(expression)) { \ avahi_server_set_errno((server), (error)); \ |