~ubuntu-branches/ubuntu/breezy/clamav/breezy-backports

« back to all changes in this revision

Viewing changes to libclamav/matcher.h

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran
  • Date: 2005-09-19 09:05:59 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050919090559-hikpqduq8yx5qxo2
Tags: 0.87-1
* New upstream version
  - Fixes CAN-2005-2920 and CAN-2005-2919 (closes: #328660)
* New logcheck line for clamav-daemon (closes: #323132)
* relibtoolize and apply kfreebsd patch (closes: #327707)
* Make sure init.d script starts freshclam up again after upgrade when run
  from if-up.d (closes: #328912)

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include "clamav.h"
23
23
 
24
 
struct nodelist {
25
 
    struct cl_node *node;
26
 
    struct nodelist *next;
27
 
};
28
 
 
29
 
int cli_addpatt(struct cl_node *root, struct cli_patt *pattern);
30
 
struct nodelist *cli_bfsadd(struct nodelist *bfs, struct cl_node *n);
31
 
void cli_failtrans(struct cl_node *root);
32
 
void cli_fasttrie(struct cl_node *n, struct cl_node *root);
33
 
int cli_findpos(const char *buffer, int offset, int length, const struct cli_patt *pattern);
34
 
int cli_scanbuff(const char *buffer, unsigned int length, const char **virname, const struct cl_node *root, int *partcnt);
 
24
int cli_scandesc(int desc, const char **virname, long int *scanned, const struct cl_node *root, short otfrec, unsigned short ftype);
 
25
 
 
26
int cli_scanbuff(const char *buffer, unsigned int length, const char **virname, const struct cl_node *root, unsigned short ftype);
 
27
 
 
28
int cli_validatesig(unsigned short target, unsigned short ftype, const char *offstr, unsigned long int fileoff, int desc, const char *virname);
 
29
 
 
30
int cli_checkfp(int fd, const struct cl_node *root);
35
31
 
36
32
#endif