| 62 /** |
62 /** |
| 63 * 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 |
| 64 * 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 |
| 65 * and NULL is returned. |
65 * and NULL is returned. |
| 66 * |
66 * |
| 67 * @param A callback |
67 * @param cb A callback |
| 68 * |
68 * |
| 69 * @return a struct stun_nattype which includes the public IP and the type |
69 * @return a struct stun_nattype which includes the public IP and the type |
| 70 * of NAT or NULL is discovery would block |
70 * of NAT or NULL is discovery would block |
| 71 */ |
71 */ |
| 72 struct stun_nattype *gaim_stun_discover(StunCallback cb); |
72 struct stun_nattype *gaim_stun_discover(StunCallback cb); |