]> cygwin.com Git - cygwin-apps/setup.git/blame - mount.h
Use parse_filename method to parse filenames throughout. Use get_root_dir to
[cygwin-apps/setup.git] / mount.h
CommitLineData
aa32874b
DD
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
23c9e63c
DD
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. */
aa32874b 19
a351e48c 20char * find_mount (int *istext, int *issystem, char *path);
aa32874b 21
23c9e63c
DD
22/* Similar to the mount and umount functions, but simplified */
23
85b43844
CF
24void create_mount (const char *posix, const char *win32, int istext, int issystem);
25void remove_mount (const char *posix);
a351e48c 26void read_mounts ();
f8a6415f
DD
27
28/* Sets the cygdrive flags. Used to make the automounted drives' binary/text
29mode consistent with the standard Cygwin mounts. */
30
31void set_cygdrive_flags (int istext, int issystem);
a351e48c 32char *cygpath (const char *s, ...);
85b43844
CF
33void set_root_dir (const char *);
34const char *get_root_dir ();
This page took 0.027199 seconds and 5 git commands to generate.