OpenVAS Libraries  9.0.1
internal_com.h
Go to the documentation of this file.
1 /* OpenVAS Libraries
2  * $Id$
3  * Description: Defines for internal communication of scanner instances.
4  *
5  * Authors:
6  * Jan-Oliver Wagner <jan-oliver.wagner@greenbone.net>
7  *
8  * Copyright:
9  * Copyright (C) 2011 Greenbone Networks GmbH
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
24  * USA.
25  */
26 
27 #ifndef _INTERNAL_COM_H
28 #define _INTERNAL_COM_H
29 
30 #define INTERNAL_COMM_MSG_TYPE_CTRL (1 << 16)
31 #define INTERNAL_COMM_MSG_TYPE_DATA (1 << 18)
32 
33 #define INTERNAL_COMM_CTRL_FINISHED (1 << 0)
34 #define INTERNAL_COMM_CTRL_ACK (1 << 1)
35 
36 #endif /* not _INTERNAL_COM_H */