comp20003-project02/voronoi.h

25 lines
438 B
C

#ifndef STDIO_HEADER
#define STDIO_HEADER
#include <stdio.h>
#endif
#ifndef STDLIB_HEADER
#define STDLIB_HEADER
#include <stdlib.h>
#endif
#ifndef VORONOI_HEADER
#define VORONOI_HEADER
typedef struct tower tower_t;
tower_t** readTowers(tower_t **towers, FILE* datasetFile, int *numTowers);
void readCurrentLine(char* lineBuffer, tower_t* tower);
void freeTowers(tower_t **towers, int numTowers);
#endif