blob: 6b9991820fe77be337b9474408c7c743711fe2c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef BUILTINS_H
#define BUILTINS_H
#include "utils/libstring.h"
#define NB_BUILTINS 10
typedef int (*builtin)(struct string **);
int echo(struct string **args);
int my_true(struct string **args);
int my_false(struct string **args);
int my_exit(struct string **args);
int cd(struct string **args);
int my_continue(struct string **args);
int my_break(struct string **args);
int dot(struct string **args);
int unset(struct string **args);
int export(struct string **args);
#endif /* ! BUILTINS_H */
|