summaryrefslogtreecommitdiffstats
path: root/seaudit/filter_view.h
diff options
context:
space:
mode:
authorMiroslav Grepl <mgrepl@redhat.com>2014-04-11 09:37:53 +0200
committerMiroslav Grepl <mgrepl@redhat.com>2014-04-11 09:37:53 +0200
commit47be9ff57e72906660bb62a515222f482131e1fb (patch)
tree2cb0ef0ba48d73b1df7cc0915754a17e19464bb6 /seaudit/filter_view.h
downloadsetools-master.tar.gz
setools-master.tar.xz
setools-master.zip
Create setools-3.3.7 git repomaster
Diffstat (limited to 'seaudit/filter_view.h')
-rw-r--r--seaudit/filter_view.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/seaudit/filter_view.h b/seaudit/filter_view.h
new file mode 100644
index 0000000..d94ece3
--- /dev/null
+++ b/seaudit/filter_view.h
@@ -0,0 +1,42 @@
+/**
+ * @file
+ * Dialog that allows the user to modify a particular filter.
+ *
+ * @author Jeremy A. Mowery jmowery@tresys.com
+ * @author Jason Tang jtang@tresys.com
+ *
+ * Copyright (C) 2004-2007 Tresys Technology, LLC
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef FILTER_VIEW_H
+#define FILTER_VIEW_H
+
+#include "toplevel.h"
+#include <seaudit/filter.h>
+#include <gtk/gtk.h>
+
+/**
+ * Display and run a dialog that allows the user to modify a single
+ * filter.
+ *
+ * @param top Toplevel containing message view.
+ * @param view Message view to modify.
+ * @param parent Parent window upon which to center this dialog.
+ */
+void filter_view_run(seaudit_filter_t * filter, toplevel_t * top, GtkWindow * parent);
+
+#endif