]> git.proxmox.com Git - ceph.git/blame - ceph/src/common/secret.h
update ceph source to reef 18.2.0
[ceph.git] / ceph / src / common / secret.h
CommitLineData
7c673cae
FG
1#ifndef CEPH_SECRET_H
2#define CEPH_SECRET_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8int read_secret_from_file(const char *filename, char *secret, size_t max_len);
9
7c673cae
FG
10int set_kernel_secret(const char *secret, const char *key_name);
11
12int is_kernel_secret(const char *key_name);
13
14#ifdef __cplusplus
15}
16#endif
17
18#endif