summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-11-08 12:41:00 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-11-08 12:41:00 -0800
commit123229736de8343abdb64241ce16baf4c8bb8698 (patch)
treef486b58818a12fda97206acd97c7dd532226bb69 /src
parent5175c7eb1a9af7839610f669544fc0779b03f5e3 (diff)
downloadssh2-rs-123229736de8343abdb64241ce16baf4c8bb8698.zip
Bump dep on bitflags
Diffstat (limited to 'src')
-rw-r--r--src/sftp.rs4
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"]