no message

This commit is contained in:
Peter
2015-09-22 15:24:13 +03:00
parent 341e9a6609
commit ab426e64c2
44 changed files with 18441 additions and 1779 deletions

14
Postbox/ValueBox.swift Normal file
View File

@@ -0,0 +1,14 @@
import Foundation
public protocol ValueBox {
func begin()
func commit()
func range(table: Int32, start: ValueBoxKey, end: ValueBoxKey, @noescape values: (ValueBoxKey, ReadBuffer) -> Bool, limit: Int)
func range(table: Int32, start: ValueBoxKey, end: ValueBoxKey, keys: ValueBoxKey -> Bool, limit: Int)
func get(table: Int32, key: ValueBoxKey) -> ReadBuffer?
func exists(table: Int32, key: ValueBoxKey) -> Bool
func set(table: Int32, key: ValueBoxKey, value: MemoryBuffer)
func remove(table: Int32, key: ValueBoxKey)
func drop()
}