• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

DNSSD

DNSSD Namespace Reference


Classes

class  AddRemoveEvent
class  DomainBrowser
 Class used to provide list of additional domains for browsing or publishing. More...
class  DomainModel
 DomainModel implements Qt Model interface around DomainBrowser to allow easy integration of domain discovery into GUI. More...
class  ErrorEvent
class  PublicService
 This class is most important for application that wants to announce its service on network. More...
class  PublishEvent
class  RemoteService
 RemoteService class allows to resolve service announced on remote machine. More...
class  ResolveEvent
class  Responder
 This class should not be used directly. More...
class  ServiceBase
 This class is used to carry information about service. More...
class  ServiceBrowser
 Most important class for applications that want to discover specific services on network. More...
class  ServiceModel
 ServiceModel implements Qt Model interface around ServiceBrowser to allow easy integration of service discovery into GUI. More...
class  ServiceTypeBrowser
 Class used to find all service types on network. More...

Enumerations

enum  Operation { SD_ERROR = 101, SD_ADDREMOVE, SD_PUBLISH, SD_RESOLVE }

Functions

QString DNSToDomain (const char *domain)
QString DNSToDomain (const QString &domain)
void domain_callback (DNSServiceRef, DNSServiceFlags flags, uint32_t, DNSServiceErrorType errorCode, const char *replyDomain, void *context)
bool domainIsLocal (const QString &domain)
QString domainToDNS (const QString &domain)
void publish_callback (DNSServiceRef, DNSServiceFlags, DNSServiceErrorType errorCode, const char *name, const char *, const char *, void *context)
void query_callback (DNSServiceRef, DNSServiceFlags flags, uint32_t, DNSServiceErrorType errorCode, const char *serviceName, const char *regtype, const char *replyDomain, void *context)
void registerTypes ()
void resolve_callback (DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType errorCode, const char *, const char *hosttarget, uint16_t port, uint16_t txtLen, const unsigned char *txtRecord, void *context)

Enumeration Type Documentation

enum DNSSD::Operation

Enumerator:
SD_ERROR 
SD_ADDREMOVE 
SD_PUBLISH 
SD_RESOLVE 

Definition at line 31 of file mdnsd-sdevent.h.


Function Documentation

QString DNSSD::DNSToDomain ( const char *  domain  ) 

Definition at line 78 of file mdnsd-responder.cpp.

QString DNSSD::DNSToDomain ( const QString &  domain  ) 

Definition at line 49 of file avahi_server_interface.cpp.

void DNSSD::domain_callback ( DNSServiceRef  ,
DNSServiceFlags  flags,
uint32_t  ,
DNSServiceErrorType  errorCode,
const char *  replyDomain,
void *  context 
)

Definition at line 110 of file mdnsd-domainbrowser.cpp.

bool DNSSD::domainIsLocal ( const QString &  domain  ) 

Return true if domain is link-local ('local.

')

Definition at line 82 of file servicebase.cpp.

QByteArray DNSSD::domainToDNS ( const QString &  domain  ) 

Definition at line 43 of file avahi_server_interface.cpp.

void DNSSD::publish_callback ( DNSServiceRef  ,
DNSServiceFlags  ,
DNSServiceErrorType  errorCode,
const char *  name,
const char *  ,
const char *  ,
void *  context 
)

Definition at line 175 of file mdnsd-publicservice.cpp.

void DNSSD::query_callback ( DNSServiceRef  ,
DNSServiceFlags  flags,
uint32_t  ,
DNSServiceErrorType  errorCode,
const char *  serviceName,
const char *  regtype,
const char *  replyDomain,
void *  context 
)

Definition at line 164 of file mdnsd-servicebrowser.cpp.

void DNSSD::registerTypes (  ) 

Definition at line 34 of file avahi_server_interface.cpp.

void DNSSD::resolve_callback ( DNSServiceRef  ,
DNSServiceFlags  ,
uint32_t  ,
DNSServiceErrorType  errorCode,
const char *  ,
const char *  hosttarget,
uint16_t  port,
uint16_t  txtLen,
const unsigned char *  txtRecord,
void *  context 
)

Definition at line 117 of file mdnsd-remoteservice.cpp.

DNSSD

Skip menu "DNSSD"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal