2004-06-23 23:17:30 +00:00
|
|
|
#ifndef fooutilhfoo
|
|
|
|
|
#define fooutilhfoo
|
|
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
#include <sys/types.h>
|
2004-06-23 23:17:30 +00:00
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
void pa_make_nonblock_fd(int fd);
|
2004-06-23 23:17:30 +00:00
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
void pa_peer_to_string(char *c, size_t l, int fd);
|
2004-06-29 16:48:37 +00:00
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
int pa_make_secure_dir(const char* dir);
|
|
|
|
|
|
|
|
|
|
int pa_make_socket_low_delay(int fd);
|
|
|
|
|
int pa_make_tcp_socket_low_delay(int fd);
|
2004-06-30 00:00:52 +00:00
|
|
|
|
2004-07-06 00:08:44 +00:00
|
|
|
ssize_t pa_loop_read(int fd, void*data, size_t size);
|
|
|
|
|
ssize_t pa_loop_write(int fd, const void*data, size_t size);
|
|
|
|
|
|
|
|
|
|
int pa_unix_socket_is_stale(const char *fn);
|
|
|
|
|
int pa_unix_socket_remove_stale(const char *fn);
|
|
|
|
|
|
2004-06-23 23:17:30 +00:00
|
|
|
#endif
|