Files
cryptsetup/lib/utils_loop.h
Milan Broz be3448fb8a Separate loop handling from internal code.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@444 36d66b0a-2a48-0410-832c-cd162a569da5
2011-03-12 20:23:16 +00:00

14 lines
342 B
C

#ifndef _UTILS_LOOP_H
#define _UTILS_LOOP_H
/* loopback device helpers */
#define LOOP_DEV_MAJOR 7
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);
#endif /* _UTILS_CRYPT_H */