X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=lib%2Futils.h;h=a4684f3dffd8225b64efb4601d188f7a4d0a9951;hb=e9635ae38e0e2e3eb92568a1e234f8348856dd69;hp=9184a33948134e7be4df0e7554d4faec6257d71a;hpb=d335c6d0d7328fd86154dc60b22deb7953ab0228;p=tinc diff --git a/lib/utils.h b/lib/utils.h index 9184a339..a4684f3d 100644 --- a/lib/utils.h +++ b/lib/utils.h @@ -20,6 +20,8 @@ #ifndef __TINC_UTILS_H__ #define __TINC_UTILS_H__ +#include + enum { DEBUG_CONNECTIONS = 0, DEBUG_PROTOCOL, @@ -35,4 +37,7 @@ enum { extern volatile int cp_line; extern volatile char *cp_file; +extern void hex2bin(char *src, char *dst, size_t length); +extern void bin2hex(char *src, char *dst, size_t length); + #endif /* __TINC_UTILS_H__ */