repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Changes to update Tomato RAF.
[tomato.git]
/
release
/
src
/
router
/
dnscrypt
/
src
/
proxy
/
utils.h
blob
0ecf588912b9d6eda6d25b669f46df99cb0cbf6e
1
2
#ifndef __UTILS_H__
3
#define __UTILS_H__ 1
4
5
#include <stdint.h>
6
#include <stdlib.h>
7
8
#define COMPILER_ASSERT(X) (void) sizeof(char[(X) ? 1 : -1])
9
10
void
dnscrypt_memzero
(
void
*
const
pnt
,
const size_t
size
);
11
uint64_t
dnscrypt_hrtime
(
void
);
12
int
closedesc_all
(
const int
closestdin
);
13
int
do_daemonize
(
void
);
14
15
#endif