/* * 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_H #define FW_H #include gboolean fw_start(); gboolean fw_stop(); GList *fw_get_zones(); GHashTable *fw_get_active_zones(); gchar *fw_check_zone(const gchar *zone); gchar *fw_get_default_zone(); gboolean fw_set_default_zone(const gchar *zone); gchar *fw_add_interface(const gchar *zone, const gchar *interface); gchar *fw_change_zone_of_interface(const gchar *zone, const gchar *interface); gboolean fw_query_interface(const gchar *zone, const gchar *interface); gchar *fw_remove_interface(const gchar *zone, const gchar *interface); gchar *fw_get_zone_of_interface(const gchar *interface); GList *fw_get_interfaces(const gchar *zone); #endif