1/**
2 * \file
3 * \brief Private filter header.
4 */
5
6/*
7 * Copyright (c) 2012, ETH Zurich.
8 * All rights reserved.
9 *
10 * This file is distributed under the terms in the attached LICENSE file.
11 * If you do not find this file, copies can be found by writing to:
12 * ETH Zurich D-INFK, CAB F.78, Universitaetstr. 6, CH-8092 Zurich,
13 * Attn: Systems Group.
14 */
15
16#ifndef LIBTERM_FILTER_PRIV_H
17#define LIBTERM_FILTER_PRIV_H
18
19#include <collections/list.h>
20#include <term/client/filter.h>
21
22struct term_filter {
23    term_filter_fn *filter;
24    term_filter_id_t id;
25};
26
27void term_filter_free(void *data);
28
29void term_filter_apply(collections_listnode *filter_list, char **data,
30                       size_t *length);
31
32#endif // LIBTERM_FILTER_PRIV_H
33