17 lines
336 B
C
17 lines
336 B
C
#ifndef KMP_UTIL_H
|
|
#define KMP_UTIL_H
|
|
|
|
void print_array(int *, int);
|
|
|
|
char *read_file(char *filepath, int *len);
|
|
|
|
void apply_shift(int, int *, int);
|
|
|
|
int sum_array(int *, int);
|
|
|
|
char *get_text_file(int argc, char **argv);
|
|
|
|
char *read_file_portion(char *filepath, int size, int rank, int *portion_len, int *remain);
|
|
|
|
#endif //KMP_UTIL_H
|