Integrate listener into the core.
[jelmer/ctrlproxy.git] / src / settings.h
index 6d81e633e3c1886c38c6fed8e633637c1d6afc1f..d565efae3145851ec3f263630de8c5becc43073b 100644 (file)
@@ -81,6 +81,15 @@ struct network_config
        } type_settings; 
 };
 
+struct listener_config {
+       gboolean ssl;
+       gpointer ssl_credentials;
+       char *password;
+       char *address;
+       char *port;
+       char *network;
+};
+
 /**
  * Configuration
  */
@@ -99,6 +108,9 @@ struct ctrlproxy_config {
        gboolean report_time;
        int max_who_age;
        GKeyFile *keyfile;
+       GList *listeners;
+       gboolean auto_listener;
+       int listener_autoport;
 };
 
 /* config.c */