8c63fb2000-07-04Per Hedbor #define config_setting(X) (id->misc->config_settings->query(X,1))
954d152000-03-21Martin Nilsson #define config_setting2(X) RXML.get_var(X,"usr")
8ece6a2000-03-21Per Hedbor #define config_perm(X) (id->misc->config_user && id->misc->config_user->auth(X))
a12b1a2000-01-31Per Hedbor #define config_host id->misc->remote_config_host
cfbb172000-02-05Per Hedbor 
96f0982001-04-20Per Hedbor #define SITE_TEMPLATES "site_templates/"
3ea9f32001-01-29Per Hedbor #define ACTIONS "config_interface/actions/"
fc8ffc2017-05-23Pontus Östlund  #ifdef ADMIN_IF_DEBUG # define TRACE(X...)werror("%s:%d: %s",basename(__FILE__),__LINE__,sprintf(X))
0fa0412018-01-16Pontus Östlund # define CFIF_THROW(X...)error("CFIF17: " + sprintf(X))
fc8ffc2017-05-23Pontus Östlund #else # define TRACE(X...)
0fa0412018-01-16Pontus Östlund # define CFIF_THROW(X...)werror("__notice__:%s:%d: %s",basename(__FILE__),__LINE__,sprintf(X))
fc8ffc2017-05-23Pontus Östlund #endif