dpkg 1.21.11
filters.h
Go to the documentation of this file.
1/*
2 * dpkg - main program for package management
3 * filters.h - external definitions for filter handling
4 *
5 * Copyright © 2007, 2008 Tollef Fog Heen <tfheen@err.no>
6 * Copyright © 2008, 2010 Guillem Jover <guillem@debian.org>
7 *
8 * This is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <https://www.gnu.org/licenses/>.
20 */
21
22#ifndef DPKG_FILTERS_H
23#define DPKG_FILTERS_H
24
25#include <stdbool.h>
26
27#include <dpkg/macros.h>
28#include <dpkg/tarfn.h>
29
31
32void filter_add(const char *glob, bool include);
33bool filter_should_skip(struct tar_entry *ti);
34
36
37#endif
bool filter_should_skip(struct tar_entry *ti)
Definition: filters.c:64
DPKG_BEGIN_DECLS void filter_add(const char *glob, bool include)
Definition: filters.c:47
#define DPKG_BEGIN_DECLS
Definition: macros.h:86
#define DPKG_END_DECLS
Definition: macros.h:87
Definition: tarfn.h:73