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


/* This program is copyright (c) 2009 by Roderick W. Smith. It is distributed
  under the terms of the GNU GPL version 2, as detailed in the COPYING file. */

#include <stdint.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include "support.h"


#define NUM_ATR 64 /* # of attributes -- 64, since it's a 64-bit field */
#define ATR_NAME_SIZE 25 /* maximum size of attribute names */

using namespace std;

class Attributes {
   uint64_t attributes;
   char atNames[NUM_ATR][ATR_NAME_SIZE];
   void SetAttributes(uint64_t a) {attributes = a;}
   uint64_t GetAttributes(void) {return attributes;}
   void DisplayAttributes(void);
   void ChangeAttributes(void);
}; // class Attributes


Generated by  Doxygen 1.6.0   Back to index