comparison src/gaim.h @ 4458:a46c57f2d58b

[gaim-migrate @ 4733] (20:45:09) Trogdor: http://web.ics.purdue.edu/~eblanton/gaim/gaim-cvs-oscar-ssi-conv.diff (20:45:12) Trogdor: commit please (20:45:22) LSchiere: commit log? (20:45:48) Trogdor: Adds best-effort charset conversion to Oscar SSI aliases and group names. (20:45:55) Trogdor: oh (20:46:19) Trogdor: Also adds a gaim global function gaim_try_conv_to_utf8 () for attempting several logical encodings on a given string. (20:46:43) Trogdor: (which replaces the aptly named whatever_to_utf8) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 29 Jan 2003 01:46:44 +0000
parents a65555132674
children d76095396a0e
comparison
equal deleted inserted replaced
4457:16e0c6826f23 4458:a46c57f2d58b
470 extern void away_on_login(char *); 470 extern void away_on_login(char *);
471 extern char *add_cr(char *); 471 extern char *add_cr(char *);
472 extern void strip_linefeed(char *); 472 extern void strip_linefeed(char *);
473 extern time_t get_time(int, int, int, int, int, int) G_GNUC_CONST; 473 extern time_t get_time(int, int, int, int, int, int) G_GNUC_CONST;
474 extern FILE *gaim_mkstemp(gchar **); 474 extern FILE *gaim_mkstemp(gchar **);
475 extern char *convert_string(char *, const char *, const char *);
476 extern const char *handle_uri(char *); 475 extern const char *handle_uri(char *);
476 /* This guy does its best to convert a string to UTF-8 from an unknown
477 * encoding by checking the locale and trying some sane defaults ...
478 * if everything fails it returns NULL. */
479 char *gaim_try_conv_to_utf8(const char *str);
477 480
478 /* Functions in log.h */ 481 /* Functions in log.h */
479 extern FILE *open_log_file (const char *, int); 482 extern FILE *open_log_file (const char *, int);
480 extern void system_log(enum log_event, struct gaim_connection *, struct buddy *, int); 483 extern void system_log(enum log_event, struct gaim_connection *, struct buddy *, int);
481 extern void rm_log(struct log_conversation *); 484 extern void rm_log(struct log_conversation *);