From: Michal Jarzabek Date: Sun, 6 Dec 2015 19:18:39 +0000 (+0000) Subject: msg/Dispatcher.h:removed unneeded includes X-Git-Tag: v10.0.3~196^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=794e51829cf6702dcd27799692d9e8c171fa626b;p=ceph.git msg/Dispatcher.h:removed unneeded includes Removed includes and added forward declarations instead. Signed-off-by: Michal Jarzabek --- 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 */