Frameworks/libpurple.framework/Versions/0.6.2/Headers/buddylist.h
changeset 2592 e8d15275025e
parent 2489 56d91bf40dd8
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Frameworks/libpurple.framework/Versions/0.6.2/Headers/buddylist.h	Fri Aug 21 13:25:11 2009 -0700
     1.3 @@ -0,0 +1,57 @@
     1.4 +/**
     1.5 + * @file buddylist.h
     1.6 + *
     1.7 + * purple
     1.8 + *
     1.9 + * Copyright (C) 2005  Bartosz Oler <bartosz@bzimage.us>
    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 _PURPLE_GG_BUDDYLIST_H
    1.28 +#define _PURPLE_GG_BUDDYLIST_H
    1.29 +
    1.30 +#include "connection.h"
    1.31 +#include "account.h"
    1.32 +
    1.33 +void
    1.34 +ggp_buddylist_send(PurpleConnection *gc);
    1.35 +
    1.36 +/**
    1.37 + * Load buddylist from server into the roster.
    1.38 + *
    1.39 + * @param gc PurpleConnection
    1.40 + * @param buddylist Pointer to the buddylist that will be loaded.
    1.41 + */
    1.42 +/* void ggp_buddylist_load(PurpleConnection *gc, char *buddylist) {{{ */
    1.43 +void
    1.44 +ggp_buddylist_load(PurpleConnection *gc, char *buddylist);
    1.45 +
    1.46 +/**
    1.47 + * Get all the buddies in the current account.
    1.48 + *
    1.49 + * @param account Current account.
    1.50 + * 
    1.51 + * @return List of buddies.
    1.52 + */
    1.53 +char *
    1.54 +ggp_buddylist_dump(PurpleAccount *account);
    1.55 +
    1.56 +
    1.57 +#endif /* _PURPLE_GG_BUDDYLIST_H */
    1.58 +
    1.59 +
    1.60 +/* vim: set ts=8 sts=0 sw=8 noet: */