X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-client%2Fclient.h;h=56672e3820074a0b0e07df1b47864c6991060c3c;hb=15aaf28f0345ed6998ef6eae921c7750c4ce26f9;hp=2753f1ba9e3d37ae743fd839e1abd18aa18f27fc;hpb=66c497f4637276f390f1a7afaf7fe07616da9f1a;p=catta diff --git a/avahi-client/client.h b/avahi-client/client.h index 2753f1b..56672e3 100644 --- a/avahi-client/client.h +++ b/avahi-client/client.h @@ -33,6 +33,14 @@ /** \file client.h Definitions and functions for the client API over D-Bus */ +/** \example client-publish-service.c Example how to register a DNS-SD + * service using the client interface to avahi-daemon. It behaves like a network + * printer registering both an IPP and a BSD LPR service. */ + +/** \example client-browse-services.c Example how to browse for DNS-SD + * services using the client interface to avahi-daemon. */ + + #ifndef DOXYGEN_SHOULD_SKIP_THIS AVAHI_C_DECL_BEGIN #endif @@ -55,7 +63,7 @@ typedef struct AvahiServiceTypeBrowser AvahiServiceTypeBrowser; /** A service resolver object */ typedef struct AvahiServiceResolver AvahiServiceResolver; -/** States of a client object, note that AvahiServerStates are also emitted */ +/** States of a client object, a superset of AvahiServerState */ typedef enum { AVAHI_CLIENT_S_INVALID = AVAHI_SERVER_INVALID, AVAHI_CLIENT_S_REGISTERING = AVAHI_SERVER_REGISTERING,