git-svn: trunk@4955
Tomasz Kojm authored on 2009/03/17 01:04:29... | ... |
@@ -71,7 +71,7 @@ |
71 | 71 |
\vspace{3cm} |
72 | 72 |
\begin{flushright} |
73 | 73 |
\rule[-1ex]{8cm}{3pt}\\ |
74 |
- \huge Clam AntiVirus 0.95rc1\\ |
|
74 |
+ \huge Clam AntiVirus 0.95rc2\\ |
|
75 | 75 |
\huge \emph{User Manual}\\ |
76 | 76 |
\end{flushright} |
77 | 77 |
|
... | ... |
@@ -907,17 +907,23 @@ N * * * * /usr/local/bin/freshclam --quiet |
907 | 907 |
\subsection{Limits} |
908 | 908 |
When you create a new engine with \verb+cl_engine_new()+, it will have |
909 | 909 |
all internal settings set to default values as recommended by the |
910 |
- ClamAV authors. It's possible to check and modify the values using |
|
911 |
- this couple of functions: |
|
910 |
+ ClamAV authors. It's possible to check and modify the values (numerical |
|
911 |
+ and strings) using the following set of functions: |
|
912 | 912 |
\begin{verbatim} |
913 |
- int cl_engine_set(struct cl_engine *engine, |
|
914 |
- enum cl_engine_field field, const void *val); |
|
913 |
+int cl_engine_set_num(struct cl_engine *engine, |
|
914 |
+ enum cl_engine_field field, long long num); |
|
915 | 915 |
|
916 |
- int cl_engine_get(const struct cl_engine *engine, |
|
917 |
- enum cl_engine_field fi eld, void *val); |
|
916 |
+long long cl_engine_get_num(const struct cl_engine *engine, |
|
917 |
+ enum cl_engine_field field, int *err); |
|
918 |
+ |
|
919 |
+int cl_engine_set_str(struct cl_engine *engine, |
|
920 |
+ enum cl_engine_field field, const char *str); |
|
921 |
+ |
|
922 |
+const char *cl_engine_get_str(const struct cl_engine *engine, |
|
923 |
+ enum cl_engine_field field, int *err); |
|
918 | 924 |
\end{verbatim} |
919 | 925 |
Please don't modify the default values unless you know what you're doing. |
920 |
- Refer to ClamAV sources (clamscan, clamd) for examples. |
|
926 |
+ Refer to the ClamAV sources (clamscan, clamd) for examples. |
|
921 | 927 |
|
922 | 928 |
\subsection{Database reloading} |
923 | 929 |
It's very important to keep the internal instance of the database up to |
... | ... |
@@ -56,7 +56,7 @@ original version by: Nikos Drakos, CBLU, University of Leeds |
56 | 56 |
<BR> |
57 | 57 |
<BR> |
58 | 58 |
<DIV ALIGN="RIGHT"> |
59 |
-<BR> <BIG CLASS="HUGE">Clam AntiVirus 0.95rc1 |
|
59 |
+<BR> <BIG CLASS="HUGE">Clam AntiVirus 0.95rc2 |
|
60 | 60 |
<BR> <BIG CLASS="HUGE"><SPAN CLASS="textit">User Manual</SPAN> |
61 | 61 |
<BR> |
62 | 62 |
</BIG></BIG></DIV> |
... | ... |
@@ -225,7 +225,7 @@ original version by: Nikos Drakos, CBLU, University of Leeds |
225 | 225 |
<BR><HR> |
226 | 226 |
<ADDRESS> |
227 | 227 |
Tomasz Kojm |
228 |
-2009-02-25 |
|
228 |
+2009-03-16 |
|
229 | 229 |
</ADDRESS> |
230 | 230 |
</BODY> |
231 | 231 |
</HTML> |
... | ... |
@@ -56,7 +56,7 @@ original version by: Nikos Drakos, CBLU, University of Leeds |
56 | 56 |
<BR> |
57 | 57 |
<BR> |
58 | 58 |
<DIV ALIGN="RIGHT"> |
59 |
-<BR> <BIG CLASS="HUGE">Clam AntiVirus 0.95rc1 |
|
59 |
+<BR> <BIG CLASS="HUGE">Clam AntiVirus 0.95rc2 |
|
60 | 60 |
<BR> <BIG CLASS="HUGE"><SPAN CLASS="textit">User Manual</SPAN> |
61 | 61 |
<BR> |
62 | 62 |
</BIG></BIG></DIV> |
... | ... |
@@ -225,7 +225,7 @@ original version by: Nikos Drakos, CBLU, University of Leeds |
225 | 225 |
<BR><HR> |
226 | 226 |
<ADDRESS> |
227 | 227 |
Tomasz Kojm |
228 |
-2009-02-25 |
|
228 |
+2009-03-16 |
|
229 | 229 |
</ADDRESS> |
230 | 230 |
</BODY> |
231 | 231 |
</HTML> |
... | ... |
@@ -57,23 +57,29 @@ Limits</A> |
57 | 57 |
</H2> |
58 | 58 |
When you create a new engine with <code>cl_engine_new()</code>, it will have |
59 | 59 |
all internal settings set to default values as recommended by the |
60 |
- ClamAV authors. It's possible to check and modify the values using |
|
61 |
- this couple of functions: |
|
60 |
+ ClamAV authors. It's possible to check and modify the values (numerical |
|
61 |
+ and strings) using the following set of functions: |
|
62 | 62 |
<PRE> |
63 |
- int cl_engine_set(struct cl_engine *engine, |
|
64 |
- enum cl_engine_field field, const void *val); |
|
63 |
+int cl_engine_set_num(struct cl_engine *engine, |
|
64 |
+ enum cl_engine_field field, long long num); |
|
65 | 65 |
|
66 |
- int cl_engine_get(const struct cl_engine *engine, |
|
67 |
- enum cl_engine_field fi eld, void *val); |
|
66 |
+long long cl_engine_get_num(const struct cl_engine *engine, |
|
67 |
+ enum cl_engine_field field, int *err); |
|
68 |
+ |
|
69 |
+int cl_engine_set_str(struct cl_engine *engine, |
|
70 |
+ enum cl_engine_field field, const char *str); |
|
71 |
+ |
|
72 |
+const char *cl_engine_get_str(const struct cl_engine *engine, |
|
73 |
+ enum cl_engine_field field, int *err); |
|
68 | 74 |
</PRE> |
69 | 75 |
Please don't modify the default values unless you know what you're doing. |
70 |
- Refer to ClamAV sources (clamscan, clamd) for examples. |
|
76 |
+ Refer to the ClamAV sources (clamscan, clamd) for examples. |
|
71 | 77 |
|
72 | 78 |
<P> |
73 | 79 |
<BR><HR> |
74 | 80 |
<ADDRESS> |
75 | 81 |
Tomasz Kojm |
76 |
-2009-02-25 |
|
82 |
+2009-03-16 |
|
77 | 83 |
</ADDRESS> |
78 | 84 |
</BODY> |
79 | 85 |
</HTML> |
... | ... |
@@ -64,11 +64,11 @@ Mathematics Department, Macquarie University, Sydney. |
64 | 64 |
The command line arguments were: <BR> |
65 | 65 |
<STRONG>latex2html</STRONG> <TT>-local_icons clamdoc.tex</TT> |
66 | 66 |
<P> |
67 |
-The translation was initiated by Tomasz Kojm on 2009-02-25 |
|
67 |
+The translation was initiated by Tomasz Kojm on 2009-03-16 |
|
68 | 68 |
<BR><HR> |
69 | 69 |
<ADDRESS> |
70 | 70 |
Tomasz Kojm |
71 |
-2009-02-25 |
|
71 |
+2009-03-16 |
|
72 | 72 |
</ADDRESS> |
73 | 73 |
</BODY> |
74 | 74 |
</HTML> |