Skip to content
Snippets Groups Projects
Select Git revision
  • aa6c21a741de0c9211d404c2b7bd8e3e2e061d6e
  • master default protected
  • Binary
  • add-version-information
  • os-path-join
  • develop-GA
  • timeFstatmap
  • add-higher-spindown-components
  • develop-DK
  • adds-header-to-grid-search
  • v1.3
  • v1.2
  • v1.1.2
  • v1.1.0
  • v1.0.1
15 results

long_transient_search_make_simulated_data.py

Blame
  • Forked from Gregory Ashton / PyFstat
    Source project has a limited visibility.
    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
    
    */