Show deprecation warning for Windows versions 6.1 and 6.2
[cygwin-setup.git] / mount.h
bloba7d7e3936c90e212a60a4132f7e22200a2fceda5
1 /*
2 * Copyright (c) 2000, 2001, 2002, 2003, 2006, 2008, 2013 Red Hat, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
12 * Written by DJ Delorie <dj@cygnus.com>
16 #ifndef SETUP_MOUNT_H
17 #define SETUP_MOUNT_H
19 /* Finds the existing root mount, or returns NULL. istext is set to
20 nonzero if the existing mount is a text mount, else zero for
21 binary. */
23 #include <string>
24 #include "String++.h"
26 #define SETUP_KEY_WOW64 (is_64bit ? KEY_WOW64_64KEY : KEY_WOW64_32KEY)
28 void create_install_root ();
29 void read_mounts (const std::string);
31 /* Sets the cygdrive flags. Used to make the automounted drives' binary/text
32 mode consistent with the standard Cygwin mounts. */
34 std::string cygpath (const std::string&);
35 void set_root_dir (const std::string);
36 const std::string &get_root_dir ();
38 #endif /* SETUP_MOUNT_H */