diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-10-17 22:23:16 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-10-17 22:23:16 +0000 |
commit | 263515cd1d7b52ce2ad3dc55a93b9d6f730133f1 (patch) | |
tree | 89ac4314dea5cb976fdbffcd8eefce1d7e0222ea /avahi-core/publish.h | |
parent | 55f7dcb690bcbdf6bca6568e0d9aacb2456811a5 (diff) |
* move unicast DNS server registration/browsing routines to their own header dns-srv-rr.h
* remove some unused functions
* unexport some functions
* other cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@803 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/publish.h')
-rw-r--r-- | avahi-core/publish.h | 47 |
1 files changed, 1 insertions, 46 deletions
diff --git a/avahi-core/publish.h b/avahi-core/publish.h index a5b3025..a059a4b 100644 --- a/avahi-core/publish.h +++ b/avahi-core/publish.h @@ -28,19 +28,10 @@ * service using an embedded mDNS stack. It behaves like a network * printer registering both an IPP and a BSD LPR service. */ -#include <avahi-common/cdecl.h> - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -AVAHI_C_DECL_BEGIN -#endif - /** A group of locally registered DNS RRs */ typedef struct AvahiSEntryGroup AvahiSEntryGroup; -#ifndef DOXYGEN_SHOULD_SKIP_THIS -AVAHI_C_DECL_END -#endif - +#include <avahi-common/cdecl.h> #include <avahi-core/core.h> #ifndef DOXYGEN_SHOULD_SKIP_THIS @@ -206,42 +197,6 @@ int avahi_server_update_service_txt( const char *domain, ...) AVAHI_GCC_SENTINEL; -/** The type of DNS server */ -typedef enum { - AVAHI_DNS_SERVER_RESOLVE, /**< Unicast DNS servers for normal resolves (_domain._udp)*/ - AVAHI_DNS_SERVER_UPDATE, /**< Unicast DNS servers for updates (_dns-update._udp)*/ - AVAHI_DNS_SERVER_MAX -} AvahiDNSServerType; - -/** Publish the specified unicast DNS server address via mDNS. You may - * browse for records create this way wit - * avahi_s_dns_server_browser_new(). */ -int avahi_server_add_dns_server_address( - AvahiServer *s, - AvahiSEntryGroup *g, - AvahiIfIndex interface, - AvahiProtocol protocol, - AvahiPublishFlags flags, - const char *domain, - AvahiDNSServerType type, - const AvahiAddress *address, - uint16_t port /** should be 53 */); - -/** Similar to avahi_server_add_dns_server_address(), but specify a -host name instead of an address. The specified host name should be -resolvable via mDNS */ -int avahi_server_add_dns_server_name( - AvahiServer *s, - AvahiSEntryGroup *g, - AvahiIfIndex interface, - AvahiProtocol protocol, - AvahiPublishFlags flags, - const char *domain, - AvahiDNSServerType type, - const char *name, - uint16_t port /** should be 53 */); - - #ifndef DOXYGEN_SHOULD_SKIP_THIS AVAHI_C_DECL_END #endif |