static int _hostresolver_release(oe_resolver_t* resolv_)
{
    int ret = -1;
    resolver_t* resolver = _cast_resolver(resolv_);

    oe_errno = 0;

    if (!resolver)
        OE_RAISE_ERRNO(OE_EINVAL);

    // resolv_ is a static object, there is no need to free
    ret = 0;

done:
    return ret;
}
static int _hostresolver_release(oe_resolver_t* resolv_)
{
    int ret = -1;
    resolver_t* resolver = _cast_resolver(resolv_);

    oe_errno = 0;

    if (!resolver)
        OE_RAISE_ERRNO(OE_EINVAL);

     
    ret = 0;

done:
    return ret;
}