summaryrefslogtreecommitdiff
path: root/udp
diff options
context:
space:
mode:
authorDafydd Harries <dafydd.harries@collabora.co.uk>2007-01-13 15:46:00 +0000
committerDafydd Harries <dafydd.harries@collabora.co.uk>2007-01-13 15:46:00 +0000
commite9a93d35589d4d3ccd1a0f08bdf182898bc99d86 (patch)
treeb7a95ec4c798ad480f0a1a74d3b1647e6bbb83f7 /udp
parent0d3b801a6c9793bc814b549a0673cbbaa2bf1079 (diff)
downloadlibnice-e9a93d35589d4d3ccd1a0f08bdf182898bc99d86.tar.gz
add private data pointers to UDP structs
darcs-hash:20070113154600-c9803-e9ef82fa94a7f20b54432594d52bbb1dce09ad17.gz
Diffstat (limited to 'udp')
-rw-r--r--udp/udp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/udp/udp.h b/udp/udp.h
index 2035922..b24d04c 100644
--- a/udp/udp.h
+++ b/udp/udp.h
@@ -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