3 * - By John Hodge (thePowersGang)
5 * include/disktool_common.h
6 * - DiskTool internal API between native and kernel code
8 #ifndef _INCLUDE__DISKTOOL_COMMON_H_
9 #define _INCLUDE__DISKTOOL_COMMON_H_
11 extern void DiskTool_Cleanup(void);
13 extern int DiskTool_RegisterLVM(const char *Identifier, const char *Path);
14 extern int DiskTool_MountImage(const char *Identifier, const char *Path);
15 extern int DiskTool_Copy(const char *Source, const char *Destination);
16 extern int DiskTool_ListDirectory(const char *Directory);
17 extern int DiskTool_Cat(const char *File);
19 extern size_t DiskTool_int_TranslatePath(char *Buffer, const char *Path);
21 extern size_t _fwrite_stdout(size_t bytes, const void *data);