kio
global.cpp File Reference
#include <config.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/uio.h>
#include <assert.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include "kio/global.h"
#include "kio/job.h"
#include <kdebug.h>
#include <klocale.h>
#include <kglobal.h>
#include <kprotocolmanager.h>
#include <kde_file.h>
#include <limits.h>
#include <qfile.h>
#include <sys/param.h>
Include dependency graph for global.cpp:
Go to the source code of this file.
Defines | |
#define | ENDMNTENT fclose |
#define | FSNAME(var) var.mnt_special |
#define | FSTAB "/etc/fstab" |
#define | GETMNTENT(file, var) (getmntent(file, &var) == 0) |
#define | HASMNTOPT(var, opt) hasmntopt(&var, opt) |
#define | MNTTAB "/etc/mnttab" |
#define | MOUNTPOINT(var) var.mnt_mountp |
#define | MOUNTTYPE(var) var.mnt_fstype |
#define | SETMNTENT fopen |
#define | STRUCT_MNTENT struct mnttab |
#define | STRUCT_SETMNTENT FILE * |
Enumerations | |
enum | MountState { Unseen, Right, Wrong } |
Functions | |
static void | check_mount_point (const char *mounttype, const char *fsname, MountState &isslow, MountState &isautofs) |
static QString | get_mount_info (const QString &filename, MountState &isautofs, MountState &isslow, MountState &ismanual, QString &fstype) |
static bool | is_my_mountpoint (const char *mountpoint, const char *realname, int &max) |
Define Documentation
#define ENDMNTENT fclose |
Definition at line 1356 of file global.cpp.
#define FSNAME | ( | var | ) | var.mnt_special |
Definition at line 1363 of file global.cpp.
#define FSTAB "/etc/fstab" |
Definition at line 1327 of file global.cpp.
#define GETMNTENT | ( | file, | |||
var | ) | (getmntent(file, &var) == 0) |
Definition at line 1359 of file global.cpp.
#define HASMNTOPT | ( | var, | |||
opt | ) | hasmntopt(&var, opt) |
Definition at line 1362 of file global.cpp.
#define MNTTAB "/etc/mnttab" |
Definition at line 1318 of file global.cpp.
#define MOUNTPOINT | ( | var | ) | var.mnt_mountp |
Definition at line 1360 of file global.cpp.
#define MOUNTTYPE | ( | var | ) | var.mnt_fstype |
Definition at line 1361 of file global.cpp.
#define SETMNTENT fopen |
Definition at line 1355 of file global.cpp.
#define STRUCT_MNTENT struct mnttab |
Definition at line 1357 of file global.cpp.
#define STRUCT_SETMNTENT FILE * |
Definition at line 1358 of file global.cpp.
Enumeration Type Documentation
enum MountState |
Function Documentation
static void check_mount_point | ( | const char * | mounttype, | |
const char * | fsname, | |||
MountState & | isslow, | |||
MountState & | isautofs | |||
) | [static] |
static QString get_mount_info | ( | const QString & | filename, | |
MountState & | isautofs, | |||
MountState & | isslow, | |||
MountState & | ismanual, | |||
QString & | fstype | |||
) | [static] |
Definition at line 1633 of file global.cpp.
static bool is_my_mountpoint | ( | const char * | mountpoint, | |
const char * | realname, | |||
int & | max | |||
) | [static] |
Definition at line 1593 of file global.cpp.