libpurple/stun.h

branch
gtkdoc-conversion
changeset 35393
00f876b129bc
parent 32787
7072f190d6ad
child 35403
9282701d7aa9
child 37023
d9bcdc9a91e6
equal deleted inserted replaced
35392:cc123f0d84af 35393:00f876b129bc
64 /** 64 /**
65 * Starts a NAT discovery. It returns a PurpleStunNatDiscovery if the discovery 65 * Starts a NAT discovery. It returns a PurpleStunNatDiscovery if the discovery
66 * is already done. Otherwise the callback is called when the discovery is over 66 * is already done. Otherwise the callback is called when the discovery is over
67 * and NULL is returned. 67 * and NULL is returned.
68 * 68 *
69 * @param cb The callback to call when the STUN discovery is finished if the 69 * @cb: The callback to call when the STUN discovery is finished if the
70 * discovery would block. If the discovery is done, this is NOT 70 * discovery would block. If the discovery is done, this is NOT
71 * called. 71 * called.
72 * 72 *
73 * @return a PurpleStunNatDiscovery which includes the public IP and the type 73 * Returns: a PurpleStunNatDiscovery which includes the public IP and the type
74 * of NAT or NULL is discovery would block 74 * of NAT or NULL is discovery would block
75 */ 75 */
76 PurpleStunNatDiscovery *purple_stun_discover(StunCallback cb); 76 PurpleStunNatDiscovery *purple_stun_discover(StunCallback cb);
77 77
78 void purple_stun_init(void); 78 void purple_stun_init(void);

mercurial