aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-filter.h
blob: 54c4a144f4cc0d99f57e14ef8628c5e3d8845381 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
 *  Copyright (C) 2000 Ximian Inc.
 *
 *  Authors: Not Zed <notzed@lostzed.mmc.com.au>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of version 2 of the GNU General Public
 * License as published by the Free Software Foundation.
 *
 * 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., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#ifndef _FILTER_FILTER_H
#define _FILTER_FILTER_H

#include "filter-rule.h"

#define FILTER_FILTER(obj)  GTK_CHECK_CAST (obj, filter_filter_get_type (), FilterFilter)
#define FILTER_FILTER_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, filter_filter_get_type (), FilterFilterClass)
#define IS_FILTER_FILTER(obj)      GTK_CHECK_TYPE (obj, filter_filter_get_type ())

typedef struct _FilterFilter    FilterFilter;
typedef struct _FilterFilterClass   FilterFilterClass;

struct _FilterFilter {
    FilterRule parent;
    struct _FilterFilterPrivate *priv;

    GList *actions;
};

struct _FilterFilterClass {
    FilterRuleClass parent_class;

    /* virtual methods */

    /* signals */
};

guint       filter_filter_get_type  (void);
FilterFilter    *filter_filter_new  (void);

/* methods */
void        filter_filter_add_action    (FilterFilter *fr, FilterPart *fp);
void        filter_filter_remove_action (FilterFilter *fr, FilterPart *fp);
void        filter_filter_replace_action    (FilterFilter *fr, FilterPart *fp, FilterPart *new);

void        filter_filter_build_action  (FilterFilter *fr, GString *out);

#endif /* ! _FILTER_FILTER_H */

='insertions'>+2 * Build and install halog binary.demon2015-09-082-0/+5 * Fix plist.demon2015-08-311-2/+6 * Update to version 1.6-dev4.demon2015-08-312-3/+3 * Update deviceatlas extension to verion 2.1.demon2015-08-102-4/+4 * Update to -dev3.demon2015-07-232-3/+3 * Add OPTIONal DeviceAtlas support.demon2015-06-192-1/+23 * Update to -dev2.demon2015-06-171-0/+2 * Update to -dev2.demon2015-06-172-3/+3 * Finish pkg-message removal.demon2015-03-131-1/+0 * Update to version 1.6-dev1demon2015-03-134-23/+16 * Add EXAMPLES option.demon2015-03-121-1/+1 * Sync with net/haproxydemon2015-03-122-36/+69 * Add CPE.demon2015-03-051-1/+1 * Cleanup plistantoine2014-11-221-5/+0 * Do not search for process by name;demon2014-10-031-6/+6 * Correct OPTIONS usage (similar to rev. 359349 for net/haproxy).demon2014-08-281-6/+6 * Add DOCS option for ports with PORTDOCS in plist.adamw2014-07-161-1/+1 * Mark IGNORE until new devel version appears.demon2014-06-241-0/+2 * Update to 1.5.0 release.demon2014-06-204-70/+8 * Update to -dev26.demon2014-05-313-3/+69 * Update to -dev25.demon2014-05-102-3/+3 * Update to version 1.5-dev24.demon2014-04-263-3/+6 * Update to -dev22.demon2014-02-033-3/+4 * Update to -dev21.demon2013-12-173-36/+3 * Fix double-free.demon2013-12-161-0/+33