aboutsummaryrefslogtreecommitdiff
path: root/src/pth.h
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2020-08-29 17:09:10 +0930
committerDavid Timber <mieabby@gmail.com>2020-08-29 17:20:37 +0930
commitf36333b2c915ac7d9cf82e09ab5cb2a2f8296177 (patch)
tree48e28c7750c99414bc1430ffefbd9fbaa26788e5 /src/pth.h
parentacf0b7a45171555eba2c10a6ef84f915c62f6791 (diff)
* _POSIX_C_SOURCE=199506L
* Add proone-htbthost * Add prne_iobuf, use it in resolv, htbt * memzero() -> prne_memzero() now as a function * Add prne_mbedtls_pth_handle() * Protocol changes * Remove prne_unint_*() * Add src/proone_conf.skel
Diffstat (limited to 'src/pth.h')
-rw-r--r--src/pth.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pth.h b/src/pth.h
index 172e6cf..ee6901b 100644
--- a/src/pth.h
+++ b/src/pth.h
@@ -25,7 +25,5 @@ void prne_init_worker (prne_worker_t *w);
void prne_free_worker (prne_worker_t *w);
void prne_fin_worker (prne_worker_t *w);
-bool prne_pth_cv_notify (prne_pth_cv_t *cv);
-bool prne_pth_cond_timedwait (prne_pth_cv_t *cv, const struct timespec *timeout, bool *to_reached);
-int prne_unint_pth_poll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout);
-void prne_unint_pth_nanosleep (struct timespec dur);
+bool prne_pth_cv_notify (pth_mutex_t *lock, pth_cond_t *cond, bool broadcast);
+pth_time_t prne_pth_tstimeout (const struct timespec ts);