Enumerations | |
| enum | finsh_type { , finsh_type_voidp, finsh_type_char, finsh_type_uchar, finsh_type_charp, finsh_type_short, finsh_type_ushort, finsh_type_shortp, finsh_type_int, finsh_type_uint, finsh_type_intp, finsh_type_long, finsh_type_ulong, finsh_type_longp } |
Functions | |
| void | finsh_syscall_append (const char *name, syscall_func func) |
| void | finsh_sysvar_append (const char *name, u_char type, void *addr) |
| enum finsh_type |
finsh basic data type
| void finsh_syscall_append | ( | const char * | name, | |
| syscall_func | func | |||
| ) |
append a system call to finsh runtime environment
| name | the name of system call | |
| func | the function pointer of system call |
| void finsh_sysvar_append | ( | const char * | name, | |
| u_char | type, | |||
| void * | addr | |||
| ) |
append a system variable to finsh runtime environment
| name | the name of system variable | |
| type | the data type of system variable | |
| addr | the address of system variable |
1.5.7