#include <stdio.h>#include <stdlib.h>#include <string.h>#include <fcntl.h>#include <unistd.h>#include <errno.h>#include <signal.h>#include <sys/ioctl.h>#include <ngc/core/ngcbIFC2.hpp>#include <ngc/core/ngcbShell.h>Classes | |
| struct | shell_stat_t |
| struct | shell_cmd_t |
Macros | |
| #define | _GNU_SOURCE |
| #define | NUM_ELE(x) |
Typedefs | |
| typedef int(* | CMD_HANDLER) (shell_stat_t *, char *, FILE *, char *) |
Functions | |
| int | handleHelp (shell_stat_t *, char *, FILE *, char *) |
| int | handleAbort (shell_stat_t *, char *, FILE *, char *) |
| int | handleOpen (shell_stat_t *, char *, FILE *, char *) |
| int | handleClose (shell_stat_t *, char *, FILE *, char *) |
| int | handleTimeout (shell_stat_t *, char *, FILE *, char *) |
| int | handleReset (shell_stat_t *, char *, FILE *, char *) |
| int | handleReadAddr (shell_stat_t *, char *, FILE *, char *) |
| int | handleWriteAddr (shell_stat_t *, char *, FILE *, char *) |
| int | handleRpc (shell_stat_t *, char *, FILE *, char *) |
| int | main (int argc, char *argv[]) |
| #define _GNU_SOURCE |
| #define NUM_ELE | ( | x | ) |
| typedef int(* CMD_HANDLER) (shell_stat_t *, char *, FILE *, char *) |
Interactive mode command handler
| int handleAbort | ( | shell_stat_t * | stat, |
| char * | cmdLine, | ||
| FILE * | rs, | ||
| char * | erms ) |
| int handleClose | ( | shell_stat_t * | stat, |
| char * | cmdLine, | ||
| FILE * | rs, | ||
| char * | erms ) |
| int handleHelp | ( | shell_stat_t * | stat, |
| char * | cmdLine, | ||
| FILE * | rs, | ||
| char * | erms ) |
| int handleOpen | ( | shell_stat_t * | stat, |
| char * | cmdLine, | ||
| FILE * | rs, | ||
| char * | erms ) |
| int handleReadAddr | ( | shell_stat_t * | stat, |
| char * | cmdLine, | ||
| FILE * | rs, | ||
| char * | erms ) |
| int handleReset | ( | shell_stat_t * | stat, |
| char * | cmdLine, | ||
| FILE * | rs, | ||
| char * | erms ) |
| int handleRpc | ( | shell_stat_t * | stat, |
| char * | cmdLine, | ||
| FILE * | rs, | ||
| char * | erms ) |
| int handleTimeout | ( | shell_stat_t * | stat, |
| char * | cmdLine, | ||
| FILE * | rs, | ||
| char * | erms ) |
| int handleWriteAddr | ( | shell_stat_t * | stat, |
| char * | cmdLine, | ||
| FILE * | rs, | ||
| char * | erms ) |
| int main | ( | int | argc, |
| char * | argv[] ) |