#include "database_structs.h"


void BlockType::prepare() {
	display_data["block_id"]   = id;
	display_data["block_name"] = name;
	display_data["block_desc"] = description;
	display_data["vendor_id"]   = vendor_id;
	display_data["vendor_name"] = vendor_name;
	display_data["vendor_desc"] = vendor_description;
	display_data["group_id"]   = group_id;
	display_data["group_name"] = group_name;
	display_data["group_desc"] = group_description;
	display_data["block_flags"] = flags;
	display_data["block_plugin"] = block_plugin;
	display_data["script_plugin"] = script_plugin;
	display_data["gateway_plugin"] = gateway_plugin;
	display_data["packet_plugin"] = packet_plugin;
}
