1 /* stats.h - statistics from the bus driver 2 * 3 * Licensed under the Academic Free License version 2.1 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 18 * 02110-1301 USA 19 */ 20 21 #ifndef BUS_STATS_H 22 #define BUS_STATS_H 23 24 #include "bus.h" 25 26 #define BUS_INTERFACE_STATS "org.freedesktop.DBus.Debug.Stats" 27 28 dbus_bool_t bus_stats_handle_get_stats (DBusConnection *connection, 29 BusTransaction *transaction, 30 DBusMessage *message, 31 DBusError *error); 32 33 dbus_bool_t bus_stats_handle_get_connection_stats (DBusConnection *connection, 34 BusTransaction *transaction, 35 DBusMessage *message, 36 DBusError *error); 37 38 dbus_bool_t bus_stats_handle_get_all_match_rules (DBusConnection *caller_connection, 39 BusTransaction *transaction, 40 DBusMessage *message, 41 DBusError *error); 42 43 #endif /* multiple-inclusion guard */ 44