Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
2188:98c434792ab7 | 2189:dca8e00d7de0 |
---|---|
143 }; | 143 }; |
144 | 144 |
145 extern GSList *protocols; | 145 extern GSList *protocols; |
146 | 146 |
147 /* this is mostly just for aim.c, when it initializes the protocols */ | 147 /* this is mostly just for aim.c, when it initializes the protocols */ |
148 void static_proto_init(); | 148 extern void static_proto_init(); |
149 | 149 |
150 /* this is what should actually load the protocol. pass it the protocol's initializer */ | 150 /* this is what should actually load the protocol. pass it the protocol's initializer */ |
151 void load_protocol(proto_init, int); | 151 extern void load_protocol(proto_init, int); |
152 void unload_protocol(struct prpl *); | 152 extern void unload_protocol(struct prpl *); |
153 | 153 |
154 struct prpl *find_prpl(int); | 154 extern struct prpl *find_prpl(int); |
155 void do_proto_menu(); | 155 extern void do_proto_menu(); |
156 | 156 |
157 void register_user(gpointer, gpointer); | 157 extern void register_user(gpointer, gpointer); |
158 void prepare_regbox_for_next(); | 158 extern void prepare_regbox_for_next(); |
159 | 159 |
160 void do_ask_dialog(const char *, void *, void *, void *); | 160 extern void do_ask_dialog(const char *, void *, void *, void *); |
161 void do_prompt_dialog(const char *, void *, void *, void *); | 161 extern void do_prompt_dialog(const char *, void *, void *, void *); |
162 | 162 |
163 void connection_has_mail(struct gaim_connection *, int, const char *, const char *); | 163 extern void connection_has_mail(struct gaim_connection *, int, const char *, const char *); |
164 | |
165 /* UI for file transfer */ | |
166 #define FT_EXIST_DNE 0 | |
167 #define FT_EXIST_OVERWRITE 1 | |
168 #define FT_EXIST_RESUME 2 | |
169 typedef void (*ft_callback)(struct gaim_connection *, const char *, gint, gpointer); | |
170 | |
171 void ft_receive_request(struct gaim_connection *, const char *, gboolean, gboolean, | |
172 char *, guint size, ft_callback, gpointer); | |
173 void ft_send_request(struct gaim_connection *, const char *, gboolean, char *, ft_callback, gpointer); | |
174 gpointer ft_meter(gpointer, const char *, gfloat); | |
175 | 164 |
176 #endif | 165 #endif |