blob: 8cea322387efaa329445b2b88e6455a059bad625 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef MISC_H
#define MISC_H
#include "config.h"
#include <stdint.h>
#include <stdlib.h>
/*
Returns the current time as milliseconds. The return value can only be
compared to another return value of the function.
*/
int64_t GetCurrentTime();
/*
Simple hexdump to stdout.
*/
void DumpHex(const void* data, size_t size);
#endif
|