chiark / gitweb /
install: treat non-existent directory as empty
[elogind.git] / src / shared / util.h
index 90234eb27b8577f5c75c349f711e4d340c4c71f2..2b75ba62f97f459e422f7ae8e9e372548e70ac83 100644 (file)
@@ -430,8 +430,8 @@ int terminal_vhangup(const char *name);
 int vt_disallocate(const char *name);
 
 int copy_file(const char *from, const char *to);
-int symlink_or_copy(const char *from, const char *to);
-int symlink_or_copy_atomic(const char *from, const char *to);
+
+int symlink_atomic(const char *from, const char *to);
 
 int fchmod_umask(int fd, mode_t mode);
 
@@ -532,3 +532,4 @@ int get_home_dir(char **ret);
 void freep(void *p);
 void fclosep(FILE **f);
 void closep(int *fd);
+void closedirp(DIR **d);