projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add stricter checks for netnames.
[oweals/tinc.git]
/
src
/
utils.h
diff --git
a/src/utils.h
b/src/utils.h
index c3364ced9200028f6727ff309ee624fcb94f1406..5c387bdb8fe333d6272f02049d6b672eb7105e8a 100644
(file)
--- a/
src/utils.h
+++ b/
src/utils.h
@@
-51,6
+51,7
@@
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__ */