added basic ssl support to ircu
[ircu2.10.12-pk.git] / include / s_conf.h
index 301e9ab2f3b30e4f9f49efa4303505421c2afe9b..35ba1190323433b02318f427a511cbf33e823a73 100644 (file)
@@ -65,6 +65,7 @@ struct ConfItem
   time_t hold;        /**< Earliest time to attempt an outbound
                          connect on this ConfItem. */
   int dns_pending;    /**< A dns request is pending. */
+  int usessl;         /**< establish SSL connection */
   int flags;          /**< Additional modifiers for item. */
   int addrbits;       /**< Number of bits valid in ConfItem::address. */
   struct Privs privs; /**< Privileges for opers. */
@@ -102,6 +103,10 @@ struct LocalConf {
   char*          location1;   /**< First line of location information. */
   char*          location2;   /**< Second line of location information. */
   char*          contact;     /**< Admin contact information. */
+  
+  char*          sslcertfile; /**< SSL certificate file. */
+  char*          sslkeyfile;  /**< SSL private key file. */
+  char*          sslcafile;   /**< SSL CA file. */
 };
 
 enum {