Changeset 68b5dd11 in mainline for uspace/lib/clui/nchoice.h
- Timestamp:
- 2015-10-20T10:08:15Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b598460a
- Parents:
- 44fe800
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/clui/nchoice.h
r44fe800 r68b5dd11 40 40 #include <tinput.h> 41 41 42 typedef enum { 43 /** This is the default option */ 44 ncf_default = 1 45 } nchoice_flag_t; 46 42 47 typedef struct { 43 48 /** Link to nchoice_t.opts */ … … 56 61 /** Text input */ 57 62 tinput_t *tinput; 63 /** Default option */ 64 nchoice_opt_t *def_opt; 58 65 } nchoice_t; 59 66 … … 61 68 extern void nchoice_destroy(nchoice_t *); 62 69 extern int nchoice_set_prompt(nchoice_t *, const char *); 63 extern int nchoice_add(nchoice_t *, const char *, void * );70 extern int nchoice_add(nchoice_t *, const char *, void *, nchoice_flag_t); 64 71 extern int nchoice_get(nchoice_t *, void **); 65 72
Note:
See TracChangeset
for help on using the changeset viewer.