Joedb
9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
src
joedb
ssh
SFTP_Attributes.h
Go to the documentation of this file.
1
#ifndef joedb_ssh_SFTP_Attributes_declared
2
#define joedb_ssh_SFTP_Attributes_declared
3
4
#include "
joedb/ssh/ssh.h
"
5
6
#include <libssh/sftp.h>
7
8
namespace
joedb
9
{
10
namespace
ssh
11
{
12
///////////////////////////////////////////////////////////////////////////
13
class
SFTP_Attributes
14
///////////////////////////////////////////////////////////////////////////
15
{
16
private
:
17
const
sftp_attributes attributes;
18
19
public
:
20
SFTP_Attributes
(sftp_attributes attributes): attributes(attributes)
21
{
22
check_not_null
(attributes);
23
}
24
25
sftp_attributes
get
()
const
26
{
27
return
attributes;
28
}
29
30
~SFTP_Attributes
()
31
{
32
if
(attributes)
33
sftp_attributes_free(attributes);
34
}
35
};
36
}
37
}
38
39
#endif
joedb::ssh::SFTP_Attributes
Definition
SFTP_Attributes.h:15
joedb::ssh::SFTP_Attributes::~SFTP_Attributes
~SFTP_Attributes()
Definition
SFTP_Attributes.h:30
joedb::ssh::SFTP_Attributes::SFTP_Attributes
SFTP_Attributes(sftp_attributes attributes)
Definition
SFTP_Attributes.h:20
joedb::ssh::SFTP_Attributes::get
sftp_attributes get() const
Definition
SFTP_Attributes.h:25
joedb::ssh::check_not_null
void check_not_null(void *p)
Definition
ssh.h:13
joedb
Definition
Blob.h:7
ssh.h
Generated by
1.9.8