00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __libutilxx__sella__server__callbacks_H__
00010 #define __libutilxx__sella__server__callbacks_H__
00011
00012 #include "../../common.h"
00013 #include "ServerException.h"
00014 #include "HTTPConnection.h"
00015
00016 #include <string>
00017
00018 namespace sella {
00019 namespace server {
00020 namespace http {
00021 bool acl_callback(HTTPConnection::shared connection) throw (ServerException);
00022 bool authentication_callback(HTTPConnection::shared connection) throw (ServerException);
00023 bool request_callback(HTTPConnection::shared connection) throw (ServerException);
00024 bool error_callback(HTTPConnection::shared connection, int code, const std::string &detail) throw (ServerException);
00025 }
00026 }
00027 }
00028
00029 #endif
00030
00031
00032
00033