Last change
on this file since 319 was 319, checked in by Yuri Dario, 14 years ago |
clamav: update trunk to 0.97.
|
File size:
1.2 KB
|
Line | |
---|
1 | /*
|
---|
2 | * Copyright (C) 2009-2010 Sourcefire, Inc.
|
---|
3 | *
|
---|
4 | * Author: aCaB
|
---|
5 | *
|
---|
6 | * This program is free software; you can redistribute it and/or modify
|
---|
7 | * it under the terms of the GNU General Public License version 2 as
|
---|
8 | * published by the Free Software Foundation.
|
---|
9 | *
|
---|
10 | * This program is distributed in the hope that it will be useful,
|
---|
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
13 | * GNU General Public License for more details.
|
---|
14 | *
|
---|
15 | * You should have received a copy of the GNU General Public License
|
---|
16 | * along with this program; if not, write to the Free Software
|
---|
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
---|
18 | * MA 02110-1301, USA.
|
---|
19 | */
|
---|
20 |
|
---|
21 | #ifndef __CLAMDCOM_H
|
---|
22 | #define __CLAMDCOM_H
|
---|
23 |
|
---|
24 | #if HAVE_CONFIG_H
|
---|
25 | #include "clamav-config.h"
|
---|
26 | #endif
|
---|
27 |
|
---|
28 | #if HAVE_SYS_PARAM_H
|
---|
29 | #include <sys/param.h>
|
---|
30 | #endif
|
---|
31 |
|
---|
32 | #include "shared/misc.h"
|
---|
33 |
|
---|
34 | struct RCVLN {
|
---|
35 | char buf[PATH_MAX+1024]; /* FIXME must match that in clamd - bb1349 */
|
---|
36 | int sockd;
|
---|
37 | int r;
|
---|
38 | char *cur;
|
---|
39 | char *bol;
|
---|
40 | };
|
---|
41 |
|
---|
42 | int sendln(int sockd, const char *line, unsigned int len);
|
---|
43 | void recvlninit(struct RCVLN *s, int sockd);
|
---|
44 | int recvln(struct RCVLN *s, char **rbol, char **reol);
|
---|
45 |
|
---|
46 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.