KDECore
#include "kmountpoint.h"
#include <config.h>
#include <stdlib.h>
#include <QtCore/QFile>
#include <QtCore/QTextIStream>
#include "kstandarddirs.h"
#include <windows.h>
#include <QDir>
#include "kdebug.h"
Go to the source code of this file.
Macros | |
#define | ENDMNTENT fclose |
#define | FSNAME(var) var.mnt_special |
#define | FSTAB "/etc/fstab" |
#define | GETMNTENT(file, var) (getmntent(file, &var) == 0) |
#define | MNTTAB "/etc/mnttab" |
#define | MOUNTOPTIONS(var) var.mnt_mntopts |
#define | MOUNTPOINT(var) var.mnt_mountp |
#define | MOUNTTYPE(var) var.mnt_fstype |
#define | SETMNTENT fopen |
#define | STRUCT_MNTENT struct mnttab |
#define | STRUCT_SETMNTENT FILE * |
Functions | |
static QString | devNameFromOptions (const QStringList &options) |
static bool | pathsAreParentAndChildOrEqual (const QString &parent, const QString &child) |
Variables | |
static Qt::CaseSensitivity | cs = Qt::CaseInsensitive |
Macro Definition Documentation
#define ENDMNTENT fclose |
Definition at line 147 of file kmountpoint.cpp.
#define FSNAME | ( | var | ) | var.mnt_special |
Definition at line 154 of file kmountpoint.cpp.
#define FSTAB "/etc/fstab" |
Definition at line 103 of file kmountpoint.cpp.
#define GETMNTENT | ( | file, | |
var | |||
) | (getmntent(file, &var) == 0) |
Definition at line 150 of file kmountpoint.cpp.
#define MNTTAB "/etc/mnttab" |
Definition at line 91 of file kmountpoint.cpp.
#define MOUNTOPTIONS | ( | var | ) | var.mnt_mntopts |
Definition at line 153 of file kmountpoint.cpp.
#define MOUNTPOINT | ( | var | ) | var.mnt_mountp |
Definition at line 151 of file kmountpoint.cpp.
#define MOUNTTYPE | ( | var | ) | var.mnt_fstype |
Definition at line 152 of file kmountpoint.cpp.
#define SETMNTENT fopen |
Definition at line 146 of file kmountpoint.cpp.
#define STRUCT_MNTENT struct mnttab |
Definition at line 148 of file kmountpoint.cpp.
#define STRUCT_SETMNTENT FILE * |
Definition at line 149 of file kmountpoint.cpp.
Function Documentation
|
static |
When using supermount, the device name is in the options field as dev=/my/device.
Definition at line 161 of file kmountpoint.cpp.
Definition at line 484 of file kmountpoint.cpp.
Variable Documentation
|
static |
Definition at line 37 of file kmountpoint.cpp.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.