projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Send broadcast packets using a random socket, and properly support IPv6.
[tinc]
/
lib
/
utils.h
diff --git
a/lib/utils.h
b/lib/utils.h
index
4456616
..
2e4fcf8
100644
(file)
--- a/
lib/utils.h
+++ b/
lib/utils.h
@@
-21,7
+21,7
@@
#ifndef __TINC_UTILS_H__
#define __TINC_UTILS_H__
#ifndef __TINC_UTILS_H__
#define __TINC_UTILS_H__
-extern
void
hex2bin(char *src, char *dst, int length);
+extern
bool
hex2bin(char *src, char *dst, int length);
extern void bin2hex(char *src, char *dst, int length);
#ifdef HAVE_MINGW
extern void bin2hex(char *src, char *dst, int length);
#ifdef HAVE_MINGW
@@
-40,6
+40,6
@@
extern const char *winerror(int);
#define sockinprogress(x) ((x) == EINPROGRESS)
#endif
#define sockinprogress(x) ((x) == EINPROGRESS)
#endif
-extern unsigned int bitfield_to_int(void *bitfield, size_t size);
+extern unsigned int bitfield_to_int(
const
void *bitfield, size_t size);
#endif /* __TINC_UTILS_H__ */
#endif /* __TINC_UTILS_H__ */