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
Evan@653
     1
/**
Evan@653
     2
 * @file buddylist.h
Evan@653
     3
 *
Evan@653
     4
 * purple
Evan@653
     5
 *
Evan@653
     6
 * Copyright (C) 2005  Bartosz Oler <bartosz@bzimage.us>
Evan@653
     7
 *
Evan@653
     8
 * This program is free software; you can redistribute it and/or modify
Evan@653
     9
 * it under the terms of the GNU General Public License as published by
Evan@653
    10
 * the Free Software Foundation; either version 2 of the License, or
Evan@653
    11
 * (at your option) any later version.
Evan@653
    12
 *
Evan@653
    13
 * This program is distributed in the hope that it will be useful,
Evan@653
    14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Evan@653
    15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Evan@653
    16
 * GNU General Public License for more details.
Evan@653
    17
 *
Evan@653
    18
 * You should have received a copy of the GNU General Public License
Evan@653
    19
 * along with this program; if not, write to the Free Software
Evan@653
    20
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
Evan@653
    21
 */
Evan@653
    22
Evan@653
    23
Evan@653
    24
#ifndef _PURPLE_GG_BUDDYLIST_H
Evan@653
    25
#define _PURPLE_GG_BUDDYLIST_H
Evan@653
    26
Evan@653
    27
#include "connection.h"
Evan@653
    28
#include "account.h"
Evan@653
    29
Evan@653
    30
void
Evan@653
    31
ggp_buddylist_send(PurpleConnection *gc);
Evan@653
    32
Evan@653
    33
/**
zacw@2489
    34
 * Load buddylist from server into the roster.
Evan@653
    35
 *
Evan@653
    36
 * @param gc PurpleConnection
Evan@653
    37
 * @param buddylist Pointer to the buddylist that will be loaded.
Evan@653
    38
 */
Evan@653
    39
/* void ggp_buddylist_load(PurpleConnection *gc, char *buddylist) {{{ */
Evan@653
    40
void
Evan@653
    41
ggp_buddylist_load(PurpleConnection *gc, char *buddylist);
Evan@653
    42
Evan@653
    43
/**
Evan@653
    44
 * Get all the buddies in the current account.
Evan@653
    45
 *
Evan@653
    46
 * @param account Current account.
Evan@653
    47
 * 
Evan@653
    48
 * @return List of buddies.
Evan@653
    49
 */
Evan@653
    50
char *
Evan@653
    51
ggp_buddylist_dump(PurpleAccount *account);
Evan@653
    52
Evan@653
    53
Evan@653
    54
#endif /* _PURPLE_GG_BUDDYLIST_H */
Evan@653
    55
Evan@653
    56
Evan@653
    57
/* vim: set ts=8 sts=0 sw=8 noet: */