Commit acf2acb7 authored by Dafydd Harries's avatar Dafydd Harries

remove unused select stuff from udp/

darcs-hash:20070204180425-c9803-35809848faefc2ea13d652801986ff5d39d23a0d.gz
parent 540a385f
...@@ -80,12 +80,6 @@ socket_factory_init_socket ( ...@@ -80,12 +80,6 @@ socket_factory_init_socket (
return TRUE; return TRUE;
} }
static void
socket_factory_select (NiceUDPRecvFunc cb)
{
g_assert_not_reached ();
}
static void static void
socket_factory_close (NiceUDPSocketFactory *man) socket_factory_close (NiceUDPSocketFactory *man)
{ {
...@@ -95,7 +89,6 @@ void ...@@ -95,7 +89,6 @@ void
nice_udp_bsd_socket_factory_init (NiceUDPSocketFactory *man) nice_udp_bsd_socket_factory_init (NiceUDPSocketFactory *man)
{ {
man->init = socket_factory_init_socket; man->init = socket_factory_init_socket;
man->select = socket_factory_select;
man->close = socket_factory_close; man->close = socket_factory_close;
} }
...@@ -173,7 +173,6 @@ void ...@@ -173,7 +173,6 @@ void
nice_udp_fake_socket_factory_init (NiceUDPSocketFactory *man) nice_udp_fake_socket_factory_init (NiceUDPSocketFactory *man)
{ {
man->init = fake_socket_init; man->init = fake_socket_init;
man->select = NULL;
man->close = fake_socket_factory_close; man->close = fake_socket_factory_close;
man->priv = NULL; man->priv = NULL;
} }
......
...@@ -31,7 +31,6 @@ struct _UDPSocketManager ...@@ -31,7 +31,6 @@ struct _UDPSocketManager
{ {
gboolean (*init) (NiceUDPSocketFactory *man, NiceUDPSocket *sock, gboolean (*init) (NiceUDPSocketFactory *man, NiceUDPSocket *sock,
struct sockaddr_in *sin); struct sockaddr_in *sin);
void (*select) (NiceUDPRecvFunc cb);
void (*close) (NiceUDPSocketFactory *man); void (*close) (NiceUDPSocketFactory *man);
void *priv; void *priv;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment