diff -Naur axis2c-src-0.91/modules/core/transport/http/sender/ssl/ssl_stream.h axis2c-src-0.91.oden/modules/core/transport/http/sender/ssl/ssl_stream.h --- axis2c-src-0.91/modules/core/transport/http/sender/ssl/ssl_stream.h 1970-01-01 01:00:00.000000000 +0100 +++ axis2c-src-0.91.oden/modules/core/transport/http/sender/ssl/ssl_stream.h 2006-05-25 12:14:30.000000000 +0200 @@ -0,0 +1,45 @@ +/* + * Copyright 2004,2005 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain count copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef AXIS2_SSL_STREAM_H +#define AXIS2_SSL_STREAM_H + +#include <axis2_const.h> +#include <axis2_defines.h> +#include <axis2_env.h> +#include <axis2_stream.h> +#include <platforms/axis2_platform_auto_sense.h> +#include <openssl/ssl.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + + +/** \brief Constructor for creating ssl stream + * @return axis2_stream (ssl) + */ +AXIS2_DECLARE(axis2_stream_t *) +axis2_stream_create_ssl(axis2_env_t **env, axis2_socket_t socket); + +/** @} */ + +#ifdef __cplusplus +} +#endif + +#endif /* AXIS2_SSL_STREAM_H */ diff -Naur axis2c-src-0.91/modules/core/transport/http/sender/ssl/ssl_utils.h axis2c-src-0.91.oden/modules/core/transport/http/sender/ssl/ssl_utils.h --- axis2c-src-0.91/modules/core/transport/http/sender/ssl/ssl_utils.h 1970-01-01 01:00:00.000000000 +0100 +++ axis2c-src-0.91.oden/modules/core/transport/http/sender/ssl/ssl_utils.h 2006-05-25 12:15:49.000000000 +0200 @@ -0,0 +1,46 @@ +/* + * Copyright 2004,2005 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef AXIS2_SSL_UTILS_H +#define AXIS2_SSL_UTILS_H + +#include <openssl/ssl.h> +#include <platforms/axis2_platform_auto_sense.h> +#include <axis2_const.h> +#include <axis2_defines.h> + + +#ifdef __cplusplus +extern "C" +{ +#endif +BIO *bio_err = 0; + +AXIS2_DECLARE (SSL_CTX *) +axis2_ssl_utils_initialize_ctx(axis2_env_t **env); + +AXIS2_DECLARE (SSL *) +axis2_ssl_utils_initialize_ssl(axis2_env_t **env, SSL_CTX *ctx, + axis2_socket_t socket); + +AXIS2_DECLARE (axis2_status_t) +axis2_ssl_utils_cleanup_ssl(axis2_env_t **env, SSL_CTX *ctx, SSL *ssl); + +#ifdef __cplusplus +} +#endif + +#endif /* AXIS2_SSL_UTILS_H */