summaryrefslogtreecommitdiffstats
path: root/include/libssh/socket.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-11-30 23:44:40 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2009-11-30 23:44:40 +0100
commit92a50f731cdb098bbbb605630f335a07d839496f (patch)
tree48b586e16741a3cd775fa197adc700bcf7e143b3 /include/libssh/socket.h
parent76d6838223718a5432baddb4fa5b3e82440c9ff2 (diff)
downloadlibssh-92a50f731cdb098bbbb605630f335a07d839496f.tar.gz
libssh-92a50f731cdb098bbbb605630f335a07d839496f.tar.xz
libssh-92a50f731cdb098bbbb605630f335a07d839496f.zip
Socket connect callback working...
Still need to make sure the connect syscall is correctly called
Diffstat (limited to 'include/libssh/socket.h')
-rw-r--r--include/libssh/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/socket.h b/include/libssh/socket.h
index 858c5d8..0c2a6c9 100644
--- a/include/libssh/socket.h
+++ b/include/libssh/socket.h
@@ -58,5 +58,6 @@ void ssh_socket_set_callbacks(struct socket *s, ssh_socket_callbacks callbacks);
int ssh_socket_pollcallback(struct ssh_poll_handle_struct *p, int fd, int revents, void *s);
void ssh_socket_register_pollcallback(struct socket *s, struct ssh_poll_handle_struct *p);
struct ssh_poll_handle_struct * ssh_socket_get_poll_handle(struct socket *s);
+int ssh_socket_connect(struct socket *s, const char *host, int port, const char *bind_addr);
#endif /* SOCKET_H_ */