pub unsafe extern "C" fn ares_library_init_mem(
    flags: c_int,
    amalloc: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>,
    afree: Option<unsafe extern "C" fn(ptr: *mut c_void)>,
    arealloc: Option<unsafe extern "C" fn(ptr: *mut c_void, size: usize) -> *mut c_void>
) -> c_int