#ifndef IMDB_AKA_H #define IMDB_AKA_H #include #include #include #include #include // Define the struct to hold the parsed data for each line typedef struct { char *titleId; int ordering; char *title; char *region; char *language; char *types; char *attributes; int isOriginalTitle; } TitleLanguages; typedef struct { char *filename; long start_offset; long end_offset; TitleLanguages *parsed_lines; int *line_count; int thread_id; } ThreadData; char *strdup(const char *s); // Function to process the file chunk for each thread void* processAkaLinesThread(void *arg); // Function to read the Akas file and process lines with multiple threads int readAkasWithThreads(const char *filename, TitleLanguages **languages); int testLanguages(void); #endif