diff --git a/src/core/network-proxy.h b/src/core/network-proxy.h index 38fd1c82..c5ec02a2 100644 --- a/src/core/network-proxy.h +++ b/src/core/network-proxy.h @@ -29,25 +29,25 @@ struct network_proxy { * \arg address the hostname where proxy shall connect to * \arg port port address where proxy shall connect to */ - GIOChannel *(*connect)(const struct *network_proxy, const IPADDR *hint_ip, + GIOChannel *(*connect)(const struct network_proxy *, const IPADDR *hint_ip, const char *address, int port); /* clones the given network_proxy object; this memberfunction is * mandatory */ - struct network_proxy *(*clone)(const struct *network_proxy); + struct network_proxy *(*clone)(const struct network_proxy *); /* sends a string after connection has been established but before IRC * authentication begins; this memberfunction is optional */ - void (*send_string)(const struct *network_proxy, - const struct *network_proxy_send_string_info); + void (*send_string)(const struct network_proxy *, + const struct network_proxy_send_string_info *); /* sends a string after connection IRC authentication suceeded; this * memberfunction is optional */ - void (*send_string_after)(const struct *network_proxy, - const struct *network_proxy_send_string_info); + void (*send_string_after)(const struct network_proxy *, + const struct network_proxy_send_string_info *); /* hostname of proxy host */ const char *host; diff --git a/src/core/network.h b/src/core/network.h index 138dd31a..048ff71b 100644 --- a/src/core/network.h +++ b/src/core/network.h @@ -50,7 +50,7 @@ int net_ip_compare(IPADDR *ip1, IPADDR *ip2); /* Connect to socket */ GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip); /* 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); int irssi_ssl_handshake(GIOChannel *handle); /* Connect to socket with ip address */