Updated Readme

This commit is contained in:
Amir Abbas Mousavian
2016-07-31 01:27:13 +04:30
parent 6a3ea633bf
commit a077d000bc
5 changed files with 26 additions and 10 deletions
+2 -1
View File
@@ -243,11 +243,12 @@ extension SMB2 {
// SRV_ENUMERATE_SNAPSHOTS
struct SrvSnapshots: IOCtlResponseProtocol {
let count: UInt32
let returnedCount: UInt32
let snapshots: [SMBTime]
init?(data: NSData) {
self.count = decode(data)
let returnedCount: UInt32 = decode(data.subdataWithRange(NSRange(location: 4, length: 4)))
self.returnedCount = decode(data.subdataWithRange(NSRange(location: 4, length: 4)))
//let size: UInt32 = decode(data.subdataWithRange(NSRange(location: 8, length: 4)))
var snapshots = [SMBTime]()
let dateFormatter = NSDateFormatter()
+2
View File
@@ -11,6 +11,8 @@ import Foundation
extension SMB2 {
// MARK: SMB2 Query Directory
// MARK: SMB2 Change Notify
// MARK: SMB2 Query Info