/*
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
*
* This software is dual-licensed to you under the MIT License (MIT) and
* the Universal Permissive License (UPL). See the LICENSE file in the root
* directory for license terms. You may choose either license, or both.
*/

#ifndef IOTCS_HOSTNAME_VERIFIER_H
#define	IOTCS_HOSTNAME_VERIFIER_H

#include <openssl/ssl.h>
#include "iotcs.h" // FIXME: mustn't include this

#ifdef	__cplusplus
extern "C" {
#endif

iotcs_result iotcs_hostname_verifier_check(SSL* ssl, const char* host_addr);
    
#ifdef	__cplusplus
}
#endif

#endif	/* IOTCS_HOSTNAME_VERIFIER_H */