Frameworks/libpurple.framework/Versions/0.6.2/Headers/buddylist.h
author Zachary West <zacw@adium.im>
Fri Aug 21 13:25:11 2009 -0700 (2009-08-21)
changeset 2592 e8d15275025e
parent 2489 Frameworks/libpurple.framework/Versions/0.6.0/Headers/buddylist.h@56d91bf40dd8
permissions -rw-r--r--
im.pidgin.adium.1-4 at 267c6165e02e34318a1823960bd04c0639952f73
     1 /**
     2  * @file buddylist.h
     3  *
     4  * purple
     5  *
     6  * Copyright (C) 2005  Bartosz Oler <bartosz@bzimage.us>
     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 _PURPLE_GG_BUDDYLIST_H
    25 #define _PURPLE_GG_BUDDYLIST_H
    26 
    27 #include "connection.h"
    28 #include "account.h"
    29 
    30 void
    31 ggp_buddylist_send(PurpleConnection *gc);
    32 
    33 /**
    34  * Load buddylist from server into the roster.
    35  *
    36  * @param gc PurpleConnection
    37  * @param buddylist Pointer to the buddylist that will be loaded.
    38  */
    39 /* void ggp_buddylist_load(PurpleConnection *gc, char *buddylist) {{{ */
    40 void
    41 ggp_buddylist_load(PurpleConnection *gc, char *buddylist);
    42 
    43 /**
    44  * Get all the buddies in the current account.
    45  *
    46  * @param account Current account.
    47  * 
    48  * @return List of buddies.
    49  */
    50 char *
    51 ggp_buddylist_dump(PurpleAccount *account);
    52 
    53 
    54 #endif /* _PURPLE_GG_BUDDYLIST_H */
    55 
    56 
    57 /* vim: set ts=8 sts=0 sw=8 noet: */