aboutsummaryrefslogtreecommitdiffstats
path: root/include/builtin.h
blob: 1c99ef5cf42662a39daecee20e876f3767344fea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 *
 */
#ifndef H_HUSH_BUILTIN
#define H_HUSH_BUILTIN

#include <limits.h>
#include <unistd.h>

#include "command.h"
#include "variables.h"

/* 
 * Check if the provided command corresponds with a known built-in
 * function. If so, run the builtin and return true. If not, return
 * false. 
 */
bool run_builtin(command *cmd);

#endif