2019-12-20 11:31:34 +01:00
|
|
|
#ifndef __USER_BUILTIN_H__
|
|
|
|
# define __USER_BUILTIN_H__
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
|
|
// Define builtin struct.
|
|
|
|
struct builtin_s
|
|
|
|
{
|
|
|
|
char name[10];
|
|
|
|
int (*entry)(int argc, char **argv);
|
|
|
|
};
|
|
|
|
|
2020-02-05 21:09:39 +01:00
|
|
|
// Builtin list
|
|
|
|
extern int builtin_proc(void);
|
|
|
|
extern int builtin_ram(void);
|
|
|
|
|
2019-12-20 11:31:34 +01:00
|
|
|
|
|
|
|
#endif /*__USER_BUILTIN_H__*/
|