nest-sanity-checks/runtime-config.c

11 lines
225 B
C
Raw Normal View History

#include "runtime-config.h"
#include <stdlib.h>
char *config_get_url() {
/* TODO: find a better way to do this */
return getenv("NOTIFY_URL");
}
int should_enable_debug() {
return getenv("NEST_SANITY_DEBUG")!=NULL?1:0;
}