diff options
author | Alex Crichton <alex@alexcrichton.com> | 2016-11-08 12:41:00 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2016-11-08 12:41:00 -0800 |
commit | 123229736de8343abdb64241ce16baf4c8bb8698 (patch) | |
tree | f486b58818a12fda97206acd97c7dd532226bb69 /src/sftp.rs | |
parent | 5175c7eb1a9af7839610f669544fc0779b03f5e3 (diff) | |
download | ssh2-rs-123229736de8343abdb64241ce16baf4c8bb8698.zip |
Bump dep on bitflags
Diffstat (limited to 'src/sftp.rs')
-rw-r--r-- | src/sftp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sftp.rs b/src/sftp.rs index a56d3b1..0ef291d 100644 --- a/src/sftp.rs +++ b/src/sftp.rs @@ -55,7 +55,7 @@ pub struct FileType { bitflags! { #[doc = "Options that can be used to configure how a file is opened"] - flags OpenFlags: c_ulong { + pub flags OpenFlags: c_ulong { #[doc = "Open the file for reading."] const READ = raw::LIBSSH2_FXF_READ, #[doc = "Open the file for writing. If both this and Read are \ @@ -80,7 +80,7 @@ bitflags! { bitflags! { #[doc = "Options to `Sftp::rename`"] - flags RenameFlags: c_long { + pub flags RenameFlags: c_long { #[doc = "In a rename operation, overwrite the destination if it \ already exists. If this flag is not present then it is an \ error if the destination already exists"] |