mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-30 11:08:50 -05:00
add new functions pa_socket_is_local() and pa_socket_address_is_local()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2532 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
2af243305f
commit
30a8800210
2 changed files with 44 additions and 1 deletions
|
|
@ -26,6 +26,9 @@
|
|||
***/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <pulsecore/macro.h>
|
||||
|
||||
void pa_socket_peer_to_string(int fd, char *c, size_t l);
|
||||
|
||||
|
|
@ -39,4 +42,7 @@ int pa_socket_set_rcvbuf(int fd, size_t l);
|
|||
int pa_unix_socket_is_stale(const char *fn);
|
||||
int pa_unix_socket_remove_stale(const char *fn);
|
||||
|
||||
pa_bool_t pa_socket_address_is_local(const struct sockaddr *sa);
|
||||
pa_bool_t pa_socket_is_local(int fd);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue