diff options
-rw-r--r-- | P2/include/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/P2/include/utils.h b/P2/include/utils.h index 2c91cdf..e3f5d43 100644 --- a/P2/include/utils.h +++ b/P2/include/utils.h @@ -23,6 +23,7 @@ struct msgBuffer { }; // mapper side + int validChar(char c); char *getWord(char *chunk, int *i); char *getChunkData(int mapperID); @@ -30,6 +31,7 @@ void sendChunkData(char *inputFile, int nMappers); // reducer side + int hashFunction(char* key, int reducers); int getInterData(char *key, int reducerID); void shuffle(int nMappers, int nReducers); |