|
Torc
0.1
|
#include <QCoreApplication>#include <QtEndian>#include <QMap>#include "torclogging.h"#include "torcevent.h"#include "torclocalcontext.h"#include "torcadminthread.h"#include "torcnetwork.h"#include "torcbonjour.h"#include <stdlib.h>#include <arpa/inet.h>Go to the source code of this file.
Functions | |
| void DNSSD_API | BonjourRegisterCallback (DNSServiceRef Ref, DNSServiceFlags Flags, DNSServiceErrorType Errorcode, const char *Name, const char *Type, const char *Domain, void *Object) |
| void DNSSD_API | BonjourBrowseCallback (DNSServiceRef Ref, DNSServiceFlags Flags, uint32_t InterfaceIndex, DNSServiceErrorType ErrorCode, const char *Name, const char *Type, const char *Domain, void *Object) |
| void DNSSD_API | BonjourResolveCallback (DNSServiceRef Ref, DNSServiceFlags Flags, uint32_t InterfaceIndex, DNSServiceErrorType ErrorCode, const char *Fullname, const char *HostTarget, uint16_t Port, uint16_t TxtLen, const unsigned char *TxtRecord, void *Object) |
Variables | |
| TorcBonjour * | gBonjour = nullptr |
| Global TorcBonjour singleton. More... | |
| QMutex * | gBonjourLock = new QMutex(QMutex::Recursive) |
| Lock around access to gBonjour. More... | |
| void BonjourBrowseCallback | ( | DNSServiceRef | Ref, |
| DNSServiceFlags | Flags, | ||
| uint32_t | InterfaceIndex, | ||
| DNSServiceErrorType | ErrorCode, | ||
| const char * | Name, | ||
| const char * | Type, | ||
| const char * | Domain, | ||
| void * | Object | ||
| ) |
Definition at line 262 of file torcbonjour.cpp.
| void BonjourRegisterCallback | ( | DNSServiceRef | Ref, |
| DNSServiceFlags | Flags, | ||
| DNSServiceErrorType | Errorcode, | ||
| const char * | Name, | ||
| const char * | Type, | ||
| const char * | Domain, | ||
| void * | Object | ||
| ) |
Definition at line 233 of file torcbonjour.cpp.
| void BonjourResolveCallback | ( | DNSServiceRef | Ref, |
| DNSServiceFlags | Flags, | ||
| uint32_t | InterfaceIndex, | ||
| DNSServiceErrorType | ErrorCode, | ||
| const char * | Fullname, | ||
| const char * | HostTarget, | ||
| uint16_t | Port, | ||
| uint16_t | TxtLen, | ||
| const unsigned char * | TxtRecord, | ||
| void * | Object | ||
| ) |
Definition at line 295 of file torcbonjour.cpp.
| TorcBonjour* gBonjour = nullptr |
Global TorcBonjour singleton.
Definition at line 37 of file torcbonjour.cpp.
| QMutex* gBonjourLock = new QMutex(QMutex::Recursive) |
Lock around access to gBonjour.
Definition at line 38 of file torcbonjour.cpp.
1.8.11