Logo Search packages:      
Sourcecode: afflib version File versions  Download package

quads.cpp

/*
 * A list of the segments that should be displayed as a quadword.
 */

#include "afflib.h"
#include "afflib_i.h"

const char *quads[] = {
    AF_IMAGESIZE,
    AF_BADSECTORS,
    AF_BLANKSECTORS,
    AF_DEVICE_SECTORS,
    0
};


bool display_as_quad(const char *segname)
{
    for(int i=0;quads[i];i++){
      if(strcmp(segname,quads[i])==0) return true;
    }
    return false;
}



Generated by  Doxygen 1.6.0   Back to index