fastcgi++
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
fastcgi++
message.hpp
Go to the documentation of this file.
1
2
/***************************************************************************
3
* Copyright (C) 2007 Eddie Carle [eddie@erctech.org] *
4
* *
5
* This file is part of fastcgi++. *
6
* *
7
* fastcgi++ is free software: you can redistribute it and/or modify it *
8
* under the terms of the GNU Lesser General Public License as published *
9
* by the Free Software Foundation, either version 3 of the License, or (at *
10
* your option) any later version. *
11
* *
12
* fastcgi++ is distributed in the hope that it will be useful, but WITHOUT *
13
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or *
14
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public *
15
* License for more details. *
16
* *
17
* You should have received a copy of the GNU Lesser General Public License *
18
* along with fastcgi++. If not, see <http://www.gnu.org/licenses/>. *
19
****************************************************************************/
20
21
#ifndef MESSAGE_HPP
22
#define MESSAGE_HPP
23
24
#include <boost/shared_array.hpp>
25
26
namespace
Fastcgipp
27
{
29
38
struct
Message
39
{
40
Message
(
const
int
type_):
type
(type_) {}
41
Message
():
type
(0) {}
43
int
type
;
45
size_t
size
;
47
boost::shared_array<char>
data
;
48
};
49
}
50
51
#endif
Generated on Fri Aug 24 2012 12:02:36 for fastcgi++ by
1.8.1