Török Edvin
cd0a934f67
Prefer libclamunrar_iface that matches version (bb #1491 ).
...
Add $libdir to ltdl searchpath (bb #1476 ).
git-svn: trunk@4992
16 years ago
aCaB
6396a96a8f
add cl_engine_get_num(CL_ENGINE_DB_OPTIONS)
...
git-svn: trunk@4967
16 years ago
Tomasz Kojm
20473dece8
libclamav/others.c: move cli_gentemp*() to others_common.c
...
clamav-milter: don't link to libclamav (bb#1463)
git-svn: trunk@4938
16 years ago
Tomasz Kojm
2accc66fef
libclamav, clamd, clamscan: replace cl_engine_(set|get) with cl_engine_set_(num|str) and cl_engine_get_(num|str)
...
git-svn: trunk@4933
16 years ago
Török Edvin
e68d70e7e0
strerror/strerror_r->cli_strerror which is always thread safe.
...
git-svn: trunk@4927
16 years ago
Tomasz Kojm
99f817e731
libclamav: introduce cl_engine_settings_* API calls for copying settings between engines
...
clamd/server-th.c: respect original engine settings after db reload (bb#1380)
git-svn: trunk@4885
16 years ago
Tomasz Kojm
81d0605588
handle internal codes in cl_strerror()
...
git-svn: trunk@4812
16 years ago
Tomasz Kojm
871177cdd9
return codes cleanup (bb#1159)
...
git-svn: trunk@4749
17 years ago
Tomasz Kojm
afff80efb9
libclamav, shared: minor cleanups; fix handling of long file names (bb#1349)
...
git-svn: trunk@4670
17 years ago
Tomasz Kojm
47d40feb7a
libclamav: use LibTomMath by Tom St Denis instead of libgmp for multiple precision integer arithmetic (bb#1366)
...
git-svn: trunk@4650
17 years ago
Török Edvin
17799de206
fix CL_ENGINE_DB_TIME, time_t may well be 64-bits, so
...
writing only 32-bits will leave upper 32-bits undefined and lead to funny
results, such as VERSION command working first time, but 2nd time not showing
the DB timestamp.
git-svn: trunk@4637
17 years ago
Török Edvin
55b358f614
fix CL_ENGINE_DB_TIME, time_t may well be 64-bits, so
...
writing only 32-bits will leave upper 32-bits undefined and lead to funny
results, such as VERSION command working first time, but 2nd time not showing
the DB timestamp.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4636 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
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