agoo_con_res_peek(agooCon c) {
    agooRes	res;

    pthread_mutex_lock(&c->res_lock);
    res = c->res_head;
    pthread_mutex_unlock(&c->res_lock);

    return res;
}
agoo_con_res_peek(agooCon c) {
    agooRes	res;

    pthread_mutex_lock(&c->res_lock);
    res = c->res_head;
    pthread_mutex_unlock(&c->res_lock);

    return res;
}