= 0)
add_assoc_long(return_value, "port", resource->port);
if (resource->user...= NULL)
add_assoc_string(return_value, "host", resource->host);
if (resource-...= 0)
add_assoc_long(return_value, "port", resource->port);
if (resource->user...= NULL)
add_assoc_string(return_value, "user", resource->user);
if (resource-...= NULL)
add_assoc_string(return_value, "pass", resource->pass);
if (resource-