00001 /*************************************************************************** 00002 * CVSID: $Id: mntd_dbus_error.h,v 1.5 2004/05/28 15:55:09 stefanb Exp $ 00003 * 00004 * mntd_dbus_error.h : D-BUS errors for 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 __MNTD_DBUS_ERROR_H__ 00027 #define __MNTD_DBUS_ERROR_H__ 00028 00029 #include <dbus/dbus.h> 00030 00031 #if defined(__cplusplus) 00032 extern "C" { 00033 #endif 00034 00035 void mntd_dbus_error_raise_no_such_device(DBusConnection* connection, 00036 DBusMessage* in_reply_to, 00037 const char* udi); 00038 00039 #if defined(__cplusplus) 00040 } 00041 #endif 00042 00043 #endif /* __MNTD_DBUS_ERROR_H__ */