summaryrefslogtreecommitdiffstats
path: root/mounts.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mounts.h (renamed from minzip/Inlines.c)25
1 files changed, 16 insertions, 9 deletions
diff --git a/minzip/Inlines.c b/mounts.h
index 91f87751d..1b7670329 100644
--- a/minzip/Inlines.c
+++ b/mounts.h
@@ -14,12 +14,19 @@
* limitations under the License.
*/
-/* Make sure that non-inlined versions of INLINED-marked functions
- * exist so that debug builds (which don't generally do inlining)
- * don't break.
- */
-#define MINZIP_GENERATE_INLINES 1
-#include "Bits.h"
-#include "Hash.h"
-#include "SysUtil.h"
-#include "Zip.h"
+#ifndef MOUNTS_H_
+#define MOUNTS_H_
+
+struct MountedVolume;
+
+bool scan_mounted_volumes();
+
+MountedVolume* find_mounted_volume_by_device(const char* device);
+
+MountedVolume* find_mounted_volume_by_mount_point(const char* mount_point);
+
+int unmount_mounted_volume(MountedVolume* volume);
+
+int remount_read_only(MountedVolume* volume);
+
+#endif