]> cygwin.com Git - cygwin-apps/setup.git/blobdiff - mount.h
* configure.ac: Remove check for libmingw32.
[cygwin-apps/setup.git] / mount.h
diff --git a/mount.h b/mount.h
index 7116b3934f86554a7afe8b1b4e31584d64116d01..03991b33e44a3c536905e2fe94ac5c33d11c1153 100644 (file)
--- a/mount.h
+++ b/mount.h
  *
  */
 
+#ifndef SETUP_MOUNT_H
+#define SETUP_MOUNT_H
+
 /* Finds the existing root mount, or returns NULL.  istext is set to
    nonzero if the existing mount is a text mount, else zero for
    binary. */
 
+#include <string>
 #include "String++.h"
 
-char *find_mount (int *istext, int *issystem, char *path);
-
-/* Similar to the mount and umount functions, but simplified */
+#define SETUP_KEY_WOW64 (is_64bit ? KEY_WOW64_64KEY : KEY_WOW64_32KEY)
 
-void create_mount (String const posix, String const win32, int istext,
-                  int issystem);
-void remove_mount (String const posix);
-void read_mounts ();
+void create_mount (const std::string posix, const std::string win32,
+                  int istext, int issystem);
+void create_install_root ();
+void read_mounts (const std::string);
 
 /* Sets the cygdrive flags.  Used to make the automounted drives' binary/text
 mode consistent with the standard Cygwin mounts. */
 
 void set_cygdrive_flags (int istext, int issystem);
-String cygpath (String const &);
-void set_root_dir (String const);
-String const get_root_dir ();
+std::string cygpath (const std::string&);
+void set_root_dir (const std::string);
+const std::string get_root_dir ();
+
+#endif /* SETUP_MOUNT_H */
This page took 0.022832 seconds and 5 git commands to generate.