comparison src/stun.h @ 11354:97028c1c69e9

[gaim-migrate @ 13573] added retries and nat type detection (#ifdef NOTYET since no one needs it at the moment) committer: Tailor Script <tailor@pidgin.im>
author Thomas Butter <tbutter>
date Sat, 27 Aug 2005 14:16:13 +0000
parents 46facec74fc1
children e1ab173ef3b5
comparison
equal deleted inserted replaced
11353:0f03b5492130 11354:97028c1c69e9
49 struct stun_attrib { 49 struct stun_attrib {
50 short type; 50 short type;
51 short len; 51 short len;
52 }; 52 };
53 53
54 struct stun_change {
55 struct stun_header hdr;
56 struct stun_attrib attrib;
57 char value[4];
58 };
59
54 typedef void (*StunCallback) (struct stun_nattype *); 60 typedef void (*StunCallback) (struct stun_nattype *);
55 61
56 /** 62 /**
57 * Starts a NAT discovery. It returns a struct stun_nattype if the discovery 63 * Starts a NAT discovery. It returns a struct stun_nattype if the discovery
58 * is already done. Otherwise the callback is called when the discovery is over 64 * is already done. Otherwise the callback is called when the discovery is over