blob: 79311246ab88bd782ebed85194f4a9ad9563b628 [file] [log] [blame]
#include <sys/cdefs.h>
#include <stdbool.h>
__BEGIN_DECLS
// These functions assume they are being called from init
// They will not operate properly outside of init
int e4crypt_install_keyring();
int e4crypt_create_device_key(const char* path,
int ensure_dir_exists(const char* dir));
int e4crypt_set_directory_policy(const char* path);
bool e4crypt_non_default_key(const char* path);
int do_policy_set(const char *directory, const char *policy, int policy_length);
__END_DECLS