/* Copyright (c) 2001-2009 by SoftIntegration, Inc. All Rights Reserved */
int inet_aton(char *c2chf_a0, struct in_addr *c2chf_a1) {
    void *fptr;
    int retval;

    fptr = dlsym(_ChArpaInet_handle, "inet_aton_chdl");
    if(fptr == NULL) {
        fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__,  dlerror());
        return -1;
    }
    dlrunfun(fptr, &retval, inet_aton, c2chf_a0, c2chf_a1);
    return retval;
}
