statsproxy.c
void
addGlobalUri(global_statsproxy_settings_t *global, char *uri)
{
    struct confed_uri *u;
    u = (struct confed_uri *) calloc(1, sizeof *u);
    alloc_fail_check(u);
    u->uri = strdup(uri);
    alloc_fail_check(u->uri);
    u->cb = statsCallback;
    TAILQ_INSERT_TAIL(&global->uris, u, next);
}
// add a uri to the global config
add a uri to the global config
add a uri to the global config
void
addGlobalUri(global_statsproxy_settings_t *global, char *uri)
{
    struct confed_uri *u;
    u = (struct confed_uri *) calloc(1, sizeof *u);
    alloc_fail_check(u);
    u->uri = strdup(uri);
    alloc_fail_check(u->uri);
    u->cb = statsCallback;
    TAILQ_INSERT_TAIL(&global->uris, u, next);
}
void addGlobalUri ( global_statsproxy_settings_t * global , char * uri ) { struct confed_uri * u ; u = ( struct confed_uri * ) calloc ( 1 , sizeof * u ) ; alloc_fail_check ( u ) ; u -> uri = strdup ( uri ) ; alloc_fail_check ( u -> uri ) ; u -> cb = statsCallback ; TAILQ_INSERT_TAIL ( & global -> uris , u , next ) ; }
add a uri to the global config
add a uri to the global config