Mescal
Loading...
Searching...
No Matches
main.h
Go to the documentation of this file.
1
6
7
#ifndef MAIN_H
8
#define MAIN_H
9
10
#include <assert.h>
11
#include <getopt.h>
12
#include <stdarg.h>
13
#include <stdbool.h>
14
#include <stdio.h>
15
#include <stdlib.h>
16
#include <string.h>
17
#include <unistd.h>
18
19
#include "
alloc.h
"
20
#include "
interrupt.h
"
21
#include "
nfa.h
"
22
#include "printing.h"
23
#include "readline.h"
24
#include "
regexp.h
"
25
#include "
shell_keywords.h
"
26
#include "string.h"
27
#include "time.h"
28
#include "tools.h"
29
34
void
usage
(
char
* argv[]);
35
40
void
parse_argv
(
int
argc,
char
* argv[]);
41
46
int
shell_parse
(
void
);
47
48
#endif
/* MAIN_H */
alloc.h
Macros and functions to help memory allocation.
interrupt.h
Functions to handle interrupts and timeouts.
parse_argv
void parse_argv(int argc, char *argv[])
Parse the command line arguments.
shell_parse
int shell_parse(void)
Parse the command line of the shell.
usage
void usage(char *argv[])
Print the usage of the program.
nfa.h
Implementation of NFAs.
regexp.h
Implementation of regular expressions.
shell_keywords.h
Keywords and commands used in the shell.
main.h
Generated by
1.13.2