+ struct ecdsa *private_key;
+ struct ecdsa *invitation_key;
+
+ dev_class_t devclass;
+
+ int invitation_timeout;
+ int maxtimeout;
+ int udp_choice;
+
+ dev_class_traits_t dev_class_traits[DEV_CLASS_COUNT];
+
+ int netns;
+
+ bool default_blacklist;
+ bool discovery; // Whether Catta is enabled or not
+ bool inviter_commits_first;
+
+ // Configuration
+ char *confbase;
+ FILE *lockfile;
+ void *config_key;
+ char *external_address_url;
+
+ // Thread management
+ pthread_t thread;
+ pthread_cond_t cond;
+ pthread_mutex_t discovery_mutex;
+ pthread_cond_t discovery_cond;
+ 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;
+
+ // Proxy configuration, currently not exposed.