Fixed stuff broken by the coding style cleanup

This commit is contained in:
hawken93 2014-10-04 00:52:26 +02:00
parent 714b0241cb
commit 17ecad8285
2 changed files with 7 additions and 7 deletions

View File

@ -29,25 +29,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)(const struct *network_proxy, const IPADDR *hint_ip, GIOChannel *(*connect)(const struct network_proxy *, const IPADDR *hint_ip,
const char *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)(const struct *network_proxy); 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)(const struct *network_proxy, void (*send_string)(const struct network_proxy *,
const struct *network_proxy_send_string_info); 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)(const struct *network_proxy, void (*send_string_after)(const struct network_proxy *,
const struct *network_proxy_send_string_info); const struct network_proxy_send_string_info *);
/* hostname of proxy host */ /* hostname of proxy host */
const char *host; const char *host;

View File

@ -50,7 +50,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);
/* Connect to socket with ip address */ /* Connect to socket with ip address */