Software /
code /
prosody
Annotate
teal-src/util/struct.d.tl @ 12775:1dd468c63a3d
mod_blocklist: Add option 'migrate_legacy_blocking' to disable migration from mod_privacy
Tiny performance improvement for new users by skipping this check. Most
servers should have gone trough the migration for all active users long
ago.
As a suitable first step of phasing out this code, we make it possible
to disable it first. Later it can be disabled by default, before finally
the code is deleted.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 17 Oct 2022 15:20:06 +0200 |
parent | 12619:d593cb709525 |
rev | line source |
---|---|
12619
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 local record lib |
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 pack : function (string, ...:any) : string |
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 unpack : function(string, string, integer) : any... |
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 size : function(string) : integer |
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 end |
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 return lib |