Migrate certificates, icons, logs to XDG dirs
[pidgin-git.git] / libpurple / protocols / yahoo / yahoo_picture.h
blobea4c3726eb68e14be1843c3f404534cd2c5c4818
1 /*
2 * purple
4 * Purple 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.
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.
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
24 #ifndef _YAHOO_PICTURE_H_
25 #define _YAHOO_PICTURE_H_
27 void yahoo_send_picture_request(PurpleConnection *gc, const char *who);
28 void yahoo_send_picture_info(PurpleConnection *gc, const char *who);
29 void yahoo_send_picture_checksum(PurpleConnection *gc);
30 void yahoo_send_picture_update(PurpleConnection *gc, int type);
31 void yahoo_send_picture_update_to_user(PurpleConnection *gc, const char *who, int type);
33 void yahoo_process_picture(PurpleConnection *gc, struct yahoo_packet *pkt);
34 void yahoo_process_picture_checksum(PurpleConnection *gc, struct yahoo_packet *pkt);
35 void yahoo_process_picture_upload(PurpleConnection *gc, struct yahoo_packet *pkt);
37 void yahoo_process_avatar_update(PurpleConnection *gc, struct yahoo_packet *pkt);
39 void yahoo_set_buddy_icon(PurpleConnection *gc, PurpleImage *img);
40 void yahoo_buddy_icon_upload(PurpleConnection *gc, struct yahoo_buddy_icon_upload_data *d);
41 void yahoo_buddy_icon_upload_data_free(struct yahoo_buddy_icon_upload_data *d);
43 #endif /* _YAHOO_PICTURE_H_ */