src/irc_net.h
changeset 53 12d806823775
parent 48 4841f4398fd2
child 63 d399a1d915a3
equal deleted inserted replaced
52:97604efda1ce 53:12d806823775
    40  */
    40  */
    41 struct irc_net {
    41 struct irc_net {
    42     /* The current connection */
    42     /* The current connection */
    43     struct irc_conn *conn;
    43     struct irc_conn *conn;
    44 
    44 
       
    45     /** Our connection info */
       
    46     struct irc_net_info info;
       
    47 
    45     /** The list of IRC channel states */
    48     /** The list of IRC channel states */
    46     TAILQ_HEAD(irc_net_chan_list, irc_chan) channels;
    49     TAILQ_HEAD(irc_net_chan_list, irc_chan) channels;
       
    50 
       
    51     /** The irc_client list */
       
    52     TAILQ_ENTRY(irc_net) client_networks;
    47 };
    53 };
    48 
    54 
    49 /**
    55 /**
    50  * Create a new IRC network state, using the given network info to connect/register.
    56  * Create a new IRC network state, using the given network info to connect/register.
    51  *
    57  *