utils_loop.h 379 Bytes
Newer Older
1 2 3 4 5 6 7 8
#ifndef _UTILS_LOOP_H
#define _UTILS_LOOP_H

/* loopback device helpers */

char *crypt_loop_get_device(void);
char *crypt_loop_backing_file(const char *loop);
int crypt_loop_device(const char *loop);
9 10 11
int crypt_loop_attach(const char *loop, const char *file, int offset,
		      int autoclear, int *readonly);
int crypt_loop_detach(const char *loop);
12

13
#endif /* _UTILS_LOOP_H */