check_smart.h
474 Bytes
#ifndef CHECK_SMART_H
#define CHECK_SMART_H
#include <iostream>
#include <sstream>
#include <stdio.h>
#include <cstring>
#include <cstdlib>
#include <unistd.h>
#include <sys/time.h>
#include "auxiliar.h"
#define SMARTCTL_CMD "smartctl -A "
#define VERSION "1.0"
using namespace std;
int evalStatus(char* disk, string reallocatedCount, string currentPending, string offlineUncorrectable, string *status);
void printVersion();
void printHelp(bool longVersion);
#endif