Commit e9a93d35 authored by Dafydd Harries's avatar Dafydd Harries
Browse files

add private data pointers to UDP structs

parent 0d3b801a
......@@ -13,6 +13,7 @@ struct _UDPSocket
gboolean (*send) (UDPSocket *sock, struct sockaddr_in *to, guint len,
gchar *buf);
void (*close) (UDPSocket *sock);
void *priv;
typedef gboolean (*UDPPacketRecvFunc) (struct sockaddr_in *from, guint len,
......@@ -26,6 +27,7 @@ struct _UDPSocketManager
struct sockaddr_in *sin);
void (*select) (UDPPacketRecvFunc cb);
void (*close) (UDPSocketManager *man);
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