Version bump.
[inoclam.git] / src / monitor.hxx
blob5e418be936f0d9a9c083240038de62434a11d6f1
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>
22 #ifndef __MONITOR_HXX
23 #define __MONITOR_HXX
25 /**
26 * initialize monitor variables
28 void monitor_init();
30 /**
31 * increments the thread count
33 void monitor_inc();
35 /**
36 * decrements the thread count
38 void monitor_dec();
40 /**
41 * waits until no threads are running
42 * blocks new threads from being created
44 void monitor_wait();
46 #endif