Changeset 809813d in mainline for uspace/app/bdsh/cmds/cmds.h
- Timestamp:
- 2008-09-14T15:43:22Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6279151
- Parents:
- 211b0c13
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/cmds.h
r211b0c13 r809813d 20 20 21 21 /* Return macros for int type entry points */ 22 #define CMD_FAILURE (int*)122 #define CMD_FAILURE 1 23 23 #define CMD_SUCCESS 0 24 #define CMD_VOID (void *)NULL25 24 26 25 /* Types for module command entry and help */ 27 typedef int *(* mod_entry_t)(char **);28 typedef void *(* mod_help_t)(unsigned int);26 typedef int (* mod_entry_t)(char **); 27 typedef void (* mod_help_t)(unsigned int); 29 28 30 29 /* Built-in commands need to be able to modify cliuser_t */ 31 typedef int *(* builtin_entry_t)(char **, cliuser_t *);32 typedef void *(* builtin_help_t)(unsigned int);30 typedef int (* builtin_entry_t)(char **, cliuser_t *); 31 typedef void (* builtin_help_t)(unsigned int); 33 32 34 33 /* Module structure */
Note:
See TracChangeset
for help on using the changeset viewer.