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

« back to all changes in this revision

Viewing changes to clamd/others.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:
1
1
/*
2
 
 *  Copyright (C) 2002 - 2004 Tomasz Kojm <tkojm@clamav.net>
 
2
 *  Copyright (C) 2002 - 2005 Tomasz Kojm <tkojm@clamav.net>
3
3
 *
4
4
 *  This program is free software; you can redistribute it and/or modify
5
5
 *  it under the terms of the GNU General Public License as published by
26
26
#include <stdlib.h>
27
27
#include "cfgparser.h"
28
28
 
29
 
 
30
29
int poll_fd(int fd, int timeout_sec);
31
30
int is_fd_connected(int fd);
32
 
void virusaction(const char *virname, const struct cfgstruct *copt);
 
31
void virusaction(const char *filename, const char *virname, const struct cfgstruct *copt);
33
32
int writen(int fd, void *buff, unsigned int count);
34
33
 
 
34
#if defined(HAVE_RECVMSG) && (defined(HAVE_ACCRIGHTS_IN_MSGHDR) || defined(HAVE_CONTROL_IN_MSGHDR)) && !defined(C_CYGWIN) && !defined(C_OS2)
 
35
int readsock(int sockfd, char *buf, size_t size);
 
36
#else
 
37
#define readsock        read
 
38
#endif
 
39
 
35
40
#endif