Changeset 3b5a5e3 in mainline for uspace/app/tmon/tf.h
- Timestamp:
- 2018-02-01T16:10:12Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3038d51
- Parents:
- 8393c73b
- git-author:
- Petr Manek <petr.manek@…> (2018-02-01 16:09:43)
- git-committer:
- Petr Manek <petr.manek@…> (2018-02-01 16:10:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tmon/tf.h
r8393c73b r3b5a5e3 38 38 39 39 #include <async.h> 40 41 /** Parameters common for all tests. */ 42 typedef struct tmon_test_params { 43 /* Nothing here. */ 44 } tmon_test_params_t; 40 #include <usbdiag_iface.h> 45 41 46 42 /** Operations to implement by all tests. */ 47 43 typedef struct tmon_test_ops { 48 int (*run)(async_exch_t *, const tmon_test_params_t *); 49 int (*read_params)(int, char **, tmon_test_params_t **); 44 int (*pre_run)(void *); 45 int (*run)(async_exch_t *, const void *); 46 int (*read_params)(int, char **, void **); 50 47 } tmon_test_ops_t; 51 48 52 49 int tmon_test_main(int, char **, const tmon_test_ops_t *); 50 51 char *tmon_format_size(double, const char *); 52 char *tmon_format_duration(usbdiag_dur_t, const char *); 53 53 54 54 #endif /* TMON_TF_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.