Mercurial > pidgin
diff src/prpl.h @ 2189:dca8e00d7de0
[gaim-migrate @ 2199]
I've decided I like Russ Dill's file transfer stuff and will have that go into gaim when i get around to it.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Wed, 29 Aug 2001 20:58:08 +0000 |
| parents | c24595d3c364 |
| children | 657dbe515608 |
line wrap: on
line diff
--- a/src/prpl.h Wed Aug 29 00:04:59 2001 +0000 +++ b/src/prpl.h Wed Aug 29 20:58:08 2001 +0000 @@ -145,32 +145,21 @@ extern GSList *protocols; /* this is mostly just for aim.c, when it initializes the protocols */ -void static_proto_init(); +extern void static_proto_init(); /* this is what should actually load the protocol. pass it the protocol's initializer */ -void load_protocol(proto_init, int); -void unload_protocol(struct prpl *); - -struct prpl *find_prpl(int); -void do_proto_menu(); +extern void load_protocol(proto_init, int); +extern void unload_protocol(struct prpl *); -void register_user(gpointer, gpointer); -void prepare_regbox_for_next(); - -void do_ask_dialog(const char *, void *, void *, void *); -void do_prompt_dialog(const char *, void *, void *, void *); +extern struct prpl *find_prpl(int); +extern void do_proto_menu(); -void connection_has_mail(struct gaim_connection *, int, const char *, const char *); +extern void register_user(gpointer, gpointer); +extern void prepare_regbox_for_next(); -/* UI for file transfer */ -#define FT_EXIST_DNE 0 -#define FT_EXIST_OVERWRITE 1 -#define FT_EXIST_RESUME 2 -typedef void (*ft_callback)(struct gaim_connection *, const char *, gint, gpointer); +extern void do_ask_dialog(const char *, void *, void *, void *); +extern void do_prompt_dialog(const char *, void *, void *, void *); -void ft_receive_request(struct gaim_connection *, const char *, gboolean, gboolean, - char *, guint size, ft_callback, gpointer); -void ft_send_request(struct gaim_connection *, const char *, gboolean, char *, ft_callback, gpointer); -gpointer ft_meter(gpointer, const char *, gfloat); +extern void connection_has_mail(struct gaim_connection *, int, const char *, const char *); #endif
