libgaim/protocols/yahoo/yahoo_picture.h

branch
gaim
changeset 20470
77693555855f
parent 9310
bd81f41ae944
parent 14254
77edc7a6191a
child 20471
1966704b3e42
equal deleted inserted replaced
13071:b98e72d4089a 20470:77693555855f
1 /*
2 * gaim
3 *
4 * Gaim is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this
6 * source distribution.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 *
22 */
23
24 #ifndef _YAHOO_PICTURE_H_
25 #define _YAHOO_PICTURE_H_
26
27 void yahoo_send_picture_request(GaimConnection *gc, const char *who);
28 void yahoo_send_picture_info(GaimConnection *gc, const char *who);
29 void yahoo_send_picture_checksum(GaimConnection *gc);
30 void yahoo_send_picture_update(GaimConnection *gc, int type);
31 void yahoo_send_picture_update_to_user(GaimConnection *gc, const char *who, int type);
32
33 void yahoo_process_picture(GaimConnection *gc, struct yahoo_packet *pkt);
34 void yahoo_process_picture_update(GaimConnection *gc, struct yahoo_packet *pkt);
35 void yahoo_process_picture_checksum(GaimConnection *gc, struct yahoo_packet *pkt);
36 void yahoo_process_picture_upload(GaimConnection *gc, struct yahoo_packet *pkt);
37
38 void yahoo_process_avatar_update(GaimConnection *gc, struct yahoo_packet *pkt);
39
40 void yahoo_set_buddy_icon(GaimConnection *gc, const char *iconfile);
41 void yahoo_buddy_icon_upload(GaimConnection *gc, struct yahoo_buddy_icon_upload_data *d);
42 void yahoo_buddy_icon_upload_data_free(struct yahoo_buddy_icon_upload_data *d);
43
44 #endif /* _YAHOO_PICTURE_H_ */

mercurial