From 794e51829cf6702dcd27799692d9e8c171fa626b Mon Sep 17 00:00:00 2001 From: Michal Jarzabek Date: Sun, 6 Dec 2015 19:18:39 +0000 Subject: [PATCH] msg/Dispatcher.h:removed unneeded includes Removed includes and added forward declarations instead. Signed-off-by: Michal Jarzabek --- src/msg/Dispatcher.h | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/msg/Dispatcher.h b/src/msg/Dispatcher.h index a0a3b37b0403..4c134e577a75 100644 --- a/src/msg/Dispatcher.h +++ b/src/msg/Dispatcher.h @@ -16,11 +16,14 @@ #ifndef CEPH_DISPATCHER_H #define CEPH_DISPATCHER_H -#include "Message.h" -#include "common/config.h" -#include "auth/Auth.h" +#include "include/buffer_fwd.h" class Messenger; +class Message; +class Connection; +class AuthAuthorizer; +class CryptoKey; +class CephContext; class Dispatcher { public: @@ -183,9 +186,13 @@ public: * @return True if we were able to prove or disprove correctness of * authorizer, false otherwise. */ - virtual bool ms_verify_authorizer(Connection *con, int peer_type, - int protocol, bufferlist& authorizer, bufferlist& authorizer_reply, - bool& isvalid, CryptoKey& session_key) { return false; } + virtual bool ms_verify_authorizer(Connection *con, + int peer_type, + int protocol, + ceph::bufferlist& authorizer, + ceph::bufferlist& authorizer_reply, + bool& isvalid, + CryptoKey& session_key) { return false; } /** * @} //Authentication */ -- 2.47.3