diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-07-22 13:24:20 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-07-22 13:24:20 +0100 |
commit | 21c88e3af74ef2271b4add7c92e54f35dfb8d619 (patch) | |
tree | 5492f8b0019ce3821a54fce1bcb2624da9fc91ca /src/ucl | |
parent | 6c58291460844219093a0e17c4a4db926c148679 (diff) | |
download | rspamd-21c88e3af74ef2271b4add7c92e54f35dfb8d619.tar.gz rspamd-21c88e3af74ef2271b4add7c92e54f35dfb8d619.zip |
Add `rspamd_config:add_map` lua function.
This function is intended to create maps with lua callback that is
called on map reading. For example:
```
local function cb(input)
print(input)
end
rspamd_config:add_map('http://example.com/test.map', 'cool map`, cb)
```
Diffstat (limited to 'src/ucl')
m--------- | src/ucl | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/src/ucl b/src/ucl -Subproject 4d9f818345e831d5f32aada381c90733e41e48f +Subproject bf78fc2f31981411ff3bb20fb22d11056224f1c |