2004-08-23 20:38:10 +00:00
|
|
|
/*
|
2005-01-26 14:15:04 +00:00
|
|
|
* Copyright (C) 2004 - 2005 Tomasz Kojm <tkojm@clamav.net>
|
2004-08-23 20:38:10 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2006-04-09 19:59:28 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
|
|
* MA 02110-1301, USA.
|
2004-08-23 20:38:10 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MISC_H
|
|
|
|
#define __MISC_H
|
|
|
|
|
|
|
|
#include "cfgparser.h"
|
|
|
|
|
2005-01-26 14:15:04 +00:00
|
|
|
char *freshdbdir(void);
|
2004-08-23 20:38:10 +00:00
|
|
|
void print_version(void);
|
2004-11-28 23:26:29 +00:00
|
|
|
int filecopy(const char *src, const char *dest);
|
2005-04-29 01:21:12 +00:00
|
|
|
int isnumb(const char *str);
|
2006-06-08 20:00:50 +00:00
|
|
|
int rmdirs(const char *dirname);
|
2006-07-27 12:19:34 +00:00
|
|
|
int dircopy(const char *src, const char *dest);
|
2006-06-09 10:46:12 +00:00
|
|
|
int cvd_unpack(const char *cvd, const char *destdir);
|
2006-08-30 22:41:21 +00:00
|
|
|
void daemonize(void);
|
2004-08-23 20:38:10 +00:00
|
|
|
|
|
|
|
#endif
|