src/irc_net.h
changeset 180 22967b165692
parent 156 6534a4ac957b
child 217 7728d6ec3abf
equal deleted inserted replaced
179:0eaa5c1b926d 180:22967b165692
    11 struct irc_net;
    11 struct irc_net;
    12 
    12 
    13 #include "error.h"
    13 #include "error.h"
    14 #include "irc_conn.h"
    14 #include "irc_conn.h"
    15 #include "irc_chan.h"
    15 #include "irc_chan.h"
    16 #include "sock_ssl.h"
    16 #include "ssl.h"
    17 #include <sys/queue.h>
    17 #include <sys/queue.h>
    18 
    18 
    19 /**
    19 /**
    20  * Configuration info for an IRC network
    20  * Configuration info for an IRC network
    21  */
    21  */
    28 
    28 
    29     /** Service name (port) */
    29     /** Service name (port) */
    30     const char *service;
    30     const char *service;
    31 
    31 
    32     /** Use SSL if given as non-NULL, a reference will be held by the irc_net */
    32     /** Use SSL if given as non-NULL, a reference will be held by the irc_net */
    33     struct sock_ssl_client_cred *ssl_cred;
    33     struct ssl_client_cred *ssl_cred;
    34 
    34 
    35     /** Protocol registration info (nickname etc) */
    35     /** Protocol registration info (nickname etc) */
    36     struct irc_conn_register_info register_info;
    36     struct irc_conn_register_info register_info;
    37 
    37 
    38     /** Alternatively, raw transport to use, mainly for testing purposes */
    38     /** Alternatively, raw transport to use, mainly for testing purposes */