Török Edvin
0c3db7d345
move cli_rarload.
...
TODO: MEMFUNSONLY should be a separate file!
git-svn: trunk@4400
17 years ago
Török Edvin
29d6dd3fe6
select a clamd
...
git-svn: trunk@4399
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
Tomasz Kojm
72d0c053da
libclamav/readdb.c: phishing_done() no longer needs to be called outside cl_engine_free()
...
git-svn: trunk@4397
17 years ago
Török Edvin
4b2400fd7c
fix memory leak (bb #1291 )
...
git-svn: trunk@4395
17 years ago
aCaB
f5a4018bd7
dlinit in cl_init
...
git-svn: trunk@4394
17 years ago
aCaB
8d0b6b632b
upgrade milter to new api
...
git-svn: trunk@4393
17 years ago
Török Edvin
55885104da
some docs
...
git-svn: trunk@4392
17 years ago
Tomasz Kojm
395fb661e3
fix some possible memleaks
...
git-svn: trunk@4391
17 years ago
Török Edvin
d737d793eb
fix some leaks and crashes
...
git-svn: trunk@4390
17 years ago
Török Edvin
f01ea61380
Fix -Werror build: there is no libltdl directory when building with VPATH, $(srcdir)/libltdl is enough. Filter -Werror in libltdl.
...
git-svn: trunk@4389
17 years ago
Tomasz Kojm
55cd3168fa
s/CL_DB_STDOPT/CL_ENGINE_DEFAULT
...
git-svn: trunk@4388
17 years ago
Török Edvin
15adbc849a
update unit tests to new API.
...
Initialization order changed, make sure stats_tls_key is initialized.
git-svn: trunk@4387
17 years ago
Török Edvin
1615194d93
refactor, minor fixes
...
git-svn: trunk@4386
17 years ago
Tomasz Kojm
2d84c70a37
* libclamav: introduce new API calls for engine management (THIS REVISION IS
...
NOT BACKWARD COMPATIBLE): cl_init(), cl_engine_new(),
cl_engine_set/get(), cl_engine_compile(), cl_engine_dup(),
cl_engine_free(); make minor modifications to other calls;
move cl_engine to others.h; integrate limits into cl_engine
* clamd, clamscan: use new API; drop hardcoded default limits and depend on
those set by libclamav
* clamav-milter, unit_tests: TODO, **don't compile in this rev**
git-svn: trunk@4385
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
Török Edvin
e7fdfa9aa9
refactor, multiple clamd support.
...
documentation, and detailview to come later.
git-svn: trunk@4383
17 years ago
aCaB
96a6080e94
make lintian happy
...
git-svn: trunk@4382
17 years ago
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