#include <pthread.h>
#endif
-static bool rate_limit = true;
+log_lvl_t rad_debug_lvl = 0; //!< Global debugging level
+static bool rate_limit = true; //!< Whether repeated log entries should be rate limited
/** Maps log categories to message prefixes
*/
#include <freeradius-devel/log.h>
extern log_lvl_t rad_debug_lvl;
-log_lvl_t rad_debug_lvl = 0;
#include <sys/wait.h>
pid_t rad_fork(void);
/*
* Global variables.
*/
-char const *progname = NULL;
-char const *radacct_dir = NULL;
-char const *radlog_dir = NULL;
-char const *radlib_dir = NULL;
-bool log_stripped_names;
-log_lvl_t rad_debug_lvl = 0;
-bool check_config = false;
+char const *progname = NULL;
+char const *radacct_dir = NULL;
+char const *radlog_dir = NULL;
+char const *radlib_dir = NULL;
+bool log_stripped_names;
+bool check_config = false;
char const *radiusd_version = "FreeRADIUS Version " RADIUSD_VERSION_STRING
#ifdef RADIUSD_VERSION_COMMIT
* they're running inside of the server. And we don't (yet)
* have a "libfreeradius-server", or "libfreeradius-util".
*/
-log_lvl_t rad_debug_lvl = 0;
main_config_t main_config;
bool check_config = false;
static int showname = -1;
static int showptype = 0;
static int showcid = 0;
-log_lvl_t rad_debug_lvl = 0;
char const *progname = "radwho";
char const *radlog_dir = NULL;
char const *radacct_dir = NULL;
char const *radlog_dir = NULL;
char const *radlib_dir = NULL;
-log_lvl_t rad_debug_lvl = 0;
bool check_config = false;
bool log_stripped_names = false;