Use umask() to set file and UNIX socket permissions without race conditions.
[tinc] / src / tincctl.h
index 64413a3..920b5a2 100644 (file)
@@ -47,6 +47,8 @@ extern char *get_my_name(bool verbose);
 extern bool connect_tincd(bool verbose);
 extern bool sendline(int fd, char *format, ...);
 extern bool recvline(int fd, char *line, size_t len);
+extern int check_port(char *name);
+extern FILE *fopenmask(const char *filename, const char *mode, mode_t perms);
 
 #endif