-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsunspots.h
34 lines (28 loc) · 899 Bytes
/
sunspots.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef _SUNSPOTS_H_
#define _SUNSPOTS_H_
/*
* checks the arguments, ensuring that we took in a valid data directory
*/
int argCheck(int argc, char *argv[]);
/*
* short function that simply waits for the user to press enter before continuing
*/
void enterToContinue();
/*
* prints out a text file depending on the option selected. the options include a
* help, welcome, and main file. view them direction in the config/ directory.
* view the options in common.h
*/
void print(int option);
/*
* handles quizing on sunspot cycle information. implemented in quiz.c
*/
void quiz();
/*
* only called in this file- actual implementation in search.c
* takes in an array of filenames, the number of files in the data directory, and the
* name of the data directory, and deals with calling functions to get the user input
* and parse the files
*/
void searchForSpots(char* dir);
#endif