- int pinginterval; /* seconds between pings */
- int pingtimeout; /* seconds to wait for response */
- int maxtimeout;
+ // Configuration
+ char *confbase;
+ FILE *conffile;
+ void *config_key;
+
+ // Thread management
+ pthread_t thread;
+ 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;