]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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 | ||
7c673cae FG |
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 |