2
0
mirror of https://github.com/openvswitch/ovs synced 2025-09-03 15:55:19 +00:00

socket-util: Move get_mtime() here from stream-ssl.

An upcoming commit will add a new user for this function in another file,
so export it and move it to a common library file.
This commit is contained in:
Ben Pfaff
2010-04-21 10:47:45 -07:00
parent cd11000ba2
commit 26efd2563b
3 changed files with 29 additions and 21 deletions

View File

@@ -45,5 +45,6 @@ int read_fully(int fd, void *, size_t, size_t *bytes_read);
int write_fully(int fd, const void *, size_t, size_t *bytes_written);
int fsync_parent_dir(const char *file_name);
int get_mtime(const char *file_name, struct timespec *mtime);
#endif /* socket-util.h */