summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_url.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-02-22 16:02:13 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-02-22 16:02:13 +0000
commitc49ea0960c5a1926defa93adec1c5fe1397ce500 (patch)
tree9f20d9cb585846195457f77b16297a3b821f73ca /src/lua/lua_url.h
parentb2a070946a1374ce07d05f1fb78b7fca0bd919ae (diff)
downloadrspamd-c49ea0960c5a1926defa93adec1c5fe1397ce500.tar.gz
rspamd-c49ea0960c5a1926defa93adec1c5fe1397ce500.zip
[Feature] Allow to sort urls for Lua
Diffstat (limited to 'src/lua/lua_url.h')
-rw-r--r--src/lua/lua_url.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_url.h b/src/lua/lua_url.h
index c074a579a..705fe1615 100644
--- a/src/lua/lua_url.h
+++ b/src/lua/lua_url.h
@@ -35,6 +35,7 @@ struct lua_tree_cb_data {
gsize max_urls;
gdouble skip_prob;
guint64 xoroshiro_state[4];
+ gboolean sort;
};
void lua_tree_url_callback (gpointer key, gpointer value, gpointer ud);