Main Page   Modules   Data Structures   File List   Data Fields   Related Pages  

utils.h

00001 /* -*- mode: C; c-file-style: "gnu" -*- */
00002 /* utils.h  General utility functions
00003  *
00004  * Copyright (C) 2003  CodeFactory AB
00005  * Copyright (C) 2003  Red Hat, Inc.
00006  *
00007  * Licensed under the Academic Free License version 1.2
00008  * 
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  * 
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022  *
00023  */
00024 
00025 #ifndef BUS_UTILS_H
00026 #define BUS_UTILS_H
00027 
00028 #include <dbus/dbus.h>
00029 
00030 extern const char bus_no_memory_message[];
00031 #define BUS_SET_OOM(error) dbus_set_error ((error), DBUS_ERROR_NO_MEMORY, bus_no_memory_message)
00032 
00033 void        bus_connection_dispatch_all_messages (DBusConnection *connection);
00034 dbus_bool_t bus_connection_dispatch_one_message  (DBusConnection *connection);
00035 
00036 #endif /* BUS_ACTIVATION_H */

Generated on Mon Sep 29 21:31:02 2003 for D-BUS by doxygen1.2.15