#ifndef __MANAGER_H
#define __MANAGER_H
#include <clamav.h>
#include <pwd.h>
#include "options.h"
int scanmanager(const struct optstruct *opt);
int scanfile(const char *filename, struct cl_node *root, const struct passwd *user, const struct optstruct *opt, const struct cl_limits *limits, int options);
int scancompressed(const char *filename, struct cl_node *root, const struct passwd *user, const struct optstruct *opt, const struct cl_limits *limits, int options);
int scandenied(const char *filename, struct cl_node *root, const struct passwd *user, const struct optstruct *opt, const struct cl_limits *limits, int options);
int scandirs(const char *dirname, struct cl_node *root, const struct passwd *user, const struct optstruct *opt, const struct cl_limits *limits, int options);
int checkfile(const char *filename, const struct cl_node *root, const struct cl_limits *limits, int compr);
int checkstdin(const struct cl_node *root, const struct cl_limits *limits, int options);
#ifdef CLAMSCAN_THREADS
int thr_exitno, thr_pid;
void thr_exit(int sig);
#endif
int clamav_unpack(const char *prog, char **args, const char *tmpdir, const struct passwd *user, const struct optstruct *opt);
void move_infected(const char *filename, const struct optstruct *opt);
#endif