git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
socket-util: Move get_mtime() here from stream-ssl.
[sliver-openvswitch.git]
/
lib
/
socket-util.h
diff --git
a/lib/socket-util.h
b/lib/socket-util.h
index
f5d6010
..
40a9614
100644
(file)
--- a/
lib/socket-util.h
+++ b/
lib/socket-util.h
@@
-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 */