~vcs-imports/libssh/trunk

« back to all changes in this revision

Viewing changes to include/libssh/session.h

  • Committer: Andreas Schneider
  • Date: 2018-12-07 16:49:17 UTC
  • Revision ID: git-v1:8ece2abfab35da017c58bde04b97fa98f212a1b0
session: Use long for the timeout

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>

Show diffs side-by-side

added added

removed removed

Lines of Context:
235
235
 */
236
236
typedef int (*ssh_termination_function)(void *user);
237
237
int ssh_handle_packets(ssh_session session, int timeout);
238
 
int ssh_handle_packets_termination(ssh_session session, int timeout,
239
 
    ssh_termination_function fct, void *user);
 
238
int ssh_handle_packets_termination(ssh_session session,
 
239
                                   long timeout,
 
240
                                   ssh_termination_function fct,
 
241
                                   void *user);
240
242
void ssh_socket_exception_callback(int code, int errno_code, void *user);
241
243
 
242
244
#endif /* SESSION_H_ */