]> cygwin.com Git - cygwin-apps/setup.git/blob - mount.h
2002-07-09 Robert Collins <rbtcollins@hotmail.com>
[cygwin-apps/setup.git] / mount.h
1 /*
2 * Copyright (c) 2000, Red Hat, Inc.
3 *
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.
8 *
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
11 *
12 * Written by DJ Delorie <dj@cygnus.com>
13 *
14 */
15
16 /* Finds the existing root mount, or returns NULL. istext is set to
17 nonzero if the existing mount is a text mount, else zero for
18 binary. */
19
20 #include "String++.h"
21
22 char *find_mount (int *istext, int *issystem, char *path);
23
24 /* Similar to the mount and umount functions, but simplified */
25
26 void create_mount (String const posix, String const win32, int istext,
27 int issystem);
28 void remove_mount (String const posix);
29 void read_mounts ();
30
31 /* Sets the cygdrive flags. Used to make the automounted drives' binary/text
32 mode consistent with the standard Cygwin mounts. */
33
34 void set_cygdrive_flags (int istext, int issystem);
35 String cygpath (String const &);
36 void set_root_dir (String const);
37 String const get_root_dir ();
This page took 0.036525 seconds and 5 git commands to generate.