19 lines
360 B
C
19 lines
360 B
C
#ifndef COMMANDS_H
|
|
#define COMMANDS_H
|
|
|
|
#include "boot_info.h"
|
|
|
|
typedef void (*CommandHandlerFn)(BootInfo *Boot, CHAR16 *Args);
|
|
|
|
typedef struct {
|
|
const CHAR16 *name;
|
|
const CHAR16 *description;
|
|
const CHAR16 *usage;
|
|
CommandHandlerFn handler;
|
|
} Command;
|
|
|
|
void execute_command(BootInfo *Boot, CHAR16 *Input);
|
|
void show_help(BootInfo *Boot);
|
|
|
|
#endif
|