aboutsummaryrefslogtreecommitdiffstats
path: root/doc/storage.tld
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-05-11 22:32:28 +0200
committerKim Alvefur <zash@zash.se>2020-05-11 22:32:28 +0200
commit7d6580d30730c1f7d7147ef8da0f2f5199584fa7 (patch)
treec60aedf9bdbe2939a466c758d8e0742de14fd55c /doc/storage.tld
parent82714e54a8dca7ff60365758dd497c3c9c270633 (diff)
downloadprosody-7d6580d30730c1f7d7147ef8da0f2f5199584fa7.tar.gz
prosody-7d6580d30730c1f7d7147ef8da0f2f5199584fa7.zip
doc/storage: Add archive store map-like API
Diffstat (limited to 'doc/storage.tld')
-rw-r--r--doc/storage.tld4
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