smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
|
#include "config.h"
#include "utility.h"
#include "atacmds.h"
#include "scsicmds.h"
#include "dev_interface.h"
#include "dev_ata_cmd_set.h"
#include <errno.h>
Go to the source code of this file.
Classes | |
class | os::legacy_smart_device |
Implement shared open/close routines with old functions. More... | |
class | os::legacy_ata_device |
Implement standard ATA support with old functions. More... | |
class | os::legacy_scsi_device |
Implement standard SCSI support with old functions. More... | |
class | os::legacy_smart_interface |
Implement platform interface with old functions. More... | |
Namespaces | |
namespace | os |
Functions | |
int | guess_device_type (const char *dev_name) |
int | make_device_names (char ***devlist, const char *name) |
int | deviceopen (const char *pathname, char *type) |
int | deviceclose (int fd) |
int | ata_command_interface (int device, smart_command_set command, int select, char *data) |
int | do_scsi_cmnd_io (int dev_fd, struct scsi_cmnd_io *iop, int report) |
void | print_smartctl_examples () |
static void | os::free_devnames (char **devnames, int numdevs) |
Variables | |
const char * | dev_legacy_cpp_cvsid |
int ata_command_interface | ( | int | device, |
smart_command_set | command, | ||
int | select, | ||
char * | data | ||
) |
Definition at line 399 of file os_os2.cpp.
int deviceclose | ( | int | fd | ) |
Definition at line 229 of file os_os2.cpp.
int deviceopen | ( | const char * | pathname, |
char * | type | ||
) |
Definition at line 186 of file os_os2.cpp.
int do_scsi_cmnd_io | ( | int | dev_fd, |
struct scsi_cmnd_io * | iop, | ||
int | report | ||
) |
Definition at line 528 of file os_os2.cpp.
int guess_device_type | ( | const char * | dev_name | ) |
Definition at line 58 of file os_os2.cpp.
int make_device_names | ( | char *** | devlist, |
const char * | name | ||
) |
Definition at line 74 of file os_os2.cpp.
void print_smartctl_examples | ( | ) |
Definition at line 39 of file os_os2.cpp.
const char* dev_legacy_cpp_cvsid |
Definition at line 21 of file dev_legacy.cpp.