~ubuntu-branches/ubuntu/trusty/clamav/trusty-proposed

« back to all changes in this revision

Viewing changes to clamd/session.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:
19
19
#ifndef __SESSION_H
20
20
#define __SESSION_H
21
21
 
22
 
#define COMMAND_QUIT 1
 
22
#define COMMAND_SHUTDOWN 1
23
23
#define COMMAND_RELOAD 2
24
24
#define COMMAND_END 3
 
25
#define COMMAND_SESSION 4
 
26
#define COMMAND_TIMEOUT 5
 
27
 
 
28
#define CMD1 "SCAN"
 
29
#define CMD2 "RAWSCAN"
 
30
#define CMD3 "QUIT" /* deprecated */
 
31
#define CMD4 "RELOAD"
 
32
#define CMD5 "PING"
 
33
#define CMD6 "CONTSCAN"
 
34
#define CMD7 "VERSION"
 
35
#define CMD8 "STREAM"
 
36
#define CMD9 "SESSION"
 
37
#define CMD10 "END"
 
38
#define CMD11 "SHUTDOWN"
 
39
#define CMD12 "FD"
25
40
 
26
41
#include <clamav.h>
27
42
#include "cfgparser.h"
28
43
 
29
 
int command(int desc, const struct cl_node *root, const struct cl_limits *limits, int options, const struct cfgstruct *copt);
 
44
int command(int desc, const struct cl_node *root, const struct cl_limits *limits, int options, const struct cfgstruct *copt, int timeout);
30
45
 
31
46
#endif