summaryrefslogtreecommitdiff
path: root/src/sftp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sftp.rs')
-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"]