X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fmeshlink_internal.h;h=6a433b608cbb7d1585bc32171feb7f217c6a5c40;hb=a27bebb24d4072ef66d8640a3c988f1b883e309e;hp=e988b99dd113bdda51d4a5278e55a59730d12aba;hpb=9447f2918f0680058705a6d12dc728450c47a471;p=meshlink diff --git a/src/meshlink_internal.h b/src/meshlink_internal.h index e988b99d..6a433b60 100644 --- a/src/meshlink_internal.h +++ b/src/meshlink_internal.h @@ -45,11 +45,6 @@ static const char meshlink_udp_label[] = "MeshLink UDP"; #define MESHLINK_CONFIG_VERSION 2 #define MESHLINK_INVITATION_VERSION 2 -struct CattaServer; -struct CattaSServiceBrowser; -struct CattaSimplePoll; -struct CattaSEntryGroup; - typedef struct listen_socket_t { struct io_t tcp; struct io_t udp; @@ -163,7 +158,7 @@ struct meshlink_handle { int netns; bool default_blacklist; - bool discovery; // Whether Catta is enabled or not + bool discovery; // Whether mDNS discovery is enabled or not bool inviter_commits_first; // Configuration @@ -182,16 +177,7 @@ struct meshlink_handle { bool threadstarted; bool discovery_threadstarted; - // Catta - pthread_t discovery_thread; - struct CattaServer *catta_server; - struct CattaSServiceBrowser *catta_browser; - struct CattaSimplePoll *catta_poll; - struct CattaSEntryGroup *catta_group; - char *catta_servicetype; - unsigned int catta_interfaces; - - // PFROUTE + // mDNS discovery io_t pfroute_io; int *discovery_ifaces; struct discovery_address *discovery_addresses;