X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Futils.h;h=5c387bdb8fe333d6272f02049d6b672eb7105e8a;hp=7e519f4a9e06dadc12a62984d2f9f4afeac2a637;hb=390d25f0b80dd7418e147de3561c70461628574d;hpb=e57daac63b6f703af8e7c8209ef61a4d3b2180c3 diff --git a/src/utils.h b/src/utils.h index 7e519f4a..5c387bdb 100644 --- a/src/utils.h +++ b/src/utils.h @@ -50,4 +50,8 @@ extern const char *winerror(int); extern unsigned int bitfield_to_int(const void *bitfield, size_t size); +extern bool check_id(const char *); +extern bool check_netname(const char *, bool strict); +char *replace_name(const char *name); + #endif /* __TINC_UTILS_H__ */