Frameworks/libpurple.framework/Versions/2.10.12r8d2874a79747/Headers/yahoo_picture.h
branchadium-1.5.11-merge
changeset 6013 f8d0dc659e3f
parent 5941 307f53385811
parent 6012 200a01709ba4
child 6014 fcb71cb71a3d
child 6015 2b01cc935b7c
equal deleted inserted replaced
5941:307f53385811 6013:f8d0dc659e3f
     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_ */