aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-06-30 02:43:04 +0000
committerEric Wong <normalperson@yhbt.net>2008-06-30 02:43:04 +0000
commit8426740f44e6584e291f23ac9858754111221395 (patch)
treeb0459e117615e3a492deee60f93236254d405853 /src/utils.h
parentc5931529675a863e7173635c5f8779f78b3940e2 (diff)
utils: add new unforgiving utility functions
We'll be using pipes when waiting for I/O, and condition variables at other times. git-svn-id: https://svn.musicpd.org/mpd/trunk@7391 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index 0b6763a0..eb16e87b 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -80,4 +80,10 @@ char *parsePath(char *path);
int set_nonblocking(int fd);
+void init_async_pipe(int file_des[2]);
+
+void xpthread_mutex_destroy(pthread_mutex_t *mutex);
+
+void xpthread_cond_destroy(pthread_cond_t *cond);
+
#endif