aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/poll.h
diff options
context:
space:
mode:
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);