mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-12-04 14:46:31 -05:00
Fix: Re-Added igloo_sock_recoverable() to public API as it IS used
This commit is contained in:
parent
b6e8405b59
commit
7227841358
@ -106,6 +106,8 @@ igloo_sock_t igloo_sock_get_server_socket(int port, const char *sinterface);
|
|||||||
int igloo_sock_listen(igloo_sock_t serversock, int backlog);
|
int igloo_sock_listen(igloo_sock_t serversock, int backlog);
|
||||||
igloo_sock_t igloo_sock_accept(igloo_sock_t serversock, char *ip, size_t len);
|
igloo_sock_t igloo_sock_accept(igloo_sock_t serversock, char *ip, size_t len);
|
||||||
|
|
||||||
|
int igloo_sock_recoverable(int error);
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
int inet_aton(const char *s, struct in_addr *a);
|
int inet_aton(const char *s, struct in_addr *a);
|
||||||
#endif
|
#endif
|
||||||
|
@ -124,7 +124,7 @@ static void igloo_sock_set_error(int val)
|
|||||||
** determines if the socket error is recoverable
|
** determines if the socket error is recoverable
|
||||||
** in terms of non blocking sockets
|
** in terms of non blocking sockets
|
||||||
*/
|
*/
|
||||||
static int igloo_sock_recoverable(int error)
|
int igloo_sock_recoverable(int error)
|
||||||
{
|
{
|
||||||
switch (error)
|
switch (error)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user