Frameworks/libpurple.framework/Versions/0.6.2/Headers/yahoo_picture.h
author Zachary West <zacw@adium.im>
Fri Aug 21 13:25:11 2009 -0700 (2009-08-21)
changeset 2592 e8d15275025e
parent 2535 Frameworks/libpurple.framework/Versions/0.6.0/Headers/yahoo_picture.h@39c3c161de14
permissions -rw-r--r--
im.pidgin.adium.1-4 at 267c6165e02e34318a1823960bd04c0639952f73
     1 /*
     2  * purple
     3  *
     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.
     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., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
    21  *
    22  */
    23 
    24 #ifndef _YAHOO_PICTURE_H_
    25 #define _YAHOO_PICTURE_H_
    26 
    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);
    32 
    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);
    36 
    37 void yahoo_process_avatar_update(PurpleConnection *gc, struct yahoo_packet *pkt);
    38 
    39 void yahoo_set_buddy_icon(PurpleConnection *gc, PurpleStoredImage *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);
    42 
    43 #endif /* _YAHOO_PICTURE_H_ */