ne7ssh_sftp_packet.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef NE7SSHSFTPPACKET_H
00018 #define NE7SSHSFTPPACKET_H
00019
00020 #include "ne7ssh_types.h"
00021 #include "ne7ssh_string.h"
00022
00026 class Ne7sshSftpPacket : public ne7ssh_string
00027 {
00028 private:
00029 int channel;
00030
00031 public:
00036 Ne7sshSftpPacket();
00041 Ne7sshSftpPacket(int channel);
00042
00048 Ne7sshSftpPacket(Botan::SecureVector<Botan::byte>& var, uint32 position);
00049
00053 ~Ne7sshSftpPacket();
00054
00059 Botan::SecureVector<Botan::byte> &value ();
00060
00066 Botan::SecureVector<Botan::byte> valueFragment (uint32 len = 0);
00067
00072 void addInt64 (const uint64 var);
00073
00078 uint64 getInt64 ();
00079
00084 bool isChannelSet ();
00085
00086 };
00087
00088 #endif