#include <stdint.h>Go to the source code of this file.
| #define DNSSD_API |
| #define kDNSServiceInterfaceIndexAny 0 |
| #define kDNSServiceInterfaceIndexLocalOnly ( (uint32_t) -1 ) |
| #define kDNSServiceMaxDomainName 1005 |
| #define kDNSServiceMaxServiceName 64 |
| typedef struct _DNSRecordRef_t* DNSRecordRef |
| typedef void( * DNSServiceBrowseReply)(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *serviceName, const char *regtype, const char *replyDomain, void *context) |
| typedef void( * DNSServiceDomainEnumReply)(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *replyDomain, void *context) |
| typedef int32_t DNSServiceErrorType |
| typedef uint32_t DNSServiceFlags |
| typedef void( * DNSServiceQueryRecordReply)(DNSServiceRef DNSServiceRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context) |
| typedef struct _DNSServiceRef_t* DNSServiceRef |
| typedef void( * DNSServiceRegisterRecordReply)(DNSServiceRef sdRef, DNSRecordRef RecordRef, DNSServiceFlags flags, DNSServiceErrorType errorCode, void *context) |
| typedef void( * DNSServiceRegisterReply)(DNSServiceRef sdRef, DNSServiceFlags flags, DNSServiceErrorType errorCode, const char *name, const char *regtype, const char *domain, void *context) |
| typedef void( * DNSServiceResolveReply)(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *fullname, const char *hosttarget, uint16_t port, uint16_t txtLen, const char *txtRecord, void *context) |
| typedef union _TXTRecordRef_t TXTRecordRef |
| anonymous enum |
| anonymous enum |
| anonymous enum |
| DNSServiceErrorType DNSServiceAddRecord | ( | DNSServiceRef | sdRef, | |
| DNSRecordRef * | RecordRef, | |||
| DNSServiceFlags | flags, | |||
| uint16_t | rrtype, | |||
| uint16_t | rdlen, | |||
| const void * | rdata, | |||
| uint32_t | ttl | |||
| ) |
| DNSServiceErrorType DNSServiceBrowse | ( | DNSServiceRef * | sdRef, | |
| DNSServiceFlags | flags, | |||
| uint32_t | interfaceIndex, | |||
| const char * | regtype, | |||
| const char * | domain, | |||
| DNSServiceBrowseReply | callBack, | |||
| void * | context | |||
| ) |
| int DNSServiceConstructFullName | ( | char * | fullName, | |
| const char * | service, | |||
| const char * | regtype, | |||
| const char * | domain | |||
| ) |
| DNSServiceErrorType DNSServiceCreateConnection | ( | DNSServiceRef * | sdRef | ) |
| DNSServiceErrorType DNSServiceEnumerateDomains | ( | DNSServiceRef * | sdRef, | |
| DNSServiceFlags | flags, | |||
| uint32_t | interfaceIndex, | |||
| DNSServiceDomainEnumReply | callBack, | |||
| void * | context | |||
| ) |
| DNSServiceErrorType DNSServiceProcessResult | ( | DNSServiceRef | sdRef | ) |
| DNSServiceErrorType DNSServiceQueryRecord | ( | DNSServiceRef * | sdRef, | |
| DNSServiceFlags | flags, | |||
| uint32_t | interfaceIndex, | |||
| const char * | fullname, | |||
| uint16_t | rrtype, | |||
| uint16_t | rrclass, | |||
| DNSServiceQueryRecordReply | callBack, | |||
| void * | context | |||
| ) |
| void DNSServiceReconfirmRecord | ( | DNSServiceFlags | flags, | |
| uint32_t | interfaceIndex, | |||
| const char * | fullname, | |||
| uint16_t | rrtype, | |||
| uint16_t | rrclass, | |||
| uint16_t | rdlen, | |||
| const void * | rdata | |||
| ) |
| void DNSServiceRefDeallocate | ( | DNSServiceRef | sdRef | ) |
| int DNSServiceRefSockFD | ( | DNSServiceRef | sdRef | ) |
| DNSServiceErrorType DNSServiceRegister | ( | DNSServiceRef * | sdRef, | |
| DNSServiceFlags | flags, | |||
| uint32_t | interfaceIndex, | |||
| const char * | name, | |||
| const char * | regtype, | |||
| const char * | domain, | |||
| const char * | host, | |||
| uint16_t | port, | |||
| uint16_t | txtLen, | |||
| const void * | txtRecord, | |||
| DNSServiceRegisterReply | callBack, | |||
| void * | context | |||
| ) |
| DNSServiceErrorType DNSServiceRegisterRecord | ( | DNSServiceRef | sdRef, | |
| DNSRecordRef * | RecordRef, | |||
| DNSServiceFlags | flags, | |||
| uint32_t | interfaceIndex, | |||
| const char * | fullname, | |||
| uint16_t | rrtype, | |||
| uint16_t | rrclass, | |||
| uint16_t | rdlen, | |||
| const void * | rdata, | |||
| uint32_t | ttl, | |||
| DNSServiceRegisterRecordReply | callBack, | |||
| void * | context | |||
| ) |
| DNSServiceErrorType DNSServiceRemoveRecord | ( | DNSServiceRef | sdRef, | |
| DNSRecordRef | RecordRef, | |||
| DNSServiceFlags | flags | |||
| ) |
| DNSServiceErrorType DNSServiceResolve | ( | DNSServiceRef * | sdRef, | |
| DNSServiceFlags | flags, | |||
| uint32_t | interfaceIndex, | |||
| const char * | name, | |||
| const char * | regtype, | |||
| const char * | domain, | |||
| DNSServiceResolveReply | callBack, | |||
| void * | context | |||
| ) |
| DNSServiceErrorType DNSServiceUpdateRecord | ( | DNSServiceRef | sdRef, | |
| DNSRecordRef | RecordRef, | |||
| DNSServiceFlags | flags, | |||
| uint16_t | rdlen, | |||
| const void * | rdata, | |||
| uint32_t | ttl | |||
| ) |
| int TXTRecordContainsKey | ( | uint16_t | txtLen, | |
| const void * | txtRecord, | |||
| const char * | key | |||
| ) |
| void TXTRecordCreate | ( | TXTRecordRef * | txtRecord, | |
| uint16_t | bufferLen, | |||
| void * | buffer | |||
| ) |
| void TXTRecordDeallocate | ( | TXTRecordRef * | txtRecord | ) |
| const void* TXTRecordGetBytesPtr | ( | const TXTRecordRef * | txtRecord | ) |
| uint16_t TXTRecordGetCount | ( | uint16_t | txtLen, | |
| const void * | txtRecord | |||
| ) |
| DNSServiceErrorType TXTRecordGetItemAtIndex | ( | uint16_t | txtLen, | |
| const void * | txtRecord, | |||
| uint16_t | index, | |||
| uint16_t | keyBufLen, | |||
| char * | key, | |||
| uint8_t * | valueLen, | |||
| const void ** | value | |||
| ) |
| uint16_t TXTRecordGetLength | ( | const TXTRecordRef * | txtRecord | ) |
| const void* TXTRecordGetValuePtr | ( | uint16_t | txtLen, | |
| const void * | txtRecord, | |||
| const char * | key, | |||
| uint8_t * | valueLen | |||
| ) |
| DNSServiceErrorType TXTRecordRemoveValue | ( | TXTRecordRef * | txtRecord, | |
| const char * | key | |||
| ) |
| DNSServiceErrorType TXTRecordSetValue | ( | TXTRecordRef * | txtRecord, | |
| const char * | key, | |||
| uint8_t | valueSize, | |||
| const void * | value | |||
| ) |
1.5.8