Clarify License => GNU General Public License version 2.
[inoclam.git] / src / inotify.hxx
blobdf0b651b002721bc46cc94550178c8833260f154
1 /*
2 * inoclam - Inotify+ClamAV virus scanner
3 * Copyright (C) 2007 Vermont Department of Taxes
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 * Contributor(s):
19 * Tom Cort <tom.cort@state.vt.us>
20 * Matt Gagne <matt.gagne@state.vt.us>
23 #ifndef __INOTIFY_HXX
24 #define __INOTIFY_HXX
26 #include <confuse.h>
28 #include "config.hxx"
29 #include "clam.hxx"
31 typedef struct {
32 config * conf;
33 clam * clamav;
34 } inotify_main_args_t;
36 /**
37 * Watch the specified directory for changes and call contains_virus()
38 * @param basedir the directory to watch.
40 void *inotify_main(void *v);
42 #endif