updated ASCII version also
[platform/upstream/cryptsetup.git] / lib / utils_loop.h
1 #ifndef _UTILS_LOOP_H
2 #define _UTILS_LOOP_H
3
4 /* loopback device helpers */
5
6 char *crypt_loop_get_device(void);
7 char *crypt_loop_backing_file(const char *loop);
8 int crypt_loop_device(const char *loop);
9 int crypt_loop_attach(const char *loop, const char *file, int offset,
10                       int autoclear, int *readonly);
11 int crypt_loop_detach(const char *loop);
12
13 #endif /* _UTILS_LOOP_H */