26#ifndef _PURPLE_STUN_H_
27#define _PURPLE_STUN_H_
41 PURPLE_STUN_STATUS_UNDISCOVERED = -1,
42 PURPLE_STUN_STATUS_UNKNOWN,
43 PURPLE_STUN_STATUS_DISCOVERING,
44 PURPLE_STUN_STATUS_DISCOVERED
48 PURPLE_STUN_NAT_TYPE_PUBLIC_IP,
49 PURPLE_STUN_NAT_TYPE_UNKNOWN_NAT,
50 PURPLE_STUN_NAT_TYPE_FULL_CONE,
51 PURPLE_STUN_NAT_TYPE_RESTRICTED_CONE,
52 PURPLE_STUN_NAT_TYPE_PORT_RESTRICTED_CONE,
53 PURPLE_STUN_NAT_TYPE_SYMMETRIC
57 PurpleStunStatus status;
58 PurpleStunNatType type;
80void purple_stun_init(
void);
PurpleStunNatDiscovery * purple_stun_discover(StunCallback cb)
Starts a NAT discovery.