~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to include/linux/ceph/auth.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
        bool negotiating;       /* true if negotiating protocol */
68
68
        const char *name;       /* entity name */
69
69
        u64 global_id;          /* our unique id in system */
70
 
        const char *secret;     /* our secret key */
 
70
        const struct ceph_crypto_key *key;     /* our secret key */
71
71
        unsigned want_keys;     /* which services we want */
72
72
};
73
73
 
74
74
extern struct ceph_auth_client *ceph_auth_init(const char *name,
75
 
                                               const char *secret);
 
75
                                               const struct ceph_crypto_key *key);
76
76
extern void ceph_auth_destroy(struct ceph_auth_client *ac);
77
77
 
78
78
extern void ceph_auth_reset(struct ceph_auth_client *ac);