You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by na...@apache.org on 2007/10/04 13:58:14 UTC
svn commit: r581868 - in /webservices/rampart/trunk/c: include/oxs_ctx.h
src/omxmlsec/ctx.c
Author: nandika
Date: Thu Oct 4 04:58:13 2007
New Revision: 581868
URL: http://svn.apache.org/viewvc?rev=581868&view=rev
Log:
AXIS2_EXTERN files added
Modified:
webservices/rampart/trunk/c/include/oxs_ctx.h
webservices/rampart/trunk/c/src/omxmlsec/ctx.c
Modified: webservices/rampart/trunk/c/include/oxs_ctx.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_ctx.h?rev=581868&r1=581867&r2=581868&view=diff
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_ctx.h (original)
+++ webservices/rampart/trunk/c/include/oxs_ctx.h Thu Oct 4 04:58:13 2007
@@ -63,7 +63,7 @@
* @param env pointer to environment struct
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- axis2_status_t AXIS2_CALL
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_free(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -75,7 +75,7 @@
* @param env pointer to environment struct
* @return mode of the context
*/
- oxs_ctx_mode_t AXIS2_CALL
+ AXIS2_EXTERN oxs_ctx_mode_t AXIS2_CALL
oxs_ctx_get_mode(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -87,7 +87,7 @@
* @param env pointer to environment struct
* @return operation of the context
*/
- oxs_ctx_operation_t AXIS2_CALL
+ AXIS2_EXTERN oxs_ctx_operation_t AXIS2_CALL
oxs_ctx_get_operation(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -100,7 +100,7 @@
* @param env pointer to environment struct
* @return of the context
*/
- oxs_key_t *AXIS2_CALL
+ AXIS2_EXTERN oxs_key_t *AXIS2_CALL
oxs_ctx_get_key(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -112,7 +112,7 @@
* @param env pointer to environment struct
* @return of the context
*/
- axis2_char_t *AXIS2_CALL
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_id(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -124,7 +124,7 @@
* @param env pointer to environment struct
* @return of the context
*/
- axis2_char_t *AXIS2_CALL
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_type(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -135,7 +135,7 @@
* @param env pointer to environment struct
* @return of the context
*/
- axis2_char_t *AXIS2_CALL
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_mime_type(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -147,7 +147,7 @@
* @param env pointer to environment struct
* @return of the context
*/
- axis2_char_t *AXIS2_CALL
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_encoding(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -159,7 +159,7 @@
* @param env pointer to environment struct
* @return of the context
*/
- axis2_char_t *AXIS2_CALL
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_recipient(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -171,7 +171,7 @@
* @param env pointer to environment struct
* @return of the context
*/
- axis2_char_t *AXIS2_CALL
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_carried_key_name(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -183,7 +183,7 @@
* @param env pointer to environment struct
* @return of the context
*/
- axis2_char_t *AXIS2_CALL
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_enc_mtd_algorithm(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -195,7 +195,7 @@
* @param env pointer to environment struct
* @return of the context
*/
- axis2_char_t *AXIS2_CALL
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_input_data(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -207,7 +207,7 @@
* @param mode the mode of operation, EncryptedData/EncryptedKey
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- axis2_status_t AXIS2_CALL
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_mode(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -221,7 +221,7 @@
* @param operation the operation Encrypt/Decrypt/Sign/Verify
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- axis2_status_t AXIS2_CALL
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_operation(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -235,7 +235,7 @@
* @param key the key used
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- axis2_status_t AXIS2_CALL
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_key(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -248,7 +248,7 @@
* @param id the id of the context
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- axis2_status_t AXIS2_CALL
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_id(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -262,7 +262,7 @@
* @param type ???Depricated?
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- axis2_status_t AXIS2_CALL
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_type(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -276,7 +276,7 @@
* @param mime_type the mime type used
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- axis2_status_t AXIS2_CALL
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_mime_type(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -291,7 +291,7 @@
* @param encoding the encoding used
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- axis2_status_t AXIS2_CALL
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_encoding(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -305,7 +305,7 @@
* @param recipient name of recipient
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- axis2_status_t AXIS2_CALL
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_recipient(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -320,7 +320,7 @@
* @param carried_key_name the key name
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- axis2_status_t AXIS2_CALL
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_carried_key_name(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -334,7 +334,7 @@
* @param enc_mtd_algorithm the encryption method algorithm
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- axis2_status_t AXIS2_CALL
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_enc_mtd_algorithm(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -347,7 +347,7 @@
* @param input_data the input data
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
*/
- axis2_status_t AXIS2_CALL
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_input_data(
oxs_ctx_t *ctx,
const axutil_env_t *env,
Modified: webservices/rampart/trunk/c/src/omxmlsec/ctx.c
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/omxmlsec/ctx.c?rev=581868&r1=581867&r2=581868&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/omxmlsec/ctx.c (original)
+++ webservices/rampart/trunk/c/src/omxmlsec/ctx.c Thu Oct 4 04:58:13 2007
@@ -79,7 +79,7 @@
/*public functions*/
-axis2_status_t AXIS2_CALL
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_free(oxs_ctx_t *ctx,
const axutil_env_t *env
)
@@ -140,7 +140,7 @@
return AXIS2_SUCCESS;
}
-oxs_ctx_mode_t AXIS2_CALL
+AXIS2_EXTERN oxs_ctx_mode_t AXIS2_CALL
oxs_ctx_get_mode(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -151,7 +151,7 @@
return ctx->mode ;
}
-oxs_ctx_operation_t AXIS2_CALL
+AXIS2_EXTERN oxs_ctx_operation_t AXIS2_CALL
oxs_ctx_get_operation(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -163,7 +163,7 @@
}
-oxs_key_t *AXIS2_CALL
+AXIS2_EXTERN oxs_key_t *AXIS2_CALL
oxs_ctx_get_key(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -175,7 +175,7 @@
}
-axis2_char_t *AXIS2_CALL
+AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_id(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -187,7 +187,7 @@
}
-axis2_char_t *AXIS2_CALL
+AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_type(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -199,7 +199,7 @@
}
-axis2_char_t *AXIS2_CALL
+AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_mime_type(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -211,7 +211,7 @@
}
-axis2_char_t *AXIS2_CALL
+AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_encoding(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -223,7 +223,7 @@
}
-axis2_char_t *AXIS2_CALL
+AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_recipient(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -235,7 +235,7 @@
}
-axis2_char_t *AXIS2_CALL
+AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_carried_key_name(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -247,7 +247,7 @@
}
-axis2_char_t *AXIS2_CALL
+AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_enc_mtd_algorithm(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -259,7 +259,7 @@
}
-axis2_char_t *AXIS2_CALL
+AXIS2_EXTERN axis2_char_t *AXIS2_CALL
oxs_ctx_get_input_data(
oxs_ctx_t *ctx,
const axutil_env_t *env
@@ -271,7 +271,7 @@
}
-axis2_status_t AXIS2_CALL
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_mode(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -285,7 +285,7 @@
return AXIS2_SUCCESS;
}
-axis2_status_t AXIS2_CALL
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_operation(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -299,7 +299,7 @@
return AXIS2_SUCCESS;
}
-axis2_status_t AXIS2_CALL
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_key(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -318,7 +318,7 @@
return AXIS2_SUCCESS;
}
-axis2_status_t AXIS2_CALL
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_id(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -338,7 +338,7 @@
return AXIS2_SUCCESS;
}
-axis2_status_t AXIS2_CALL
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_type(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -358,7 +358,7 @@
return AXIS2_SUCCESS;
}
-axis2_status_t AXIS2_CALL
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_mime_type(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -378,7 +378,7 @@
return AXIS2_SUCCESS;
}
-axis2_status_t AXIS2_CALL
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_encoding(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -398,7 +398,7 @@
return AXIS2_SUCCESS;
}
-axis2_status_t AXIS2_CALL
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_recipient(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -418,7 +418,7 @@
return AXIS2_SUCCESS;
}
-axis2_status_t AXIS2_CALL
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_carried_key_name(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -438,7 +438,7 @@
return AXIS2_SUCCESS;
}
-axis2_status_t AXIS2_CALL
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_enc_mtd_algorithm(
oxs_ctx_t *ctx,
const axutil_env_t *env,
@@ -458,7 +458,7 @@
return AXIS2_SUCCESS;
}
-axis2_status_t AXIS2_CALL
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_ctx_set_input_data(
oxs_ctx_t *ctx,
const axutil_env_t *env,