Ignore:
Timestamp:
2016-03-08T09:16:26Z (9 years ago)
Author:
Aurelio Colosimo <aurelio@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
83b2e73
Parents:
b6bbc74
Message:

kernel: cmdtab_compl rewritten by using a enum callback

This is the first step to obtain a multi-purpose tab completion function,
based on enum callbacks; a typedef for them, called hints_enum_func_t,
is defined in kernel/generic/include/console/kconsole.h.

File:
1 edited

Legend:

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

    rb6bbc74 r36b0490e  
    4242#define MAX_CMDLINE       256
    4343#define KCONSOLE_HISTORY  10
     44
     45/** Callback to be used to enum hints for cmd tab completion. */
     46typedef const char *(*hints_enum_func_t)(const char *, const char **, void **);
    4447
    4548typedef enum {
Note: See TracChangeset for help on using the changeset viewer.