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

coco.c File Reference

Detailed Description

Core Connection API

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 coco.c.

#include "galagod.h"
#include "filter.h"
#include "person-list.h"
#include "service-list.h"
#include "utils.h"

Go to the source code of this file.


struct  _GalagodCoCoPrivate


#define GALAGO_DBUS_COCO_PREFIX   "/org/freedesktop/Galago/cocos"


 G_DEFINE_TYPE (GalagodCoCo, galagod_coco, GALAGO_TYPE_OBJECT)
static void galagod_coco_class_init (GalagodCoCoClass *klass)
static void galagod_coco_finalize (GObject *gobject)
GalagoContext * galagod_coco_get_context (const GalagodCoCo *coco)
const char * galagod_coco_get_id (const GalagodCoCo *coco)
const char * galagod_coco_get_name (const GalagodCoCo *coco)
const char * galagod_coco_get_service_id (const GalagodCoCo *coco)
static void galagod_coco_init (GalagodCoCo *coco)
gboolean galagod_coco_is_feed (const GalagodCoCo *coco)
GalagodCoCo * galagod_coco_new (const char *name, gboolean feed, const char *dbus_id)
GalagodCoCo * galagod_cocos_get_with_id (const char *id)
GalagodCoCo * galagod_cocos_get_with_obj_path (const char *obj_path)
GalagodCoCo * galagod_cocos_get_with_service_id (const char *service_id)
void galagod_cocos_init (void)
void galagod_cocos_uninit (void)
static char * generate_id (const char *name)
static char * generate_obj_path (const char *id)
static void list_each_coco (gpointer key, gpointer value, GList **list)
static char * normalize_name (const char *name)


static GHashTable * _coco_ids = NULL
static GHashTable * _cocos = NULL
static GalagoObjectClass * parent_class = NULL

Generated by  Doxygen 1.6.0   Back to index