Skip to content

Commit

Permalink
msg/Dispatcher.h:removed unneeded includes
Browse files Browse the repository at this point in the history
Removed includes and added forward declarations instead.

Signed-off-by: Michal Jarzabek <[email protected]>
  • Loading branch information
stiopaa1 committed Dec 7, 2015
1 parent e62954e commit 794e518
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions src/msg/Dispatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -183,9 +186,13 @@ class Dispatcher {
* @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
*/
Expand Down

0 comments on commit 794e518

Please sign in to comment.