Function type for callback when host verification has failed.
@param userdata The user data for the callback.
@param host The host description (typically "<hostname>:<port>").
@param fingerprint The fingerprint for the host.
@param reason The reason for the verification failure, which will be
either NEO4J_HOST_VERIFICATION_UNRECOGNIZED or
NEO4J_HOST_VERIFICATION_MISMATCH.
@return NEO4J_HOST_VERIFICATION_REJECT if the host should be rejected,
NEO4J_HOST_VERIFICATION_ACCEPT_ONCE if the host should be accepted
for just the one connection, NEO4J_HOST_VERIFICATION_TRUST if the
fingerprint should be stored in the "known hosts" file and thus
trusted for future connections, or -1 on error (errno should be set).
Function type for callback when host verification has failed.
@param userdata The user data for the callback. @param host The host description (typically "<hostname>:<port>"). @param fingerprint The fingerprint for the host. @param reason The reason for the verification failure, which will be either NEO4J_HOST_VERIFICATION_UNRECOGNIZED or NEO4J_HOST_VERIFICATION_MISMATCH. @return NEO4J_HOST_VERIFICATION_REJECT if the host should be rejected, NEO4J_HOST_VERIFICATION_ACCEPT_ONCE if the host should be accepted for just the one connection, NEO4J_HOST_VERIFICATION_TRUST if the fingerprint should be stored in the "known hosts" file and thus trusted for future connections, or -1 on error (errno should be set).