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