-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathutils.h
More file actions
26 lines (20 loc) · 760 Bytes
/
utils.h
File metadata and controls
26 lines (20 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/***********************************************/
/* Jakub Mackovič - xmacko00 */
/* Jakub Pastuszek - xpastu00 */
/* VUT FIT Brno */
/* Export informací o překladu adres */
/* Květen 2017 */
/* utils.h */
/***********************************************/
#ifndef UTILS_H
#define UTILS_H
#include <stdio.h>
#include <stdint.h>
extern struct export_settings exs;
#define DEBUG(msg) \
if (exs.verbose) fprintf(stderr, "[%s] %s\n", __func__, msg);
uint32_t get_uptime_ms(void);
uint32_t get_timestamp_s(void);
uint64_t get_timestamp_ms(void);
int is_protocol_portless(uint8_t proto);
#endif /* UTILS_H */