Changes in uspace/lib/clui/tinput.h [cde999a:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/clui/tinput.h
rcde999a rb7fd2a0 63 63 * @return EOK on success, error code on failure. 64 64 */ 65 typedef int (*tinput_compl_init_fn)(wchar_t *text, size_t pos, size_t *cstart,65 typedef errno_t (*tinput_compl_init_fn)(wchar_t *text, size_t pos, size_t *cstart, 66 66 void **state); 67 67 … … 78 78 * @return EOK on success, error code on failure. 79 79 */ 80 typedef int (*tinput_compl_get_next_fn)(void *state, char **compl);80 typedef errno_t (*tinput_compl_get_next_fn)(void *state, char **compl); 81 81 82 82 … … 155 155 156 156 extern tinput_t *tinput_new(void); 157 extern int tinput_set_prompt(tinput_t *, const char *);157 extern errno_t tinput_set_prompt(tinput_t *, const char *); 158 158 extern void tinput_set_compl_ops(tinput_t *, tinput_compl_ops_t *); 159 159 extern void tinput_destroy(tinput_t *); 160 extern int tinput_read(tinput_t *, char **);161 extern int tinput_read_i(tinput_t *, const char *, char **);160 extern errno_t tinput_read(tinput_t *, char **); 161 extern errno_t tinput_read_i(tinput_t *, const char *, char **); 162 162 163 163 #endif
Note:
See TracChangeset
for help on using the changeset viewer.