// Matrix Construct // // Copyright (C) Matrix Construct Developers, Authors & Contributors // Copyright (C) 2016-2018 Jason Volk // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice is present in all copies. The // full license for this software is available in the LICENSE file. namespace ircd::m::media { struct magick; static void init(); static void fini(); extern log::log log; extern std::unique_ptr magick_support; extern conf::item blocks_cache_enable; extern conf::item blocks_cache_comp_enable; extern conf::item blocks_cache_size; extern conf::item blocks_cache_comp_size; extern const db::descriptor blocks_descriptor; extern const db::description description; extern std::shared_ptr database; extern db::column blocks; extern conf::item download_timeout; extern std::set downloading; extern ctx::dock downloading_dock; } namespace ircd::m::media::thumbnail { extern conf::item enable; extern conf::item enable_remote; extern conf::item width_min; extern conf::item width_max; extern conf::item height_min; extern conf::item height_max; extern conf::item mime_whitelist; extern conf::item mime_blacklist; }