diff options
author | Jeremy Allison <jra@samba.org> | 2012-07-09 12:26:56 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-07-09 12:26:56 -0700 |
commit | 9d5e026bde837ed853478a223e2823fd35c67d26 (patch) | |
tree | 0b41a219fcf07d086a52a72cd595bb63406c351c /source3/include | |
parent | 1f37ed7a5283ef3abd095d6a92efa231e7e2444d (diff) | |
download | samba-9d5e026bde837ed853478a223e2823fd35c67d26.tar.gz samba-9d5e026bde837ed853478a223e2823fd35c67d26.tar.bz2 samba-9d5e026bde837ed853478a223e2823fd35c67d26.zip |
Make check_same_stat() and check_same_dev_ino() common functions.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index b7f2852a48..7625983518 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -400,6 +400,10 @@ bool file_exist_stat(const char *fname,SMB_STRUCT_STAT *sbuf, bool fake_dir_create_times); bool socket_exist(const char *fname); uint64_t get_file_size_stat(const SMB_STRUCT_STAT *sbuf); +bool check_same_dev_ino(const SMB_STRUCT_STAT *sbuf1, + const SMB_STRUCT_STAT *sbuf2); +bool check_same_stat(const SMB_STRUCT_STAT *sbuf1, + const SMB_STRUCT_STAT *sbuf2); void show_msg(const char *buf); int set_message_bcc(char *buf,int num_bytes); ssize_t message_push_blob(uint8 **outbuf, DATA_BLOB blob); |