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
|
2020-04-21 20:56:27 +02:00
|
|
|
extern int builtin_proc(int argc, char **argv);
|
2020-03-20 22:47:05 +01:00
|
|
|
extern int builtin_ram(void);
|
2020-03-30 00:40:59 +02:00
|
|
|
extern int builtin_fxdb(int argc, char **argv);
|
2020-02-05 21:09:39 +01:00
|
|
|
|
2019-12-20 11:31:34 +01:00
|
|
|
|
|
|
|
#endif /*__USER_BUILTIN_H__*/
|