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:
Bob Mottram 2016-04-14 14:13:50 +01:00
commit 5587d78cfd
2 changed files with 8 additions and 8 deletions

View file

@ -46,25 +46,25 @@ struct network_proxy {
* \arg address the hostname where proxy shall connect to
* \arg port port address where proxy shall connect to
*/
GIOChannel *(*connect)(struct network_proxy const *, IPADDR const *hint_ip,
char const *address, int port);
GIOChannel *(*connect)(const struct network_proxy *, IPADDR const *hint_ip,
const char *address, int port);
/* clones the given network_proxy object; this memberfunction is
* 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
* authentication begins; this memberfunction is optional
*/
void (*send_string)(struct network_proxy const *,
struct network_proxy_send_string_info const *);
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)(struct network_proxy const *,
struct network_proxy_send_string_info const *);
void (*send_string_after)(const struct network_proxy *,
const struct network_proxy_send_string_info *);
/* hostname of proxy host */

View file

@ -40,7 +40,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);