Paul Lawrence | bc2eb8c | 2015-04-28 22:13:04 +0000 | [diff] [blame] | 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); |
Paul Lawrence | db1d49c | 2015-04-10 07:47:30 -0700 | [diff] [blame] | 13 | int do_policy_set(const char *directory, const char *policy, int policy_length); |
Paul Crowley | 45f1a1f | 2015-05-28 16:45:52 +0100 | [diff] [blame] | 14 | int e4crypt_set_user_crypto_policies(const char* path); |
Paul Lawrence | bc2eb8c | 2015-04-28 22:13:04 +0000 | [diff] [blame] | 15 | |
| 16 | __END_DECLS |