aCaB
5ed6026065
liblt sucks
...
git-svn: trunk@4381
17 years ago
Tomasz Kojm
15850fc6d4
simplify the code; don't free 'engine'
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4380 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
cadf86d46f
remove mutex in nsis/zlib
...
git-svn: trunk@4379
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
aCaB
0acb334efb
more cleanup
...
git-svn: trunk@4377
17 years ago
Török Edvin
aa78250a2b
regenerate libltdl/ to get rid of bunch of leftover files.
...
git-svn: trunk@4376
17 years ago
aCaB
8462fc2f1a
typo in mmap check
...
git-svn: trunk@4375
17 years ago
aCaB
176f09186b
remove cache
...
git-svn: trunk@4374
17 years ago
aCaB
26fee011a4
OMG i've killed ChangeLog
...
git-svn: trunk@4372
17 years ago
aCaB
f7483b1082
merge dlopen branch
...
git-svn: trunk@4371
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
aCaB
b51b44afb9
*really* final
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4369 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
bb7bd3abfd
final
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4368 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
262a64241f
fix ChangeLog
...
git-svn: trunk@4366
17 years ago
Török Edvin
674cc586f0
fix build on AIX: for some odd reason `echo target.h` was producing 'x', so don't use `echo ifelse(...`, since ifelse is expanded by aclocal anyway
...
git-svn: trunk@4365
17 years ago
Tomasz Kojm
79a5689ca3
new API branch
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4364 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
fc0493d2ca
reduce memory usage of AC nodes
...
git-svn: trunk@4363
17 years ago
Török Edvin
ce9368870d
clamdtop: Apply mingw32 patches from Gianluigi Tiesi <sherpya*netfarm.it>
...
git-svn: trunk@4362
17 years ago
Török Edvin
5ddf834fa3
fix VPATH build
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4361 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
094104a7ac
preliminary dlopen support for libclamunrar - this is mostly libtool stuff
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4360 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
71a2542e16
dlopen fork
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4358 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
2bbbd2380f
reorder some struct fields to avoid holes
...
git-svn: trunk@4355
17 years ago
aCaB
b26d0ef3fd
mpool opt
...
git-svn: trunk@4354
17 years ago
Török Edvin
08402afa4c
fix more compiler warnings (bb #273 )
...
git-svn: trunk@4353
17 years ago
Tomasz Kojm
653c129cb3
freshclam/manager.c: remove unused parameter (bb#1280)
...
git-svn: trunk@4352
17 years ago
Tomasz Kojm
3be2288f4f
freshclam/manager.c: improve reporting of server failures (bb#777)
...
git-svn: trunk@4351
17 years ago
Török Edvin
8c38b7fb52
fix wrong free (thanks Nigel!)
...
git-svn: trunk@4350
17 years ago
Török Edvin
5a1034b991
fix more compiler warnings (bb #273 ).
...
git-svn: trunk@4349
17 years ago
Tomasz Kojm
aef5cf19cf
docs/clamdoc.tex, docs/man/clamd.8.in: document nCOMMANDS (bb#1278)
...
git-svn: trunk@4348
17 years ago
Török Edvin
25a643cd4b
make ChangeLog entries more readable
...
git-svn: trunk@4347
17 years ago
Török Edvin
b9b477842d
fix compiler warnings, more to come (bb #273 )
...
git-svn: trunk@4346
17 years ago
Török Edvin
233732d76d
reconnect if connection is broken
...
use recv/send instead of fdopen on socket
git-svn: trunk@4345
17 years ago
Török Edvin
deb3031222
mempool statistics support
...
git-svn: trunk@4344
17 years ago
Török Edvin
6a21552ef2
have configure define NDEBUG unless we use --enable-debug, instead of having
...
to #ifndef CL_DEBUG #define NDEBUG #endif in each .c file that uses assert.
If you want assertions enabled you'll need to use --enable-debug to configure,
as until now, no change there.
git-svn: trunk@4343
17 years ago
Tomasz Kojm
1464e7a169
clamscan/manager.c: fix double-slash when scanning the root dir (bb#1263)
...
git-svn: trunk@4342
17 years ago
Tomasz Kojm
baacbd1676
unit_tests/virusaction-test.sh: ignore pathnames (bb#1274)
...
git-svn: trunk@4341
17 years ago
Török Edvin
26ffcfa20c
use ANONYMOUS_MAP from clamav-config.h instead of MAP_ANONYMOUS, fix mp_flush
...
call mp_flush from readdb
git-svn: trunk@4340
17 years ago
Török Edvin
c9a3e685b4
* libclamav/mpool.c (mp_destroy): need to use sizeof(*mp) because mp is a pointer here!!
...
git-svn: trunk@4339
17 years ago
aCaB
38e881e3c0
mpool cli_mp_hex2ui
...
git-svn: trunk@4337
17 years ago
Török Edvin
e9f6bb39e5
add more TODO notes, thanks nitrox for the feedback!
...
git-svn: trunk@4336
17 years ago
Török Edvin
af09ef0446
add TODO note about reconnecting
...
git-svn: trunk@4335
17 years ago
Tomasz Kojm
a305a2616a
libclamav/matcher-ac.c: micro-optimization (bb#843), thanks to Edwin
...
git-svn: trunk@4334
17 years ago
aCaB
d6e1ef1611
mempool deuglification
...
git-svn: trunk@4333
17 years ago
Tomasz Kojm
ac1b219cf1
libclamav, clamd: always return correct db version in VERSION (bb#1168)
...
git-svn: trunk@4332
17 years ago
Török Edvin
8ff2ee26ec
fix bar calculation: releasable is part of free
...
mention mempool in TODO
git-svn: trunk@4331
17 years ago
Török Edvin
ad0fd7287a
* libclamav/matcher-ac.c (cli_ac_addsig): need to use mpool allocated memory for ->str
...
* libclamav/mpool.c (mp_malloc, cli_mp_hex2str, check_all): introduce hex2str wrapper
* libclamav/mpool.h (mp_t, cli_mp_hex2str): introduce hex2str wrapper
* libclamav/regex_list.c (add_hash): need to use mpool allocated memory for arg to bm_addpatt
git-svn: trunk@4330
17 years ago
Török Edvin
7866b37c6b
mpool debugging
...
s/USE_MEMPOOL/USE_MPOOL/
git-svn: trunk@4329
17 years ago
Török Edvin
764f76c841
* clamd/thrmgr.c (thrmgr_printstats, IDLE_TASK): add comments
...
* contrib/clamdtop/TODO: more TODO items
git-svn: trunk@4328
17 years ago
Török Edvin
64cb380717
fix whitespace
...
git-svn: trunk@4327
17 years ago
Török Edvin
ee7ac1fc63
fix mixed statements (bb #1269 )
...
git-svn: trunk@4326
17 years ago