mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 10:32:31 +02:00
Fixed stuff broken by the coding style cleanup
From the original patch by hawken93 <hawken@thehawken.org> 4th Oct 2014
This commit is contained in:
parent
4a8a6cfcbf
commit
5587d78cfd
2 changed files with 8 additions and 8 deletions
|
|
@ -46,25 +46,25 @@ struct network_proxy {
|
||||||
* \arg address the hostname where proxy shall connect to
|
* \arg address the hostname where proxy shall connect to
|
||||||
* \arg port port address where proxy shall connect to
|
* \arg port port address where proxy shall connect to
|
||||||
*/
|
*/
|
||||||
GIOChannel *(*connect)(struct network_proxy const *, IPADDR const *hint_ip,
|
GIOChannel *(*connect)(const struct network_proxy *, IPADDR const *hint_ip,
|
||||||
char const *address, int port);
|
const char *address, int port);
|
||||||
|
|
||||||
/* clones the given network_proxy object; this memberfunction is
|
/* clones the given network_proxy object; this memberfunction is
|
||||||
* mandatory */
|
* mandatory */
|
||||||
struct network_proxy * (*clone)(struct network_proxy const *);
|
struct network_proxy * (*clone)(const struct network_proxy *);
|
||||||
|
|
||||||
|
|
||||||
/* sends a string after connection has been established but before IRC
|
/* sends a string after connection has been established but before IRC
|
||||||
* authentication begins; this memberfunction is optional
|
* authentication begins; this memberfunction is optional
|
||||||
*/
|
*/
|
||||||
void (*send_string)(struct network_proxy const *,
|
void (*send_string)(const struct network_proxy *,
|
||||||
struct network_proxy_send_string_info const *);
|
const struct network_proxy_send_string_info *);
|
||||||
|
|
||||||
/* sends a string after connection IRC authentication suceeded; this
|
/* sends a string after connection IRC authentication suceeded; this
|
||||||
* memberfunction is optional
|
* memberfunction is optional
|
||||||
*/
|
*/
|
||||||
void (*send_string_after)(struct network_proxy const *,
|
void (*send_string_after)(const struct network_proxy *,
|
||||||
struct network_proxy_send_string_info const *);
|
const struct network_proxy_send_string_info *);
|
||||||
|
|
||||||
|
|
||||||
/* hostname of proxy host */
|
/* hostname of proxy host */
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ int net_ip_compare(IPADDR *ip1, IPADDR *ip2);
|
||||||
/* Connect to socket */
|
/* Connect to socket */
|
||||||
GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip);
|
GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip);
|
||||||
/* Connect to socket with ip address and SSL*/
|
/* Connect to socket with ip address and SSL*/
|
||||||
GIOChannel *net_connect_proxy_ssl(const struct network_proxy *proxy, const char c*host, int port,
|
GIOChannel *net_connect_proxy_ssl(const struct network_proxy *proxy, const char *host, int port,
|
||||||
IPADDR *ip, IPADDR *my_ip, SERVER_REC *server);
|
IPADDR *ip, IPADDR *my_ip, SERVER_REC *server);
|
||||||
|
|
||||||
int irssi_ssl_handshake(GIOChannel *handle);
|
int irssi_ssl_handshake(GIOChannel *handle);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue