Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields  

ToySegment.h

00001 /***************************************************************************
00002                           ToySegment.h  -  Defines the ToySegment
00003     structure.
00004                              -------------------
00005     begin                : Sat Jan 25 2003
00006     copyright            : (C) 2003 by Tyler Montbriand
00007     student #            : 200200370
00008     class                : CS330
00009     email                : monttyle@heavyspace.ca 
00010 ***************************************************************************/
00011 #ifndef __TOYSEGMENT_H__
00012 #define __TOYSEGMENT_H__
00013 
00014 #ifdef __cplusplus
00015   extern "C" {
00016 #endif/*__cplusplus*/
00017 
00019 typedef struct ToySegment
00020 {
00022   int pos;
00024   int len;
00025 } ToySegment;
00026 
00028 typedef enum SegType_e
00029 {
00030   /* \brief Invalid segment number */
00031   SEG_ERROR = -1
00032   /* \brief Code segment */
00033 , SEG_CODE = 0
00034   /* \brief Data segment */
00035 , SEG_DATA = 1
00036   /* \brief Heap segment */
00037 , SEG_HEAP = 2
00038   /* \brief Stack segment */
00039 , SEG_STACK= 3
00040 } SegType_e;
00041 
00042 
00043 #ifdef __cplusplus
00044   }
00045 #endif/*__cplusplus*/
00046 
00047 #endif/*__TOYSEGMENT_H__*/

Generated on Fri Apr 4 14:29:07 2003 for ToyMem by doxygen1.3-rc3