Skip to content
Snippets Groups Projects
Select Git revision
  • c37991fa63d764bd46c8afd564100d02c6daf8e8
  • trunk
  • RELEASE_6_5_DRIVEDB
  • RELEASE_6_6_DRIVEDB
  • RELEASE_7_0_DRIVEDB
  • RELEASE_7_2_DRIVEDB
  • RELEASE_7_3_DRIVEDB
  • RELEASE_6_0_DRIVEDB
  • RELEASE_6_1_DRIVEDB
  • RELEASE_6_2_DRIVEDB
  • RELEASE_6_3_DRIVEDB
  • RELEASE_6_4_DRIVEDB
  • tags/RELEASE_7_4
  • tags/RELEASE_7_3
  • RELEASE_5_41_DRIVEDB
  • RELEASE_5_42_DRIVEDB
  • RELEASE_5_43_DRIVEDB
  • tags/RELEASE_7_2
  • tags/RELEASE_7_1
  • tags/RELEASE_7_0
  • RELEASE_5_40_DRIVEDB
21 results

ataprint.h

Blame
  • user avatar
    ballen4705 authored
    git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@24 4ea69e1a-61f1-4043-bf83-b5c94c648137
    f2171679
    History
    ataprint.h 1.63 KiB
    //  $Id: ataprint.h,v 1.3 2002/10/11 09:20:32 ballen4705 Exp $
    
    /*
     * ataprint.c
     *
     * Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
     * Copyright (C) 1999-2000 Michael Cornwell <cornwell@acm.org>
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation; either version 2, or (at your option)
     * any later version.
     *
     * You should have received a copy of the GNU General Public License
     * (for example COPYING); if not, write to the Free
     * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     */
    
    #ifndef _SMART_PRINT_H_
    #define _SMART_PRINT_H_
    
    #include <stdio.h>
    #include <stdlib.h>
    #include "atacmds.h"
    
    
    /* Print Format of Structures for SMART information */
    
    
    /* Prints ATA Drive Information and S.M.A.R.T. Capability */
    
    void ataPrintDriveInfo (struct hd_driveid);
    
    void ataPrintGeneralSmartValues (struct ata_smart_values);
    
    void ataPrintSmartThresholds (struct ata_smart_thresholds);
    
    void ataPrintSmartErrorlog (struct ata_smart_errorlog);
    
    void PrintSmartAttributes (struct ata_smart_values data);
    
    void PrintSmartAttribWithThres (struct ata_smart_values data,
                                    struct ata_smart_thresholds thresholds);
    
    void ataPrintSmartSelfTestlog (struct ata_smart_selftestlog data);
    
    void ataPsuedoCheckSmart (struct ata_smart_values , 
                              struct ata_smart_thresholds );
    
    /* Prints Attribute Name for standard SMART attributes */
    /* prints 20 character string */
    
    void ataPrintSmartAttribName (unsigned char id);
    
    void ataPrintMain ( int fd );
    
    #endif