Logo Search packages:      
Sourcecode: galago-daemon version File versions  Download package

account.c File Reference


Detailed Description

Galago Account message processor

Copyright (C) 2004-2006 Christian Hammond.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file account.c.

#include "filter.h"
#include "meta-account.h"
#include "meta-presence.h"
#include "utils.h"

Go to the source code of this file.

Functions

static void _append_display_name (DBusMessage *message, GalagoAccount *account)
static void _galagod_dbus_account_emit (GalagoAccount *account, const char *signal_name)
static void _galagod_dbus_account_emit_display_name_changed (GalagoAccount *account)
static void _galagod_dbus_account_emit_with_object (GalagoAccount *account, const char *signal_name, void *obj)
static DBusHandlerResult account_add_contact (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_create_presence (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_destroy_presence (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_get_attribute (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_get_attributes (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_get_avatar (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_get_contact (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_get_contacts (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_get_contacts_count (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_get_display_name (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_get_presence (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_remove_attribute (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_remove_contact (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_set_attribute (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_set_avatar (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_set_connected (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_set_display_name (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
static DBusHandlerResult account_unset_avatar (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account)
void galagod_account_add_filter (GalagoAccount *account)
char * galagod_account_generate_path (GalagoAccount *account)
void galagod_account_remove_filter (GalagoAccount *account)
static DBusHandlerResult set_unset_avatar (DBusConnection *dbus_conn, DBusMessage *message, GalagodCoCo *coco, GalagoAccount *account, GalagoImage *avatar)

Variables

static const GalagodCommand commands []


Generated by  Doxygen 1.6.0   Back to index