projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use const pointer to source in base64 and hex routines.
[oweals/tinc.git]
/
src
/
utils.h
diff --git
a/src/utils.h
b/src/utils.h
index 648a60717a0e9c8bd1ce6c931d9783076dab182d..67c94f3d3927330ed0f0ca9bd2c0547f8c9f3a3f 100644
(file)
--- a/
src/utils.h
+++ b/
src/utils.h
@@
-21,11
+21,11
@@
#ifndef __TINC_UTILS_H__
#define __TINC_UTILS_H__
#ifndef __TINC_UTILS_H__
#define __TINC_UTILS_H__
-extern int hex2bin(char *src, char *dst, int length);
-extern int bin2hex(char *src, char *dst, int length);
+extern int hex2bin(c
onst c
har *src, char *dst, int length);
+extern int bin2hex(c
onst c
har *src, char *dst, int length);
-extern int b64encode(char *src, char *dst, int length);
-extern int b64decode(char *src, char *dst, int length);
+extern int b64encode(c
onst c
har *src, char *dst, int length);
+extern int b64decode(c
onst c
har *src, char *dst, int length);
#ifdef HAVE_MINGW
extern const char *winerror(int);
#ifdef HAVE_MINGW
extern const char *winerror(int);