New CLI command "Core show settings" to list some core settings
[asterisk/asterisk.git] / main / config.c
index 9889e63..023be5f 100644 (file)
@@ -1384,6 +1384,12 @@ int ast_check_realtime(const char *family)
 
 }
 
 
 }
 
+/*! \brief Check if there's any realtime engines loaded */
+int ast_realtime_enabled()
+{
+       return config_maps ? 1 : 0;
+}
+
 struct ast_config *ast_load_realtime_multientry(const char *family, ...)
 {
        struct ast_config_engine *eng;
 struct ast_config *ast_load_realtime_multientry(const char *family, ...)
 {
        struct ast_config_engine *eng;