~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to docs/html/node43.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-03-12 11:30:04 UTC
  • mfrom: (0.41.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100312113004-b0fop4bkycszdd0z
Tags: 0.96~rc1+dfsg-0ubuntu1
* New upstream RC - FFE (LP: #537636):
  - Add OfficialDatabaseOnly option to clamav-base.postinst.in
  - Add LocalSocketGroup option to clamav-base.postinst.in
  - Add LocalSocketMode option to clamav-base.postinst.in
  - Add CrossFilesystems option to clamav-base.postinst.in
  - Add ClamukoScannerCount option to clamav-base.postinst.in
  - Add BytecodeSecurity opiton to clamav-base.postinst.in
  - Add DetectionStatsHostID option to clamav-freshclam.postinst.in
  - Add Bytecode option to clamav-freshclam.postinst.in
  - Add MilterSocketGroup option to clamav-milter.postinst.in
  - Add MilterSocketMode option to clamav-milter.postinst.in
  - Add ReportHostname option to clamav-milter.postinst.in
  - Bump libclamav SO version to 6.1.0 in libclamav6.install
  - Drop clamdmon from clamav.examples (no longer shipped by upstream)
  - Drop libclamav.a from libclamav-dev.install (not built by upstream)
  - Update SO version for lintian override for libclamav6
  - Add new Bytecode Testing Tool, usr/bin/clambc, to clamav.install
  - Add build-depends on python and python-setuptools for new test suite
  - Update debian/copyright for the embedded copy of llvm (using the system
    llvm is not currently feasible)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8
8
<HTML>
9
9
<HEAD>
10
 
<TITLE>Initialization</TITLE>
11
 
<META NAME="description" CONTENT="Initialization">
 
10
<TITLE>API</TITLE>
 
11
<META NAME="description" CONTENT="API">
12
12
<META NAME="keywords" CONTENT="clamdoc">
13
13
<META NAME="resource-type" CONTENT="document">
14
14
<META NAME="distribution" CONTENT="global">
18
18
 
19
19
<LINK REL="STYLESHEET" HREF="clamdoc.css">
20
20
 
21
 
<LINK REL="next" HREF="node47.html">
22
 
<LINK REL="previous" HREF="node41.html">
23
 
<LINK REL="up" HREF="node32.html">
 
21
<LINK REL="next" HREF="node56.html">
 
22
<LINK REL="previous" HREF="node36.html">
 
23
<LINK REL="up" HREF="node34.html">
24
24
<LINK REL="next" HREF="node44.html">
25
25
</HEAD>
26
26
 
27
27
<BODY >
28
28
 
29
29
<DIV CLASS="navigation"><!--Navigation Panel-->
30
 
<A NAME="tex2html768"
 
30
<A NAME="tex2html773"
31
31
  HREF="node44.html">
32
32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
33
 
<A NAME="tex2html764"
34
 
  HREF="node32.html">
 
33
<A NAME="tex2html769"
 
34
  HREF="node34.html">
35
35
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
36
 
<A NAME="tex2html758"
 
36
<A NAME="tex2html763"
37
37
  HREF="node42.html">
38
38
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
39
 
<A NAME="tex2html766"
 
39
<A NAME="tex2html771"
40
40
  HREF="node1.html">
41
41
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>  
42
42
<BR>
43
 
<B> Next:</B> <A NAME="tex2html769"
44
 
  HREF="node44.html">Database loading</A>
45
 
<B> Up:</B> <A NAME="tex2html765"
46
 
  HREF="node32.html">LibClamAV</A>
47
 
<B> Previous:</B> <A NAME="tex2html759"
48
 
  HREF="node42.html">Header file</A>
49
 
 &nbsp; <B>  <A NAME="tex2html767"
 
43
<B> Next:</B> <A NAME="tex2html774"
 
44
  HREF="node44.html">Header file</A>
 
45
<B> Up:</B> <A NAME="tex2html770"
 
46
  HREF="node34.html">LibClamAV</A>
 
47
<B> Previous:</B> <A NAME="tex2html764"
 
48
  HREF="node42.html">Others</A>
 
49
 &nbsp; <B>  <A NAME="tex2html772"
50
50
  HREF="node1.html">Contents</A></B> 
51
51
<BR>
52
52
<BR></DIV>
53
53
<!--End of Navigation Panel-->
54
54
 
55
 
<H2><A NAME="SECTION00074000000000000000">
56
 
Initialization</A>
 
55
<H2><A NAME="SECTION00073000000000000000">
 
56
API</A>
57
57
</H2>
58
 
    Before using libclamav, you should call <code>cl_init()</code> to initialize
59
 
    it. When it's done, you're ready to create a new scan engine by calling
60
 
    <code>cl_engine_new()</code>. To free resources allocated by the engine use
61
 
    <code>cl_engine_free()</code>. Function prototypes:
62
 
    <PRE>
63
 
        int cl_init(unsigned int options);
64
 
        struct cl_engine *cl_engine_new(void);
65
 
        int cl_engine_free(struct cl_engine *engine);
66
 
</PRE>
67
 
    <code>cl_init()</code> and <code>cl_engine_free()</code> return <code>CL_SUCCESS</code>
68
 
    on success or another code on error. <code>cl_engine_new()</code> return
69
 
    a pointer or NULL if there's not enough memory to allocate a new
70
 
    engine structure.
71
58
 
72
59
<P>
73
60
<BR><HR>
75
62
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
76
63
 
77
64
<UL CLASS="ChildLinks">
78
 
<LI><A NAME="tex2html770"
79
 
  HREF="node44.html">Database loading</A>
80
 
<LI><A NAME="tex2html771"
81
 
  HREF="node45.html">Error handling</A>
82
 
<LI><A NAME="tex2html772"
83
 
  HREF="node46.html">Engine structure</A>
 
65
<LI><A NAME="tex2html775"
 
66
  HREF="node44.html">Header file</A>
 
67
<LI><A NAME="tex2html776"
 
68
  HREF="node45.html">Initialization</A>
 
69
<LI><A NAME="tex2html777"
 
70
  HREF="node46.html">Database loading</A>
 
71
<LI><A NAME="tex2html778"
 
72
  HREF="node47.html">Error handling</A>
 
73
<LI><A NAME="tex2html779"
 
74
  HREF="node48.html">Engine structure</A>
 
75
<LI><A NAME="tex2html780"
 
76
  HREF="node49.html">Limits</A>
 
77
<LI><A NAME="tex2html781"
 
78
  HREF="node50.html">Database checks</A>
 
79
<LI><A NAME="tex2html782"
 
80
  HREF="node51.html">Data scan functions</A>
 
81
<LI><A NAME="tex2html783"
 
82
  HREF="node52.html">Memory</A>
 
83
<LI><A NAME="tex2html784"
 
84
  HREF="node53.html">Forking daemons</A>
 
85
<LI><A NAME="tex2html785"
 
86
  HREF="node54.html">clamav-config</A>
 
87
<LI><A NAME="tex2html786"
 
88
  HREF="node55.html">Example</A>
84
89
</UL>
85
90
<!--End of Table of Child-Links-->
86
91
<BR><HR>
87
92
<ADDRESS>
88
93
Tomasz Kojm
89
 
2009-10-28
 
94
2010-03-10
90
95
</ADDRESS>
91
96
</BODY>
92
97
</HTML>