projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add AES-256-GCM support to SPTPS.
[tinc]
/
src
/
utils.h
diff --git
a/src/utils.h
b/src/utils.h
index
bd5ce13
..
c33e28e
100644
(file)
--- a/
src/utils.h
+++ b/
src/utils.h
@@
-72,10
+72,9
@@
static inline suseconds_t jitter(void) {
extern bool check_id(const char *id);
extern bool check_netname(const char *netname, bool strict);
extern bool check_id(const char *id);
extern bool check_netname(const char *netname, bool strict);
-char *replace_name(const char *name);
+char *replace_name(const char *name)
ATTR_MALLOC
;
-char *absolute_path(const char *path) ATTR_MALLOC;
-
-extern FILE *fopenmask(const char *filename, const char *mode, mode_t perms);
+// NULL-safe wrapper around strcmp().
+extern bool string_eq(const char *first, const char *second);
#endif
#endif