Revision 0b613881 cmd.h
b/cmd.h | ||
---|---|---|
43 | 43 |
|
44 | 44 |
int qemuio_command_usage(const cmdinfo_t *ci); |
45 | 45 |
|
46 |
/* from input.h */ |
|
47 |
void cvtstr(double value, char *str, size_t sz); |
|
48 |
|
|
49 |
struct timeval tsub(struct timeval t1, struct timeval t2); |
|
50 |
double tdiv(double value, struct timeval tv); |
|
51 |
|
|
52 |
enum { |
|
53 |
DEFAULT_TIME = 0x0, |
|
54 |
TERSE_FIXED_TIME = 0x1, |
|
55 |
VERBOSE_FIXED_TIME = 0x2 |
|
56 |
}; |
|
57 |
|
|
58 |
void timestr(struct timeval *tv, char *str, size_t sz, int flags); |
|
59 |
|
|
60 | 46 |
bool qemuio_command(const char *cmd); |
61 | 47 |
|
62 | 48 |
#endif /* __COMMAND_H__ */ |
Also available in: Unified diff