Commit d3ee406a authored by Dafydd Harries's avatar Dafydd Harries

rename udp_socket_manager_bsd_init -> udp_bsd_socket_manager_init for consistency

darcs-hash:20070201151731-c9803-c7eb85a8630c400fe79057ae755bfd22dbda7c34.gz
parent 41655a9e
......@@ -67,7 +67,7 @@ handle_connection (guint sock)
g_debug ("got candidate");
udp_socket_manager_bsd_init (&man);
udp_bsd_socket_manager_init (&man);
sin.sin_family = AF_INET;
sin.sin_addr.s_addr = INADDR_ANY;
......
......@@ -81,7 +81,7 @@ handle_connection (guint fileno, const struct sockaddr_in *sin, gpointer data)
inet_ntop (AF_INET, &(sin->sin_addr), ip_str, INET_ADDRSTRLEN);
g_debug ("got connection from %s:%d", ip_str, ntohs (sin->sin_port));
udp_socket_manager_bsd_init (&mgr);
udp_bsd_socket_manager_init (&mgr);
if (!make_agent ((gchar *) data, &mgr, &agent, &sock))
return;
......
......@@ -92,7 +92,7 @@ socket_manager_close (UDPSocketManager *man)
}
void
udp_socket_manager_bsd_init (UDPSocketManager *man)
udp_bsd_socket_manager_init (UDPSocketManager *man)
{
man->init = socket_manager_init_socket;
man->select = socket_manager_select;
......
......@@ -7,7 +7,7 @@
G_BEGIN_DECLS
void
udp_socket_manager_bsd_init (UDPSocketManager *man);
udp_bsd_socket_manager_init (UDPSocketManager *man);
G_END_DECLS
......
......@@ -11,7 +11,7 @@ main (void)
UDPSocket sock;
struct sockaddr_in sin;
udp_socket_manager_bsd_init (&man);
udp_bsd_socket_manager_init (&man);
if (!udp_socket_manager_alloc_socket (&man, &sock, NULL))
g_assert_not_reached ();
......
......@@ -8,7 +8,7 @@ main (void)
UDPSocket sock;
struct sockaddr_in sin;
udp_socket_manager_bsd_init (&man);
udp_bsd_socket_manager_init (&man);
sin.sin_family = AF_INET;
sin.sin_addr.s_addr = INADDR_ANY;
sin.sin_port = htons (9999);
......
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