libpurple/stun.h

changeset 40186
d7e2aba4d9f4
parent 39822
2b8005b0a78c
child 40188
80e78796edb2
equal deleted inserted replaced
40079:a37a1e349491 40186:d7e2aba4d9f4
100 * 100 *
101 * Starts a NAT discovery. It returns a PurpleStunNatDiscovery if the discovery 101 * Starts a NAT discovery. It returns a PurpleStunNatDiscovery if the discovery
102 * is already done. Otherwise the callback is called when the discovery is over 102 * is already done. Otherwise the callback is called when the discovery is over
103 * and NULL is returned. 103 * and NULL is returned.
104 * 104 *
105 * Returns: a #PurpleStunNatDiscovery which includes the public IP and the type 105 * Returns: (skip) (transfer none): a #PurpleStunNatDiscovery which includes the public IP and the type
106 * of NAT or NULL if discovery would block 106 * of NAT or NULL if discovery would block
107 */ 107 */
108 PurpleStunNatDiscovery *purple_stun_discover(PurpleStunCallback cb); 108 PurpleStunNatDiscovery *purple_stun_discover(PurpleStunCallback cb);
109 109
110 void purple_stun_init(void); 110 void purple_stun_init(void);

mercurial