equal
deleted
inserted
replaced
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 <sys/queue.h> |
17 #include <sys/queue.h> |
17 |
18 |
18 /** |
19 /** |
19 * Configuration info for an IRC network |
20 * Configuration info for an IRC network |
20 */ |
21 */ |
26 const char *hostname; |
27 const char *hostname; |
27 |
28 |
28 /** Service name (port) */ |
29 /** Service name (port) */ |
29 const char *service; |
30 const char *service; |
30 |
31 |
31 /** SSL? */ |
32 /** Use SSL if given as non-NULL, a reference will be held by the irc_net */ |
32 bool use_ssl; |
33 struct sock_ssl_client_cred *ssl_cred; |
33 |
34 |
34 /** Protocol registration info (nickname etc) */ |
35 /** Protocol registration info (nickname etc) */ |
35 struct irc_conn_register_info register_info; |
36 struct irc_conn_register_info register_info; |
36 |
37 |
37 /** Raw socket to use, mainly for testing purposes */ |
38 /** Raw socket to use, mainly for testing purposes */ |