rspamd_map_calculate_hash (map);
msg_info_map ("added map %s", bk->uri);
+ bk->map = map;
cfg->maps = g_list_prepend (cfg->maps, map);
else {
g_ptr_array_add (map->backends, bk);
}
+
+ bk->map = map;
}
struct rspamd_map*
struct static_map_data *sd;
};
+
+struct rspamd_map;
struct rspamd_map_backend {
enum fetch_proto protocol;
gboolean is_signed;
gboolean is_compressed;
gboolean is_fallback;
+ struct rspamd_map *map;
struct ev_loop *event_loop;
guint32 id;
struct rspamd_cryptobox_pubkey *trusted_pubkey;