⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.25
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
clamav
/
html
/
View File Name :
libfreshclam_8h_source.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.9.1"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>ClamAV: /build/clamav-o3sfrF/clamav-1.4.3+dfsg/libfreshclam/libfreshclam.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">ClamAV  <span id="projectnumber">1.4.3</span> </div> <div id="projectbrief">ClamAV open source email, web, and end-point anti-virus toolkit.</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.9.1 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search','.html'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_b203db8ec3b316ed22a7b9d0aa016f60.html">libfreshclam</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">libfreshclam.h</div> </div> </div><!--header--> <div class="contents"> <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (C) 2013-2024 Cisco Systems, Inc. and/or its affiliates. All rights reserved.</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (C) 2007-2013 Sourcefire, Inc.</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net></span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * This program is free software; you can redistribute it and/or modify</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * it under the terms of the GNU General Public License version 2 as</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * published by the Free Software Foundation.</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * This program is distributed in the hope that it will be useful,</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * GNU General Public License for more details.</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> *</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * You should have received a copy of the GNU General Public License</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * along with this program; if not, write to the Free Software</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * MA 02110-1301, USA.</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> */</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifndef __LIBFRESHCLAM_H</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#define __LIBFRESHCLAM_H</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "clamav-types.h"</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">/*</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * FreshClam configuration flag options.</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> */</span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">// clang-format off</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#define FC_CONFIG_MSG_DEBUG 0x1 </span><span class="comment">// Enable debug messages.</span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#define FC_CONFIG_MSG_VERBOSE 0x2 </span><span class="comment">// Enable verbose mode.</span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#define FC_CONFIG_MSG_QUIET 0x4 </span><span class="comment">// Only output error messages.</span></div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#define FC_CONFIG_MSG_NOWARN 0x8 </span><span class="comment">// Don't output warning messages.</span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#define FC_CONFIG_MSG_STDOUT 0x10 </span><span class="comment">// Write to stdout instead of stderr.</span></div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#define FC_CONFIG_MSG_SHOWPROGRESS 0x20 </span><span class="comment">// Show download progress percentage.</span></div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#define FC_CONFIG_LOG_VERBOSE 0x1 </span><span class="comment">// Be verbose in log output as well.</span></div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#define FC_CONFIG_LOG_NOWARN 0x2 </span><span class="comment">// Don't log warning messages.</span></div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#define FC_CONFIG_LOG_TIME 0x4 </span><span class="comment">// Include timestamp in log messages.</span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#define FC_CONFIG_LOG_ROTATE 0x8 </span><span class="comment">// Rotate logs if they exceed MaxLogSize.</span></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#define FC_CONFIG_LOG_SYSLOG 0x10 </span><span class="comment">// Enable Syslog.</span></div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// clang-format on</span></div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment">/* freshclam config options */</span></div> <div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structfc__config__.html"> 45</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structfc__config__.html">fc_config_</a> {</div> <div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structfc__config__.html#a9e7f4bad5043ab842213fb4766fc4e65"> 46</a></span>  uint32_t <a class="code" href="structfc__config__.html#a9e7f4bad5043ab842213fb4766fc4e65">msgFlags</a>; </div> <div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structfc__config__.html#aa3c8215db7029440182fff28e746d2de"> 47</a></span>  uint32_t <a class="code" href="structfc__config__.html#aa3c8215db7029440182fff28e746d2de">logFlags</a>; </div> <div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structfc__config__.html#a5f00afecff1f90291f53eda3b4070fca"> 48</a></span>  uint64_t <a class="code" href="structfc__config__.html#a5f00afecff1f90291f53eda3b4070fca">maxLogSize</a>; </div> <div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structfc__config__.html#a097215f031a38a82515f202f58bedcf6"> 49</a></span>  uint32_t <a class="code" href="structfc__config__.html#a097215f031a38a82515f202f58bedcf6">maxAttempts</a>; </div> <div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structfc__config__.html#a2a189d166b1ac65254388206e19ffe57"> 50</a></span>  uint32_t <a class="code" href="structfc__config__.html#a2a189d166b1ac65254388206e19ffe57">connectTimeout</a>; </div> <div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structfc__config__.html#a49cd7f65bb15b6dee397ece9852e7cc2"> 51</a></span>  uint32_t <a class="code" href="structfc__config__.html#a49cd7f65bb15b6dee397ece9852e7cc2">requestTimeout</a>; </div> <div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structfc__config__.html#a4c51ce69c8a29c1062bed81493a1aa46"> 52</a></span>  uint32_t <a class="code" href="structfc__config__.html#a4c51ce69c8a29c1062bed81493a1aa46">bCompressLocalDatabase</a>; </div> <div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structfc__config__.html#a21a67c39ba104dbb140843cfd7166edb"> 53</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structfc__config__.html#a21a67c39ba104dbb140843cfd7166edb">logFile</a>; </div> <div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structfc__config__.html#afdd35ba2a2225286aa6fe97cb0f0df6e"> 54</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structfc__config__.html#afdd35ba2a2225286aa6fe97cb0f0df6e">logFacility</a>; </div> <div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structfc__config__.html#af6b3dc7d344e2ca514eaebdd83825c64"> 55</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structfc__config__.html#af6b3dc7d344e2ca514eaebdd83825c64">localIP</a>; </div> <div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structfc__config__.html#adf530010e180cd1adf7090f23057c766"> 56</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structfc__config__.html#adf530010e180cd1adf7090f23057c766">userAgent</a>; </div> <div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structfc__config__.html#add32b1b5219e8da9848a7567948be8e4"> 57</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structfc__config__.html#add32b1b5219e8da9848a7567948be8e4">proxyServer</a>; </div> <div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structfc__config__.html#a69ff9490dda913e0c83f24e17f9cb342"> 58</a></span>  uint16_t <a class="code" href="structfc__config__.html#a69ff9490dda913e0c83f24e17f9cb342">proxyPort</a>; </div> <div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structfc__config__.html#acab69832a5422267b98f33ace62a9870"> 59</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structfc__config__.html#acab69832a5422267b98f33ace62a9870">proxyUsername</a>; </div> <div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structfc__config__.html#a346e457a06f6ad6f751aba414d83006f"> 60</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structfc__config__.html#a346e457a06f6ad6f751aba414d83006f">proxyPassword</a>; </div> <div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structfc__config__.html#ab29eeefb142e1ec3c44b505d75f282ca"> 61</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structfc__config__.html#ab29eeefb142e1ec3c44b505d75f282ca">databaseDirectory</a>; </div> <div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structfc__config__.html#ac184859c9e701c99935748a0d1985525"> 62</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structfc__config__.html#ac184859c9e701c99935748a0d1985525">tempDirectory</a>; </div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span> } <a class="code" href="structfc__config__.html">fc_config</a>;</div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">typedef</span> <span class="keyword">enum</span> fc_error_tag {</div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  FC_SUCCESS = 0,</div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  FC_UPTODATE = 1,</div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  FC_EINIT,</div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  FC_EDIRECTORY,</div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  FC_EFILE,</div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  FC_ECONNECTION,</div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  FC_EEMPTYFILE,</div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  FC_EBADCVD,</div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  FC_ETESTFAIL,</div> <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  FC_ECONFIG,</div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  FC_EDBDIRACCESS,</div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  FC_EFAILEDGET,</div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  FC_EMIRRORNOTSYNC,</div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  FC_ELOGGING,</div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  FC_EFAILEDUPDATE,</div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  FC_EMEM,</div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  FC_EARG,</div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  FC_EFORBIDDEN,</div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  FC_ERETRYLATER,</div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  FC_ERROR</div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> } fc_error_t;</div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *fc_strerror(fc_error_t fcerror);</div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span> fc_error_t fc_initialize(<a class="code" href="structfc__config__.html">fc_config</a> *config);</div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="keywordtype">void</span> fc_cleanup(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  </div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span> fc_error_t fc_prune_database_directory(</div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordtype">char</span> **databaseList,</div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  uint32_t nDatabases);</div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  </div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span> fc_error_t fc_test_database(</div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *dbFilename,</div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordtype">int</span> bBytecodeEnabled);</div> <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span> fc_error_t fc_dns_query_update_info(</div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *dnsUpdateInfoServer,</div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordtype">char</span> **dnsUpdateInfo,</div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordtype">char</span> **newVersion);</div> <div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  </div> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span> fc_error_t fc_download_url_database(</div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *urlDatabase,</div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordtype">void</span> *context,</div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordtype">int</span> *bUpdated);</div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  </div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span> fc_error_t fc_download_url_databases(</div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordtype">char</span> **urlDatabaseList,</div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  uint32_t nUrlDatabases,</div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordtype">void</span> *context,</div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  uint32_t *nUpdated);</div> <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  </div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span> fc_error_t fc_update_database(</div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *database,</div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keywordtype">char</span> **serverList,</div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  uint32_t nServers,</div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordtype">int</span> bPrivateMirror,</div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *dnsUpdateInfo,</div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordtype">int</span> bScriptedUpdates,</div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keywordtype">void</span> *context,</div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keywordtype">int</span> *bUpdated);</div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  </div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span> fc_error_t fc_update_databases(</div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordtype">char</span> **databaseList,</div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  uint32_t nDatabases,</div> <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="keywordtype">char</span> **serverList,</div> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  uint32_t nServers,</div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="keywordtype">int</span> bPrivateMirror,</div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *dnsUpdateInfo,</div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordtype">int</span> bScriptedUpdates,</div> <div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keywordtype">void</span> *context,</div> <div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  uint32_t *nUpdated);</div> <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  </div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="comment"> * Callback function type definitions.</span></div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="comment"> */</span></div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  </div> <div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="keyword">typedef</span> fc_error_t (*fccb_download_complete)(<span class="keyword">const</span> <span class="keywordtype">char</span> *dbFilename, <span class="keywordtype">void</span> *context);</div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="keyword">extern</span> <span class="keywordtype">void</span> fc_set_fccb_download_complete(fccb_download_complete callback);</div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  </div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="preprocessor">#endif </span><span class="comment">// __LIBFRESHCLAM_H</span></div> <div class="ttc" id="astructfc__config___html"><div class="ttname"><a href="structfc__config__.html">fc_config_</a></div><div class="ttdef"><b>Definition:</b> libfreshclam.h:45</div></div> <div class="ttc" id="astructfc__config___html_a097215f031a38a82515f202f58bedcf6"><div class="ttname"><a href="structfc__config__.html#a097215f031a38a82515f202f58bedcf6">fc_config_::maxAttempts</a></div><div class="ttdeci">uint32_t maxAttempts</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:49</div></div> <div class="ttc" id="astructfc__config___html_a21a67c39ba104dbb140843cfd7166edb"><div class="ttname"><a href="structfc__config__.html#a21a67c39ba104dbb140843cfd7166edb">fc_config_::logFile</a></div><div class="ttdeci">const char * logFile</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:53</div></div> <div class="ttc" id="astructfc__config___html_a2a189d166b1ac65254388206e19ffe57"><div class="ttname"><a href="structfc__config__.html#a2a189d166b1ac65254388206e19ffe57">fc_config_::connectTimeout</a></div><div class="ttdeci">uint32_t connectTimeout</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:50</div></div> <div class="ttc" id="astructfc__config___html_a346e457a06f6ad6f751aba414d83006f"><div class="ttname"><a href="structfc__config__.html#a346e457a06f6ad6f751aba414d83006f">fc_config_::proxyPassword</a></div><div class="ttdeci">const char * proxyPassword</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:60</div></div> <div class="ttc" id="astructfc__config___html_a49cd7f65bb15b6dee397ece9852e7cc2"><div class="ttname"><a href="structfc__config__.html#a49cd7f65bb15b6dee397ece9852e7cc2">fc_config_::requestTimeout</a></div><div class="ttdeci">uint32_t requestTimeout</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:51</div></div> <div class="ttc" id="astructfc__config___html_a4c51ce69c8a29c1062bed81493a1aa46"><div class="ttname"><a href="structfc__config__.html#a4c51ce69c8a29c1062bed81493a1aa46">fc_config_::bCompressLocalDatabase</a></div><div class="ttdeci">uint32_t bCompressLocalDatabase</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:52</div></div> <div class="ttc" id="astructfc__config___html_a5f00afecff1f90291f53eda3b4070fca"><div class="ttname"><a href="structfc__config__.html#a5f00afecff1f90291f53eda3b4070fca">fc_config_::maxLogSize</a></div><div class="ttdeci">uint64_t maxLogSize</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:48</div></div> <div class="ttc" id="astructfc__config___html_a69ff9490dda913e0c83f24e17f9cb342"><div class="ttname"><a href="structfc__config__.html#a69ff9490dda913e0c83f24e17f9cb342">fc_config_::proxyPort</a></div><div class="ttdeci">uint16_t proxyPort</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:58</div></div> <div class="ttc" id="astructfc__config___html_a9e7f4bad5043ab842213fb4766fc4e65"><div class="ttname"><a href="structfc__config__.html#a9e7f4bad5043ab842213fb4766fc4e65">fc_config_::msgFlags</a></div><div class="ttdeci">uint32_t msgFlags</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:46</div></div> <div class="ttc" id="astructfc__config___html_aa3c8215db7029440182fff28e746d2de"><div class="ttname"><a href="structfc__config__.html#aa3c8215db7029440182fff28e746d2de">fc_config_::logFlags</a></div><div class="ttdeci">uint32_t logFlags</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:47</div></div> <div class="ttc" id="astructfc__config___html_ab29eeefb142e1ec3c44b505d75f282ca"><div class="ttname"><a href="structfc__config__.html#ab29eeefb142e1ec3c44b505d75f282ca">fc_config_::databaseDirectory</a></div><div class="ttdeci">const char * databaseDirectory</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:61</div></div> <div class="ttc" id="astructfc__config___html_ac184859c9e701c99935748a0d1985525"><div class="ttname"><a href="structfc__config__.html#ac184859c9e701c99935748a0d1985525">fc_config_::tempDirectory</a></div><div class="ttdeci">const char * tempDirectory</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:62</div></div> <div class="ttc" id="astructfc__config___html_acab69832a5422267b98f33ace62a9870"><div class="ttname"><a href="structfc__config__.html#acab69832a5422267b98f33ace62a9870">fc_config_::proxyUsername</a></div><div class="ttdeci">const char * proxyUsername</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:59</div></div> <div class="ttc" id="astructfc__config___html_add32b1b5219e8da9848a7567948be8e4"><div class="ttname"><a href="structfc__config__.html#add32b1b5219e8da9848a7567948be8e4">fc_config_::proxyServer</a></div><div class="ttdeci">const char * proxyServer</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:57</div></div> <div class="ttc" id="astructfc__config___html_adf530010e180cd1adf7090f23057c766"><div class="ttname"><a href="structfc__config__.html#adf530010e180cd1adf7090f23057c766">fc_config_::userAgent</a></div><div class="ttdeci">const char * userAgent</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:56</div></div> <div class="ttc" id="astructfc__config___html_af6b3dc7d344e2ca514eaebdd83825c64"><div class="ttname"><a href="structfc__config__.html#af6b3dc7d344e2ca514eaebdd83825c64">fc_config_::localIP</a></div><div class="ttdeci">const char * localIP</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:55</div></div> <div class="ttc" id="astructfc__config___html_afdd35ba2a2225286aa6fe97cb0f0df6e"><div class="ttname"><a href="structfc__config__.html#afdd35ba2a2225286aa6fe97cb0f0df6e">fc_config_::logFacility</a></div><div class="ttdeci">const char * logFacility</div><div class="ttdef"><b>Definition:</b> libfreshclam.h:54</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </small></address> </body> </html>