/* * Copyright (C) 2013 Red Hat, Inc. * Authors: * Thomas Woerner * * 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, see . * */ #ifndef FW_DBUS_H #define FW_DBUS_H #include #include #define DBUS_INTERFACE_VERSION "1" #define DBUS_INTERFACE_REVISION "1" #define DBUS_INTERFACE "org.fedoraproject.FirewallD"DBUS_INTERFACE_VERSION #define DBUS_INTERFACE_ZONE DBUS_INTERFACE".zone" #define DBUS_INTERFACE_DIRECT DBUS_INTERFACE".direct" #define DBUS_INTERFACE_POLICIES DBUS_INTERFACE".policies" #define DBUS_INTERFACE_CONFIG DBUS_INTERFACE".config" #define DBUS_INTERFACE_CONFIG_ZONE DBUS_INTERFACE_CONFIG".zone" #define DBUS_INTERFACE_CONFIG_SERVICE DBUS_INTERFACE_CONFIG".service" #define DBUS_INTERFACE_CONFIG_ICMPTYPE DBUS_INTERFACE_CONFIG".icmptype" #define DBUS_INTERFACE_CONFIG_POLICIES DBUS_INTERFACE_CONFIG".policies" #define DBUS_INTERFACE_CONFIG_DIRECT DBUS_INTERFACE_CONFIG".direct" #define DBUS_PATH "/org/fedoraproject/FirewallD"DBUS_INTERFACE_VERSION #define DBUS_PATH_CONFIG DBUS_PATH"/config" #define DBUS_PATH_CONFIG_ICMPTYPE DBUS_PATH"/config/icmptype" #define DBUS_PATH_CONFIG_SERVICE DBUS_PATH"/config/service" #define DBUS_PATH_CONFIG_ZONE DBUS_PATH"/config/zone" gboolean dbus_own(); gboolean dbus_unown(); #endif