diff options
author | Pierre Ossman <ossman@cendio.se> | 2007-02-14 12:13:49 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2007-02-14 12:13:49 +0000 |
commit | df47c7b828c02afbabc4d024008fabb07a882397 (patch) | |
tree | d289d3dcfca3b95267c818669264c94ae9021e70 /src/pulsecore/core-util.h | |
parent | 8bf7943e8e03922de8c4a0990057a6fbf07935c6 (diff) |
Add a wrapper around close() to work around Windows' ass backwards way of
handling sockets.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1429 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/core-util.h')
-rw-r--r-- | src/pulsecore/core-util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulsecore/core-util.h b/src/pulsecore/core-util.h index a1da3e28..1d921e03 100644 --- a/src/pulsecore/core-util.h +++ b/src/pulsecore/core-util.h @@ -7,7 +7,7 @@ This file is part of PulseAudio. Copyright 2004-2006 Lennart Poettering - Copyright 2006 Pierre Ossman <ossman@cendio.se> for Cendio AB + Copyright 2006-2007 Pierre Ossman <ossman@cendio.se> for Cendio AB PulseAudio is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -44,6 +44,8 @@ ssize_t pa_write(int fd, const void *buf, size_t count, int *type); ssize_t pa_loop_read(int fd, void*data, size_t size, int *type); ssize_t pa_loop_write(int fd, const void*data, size_t size, int *type); +int pa_close(int fd); + void pa_check_signal_is_blocked(int sig); char *pa_sprintf_malloc(const char *format, ...) PA_GCC_PRINTF_ATTR(1,2); |