X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Futils.h;h=5c387bdb8fe333d6272f02049d6b672eb7105e8a;hb=c2dc3784f127ef6db6e9960a4abecc1aab6f4e31;hp=28afc4ef81ec42ef5407749c56fdcb21c23d5c1d;hpb=826ad11e419db90b66b3f76a90b54df021bb39fc;p=tinc diff --git a/src/utils.h b/src/utils.h index 28afc4ef..5c387bdb 100644 --- a/src/utils.h +++ b/src/utils.h @@ -50,6 +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__ */