2023-10-25 13:09:11 -07:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef MOVIES_YEAR
|
|
|
|
#define MOVIES_YEAR
|
|
|
|
|
|
|
|
#include "stdio.h"
|
|
|
|
#include "stdlib.h"
|
|
|
|
#include "time.h"
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
#include "csv_parser.h"
|
|
|
|
#include "node.h"
|
|
|
|
#include "input.h"
|
2023-10-30 03:25:48 -07:00
|
|
|
#include "directory_list.h"
|
2023-10-25 13:09:11 -07:00
|
|
|
|
|
|
|
int menu();
|
2023-10-30 03:25:48 -07:00
|
|
|
int select_ftype();
|
2023-10-25 13:09:11 -07:00
|
|
|
|
|
|
|
void print_csv(struct node*, char*);
|
|
|
|
|
|
|
|
// Menu Options
|
|
|
|
enum OPTIONS {
|
2023-10-30 03:25:48 -07:00
|
|
|
PROCCESS = 1,
|
|
|
|
EXIT = 2,
|
|
|
|
SELECT = 3,
|
|
|
|
LARGE = 4,
|
|
|
|
SMALL = 5,
|
2023-10-25 13:09:11 -07:00
|
|
|
};
|
|
|
|
|
2023-10-30 03:25:48 -07:00
|
|
|
void movie_by_small();
|
|
|
|
void movie_by_large();
|
|
|
|
void movie_by_select();
|
|
|
|
void choose_movie(char*);
|
2023-10-25 13:09:11 -07:00
|
|
|
void find_year(struct csv*, void*);
|
|
|
|
|
|
|
|
#endif
|