#ifndef BUILDINDEX_H
#define BUILDINDEX_H
#include "arrayList.h"
#include "StringHashTable.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
/**
* table points to a StringHashTable struct and gis points to a GIS file
*
* This method parses throguh a GIS file and populates hash table, defining the
* keys as a combination between the name and state abreviation of the particular record
* as well as storing each offset on which this key is found
*/
void build_name(StringHashTable* table, FILE* gis);
/**
* list points to an arrayList struct and gis points to a GIS file.
*
* The method parses through a GIS file and popualtes the arrayList with FIDIndex
* structs that hold the filed ID and offset of each record in the file
*/
void build_FID(arrayList* list, FILE* gis);
#endif