|
Public Member Functions |
void | init () |
int | add_item (const char *dev, const char *path, unsigned flags, int reg_p) |
int | del_item (const char *path, unsigned flags, int reg_p) |
void | from_registry () |
int | add_reg_mount (const char *native_path, const char *posix_path, unsigned mountflags) |
int | del_reg_mount (const char *posix_path, unsigned mountflags) |
unsigned | set_flags_from_win32_path (const char *path) |
int | conv_to_win32_path (const char *src_path, char *win32_path, char *full_win32_path, DWORD &devn, int &unit, unsigned *flags=NULL) |
int | conv_to_posix_path (const char *src_path, char *posix_path, int keep_rel_p) |
mntent * | getmntent (int x) |
int | write_cygdrive_info_to_registry (const char *cygdrive_prefix, unsigned flags) |
int | remove_cygdrive_info_from_registry (const char *cygdrive_prefix, unsigned flags) |
int | get_cygdrive_prefixes (char *user, char *system) |
void | import_v1_mounts () |
Data Fields |
int | nmounts |
mount_item | mount [MAX_MOUNTS] |
char | mnt_type [20] |
char | mnt_opts [20] |
char | mnt_fsname [MAX_PATH] |
char | mnt_dir [MAX_PATH] |
char | cygdrive [MAX_PATH] |
size_t | cygdrive_len |
unsigned | cygdrive_flags |
int | had_to_create_mount_areas |
Private Member Functions |
void | sort () |
void | read_mounts (reg_key &r) |
void | read_v1_mounts (reg_key r, unsigned which) |
void | mount_slash () |
void | to_registry () |
int | cygdrive_win32_path (const char *src, char *dst, int trailing_slash_p) |
void | cygdrive_posix_path (const char *src, char *dst, int trailing_slash_p) |
void | slash_drive_to_win32_path (const char *path, char *buf, int trailing_slash_p) |
void | read_cygdrive_info_from_registry () |
Private Attributes |
int | posix_sorted [MAX_MOUNTS] |
int | native_sorted [MAX_MOUNTS] |