X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fcommon%2Fsecret.h;fp=src%2Fceph%2Fsrc%2Fcommon%2Fsecret.h;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=b681fa1ec7ff2ed9e8e329b031cbde6cb1b7d205;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/common/secret.h b/src/ceph/src/common/secret.h deleted file mode 100644 index b681fa1..0000000 --- a/src/ceph/src/common/secret.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef CEPH_SECRET_H -#define CEPH_SECRET_H - -#ifdef __cplusplus -extern "C" { -#endif - -int read_secret_from_file(const char *filename, char *secret, size_t max_len); - -/* - * Attempts to add the secret to the kernel, but falls back to - * the old secret= option if the kernel is too old. - */ -int get_secret_option(const char *secret, const char *key_name, - char *secret_option, size_t secret_option_len); - -int set_kernel_secret(const char *secret, const char *key_name); - -int is_kernel_secret(const char *key_name); - -#ifdef __cplusplus -} -#endif - -#endif