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

add private data pointers to UDP structs

darcs-hash:20070113154600-c9803-e9ef82fa94a7f20b54432594d52bbb1dce09ad17.gz
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;
};
void
......
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