]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/Dispatcher.h:removed unneeded includes 6814/head
authorMichal Jarzabek <stiopa@gmail.com>
Sun, 6 Dec 2015 19:18:39 +0000 (19:18 +0000)
committerMichal Jarzabek <stiopa@gmail.com>
Mon, 7 Dec 2015 18:27:44 +0000 (18:27 +0000)
Removed includes and added forward declarations instead.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/msg/Dispatcher.h

index a0a3b37b04037486095bec6bc471b6c30d0627b6..4c134e577a75159744d03dd856a3946f37903996 100644 (file)
 #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
    */