/*---[ modrules.h ]---------------------------------------------------
 * Copyright (C) 2000 Tomas Junnonen (majix@sci.fi)
 *
 * 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.
 *
 * The modrule fuctions use data from the selected line in the hitlog CList
 * to make specials rules which override the basic druid generated rules.
 * Functions to remove these rules are also listed here.
 *--------------------------------------------------------------------*/

#ifndef _FIRESTARTER_MODRULES
#define _FIRESTARTER_MODRULES

#include <config.h>
#include <gnome.h>

void clear_rule (void);
void clear_group (void);
void clear_all_groups (void);

void allow_all_from_machine (GtkWidget *widget, gpointer data);
void deny_all_from_machine (GtkWidget *widget, gpointer data);
void open_service_to_machine (GtkWidget *widget, gpointer data);
void open_service_to_anyone (GtkWidget *widget, gpointer data);

void do_not_log_port (gint port);
void do_not_log_port_clist (void);

#endif
