Drizzled Public API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
http_server.h
1
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
*
4
* Copyright (C) 2012 Mohit Srivastava
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 as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
23
#include <
event.h
>
24
#include <evhttp.h>
25
#include <errno.h>
26
#include <string.h>
27
#include <fcntl.h>
28
#include <sys/socket.h>
29
#include <sys/types.h>
30
#include <netinet/in.h>
31
#include <arpa/inet.h>
32
#include <iostream>
33
using namespace
std
;
37
namespace
drizzle_plugin
{
41
namespace
json_server{
42
43
class
HTTPServer
44
{
45
public
:
49
HTTPServer
() {}
53
~HTTPServer
() {}
54
protected
:
63
int
BindSocket(
const
char
*address,
int
port);
64
};
65
66
}
67
}
drizzle_plugin::json_server::HTTPServer::~HTTPServer
~HTTPServer()
Definition:
http_server.h:53
std
drizzle_plugin
Definition:
auth_schema.cc:31
drizzle_plugin::json_server::HTTPServer
Definition:
http_server.h:43
event.h
Defines the event_t struct that encapsulates an event.
drizzle_plugin::json_server::HTTPServer::HTTPServer
HTTPServer()
Definition:
http_server.h:49
plugin
json_server
http_server.h
Generated on Thu Dec 4 2014 10:50:11 for drizzle by
1.8.8