diff options
author | Kim Alvefur <zash@zash.se> | 2020-05-11 22:32:28 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-05-11 22:32:28 +0200 |
commit | 7b3b4efb797c438065ee52aea2ac67a66f5e22cf (patch) | |
tree | c60aedf9bdbe2939a466c758d8e0742de14fd55c /doc | |
parent | b9bb7cca20ac53685a13fd096a74abd1ae5eb3d3 (diff) | |
download | prosody-7b3b4efb797c438065ee52aea2ac67a66f5e22cf.tar.gz prosody-7b3b4efb797c438065ee52aea2ac67a66f5e22cf.zip |
doc/storage: Add archive store map-like API
Diffstat (limited to 'doc')
-rw-r--r-- | doc/storage.tld | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/storage.tld b/doc/storage.tld index 057649a4..0fc8ff54 100644 --- a/doc/storage.tld +++ b/doc/storage.tld @@ -50,6 +50,10 @@ interface archive_store -- Map of counts per "with" field summary : ( self, string?, archive_query? ) -> ( { string : integer } ) | (nil, string) + + -- Map-store API + get : ( self, string, string ) -> (stanza, number?, string?) | (nil, string) + set : ( self, string, string, stanza, number?, string? ) -> (boolean) | (nil, string) end -- This represents moduleapi |