Tomasz Kojm
589d8d8e99
libclamav: add default.h
...
git-svn: trunk@4578
17 years ago
Török Edvin
02b5f26cab
make regex available in libclamav_internal_utils.la, split others.c instead of
...
using #ifdef CLI_MEMFUNS_ONLY.
git-svn: trunk@4553
17 years ago
Tomasz Kojm
a37a861eec
libclamav: add CL_FLEVEL_DCONF (bb#1313)
...
git-svn: trunk@4550
17 years ago
Tomasz Kojm
695e6fd402
sync with 0.94.2
...
git-svn: trunk@4484
17 years ago
Török Edvin
33d52089fc
fix disable-unrar build: don't refer to libclamunrar_iface.la
...
with enable-unrar builds (default) warn if can't dlopen.
if unrar is disabled, don't warn, just show a debug message.
git-svn: trunk@4464
17 years ago
Tomasz Kojm
33068e0973
libclamav: drop cl_settempdir(); use cl_engine_set() with CL_ENGINE_TMPDIR and CL_ENGINE_KEEPTMP instead
...
git-svn: trunk@4416
17 years ago
Tomasz Kojm
ab0d2f054d
libclamav, clamd, clamscan: use cl_engine_set() to control AC settings
...
git-svn: trunk@4404
17 years ago
Török Edvin
0c3db7d345
move cli_rarload.
...
TODO: MEMFUNSONLY should be a separate file!
git-svn: trunk@4400
17 years ago
Tomasz Kojm
b8fe70b3a3
libclamav: drop options parameter in cl_engine_new(); replace cl_engine_dup() with cl_engine_addref()
...
git-svn: trunk@4398
17 years ago
aCaB
f5a4018bd7
dlinit in cl_init
...
git-svn: trunk@4394
17 years ago
Tomasz Kojm
370892d044
clamscan, clamd: use the new API; drop the hardcoded default limits and use the ones set in cl_engine_new()
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4384 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
c45c4c3db0
add cl_engine_(set|get)
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4378 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
724b2bf770
Move cl_engine from clamav.h to others.h; move cl_limits to cl_engine;
...
New API calls:
int cl_init(unsigned int options);
struct cl_engine *cl_engine_new(unsigned int options);
int cl_engine_compile(struct cl_engine *engine);
struct cl_engine *cl_engine_dup(struct cl_engine *engine);
int cl_engine_free(struct cl_engine *engine);
more to come..
WARNING: THE BRANCH IS CURRENTLY BROKEN AND SHOULD NOT BE USED
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4370 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
5e035bdf9b
update flevel/revision
...
git-svn: trunk@4313
17 years ago
Tomasz Kojm
515350689a
bump flevel and revision
...
git-svn: trunk@4259
17 years ago
Tomasz Kojm
ba1cbe022a
libclamav/others.c: bump f-level
...
git-svn: trunk@4160
17 years ago
Tomasz Kojm
6670d61d4b
drop support for Cygwin (due to broken ClamAV builds)
...
git-svn: trunk@4143
17 years ago
Tomasz Kojm
82ded8f515
fix gcc warnings
...
git-svn: trunk@4136
17 years ago
Tomasz Kojm
de5582b666
libclamav/others.c: fix fd feak on error path - bb#1141
...
git-svn: trunk@4124
17 years ago
Tomasz Kojm
d7946e8277
bump f-level
...
git-svn: trunk@4111
17 years ago
Török Edvin
04f9bedf4b
use SVN revision in version info
...
TODO: replace every remaining use of VERSION with cl_retver()
git-svn: trunk@4070
17 years ago
Tomasz Kojm
6628371daa
add REG_NOSUB
...
git-svn: trunk@3975
17 years ago
Tomasz Kojm
7a8d49e193
fix compilation error
...
git-svn: trunk@3974
17 years ago
Tomasz Kojm
92f585fbee
libclamav: use a regex for the filename field in .zmd/.rmd (bb#193)
...
git-svn: trunk@3973
17 years ago
Tomasz Kojm
6f2f04916d
libclamav, clamd: prune old lockdb code
...
git-svn: trunk@3955
17 years ago
Tomasz Kojm
17f74f9f5c
sync with 0.93.3
...
git-svn: trunk@3922
17 years ago
Tomasz Kojm
746bc18177
fix handling of nodes which also match single bytes (bb#1054)
...
git-svn: trunk@3890
17 years ago
Tomasz Kojm
f7f59c083e
sync with 0.93.1
...
git-svn: trunk@3887
17 years ago
Tomasz Kojm
72ce4b70eb
improve handling of PDF, CAB, RTF, OLE2 and HTML files (sync with branch/0.93)
...
git-svn: trunk@3862
17 years ago
Tomasz Kojm
d076ad0251
check in 0.93 patches
...
git-svn: trunk@3788
17 years ago
aCaB
997a0e0b86
hardfail on unlink failure
...
git-svn: trunk@3775
17 years ago
Török Edvin
705d9d8f1c
error checking is now done inside cli_unlink
...
git-svn: trunk@3762
17 years ago
aCaB
6c06c7b3bb
bb#384
...
git-svn: trunk@3750
17 years ago
Tomasz Kojm
2023340a41
update copyrights and stick more files to GPLv2; move and add more credits to the AUTHORS file; add COPYING.BSD
...
git-svn: trunk@3749
17 years ago
aCaB
c0a95e0ce6
bb#384 - unlink
...
git-svn: trunk@3747
17 years ago
aCaB
fd747ed8cc
fsyncs removed - bb#844
...
git-svn: trunk@3728
17 years ago
Török Edvin
ca71efc4cf
check ctime return value (bb #869 ).
...
git-svn: trunk@3713
17 years ago
Tomasz Kojm
d768fd48e6
bump f-level
...
git-svn: trunk@3690
17 years ago
Török Edvin
7be8d871f6
replace cli_dbgmsg with a macro that avoids calling
...
the real function if we're not debugging. Statically
predict this branch as untaken.
updates due to above change
git-svn: trunk@3643
18 years ago
Török Edvin
d6df9ffb5a
use pthread_cond_* instead of usleep() in MULTISCAN (bb #758 )
...
enable entconv by default
others.c: fix compiler warning
regex_list.c: remove unused code, because a better solution is scheduled for 0.94 (bb #725 )
git-svn: trunk@3627
18 years ago
aCaB
2455584143
sync to trunk
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3599 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
aCaB
850db69e9e
update limits
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3594 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
aCaB
d91ab809a2
initial rewrite of limits
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3591 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
Tomasz Kojm
1a2906f432
add support for matching single bytes anchored to sub-signatures; bump f-level
...
git-svn: trunk@3588
18 years ago
Tomasz Kojm
96435bdc49
fix some compiler warnings
...
git-svn: trunk@3582
18 years ago
Török Edvin
9e751804a2
introduce cli_ctime() that uses ctime_r() when
...
available, and falls back to locking with a mutex around
ctime(). (ensures we are using the same mutex always).
use cli_ctime() instead of the thread-unsafe ctime().
This fixes stability problems.
git-svn: trunk@3578
18 years ago
aCaB
b80ae27752
newlimits started
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3556 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
aCaB
36582be0a5
file count
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3553 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
aCaB
4ad62d4eb4
api drafted
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3552 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
Török Edvin
3eaf4ea6b2
Fix build problem on OpenBSD: don't compile in functions depending on pthreads
...
into libclamav_internal_utils.a, because clamdscan is compiled without pthreads.
git-svn: trunk@3498
18 years ago