~ubuntu-branches/ubuntu/raring/ceph/raring

« back to all changes in this revision

Viewing changes to src/auth/AuthSupported.h

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2012-02-05 10:07:38 UTC
  • mfrom: (1.1.7) (0.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20120205100738-00s0bxx93mamy8tk
Tags: 0.41-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
class CephContext;
22
22
 
23
23
class AuthSupported {
24
 
  std::set<int> auth_supported;
 
24
  std::set<__u32> auth_supported;
25
25
public:
26
26
  AuthSupported(CephContext *cct);
27
27
 
28
28
  bool is_supported_auth(int auth_type);
29
29
  int pick(const std::set<__u32>& supported);
 
30
 
 
31
  const std::set<__u32>& get_supported_set() const {
 
32
    return auth_supported;
 
33
  }
30
34
};
31
35
 
32
36