core/index.h

Go to the documentation of this file.
00001 
00008 #ifndef _INDEX_H
00009 #define _INDEX_H
00010 
00011 #include "globals.h"
00012 #include "list.h"
00013 
00014 typedef struct s_index {
00015     unsigned int id;    
00016     LIST **ordinal;     
00017     int first_ordinal;  
00018     int last_ordinal;   
00019     int last_used;      
00020     int first_used;     
00021 } INDEX;    
00023 INDEX *index_create(int first_ordinal, int last_ordinal);
00024 STATUS index_insert(INDEX *index, void *data, int ordinal);
00025 void index_shuffle(INDEX *index);
00026 
00027 #endif
00028 

GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy