comparison src/util.h @ 7134:67f9b43c402a

[gaim-migrate @ 7701] I think this is the fifth Yahoo authentication method Gaim's seen in its days. Please tell me if anything stops working. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 03 Oct 2003 23:01:13 +0000
parents d40966338ea6
children d14e026611c0
comparison
equal deleted inserted replaced
7133:28dd20b5f4cf 7134:67f9b43c402a
452 */ 452 */
453 void gaim_url_fetch(const char *url, gboolean full, 453 void gaim_url_fetch(const char *url, gboolean full,
454 const char *user_agent, gboolean http11, 454 const char *user_agent, gboolean http11,
455 void (*cb)(void *, const char *, size_t), 455 void (*cb)(void *, const char *, size_t),
456 void *data); 456 void *data);
457 457 /**
458 /*@}*/ 458 * Decodes a URL into a plain string.
459 459 *
460 * This will change hex codes and such to their ascii equivalents.
461 *
462 * @param str The string to translate.
463 *
464 * @return The resulting string.
465 */
466 char *gaim_url_decode(const char *str);
467
468 /**
469 * Encodes a URL into an escaped string.
470 *
471 * This will change non-alphanumeric characters to hex codes.
472 *
473 * @param str The string to translate.
474 *
475 * @return The resulting string.
476 */
477 char *gaim_url_encode(const char *str);
478
479 /*@}*/
460 480
461 /************************************************************************** 481 /**************************************************************************
462 * UTF8 String Functions 482 * UTF8 String Functions
463 **************************************************************************/ 483 **************************************************************************/
464 /*@{*/ 484 /*@{*/