Frameworks/libpurple.framework/Versions/0.6.2/Headers/yahoo_picture.h
changeset 2592 e8d15275025e
parent 2535 39c3c161de14
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Frameworks/libpurple.framework/Versions/0.6.2/Headers/yahoo_picture.h	Fri Aug 21 13:25:11 2009 -0700
     1.3 @@ -0,0 +1,43 @@
     1.4 +/*
     1.5 + * purple
     1.6 + *
     1.7 + * Purple is the legal property of its developers, whose names are too numerous
     1.8 + * to list here.  Please refer to the COPYRIGHT file distributed with this
     1.9 + * source distribution.
    1.10 + *
    1.11 + * This program is free software; you can redistribute it and/or modify
    1.12 + * it under the terms of the GNU General Public License as published by
    1.13 + * the Free Software Foundation; either version 2 of the License, or
    1.14 + * (at your option) any later version.
    1.15 + *
    1.16 + * This program is distributed in the hope that it will be useful,
    1.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.19 + * GNU General Public License for more details.
    1.20 + *
    1.21 + * You should have received a copy of the GNU General Public License
    1.22 + * along with this program; if not, write to the Free Software
    1.23 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
    1.24 + *
    1.25 + */
    1.26 +
    1.27 +#ifndef _YAHOO_PICTURE_H_
    1.28 +#define _YAHOO_PICTURE_H_
    1.29 +
    1.30 +void yahoo_send_picture_request(PurpleConnection *gc, const char *who);
    1.31 +void yahoo_send_picture_info(PurpleConnection *gc, const char *who);
    1.32 +void yahoo_send_picture_checksum(PurpleConnection *gc);
    1.33 +void yahoo_send_picture_update(PurpleConnection *gc, int type);
    1.34 +void yahoo_send_picture_update_to_user(PurpleConnection *gc, const char *who, int type);
    1.35 +
    1.36 +void yahoo_process_picture(PurpleConnection *gc, struct yahoo_packet *pkt);
    1.37 +void yahoo_process_picture_checksum(PurpleConnection *gc, struct yahoo_packet *pkt);
    1.38 +void yahoo_process_picture_upload(PurpleConnection *gc, struct yahoo_packet *pkt);
    1.39 +
    1.40 +void yahoo_process_avatar_update(PurpleConnection *gc, struct yahoo_packet *pkt);
    1.41 +
    1.42 +void yahoo_set_buddy_icon(PurpleConnection *gc, PurpleStoredImage *img);
    1.43 +void yahoo_buddy_icon_upload(PurpleConnection *gc, struct yahoo_buddy_icon_upload_data *d);
    1.44 +void yahoo_buddy_icon_upload_data_free(struct yahoo_buddy_icon_upload_data *d);
    1.45 +
    1.46 +#endif /* _YAHOO_PICTURE_H_ */