X-Git-Url: https://code.delx.au/pulseaudio/blobdiff_plain/8d9bdaca5a4092cd078d79c58c4bfa0da277bff4..5205e6a85ac8699c464e2d676c4d8b1c2b7989e5:/src/pulsecore/parseaddr.h diff --git a/src/pulsecore/parseaddr.h b/src/pulsecore/parseaddr.h index fd7cad3b..a1071b0a 100644 --- a/src/pulsecore/parseaddr.h +++ b/src/pulsecore/parseaddr.h @@ -1,7 +1,5 @@ -#ifndef fooparseaddrhfoo -#define fooparseaddrhfoo - -/* $Id$ */ +#ifndef foopulsecoreparseaddrhfoo +#define foopulsecoreparseaddrhfoo /*** This file is part of PulseAudio. @@ -26,6 +24,8 @@ #include +#include + typedef enum pa_parsed_address_type { PA_PARSED_ADDRESS_UNIX, PA_PARSED_ADDRESS_TCP4, @@ -41,4 +41,6 @@ typedef struct pa_parsed_address { int pa_parse_address(const char *a, pa_parsed_address *ret_p); +pa_bool_t pa_is_ip_address(const char *a); + #endif