Skip to content
Snippets Groups Projects
Select Git revision
  • 3096fd5b6663faefa1bb7ae4f15dcae909608d45
  • master default protected
  • antenna-patterns
  • qt5-qopenglwidget
  • license-demo
  • isolated
  • isolated-fixedprofile
  • release_1.1
  • press-conference
  • rim-only
  • release_1.0
11 results

pulsaranimationwidget.cpp

Blame
  • extern.h 2.63 KiB
    /*
     * extern.h
     *
     * Home page of code is: http://smartmontools.sourceforge.net
     *
     * 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.
     *
     * This code was originally developed as a Senior Thesis by Michael Cornwell
     * at the Concurrent Systems Laboratory (now part of the Storage Systems
     * Research Center), Jack Baskin School of Engineering, University of
     * California, Santa Cruz. http://ssrc.soe.ucsc.edu/
     *
     */
    
    #ifndef _EXTERN_H_
    #define _EXTERN_H_
    
    
    #ifndef EXTERN_H_CVSID
    #define EXTERN_H_CVSID "$Id: extern.h,v 1.13 2003/01/16 15:28:57 ballen4705 Exp $\n"
    #endif
    
    // Block used for global control/communications.  If you need more
    // global variables, this should be the only place that you need to
    // add them.
    typedef struct ataprintmain_s {
      unsigned char driveinfo;
      unsigned char checksmart;
      unsigned char smartvendorattrib;
      unsigned char generalsmartvalues;
      unsigned char smartselftestlog;
      unsigned char smarterrorlog;
      unsigned char smartdisable;
      unsigned char smartenable; 
      unsigned char smartstatus;
      unsigned char smartexeoffimmediate;
      unsigned char smartshortselftest;
      unsigned char smartextendselftest;
      unsigned char smartshortcapselftest;
      unsigned char smartextendcapselftest;
      unsigned char smartselftestabort;
      unsigned char smartautoofflineenable;
      unsigned char smartautoofflinedisable;
      unsigned char smartautosaveenable;
      unsigned char smartautosavedisable;
      int           testcase;
      unsigned char quietmode;
      unsigned char veryquietmode;
      unsigned char permissive;
      unsigned char conservative;
      unsigned char checksumfail;
      unsigned char checksumignore;
      // The i'th entry in this array will modify the printed meaning of
      // the i'th SMART attribute.  The default definitions of the
      // Attributes are obtained by having the array be all zeros.  If
      // attributedefs[i] is nonzero, it means that the i'th attribute has
      // a non-default meaning.  See the ataPrintSmartAttribName function,
      // and list below.
      unsigned char attributedefs[256];
    } atamainctrl;
    
    #endif
    
    /*
    
    attributedefs[9]:
      1 -- time in minutes
      2 -- temperature in Celsius
    attributedefs[220]:
      1 -- temperature in Celsius
    
    */