Main Page | Modules | Data Structures | File List | Data Fields | Related Pages

mntdbus.h

00001 /***************************************************************************
00002  * CVSID: $Id: mntdbus.h,v 1.2 2004/08/29 22:44:10 stefanb Exp $
00003  *
00004  * mntdbus.h : Sending dbus signal to MNT daemon
00005  *
00006  * Copyright (C) 2004 Stefan Bambach, <sbambach@gmx.net>
00007  *
00008  * Licensed under the GNU General Public License 2.0
00009  *
00010  * This program is free software; you can redistribute it and/or modify
00011  * it under the terms of the GNU General Public License as published by
00012  * the Free Software Foundation; either version 2 of the License, or
00013  * (at your option) any later version.
00014  *
00015  * This program is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  * GNU General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU General Public License
00021  * along with this program; if not, write to the Free Software
00022  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023  *
00024  **************************************************************************/
00025 
00026 #ifndef __MNTDBUS_H__
00027 #define __MNTDBUS_H__
00028 
00029 
00030 #if defined(__cplusplus)
00031 extern "C" {
00032 #endif
00033 
00034 #define DBUS_API_SUBJECT_TO_CHANGE
00035 #include <dbus/dbus.h>
00036 
00037 
00038 char *mntdbus_getenv(char *name);
00039 DBusConnection *mntdbus_init(void);
00040 void mntdbus_quit(DBusConnection* conn);
00041 int _mntdbus_signal(DBusConnection* conn, char *signalname, char *subsystem, char *devname);
00042 int mntdbus_add(DBusConnection* conn, char *subsystem, char *devname);
00043 int mntdbus_remove(DBusConnection* conn, char *subsystem, char *devname);
00044 
00045     
00046 #if defined(__cplusplus)
00047 }
00048 #endif
00049 
00050 #endif /* __MNTDBUS_H__ */

Generated on Wed Mar 30 13:43:27 2005 for Mntd by  doxygen 1.3.9.1