libutil++  1.9.3
 All Classes Functions Variables
callbacks.h
1 /*
2 ** libutil++
3 ** $Id: callbacks.h 1653 2016-02-28 19:54:59Z sella $
4 ** Copyright (c) 2011-2016 Digital Genesis, LLC. All Rights Reserved.
5 ** Released under the LGPL Version 2.1 License.
6 ** http://www.digitalgenesis.com
7 */
8 
9 #ifndef __libutilxx__sella__server__callbacks_H__
10 #define __libutilxx__sella__server__callbacks_H__
11 
12 #include "../../common.h"
13 #include "ServerException.h"
14 #include "HTTPConnection.h"
15 #include "../variant/Variant.h"
16 
17 #include <string>
18 
19 namespace sella {
20  namespace server {
21  namespace http {
22  bool acl_callback(HTTPConnection::shared connection) throw (ServerException);
23  bool authentication_callback(HTTPConnection::shared connection) throw (ServerException);
24  bool request_callback(HTTPConnection::shared connection) throw (ServerException);
25  bool error_callback(HTTPConnection::shared connection, int code, const std::string &detail) throw (ServerException);
26  }
27  }
28 }
29 
30 #endif
31 
32 /*
33 ** vim: noet ts=3 sw=3
34 */