| 213 * @return the handle to the network system |
213 * @return the handle to the network system |
| 214 */ |
214 */ |
| 215 void *purple_network_get_handle(void); |
215 void *purple_network_get_handle(void); |
| 216 |
216 |
| 217 /** |
217 /** |
| 218 * Update the STUN server name |
218 * Update the STUN server IP given the host name |
| 219 * Will result in a DNS query being executed asynchronous |
219 * Will result in a DNS query being executed asynchronous |
| 220 * |
220 * |
| 221 * @param stun_server The host name of the STUN server to set |
221 * @param stun_server The host name of the STUN server to set |
| 222 */ |
222 */ |
| 223 void purple_network_set_stun_server(const gchar *stun_server); |
223 void purple_network_set_stun_server(const gchar *stun_server); |
| 227 * |
227 * |
| 228 * @return the IP address |
228 * @return the IP address |
| 229 */ |
229 */ |
| 230 const gchar *purple_network_get_stun_ip(void); |
230 const gchar *purple_network_get_stun_ip(void); |
| 231 |
231 |
| |
232 /** |
| |
233 * Update the TURN server IP given the host name |
| |
234 * Will result in a DNS query being executed asynchronous |
| |
235 * |
| |
236 * @param stun_server The host name of the STUN server to set |
| |
237 */ |
| |
238 void purple_network_set_turn_server(const gchar *stun_server); |
| |
239 |
| |
240 /** |
| |
241 * Get the IP address of the STUN server as a string representation |
| |
242 * |
| |
243 * @return the IP address |
| |
244 */ |
| |
245 const gchar *purple_network_get_turn_ip(void); |
| |
246 |
| |
247 |
| 232 /** |
248 /** |
| 233 * Initializes the network subsystem. |
249 * Initializes the network subsystem. |
| 234 */ |
250 */ |
| 235 void purple_network_init(void); |
251 void purple_network_init(void); |
| 236 |
252 |