Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/console/kconsole.h

    r9d58539 r3266412  
    4343#define KCONSOLE_HISTORY  10
    4444
     45/** Callback to be used to enum hints for cmd tab completion. */
     46typedef const char *(*hints_enum_func_t)(const char *, const char **, void **);
     47
    4548typedef enum {
    4649        ARG_TYPE_INVALID = 0,
     
    8588        /** Function for printing detailed help. */
    8689        void (* help)(void);
     90        /** Function for enumerating hints for arguments. */
     91        hints_enum_func_t hints_enum;
    8792} cmd_info_t;
    8893
     
    100105
    101106extern bool cmd_register(cmd_info_t *cmd);
     107extern const char *cmdtab_enum(const char *name, const char **h, void **ctx);
    102108
    103109#endif
Note: See TracChangeset for help on using the changeset viewer.