Author: shankar
Date: Sun Feb 10 19:16:21 2008
New Revision: 620395
URL: http://svn.apache.org/viewvc?rev=620395&view=rev
Log:
returning void pointer from rampart_context_get_replay_detector and
rampart_context_get_sct_provider. It returned struct rampart_replay_detector_t*
and struct rampart_sct_provider_t* earlier. This caused a problem when
compiling on windows with VC solution space.
Modified:
webservices/rampart/trunk/c/include/rampart_context.h
webservices/rampart/trunk/c/src/util/rampart_context.c
Modified: webservices/rampart/trunk/c/include/rampart_context.h
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/rampart_context.h?rev=620395&r1=620394&r2=620395&view=diff
==============================================================================
--- webservices/rampart/trunk/c/include/rampart_context.h (original)
+++ webservices/rampart/trunk/c/include/rampart_context.h Sun Feb 10 19:16:21
2008
@@ -354,12 +354,12 @@
rampart_context_t *rampart_context,
const axutil_env_t *env);
- AXIS2_EXTERN struct rampart_replay_detector_t *AXIS2_CALL
+ AXIS2_EXTERN void *AXIS2_CALL
rampart_context_get_replay_detector(
rampart_context_t *rampart_context,
const axutil_env_t *env);
- AXIS2_EXTERN struct rampart_sct_provider_t *AXIS2_CALL
+ AXIS2_EXTERN void *AXIS2_CALL
rampart_context_get_sct_provider(
rampart_context_t *rampart_context,
const axutil_env_t *env);
@@ -372,12 +372,12 @@
AXIS2_EXTERN axis2_status_t AXIS2_CALL
rampart_context_set_replay_detector(rampart_context_t *rampart_context,
const axutil_env_t *env,
- struct rampart_replay_detector_t *replay_detector);
+ void *replay_detector);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
rampart_context_set_sct_provider(rampart_context_t *rampart_context,
const axutil_env_t *env,
- struct rampart_sct_provider_t *sct_module);
+ void *sct_module);
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
rampart_context_get_require_timestamp(
Modified: webservices/rampart/trunk/c/src/util/rampart_context.c
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_context.c?rev=620395&r1=620394&r2=620395&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_context.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_context.c Sun Feb 10 19:16:21
2008
@@ -827,7 +827,7 @@
return AXIS2_SUCCESS;
}
-AXIS2_EXTERN struct rampart_replay_detector_t *AXIS2_CALL
+AXIS2_EXTERN void *AXIS2_CALL
rampart_context_get_replay_detector(
rampart_context_t *rampart_context,
const axutil_env_t *env)
@@ -840,7 +840,7 @@
AXIS2_EXTERN axis2_status_t AXIS2_CALL
rampart_context_set_replay_detector(rampart_context_t *rampart_context,
const axutil_env_t *env,
- struct rampart_replay_detector_t
*replay_detector)
+ void *replay_detector)
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error,replay_detector,AXIS2_FAILURE);
@@ -849,7 +849,7 @@
return AXIS2_SUCCESS;
}
-AXIS2_EXTERN struct rampart_sct_provider_t *AXIS2_CALL
+AXIS2_EXTERN void *AXIS2_CALL
rampart_context_get_sct_provider(
rampart_context_t *rampart_context,
const axutil_env_t *env)
@@ -862,7 +862,7 @@
AXIS2_EXTERN axis2_status_t AXIS2_CALL
rampart_context_set_sct_provider(rampart_context_t *rampart_context,
const axutil_env_t *env,
- struct rampart_sct_provider_t *sct_provider)
+ void *sct_provider)
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error,sct_provider,AXIS2_FAILURE);