Use loop functions even in api test.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@448 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
Milan Broz
2011-03-12 22:29:14 +00:00
parent dd9bff8d67
commit 01e03f7002
5 changed files with 57 additions and 61 deletions

View File

@@ -12,6 +12,8 @@
char *crypt_loop_get_device(void);
char *crypt_loop_backing_file(const char *loop);
int crypt_loop_device(const char *loop);
int crypt_loop_attach(const char *loop, const char *file, int offset, int *readonly);
int crypt_loop_attach(const char *loop, const char *file, int offset,
int autoclear, int *readonly);
int crypt_loop_detach(const char *loop);
#endif /* _UTILS_CRYPT_H */
#endif /* _UTILS_LOOP_H */