1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3
<!--Converted with LaTeX2HTML 2008 (1.71)
4
original version by: Nikos Drakos, CBLU, University of Leeds
5
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
6
* with significant contributions from:
7
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
10
<TITLE>Example</TITLE>
11
<META NAME="description" CONTENT="Example">
12
<META NAME="keywords" CONTENT="clamdoc">
13
<META NAME="resource-type" CONTENT="document">
14
<META NAME="distribution" CONTENT="global">
16
<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
17
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
19
<LINK REL="STYLESHEET" HREF="clamdoc.css">
21
<LINK REL="previous" HREF="node54.html">
22
<LINK REL="up" HREF="node43.html">
23
<LINK REL="next" HREF="node56.html">
28
<DIV CLASS="navigation"><!--Navigation Panel-->
31
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
34
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
37
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
40
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
42
<B> Next:</B> <A NAME="tex2html928"
43
HREF="node56.html">CVD format</A>
44
<B> Up:</B> <A NAME="tex2html924"
45
HREF="node43.html">API</A>
46
<B> Previous:</B> <A NAME="tex2html920"
47
HREF="node54.html">clamav-config</A>
48
<B> <A NAME="tex2html926"
49
HREF="node1.html">Contents</A></B>
52
<!--End of Navigation Panel-->
54
<H3><A NAME="SECTION000731200000000000000">
57
You will find an example scanner application in the clamav source
58
package (/example). Provided you have ClamAV already installed, execute
59
the following to compile it:
61
gcc -Wall ex1.c -o ex1 -lclamav