Prepare for 1.4.0 release.
[inoclam.git] / src / inotify.hxx
blobf35abb710a3bdd8d0c8f5917e92ce697a8d1af7d
1 /*
2 * inoclam - Inotify+ClamAV virus scanner
3 * Copyright (C) 2007, 2008, 2009 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
19 #ifndef __INOTIFY_HXX
20 #define __INOTIFY_HXX
22 #include <confuse.h>
24 #include "config.hxx"
25 #include "clam.hxx"
27 typedef struct {
28 config *conf;
29 clam *clamav;
30 } inotify_main_args_t;
32 /**
33 * Watch the specified directory for changes and call contains_virus()
34 * @param basedir the directory to watch.
36 void *inotify_main(void *v);
38 #endif