• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <sys/cdefs.h>
2 #include <stdbool.h>
3 
4 __BEGIN_DECLS
5 
6 // These functions assume they are being called from init
7 // They will not operate properly outside of init
8 int e4crypt_install_keyring();
9 int e4crypt_create_device_key(const char* path,
10                               int ensure_dir_exists(const char* dir));
11 int e4crypt_set_directory_policy(const char* path);
12 bool e4crypt_non_default_key(const char* path);
13 int do_policy_set(const char *directory, const char *policy, int policy_length);
14 int e4crypt_set_user_crypto_policies(const char* path);
15 
16 __END_DECLS
17