diff options
author | defanor <defanor@uberspace.net> | 2023-05-02 13:05:26 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2023-05-02 13:05:26 +0300 |
commit | 938963c1d1c6a9b929d28a90030332d4f397ca61 (patch) | |
tree | 596869c5f96b7578826c7e84c439f0b6313339b1 /src/rexmpp_jingle.h | |
parent | f53cb7886439619860ff86451318a5a04fc49322 (diff) |
Use timespec and monotonic clock for timers
Diffstat (limited to 'src/rexmpp_jingle.h')
-rw-r--r-- | src/rexmpp_jingle.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rexmpp_jingle.h b/src/rexmpp_jingle.h index cd23efb..d3e11eb 100644 --- a/src/rexmpp_jingle.h +++ b/src/rexmpp_jingle.h @@ -121,9 +121,9 @@ struct rexmpp_jingle_ctx { int rexmpp_jingle_init (rexmpp_t *s); rexmpp_err_t rexmpp_jingle_run (rexmpp_t *s, fd_set *read_fds, fd_set *write_fds); -struct timeval * rexmpp_jingle_timeout (rexmpp_t *s, - struct timeval *max_tv, - struct timeval *tv); +struct timespec * rexmpp_jingle_timeout (rexmpp_t *s, + struct timespec *max_tv, + struct timespec *tv); int rexmpp_jingle_fds(rexmpp_t *s, fd_set *read_fds, fd_set *write_fds); rexmpp_err_t |