aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/poll.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-12-06 22:48:56 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2009-12-06 22:48:56 +0100
commita1e05c62ae73a87a8c52d09c2f31fc7bc2b60d0e (patch)
tree78b200fdc1644f141f42256333b9feb62e62648a /include/libssh/poll.h
parent076e884873315131363a4350c538fac6a028da53 (diff)
downloadlibssh-a1e05c62ae73a87a8c52d09c2f31fc7bc2b60d0e.tar.gz
libssh-a1e05c62ae73a87a8c52d09c2f31fc7bc2b60d0e.tar.xz
libssh-a1e05c62ae73a87a8c52d09c2f31fc7bc2b60d0e.zip
struct socket -> struct ssh_socket_struct +typedef
Diffstat (limited to 'include/libssh/poll.h')
-rw-r--r--include/libssh/poll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/poll.h b/include/libssh/poll.h
index ca5ec181..5d8bd3cc 100644
--- a/include/libssh/poll.h
+++ b/include/libssh/poll.h
@@ -95,7 +95,7 @@ void ssh_poll_set_callback(ssh_poll_handle p, ssh_poll_callback cb, void *userda
ssh_poll_ctx ssh_poll_ctx_new(size_t chunk_size);
void ssh_poll_ctx_free(ssh_poll_ctx ctx);
int ssh_poll_ctx_add(ssh_poll_ctx ctx, ssh_poll_handle p);
-int ssh_poll_ctx_add_socket (ssh_poll_ctx ctx, struct socket *s);
+int ssh_poll_ctx_add_socket (ssh_poll_ctx ctx, struct ssh_socket_struct *s);
void ssh_poll_ctx_remove(ssh_poll_ctx ctx, ssh_poll_handle p);
int ssh_poll_ctx_dopoll(ssh_poll_ctx ctx, int timeout);