]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conf.h
Make Channel_Part name and reason parameters 'const'.
[ngircd-alex.git] / src / ngircd / conf.h
index 371f94db64233155d2169f16093d93e5df470195..5ae7f5d6a79f7ccbaaed3e65fc37510f240d5a83 100644 (file)
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: conf.h,v 1.45 2007/11/21 12:16:36 alex Exp $
+ * $Id: conf.h,v 1.47 2007/11/23 16:28:37 fw Exp $
  *
  * Configuration management (header)
  */
@@ -33,7 +33,6 @@ typedef struct _Conf_Oper
 typedef struct _Conf_Server
 {
        char host[HOST_LEN];            /* Hostname */
-       char ip[16];                    /* IP address (Resolver) */
        char name[CLIENT_ID_LEN];       /* IRC-Client-ID */
        char pwd_in[CLIENT_PASS_LEN];   /* Password which must be received */
        char pwd_out[CLIENT_PASS_LEN];  /* Password to send to peer */
@@ -43,6 +42,7 @@ typedef struct _Conf_Server
        RES_STAT res_stat;              /* Status of the resolver */
        int flags;                      /* Flags */
        CONN_ID conn_id;                /* ID of server connection or NONE */
+       struct in_addr bind_addr;       /* source address to use for outgoing connections */
 } CONF_SERVER;
 
 typedef struct _Conf_Channel