Changes in uspace/app/tmon/tf.h [8e16454:3b5a5e3] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tmon/tf.h

    r8e16454 r3b5a5e3  
    3838
    3939#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>
    4541
    4642/** Operations to implement by all tests. */
    4743typedef 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 **);
    5047} tmon_test_ops_t;
    5148
    5249int tmon_test_main(int, char **, const tmon_test_ops_t *);
     50
     51char *tmon_format_size(double, const char *);
     52char *tmon_format_duration(usbdiag_dur_t, const char *);
    5353
    5454#endif /* TMON_TF_H_ */
Note: See TracChangeset for help on using the changeset viewer.