You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/06/04 05:09:41 UTC
svn commit: r411506 [3/27] - in /webservices/axis2/trunk/c: axiom/include/
axiom/src/attachments/ axiom/src/om/ axiom/src/parser/guththila/
axiom/src/parser/libxml2/ axiom/src/soap/ axiom/test/om/ axiom/test/soap/
guththila/src/ include/ modules/core/c...
Modified: webservices/axis2/trunk/c/axiom/test/soap/test_soap.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/test/soap/test_soap.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/test/soap/test_soap.c (original)
+++ webservices/axis2/trunk/c/axiom/test/soap/test_soap.c Sat Jun 3 20:09:08 2006
@@ -204,7 +204,7 @@
}
xml_writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_FALSE, AXIS2_FALSE,
- AXIS2_XML_PARSER_TYPE_BUFFER);
+ AXIS2_XML_PARSER_TYPE_BUFFER);
if(!xml_writer)
{
AXIS2_SOAP_BUILDER_FREE(soap_builder, env);
@@ -296,7 +296,7 @@
fault_code = axis2_soap_fault_code_create_with_parent(env, soap_fault);
xml_writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_FALSE, AXIS2_FALSE,
- AXIS2_XML_PARSER_TYPE_BUFFER);
+ AXIS2_XML_PARSER_TYPE_BUFFER);
om_output = axis2_om_output_create( env, xml_writer);
@@ -338,7 +338,7 @@
axis2_soap_fault_detail_create_with_parent(env, soap_fault);
axis2_soap_fault_role_create_with_parent(env, soap_fault);
xml_writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_FALSE, AXIS2_FALSE,
- AXIS2_XML_PARSER_TYPE_BUFFER);
+ AXIS2_XML_PARSER_TYPE_BUFFER);
om_output = axis2_om_output_create( env, xml_writer);
AXIS2_SOAP_ENVELOPE_SERIALIZE(soap_envelope, env, om_output, AXIS2_FALSE);
buffer = (axis2_char_t*)AXIS2_XML_WRITER_GET_XML(xml_writer, env);
@@ -351,32 +351,32 @@
int test_soap_fault_value(const axis2_env_t *env)
{
- axis2_soap_envelope_t *soap_envelope = NULL;
- axis2_soap_body_t *soap_body = NULL;
- axis2_soap_fault_t *soap_fault = NULL;
- axis2_soap_fault_code_t *soap_code = NULL;
- axis2_soap_fault_value_t *value = NULL;
- axis2_char_t *value_text = NULL;
-
- printf("TEST SOAP FAULT VALUE\n");
- soap_envelope = axis2_soap_envelope_create_default_soap_fault_envelope(
- env, "env:Receiver", "Something went wrong!", AXIS2_SOAP12,
+ axis2_soap_envelope_t *soap_envelope = NULL;
+ axis2_soap_body_t *soap_body = NULL;
+ axis2_soap_fault_t *soap_fault = NULL;
+ axis2_soap_fault_code_t *soap_code = NULL;
+ axis2_soap_fault_value_t *value = NULL;
+ axis2_char_t *value_text = NULL;
+
+ printf("TEST SOAP FAULT VALUE\n");
+ soap_envelope = axis2_soap_envelope_create_default_soap_fault_envelope(
+ env, "env:Receiver", "Something went wrong!", AXIS2_SOAP12,
NULL, NULL);
- soap_body = AXIS2_SOAP_ENVELOPE_GET_BODY(soap_envelope, env);
- soap_fault = AXIS2_SOAP_BODY_GET_FAULT(soap_body, env);
- soap_code = AXIS2_SOAP_FAULT_GET_CODE(soap_fault, env);
- value = AXIS2_SOAP_FAULT_CODE_GET_VALUE(soap_code, env);
- value_text = AXIS2_SOAP_FAULT_VALUE_GET_TEXT(value, env);
-
- printf ("Actual = %s Expected = %s |", value_text, "env:Receiver");
- if (0 == strcmp(value_text, "env:Receiver"))
- printf("SUCCESS\n");
- else
- printf("FAILURE\n");
-
- AXIS2_SOAP_ENVELOPE_FREE(soap_envelope, env);
- return 0;
-}
+ soap_body = AXIS2_SOAP_ENVELOPE_GET_BODY(soap_envelope, env);
+ soap_fault = AXIS2_SOAP_BODY_GET_FAULT(soap_body, env);
+ soap_code = AXIS2_SOAP_FAULT_GET_CODE(soap_fault, env);
+ value = AXIS2_SOAP_FAULT_CODE_GET_VALUE(soap_code, env);
+ value_text = AXIS2_SOAP_FAULT_VALUE_GET_TEXT(value, env);
+
+ printf ("Actual = %s Expected = %s |", value_text, "env:Receiver");
+ if (0 == strcmp(value_text, "env:Receiver"))
+ printf("SUCCESS\n");
+ else
+ printf("FAILURE\n");
+
+ AXIS2_SOAP_ENVELOPE_FREE(soap_envelope, env);
+ return 0;
+}
int main(int argc, char *argv[])
{
const axis2_env_t *env = NULL;
@@ -404,7 +404,7 @@
/*build_soap_programatically(env); */
build_soap(env, filename,uri);
/*create_soap_fault(env);
- test_soap_fault_value(env); */
+ test_soap_fault_value(env); */
axis2_env_free(env);
axis2_allocator_free(allocator);
return 0;
Modified: webservices/axis2/trunk/c/guththila/src/guththila_attribute.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_attribute.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_attribute.h (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_attribute.h Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
#ifndef GUTHTHILA_ATTRIBUTE_H
Modified: webservices/axis2/trunk/c/guththila/src/guththila_buffer.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_buffer.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_buffer.c (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_buffer.c Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
#include "guththila_environment.h"
Modified: webservices/axis2/trunk/c/guththila/src/guththila_buffer.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_buffer.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_buffer.h (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_buffer.h Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
Modified: webservices/axis2/trunk/c/guththila/src/guththila_defines.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_defines.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_defines.h (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_defines.h Sat Jun 3 20:09:08 2006
@@ -22,7 +22,7 @@
#define GUTHTHILA_FALSE 0
/**
- * Exporting
+ * Exporting
*/
#if defined(WIN32)
#define GUTHTHILA_EXPORT __declspec(dllexport)
@@ -31,7 +31,7 @@
#endif
/**
- * Importing
+ * Importing
*/
#if defined(WIN32)
#define GUTHTHILA_IMPORT __declspec(dllimport)
@@ -40,7 +40,7 @@
#endif
/**
- * Calling Conventions
+ * Calling Conventions
*/
#if defined(__GNUC__)
#define GUTHTHILA_CALL __attribute__((cdecl))
Modified: webservices/axis2/trunk/c/guththila/src/guththila_depth.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_depth.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_depth.h (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_depth.h Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
Modified: webservices/axis2/trunk/c/guththila/src/guththila_error.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_error.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_error.h (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_error.h Sat Jun 3 20:09:08 2006
@@ -60,29 +60,29 @@
GUTHTHILA_STREAM_WRITER_ERROR_OUT_OF_MEMORY,
GUTHTHILA_STREAM_WRITER_ERROR_FILE_NOT_FOUND,
GUTHTHILA_STREAM_READER_ERROR_OUT_OF_MEMORY,
- GUTHTHILA_ERROR_INVALID_ENCODING_DECLARATION,
- GUTHTHILA_ERROR_UNEXPECTED_UTF16_EOF,
- GUTHTHILA_ERROR_UNEXPECTED_EOF,
- GUTHTHILA_ERROR_PROCESS_EQUAL,
- GUTHTHILA_ERROR_INCORRECT_VERSION_INFO,
- GUTHTHILA_ERROR_INCORRECT_XML_DECLARATION,
- GUTHTHILA_ERROR_VERSION_INFO_NOT_FOUND,
- GUTHTHILA_ERROR_ENCODING_DECLARATION_ERROR,
- GUTHTHILA_ERROR_STANDALONE_ERROR_IN_YES,
- GUTHTHILA_ERROR_STANDALONE_ERROR_IN_NO,
- GUTHTHILA_ERROR_STANDALONE_ERROR_YES_OR_NO_NOT_AVAILABLE,
- GUTHTHILA_ERROR_MISSING_GREATER_SIGN_IN_XML_DECLARATION,
- GUTHTHILA_ERROR_INVALID_NAME_STARTING_CHARACTER,
- GUTHTHILA_ERROR_QUOTES_NOT_FOUND_BEFORE_ATTRIBUTE_VALUE,
- GUTHTHILA_ERROR_EMPTY_ELEMENT_NOT_CLOSED,
- GUTHTHILA_ERROR_END_TAG_NOT_CLOSED,
- GUTHTHILA_ERROR_MORE_HYPENS_OCCURED_IN_COMMENT,
- GUTHTHILA_ERROR_TOKENIZE_ERROR,
- GUTHTHILA_ERROR_INVALID_TOKEN_TYPE,
- GUTHTHILA_ERROR_NULL_ATTRIBUTE_NAME,
- GUTHTHILA_ERROR_NULL_ATTRIBUTE_VALUE,
- GUTHTHILA_ERROR_NULL_ATTRIBUTE_PREFIX,
- GUTHTHILA_ERROR_REQUESTED_NUMBER_GREATER_THAN_STACK_SIZE
+ GUTHTHILA_ERROR_INVALID_ENCODING_DECLARATION,
+ GUTHTHILA_ERROR_UNEXPECTED_UTF16_EOF,
+ GUTHTHILA_ERROR_UNEXPECTED_EOF,
+ GUTHTHILA_ERROR_PROCESS_EQUAL,
+ GUTHTHILA_ERROR_INCORRECT_VERSION_INFO,
+ GUTHTHILA_ERROR_INCORRECT_XML_DECLARATION,
+ GUTHTHILA_ERROR_VERSION_INFO_NOT_FOUND,
+ GUTHTHILA_ERROR_ENCODING_DECLARATION_ERROR,
+ GUTHTHILA_ERROR_STANDALONE_ERROR_IN_YES,
+ GUTHTHILA_ERROR_STANDALONE_ERROR_IN_NO,
+ GUTHTHILA_ERROR_STANDALONE_ERROR_YES_OR_NO_NOT_AVAILABLE,
+ GUTHTHILA_ERROR_MISSING_GREATER_SIGN_IN_XML_DECLARATION,
+ GUTHTHILA_ERROR_INVALID_NAME_STARTING_CHARACTER,
+ GUTHTHILA_ERROR_QUOTES_NOT_FOUND_BEFORE_ATTRIBUTE_VALUE,
+ GUTHTHILA_ERROR_EMPTY_ELEMENT_NOT_CLOSED,
+ GUTHTHILA_ERROR_END_TAG_NOT_CLOSED,
+ GUTHTHILA_ERROR_MORE_HYPENS_OCCURED_IN_COMMENT,
+ GUTHTHILA_ERROR_TOKENIZE_ERROR,
+ GUTHTHILA_ERROR_INVALID_TOKEN_TYPE,
+ GUTHTHILA_ERROR_NULL_ATTRIBUTE_NAME,
+ GUTHTHILA_ERROR_NULL_ATTRIBUTE_VALUE,
+ GUTHTHILA_ERROR_NULL_ATTRIBUTE_PREFIX,
+ GUTHTHILA_ERROR_REQUESTED_NUMBER_GREATER_THAN_STACK_SIZE
} guththila_error_codes_t;
Modified: webservices/axis2/trunk/c/guththila/src/guththila_main.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_main.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_main.c (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_main.c Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
#include "guththila_xml_pull_parser.h"
@@ -73,7 +73,7 @@
char *p;
guththila_element_t *e;
printf ("<");
- /* printf ("\n %s \n", guththila_xml_pull_parser_get_encoding (environment, parser)); */
+ /* printf ("\n %s \n", guththila_xml_pull_parser_get_encoding (environment, parser)); */
p = guththila_xml_pull_parser_get_prefix (environment,
parser);
if (p)
@@ -138,7 +138,7 @@
{
char *p;
printf ("</");
- /* printf ("\n %s \n", guththila_xml_pull_parser_get_encoding (environment, parser)); */
+ /* printf ("\n %s \n", guththila_xml_pull_parser_get_encoding (environment, parser)); */
p = guththila_xml_pull_parser_get_prefix (environment,
parser);
if (p)
Modified: webservices/axis2/trunk/c/guththila/src/guththila_namespace.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_namespace.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_namespace.h (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_namespace.h Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
Modified: webservices/axis2/trunk/c/guththila/src/guththila_reader.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_reader.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_reader.c (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_reader.c Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
Modified: webservices/axis2/trunk/c/guththila/src/guththila_reader.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_reader.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_reader.h (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_reader.h Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
Modified: webservices/axis2/trunk/c/guththila/src/guththila_stack.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_stack.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_stack.c (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_stack.c Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
#include "guththila_environment.h"
Modified: webservices/axis2/trunk/c/guththila/src/guththila_stack.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_stack.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_stack.h (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_stack.h Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
Modified: webservices/axis2/trunk/c/guththila/src/guththila_token.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_token.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_token.c (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_token.c Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
Modified: webservices/axis2/trunk/c/guththila/src/guththila_token.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_token.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_token.h (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_token.h Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
Modified: webservices/axis2/trunk/c/guththila/src/guththila_unicode.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_unicode.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_unicode.c (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_unicode.c Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
Modified: webservices/axis2/trunk/c/guththila/src/guththila_unicode.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_unicode.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_unicode.h (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_unicode.h Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
Modified: webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.c (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.c Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
#include "guththila_xml_pull_parser.h"
@@ -163,7 +163,7 @@
if (eof)
return -1;
else
- guththila_xml_pull_parser_exception (p_FILE, LINE, GUTHTHILA_ERROR_UNEXPECTED_UTF16_EOF);
+ guththila_xml_pull_parser_exception (p_FILE, LINE, GUTHTHILA_ERROR_UNEXPECTED_UTF16_EOF);
}
while (!c)
c = parser->buffer->buff[parser->_next++];
@@ -426,7 +426,7 @@
{
if ('o' !=
guththila_xml_pull_parser_next_char (environment, parser, 0))
- guththila_xml_pull_parser_exception (p_FILE, LINE, GUTHTHILA_ERROR_STANDALONE_ERROR_IN_NO);
+ guththila_xml_pull_parser_exception (p_FILE, LINE, GUTHTHILA_ERROR_STANDALONE_ERROR_IN_NO);
else
nc = guththila_xml_pull_parser_next_char (environment, parser,
0);
@@ -649,7 +649,7 @@
c = guththila_xml_pull_parser_next_char (environment, parser, -1);
/* if (c != '<') */
- /* all_spaces = (all_spaces && guththila_is_space (c)); */
+ /* all_spaces = (all_spaces && guththila_is_space (c)); */
if (c == '&')
ref = 1;
@@ -1424,7 +1424,7 @@
GUTHTHILA_DECLARE (guththila_char_t *)
guththila_xml_pull_parser_get_encoding(guththila_environment_t *environment,
- guththila_xml_pull_parser_t *parser)
+ guththila_xml_pull_parser_t *parser)
{
/* parser will find character encoding base on Byte Order Mark
(BOM). */
Modified: webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.h (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.h Sat Jun 3 20:09:08 2006
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- *
- * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
+ *
+ * @author Dinesh Premalal (xydinesh@gmail.com, premalwd@cse.mrt.ac.lk)
*/
#ifndef GUTHTHILA_XML_PULL_PARSER_H
@@ -89,16 +89,16 @@
GUTHTHILA_DECLARE (int)
guththila_xml_pull_parser_read (guththila_environment_t * environment,
- guththila_xml_pull_parser_t * p);
+ guththila_xml_pull_parser_t * p);
int
guththila_xml_pull_parser_next_char (guththila_environment_t *environment,
- guththila_xml_pull_parser_t * p,
- int eof);
+ guththila_xml_pull_parser_t * p,
+ int eof);
int
guththila_xml_pull_parser_tokenize (guththila_environment_t *environment,
- guththila_xml_pull_parser_t * p);
+ guththila_xml_pull_parser_t * p);
int
@@ -106,12 +106,12 @@
int
guththila_xml_pull_parser_skip_spaces (guththila_environment_t *environment,
- guththila_xml_pull_parser_t *p,
- int c);
+ guththila_xml_pull_parser_t *p,
+ int c);
int
guththila_xml_pull_parser_process_xml_decl(guththila_environment_t *environment,
- guththila_xml_pull_parser_t * p);
+ guththila_xml_pull_parser_t * p);
int
guththila_xml_pull_parser_process_version_info(guththila_environment_t * environment,
@@ -241,15 +241,15 @@
GUTHTHILA_DECLARE (int)
guththila_xml_pull_parser_next (guththila_environment_t * environment,
- guththila_xml_pull_parser_t * p);
+ guththila_xml_pull_parser_t * p);
GUTHTHILA_DECLARE (guththila_xml_pull_parser_t *)
guththila_xml_pull_parser_create (guththila_environment_t * environment,
- guththila_reader_t * r);
+ guththila_reader_t * r);
GUTHTHILA_DECLARE (void)
guththila_xml_pull_parser_free (guththila_environment_t * environment,
- guththila_xml_pull_parser_t * parser);
+ guththila_xml_pull_parser_t * parser);
GUTHTHILA_DECLARE (int)
guththila_xml_pull_parser_get_attribute_count
@@ -280,7 +280,7 @@
GUTHTHILA_DECLARE (guththila_attribute_t *)
guththila_xml_pull_parser_get_attribute (guththila_environment_t *environment,
- guththila_xml_pull_parser_t * p);
+ guththila_xml_pull_parser_t * p);
GUTHTHILA_DECLARE (guththila_char_t *)
@@ -306,22 +306,22 @@
GUTHTHILA_DECLARE (guththila_char_t *)
guththila_xml_pull_parser_get_name (guththila_environment_t * environment,
- guththila_xml_pull_parser_t * p);
+ guththila_xml_pull_parser_t * p);
GUTHTHILA_DECLARE (guththila_char_t *)
guththila_xml_pull_parser_get_prefix (guththila_environment_t * environment,
- guththila_xml_pull_parser_t * p);
+ guththila_xml_pull_parser_t * p);
GUTHTHILA_DECLARE (guththila_char_t *)
guththila_xml_pull_parser_get_value (guththila_environment_t * environment,
- guththila_xml_pull_parser_t * p);
+ guththila_xml_pull_parser_t * p);
GUTHTHILA_DECLARE (guththila_namespace_t *)
guththila_xml_pull_parser_get_namespace (guththila_environment_t *environment,
- guththila_xml_pull_parser_t * p);
+ guththila_xml_pull_parser_t * p);
GUTHTHILA_DECLARE (int)
Modified: webservices/axis2/trunk/c/include/axis2_addr_mod.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_addr_mod.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_addr_mod.h (original)
+++ webservices/axis2/trunk/c/include/axis2_addr_mod.h Sat Jun 3 20:09:08 2006
@@ -31,11 +31,11 @@
AXIS2_EXTERN axis2_handler_t* AXIS2_CALL
axis2_addr_in_handler_create(const axis2_env_t *env,
- axis2_qname_t *qname);
+ axis2_qname_t *qname);
AXIS2_EXTERN axis2_handler_t* AXIS2_CALL
axis2_addr_out_handler_create(const axis2_env_t *env,
- axis2_qname_t *qname);
+ axis2_qname_t *qname);
/** @} */
Modified: webservices/axis2/trunk/c/include/axis2_any_content_type.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_any_content_type.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_any_content_type.h (original)
+++ webservices/axis2/trunk/c/include/axis2_any_content_type.h Sat Jun 3 20:09:08 2006
@@ -69,9 +69,9 @@
* Environment status would be set to AXIS2_FAILURE on error.
*/
axis2_char_t* (AXIS2_CALL *
- get_value)(struct axis2_any_content_type *any_content_type,
- const axis2_env_t *env,
- axis2_qname_t *qname);
+ get_value)(struct axis2_any_content_type *any_content_type,
+ const axis2_env_t *env,
+ axis2_qname_t *qname);
/**
* Gets the map of values
* @param any_content_type any_content_type struct. cannot be NULL.
@@ -80,9 +80,9 @@
* Environment status to AXIS2_FAILURE on error.
*/
axis2_hash_t* (AXIS2_CALL *
- get_value_map)(struct axis2_any_content_type *any_content_type,
- const axis2_env_t *env);
-
+ get_value_map)(struct axis2_any_content_type *any_content_type,
+ const axis2_env_t *env);
+
/**
* Frees the given any_content_type struct
* @param any_content_type any_content_type struct. cannot be NULL.
@@ -90,11 +90,11 @@
* @return AXIS2_SUCCESS on success else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
- free)(struct axis2_any_content_type *any_content_type,
+ free)(struct axis2_any_content_type *any_content_type,
const axis2_env_t *env);
-
+
} axis2_any_content_type_ops_t;
-
+
/**
* \brief axis2_any_content_type struct
*/
Modified: webservices/axis2/trunk/c/include/axis2_async_result.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_async_result.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_async_result.h (original)
+++ webservices/axis2/trunk/c/include/axis2_async_result.h Sat Jun 3 20:09:08 2006
@@ -49,22 +49,22 @@
struct axis2_async_result_ops
{
axis2_soap_envelope_t* (AXIS2_CALL *
- get_envelope)(struct axis2_async_result *async_result,
- const axis2_env_t *env);
-
-
+ get_envelope)(struct axis2_async_result *async_result,
+ const axis2_env_t *env);
+
+
axis2_msg_ctx_t* (AXIS2_CALL *
- get_result)(struct axis2_async_result *async_result,
- const axis2_env_t *env);
-
+ get_result)(struct axis2_async_result *async_result,
+ const axis2_env_t *env);
+
axis2_status_t (AXIS2_CALL *
- free)(struct axis2_async_result *async_result,
+ free)(struct axis2_async_result *async_result,
const axis2_env_t *env);
};
/**
* @brief Message Context struct
- * Axis2 Message Context
+ * Axis2 Message Context
*/
struct axis2_async_result
{
@@ -73,18 +73,18 @@
AXIS2_EXTERN axis2_async_result_t* AXIS2_CALL
axis2_async_result_create(const axis2_env_t *env,
- axis2_msg_ctx_t *result);
+ axis2_msg_ctx_t *result);
/************************** Start of function macros **************************/
#define AXIS2_ASYNC_RESULT_GET_ENVELOPE(async_result, env) \
- ((async_result)->ops->get_envelope(async_result, env))
+ ((async_result)->ops->get_envelope(async_result, env))
#define AXIS2_ASYNC_RESULT_GET_RESULT(async_result, env) \
- ((async_result)->ops->get_result(async_result, env))
+ ((async_result)->ops->get_result(async_result, env))
#define AXIS2_ASYNC_RESULT_FREE(async_result, env) \
- ((async_result)->ops->free (async_result, env))
+ ((async_result)->ops->free (async_result, env))
/************************** End of function macros ****************************/
Modified: webservices/axis2/trunk/c/include/axis2_call.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_call.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_call.h (original)
+++ webservices/axis2/trunk/c/include/axis2_call.h Sat Jun 3 20:09:08 2006
@@ -52,11 +52,11 @@
struct axis2_call_ops
{
axis2_mep_client_t* (AXIS2_CALL *
- get_base)(struct axis2_call *call,
+ get_base)(struct axis2_call *call,
const axis2_env_t *env);
/**
* This accepts a ServiceContext, and the axis2_svc_ctx_t *should have all
- * the parents set in to it right
+ * the parents set in to it right
* Ideall this should be generated from a WSDL, we do not have it yet.
* <p/>
* Follwoing code works for the time been
@@ -81,9 +81,9 @@
* @param to
*/
axis2_status_t (AXIS2_CALL *
- set_to)(struct axis2_call *call,
- const axis2_env_t *env,
- axis2_endpoint_ref_t *to);
+ set_to)(struct axis2_call *call,
+ const axis2_env_t *env,
+ axis2_endpoint_ref_t *to);
/**
* Set transport information to the the Call, for find how the each parameter
* acts see the commant at the instance variables. The senarios supoorted
@@ -101,11 +101,11 @@
* @throws AxisFault
*/
axis2_status_t (AXIS2_CALL *
- set_transport_info)(struct axis2_call *call,
- const axis2_env_t *env,
- axis2_char_t *sender_transport,
- axis2_char_t *listener_transport,
- axis2_bool_t use_separate_listener);
+ set_transport_info)(struct axis2_call *call,
+ const axis2_env_t *env,
+ axis2_char_t *sender_transport,
+ axis2_char_t *listener_transport,
+ axis2_bool_t use_separate_listener);
/**
* Check has the transports are identified correctly
*
@@ -113,15 +113,15 @@
* @throws AxisFault
*/
axis2_status_t (AXIS2_CALL *
- check_transport)(struct axis2_call *call,
- const axis2_env_t *env,
- axis2_msg_ctx_t *msg_ctx);
+ check_transport)(struct axis2_call *call,
+ const axis2_env_t *env,
+ axis2_msg_ctx_t *msg_ctx);
/**
* Closing the Call, this will stop the started Transport Listeners. If there are multiple
* request to send the Call should be kept open closing only when done
*/
axis2_status_t (AXIS2_CALL *
- close)(struct axis2_call *call,
+ close)(struct axis2_call *call,
const axis2_env_t *env);
/**
* This will be used in invoke blocking scenario. Client will wait the amount of time specified here
@@ -129,7 +129,7 @@
* @param time_out_ms
*/
axis2_status_t (AXIS2_CALL *
- set_time)(struct axis2_call *call,
+ set_time)(struct axis2_call *call,
const axis2_env_t *env,
long time_out_ms);
/**
@@ -145,7 +145,7 @@
*/
axis2_msg_ctx_t* (AXIS2_CALL *
- invoke_blocking)(struct axis2_call *call,
+ invoke_blocking)(struct axis2_call *call,
const axis2_env_t *env,
axis2_op_t *op,
axis2_msg_ctx_t *msg_ctx);
@@ -154,7 +154,7 @@
* anyhting about the transport used or the nature of the transport.
*/
axis2_status_t (AXIS2_CALL *
- invoke_non_blocking)(struct axis2_call *call,
+ invoke_non_blocking)(struct axis2_call *call,
const axis2_env_t *env,
axis2_op_t *op,
axis2_msg_ctx_t *msg_ctx,
@@ -168,10 +168,10 @@
* @throws AxisFault
*/
axis2_om_node_t* (AXIS2_CALL *
- invoke_blocking_with_om)(struct axis2_call *call,
+ invoke_blocking_with_om)(struct axis2_call *call,
const axis2_env_t *env,
axis2_char_t *op_name,
- axis2_om_node_t *om_node_to_send);
+ axis2_om_node_t *om_node_to_send);
/**
* Invoke the blocking/Synchronous call
*
@@ -181,10 +181,10 @@
* @throws AxisFault
*/
axis2_soap_envelope_t* (AXIS2_CALL *
- invoke_blocking_with_soap)(struct axis2_call *call,
+ invoke_blocking_with_soap)(struct axis2_call *call,
const axis2_env_t *env,
axis2_char_t *op_name,
- axis2_soap_envelope_t *envelope);
+ axis2_soap_envelope_t *envelope);
/**
* Invoke the nonblocking/Asynchronous call
*
@@ -195,7 +195,7 @@
* @
*/
axis2_status_t (AXIS2_CALL *
- invoke_non_blocking_with_om)(struct axis2_call *call,
+ invoke_non_blocking_with_om)(struct axis2_call *call,
const axis2_env_t *env,
axis2_char_t *op_name,
axis2_om_node_t *om_node_to_send,
@@ -211,26 +211,26 @@
*/
axis2_status_t (AXIS2_CALL *
- invoke_non_blocking_with_soap)(struct axis2_call *call,
- const axis2_env_t *env,
- axis2_char_t *op_name,
- axis2_soap_envelope_t *envelope,
- axis2_callback_t * callback);
+ invoke_non_blocking_with_soap)(struct axis2_call *call,
+ const axis2_env_t *env,
+ axis2_char_t *op_name,
+ axis2_soap_envelope_t *envelope,
+ axis2_callback_t * callback);
/**
* This method create a operation desc if it null and copy the
- * flows from the template operation
+ * flows from the template operation
* @param op
* @param axisOp
*/
axis2_op_t* (AXIS2_CALL *
- create_op_fill_flow)(struct axis2_call *call,
+ create_op_fill_flow)(struct axis2_call *call,
const axis2_env_t *env,
axis2_char_t *op_name);
/**
* @return
*/
axis2_msg_ctx_t* (AXIS2_CALL *
- get_last_res_msg_ctx)(struct axis2_call *call,
+ get_last_res_msg_ctx)(struct axis2_call *call,
const axis2_env_t *env);
/**
@@ -244,13 +244,13 @@
axis2_property_t *value);
axis2_status_t (AXIS2_CALL *
- free)(struct axis2_call *call,
+ free)(struct axis2_call *call,
const axis2_env_t *env);
};
/**
* @brief Message Context struct
- * Axis2 Message Context
+ * Axis2 Message Context
*/
struct axis2_call
{
@@ -264,52 +264,52 @@
/************************** Start of function macros **************************/
#define AXIS2_CALL_GET_BASE(call, env) \
- ((call)->ops->get_base(call, env))
+ ((call)->ops->get_base(call, env))
#define AXIS2_CALL_INVOKE_BLOCKING(call, env, op, msg_ctx) \
- ((call)->ops->invoke_blocking(call, env, op, msg_ctx))
+ ((call)->ops->invoke_blocking(call, env, op, msg_ctx))
#define AXIS2_CALL_INVOKE_NON_BLOCKING(call, env, op, msg_ctx, callback) \
- ((call)->ops->invoke_non_blocking(call, env, op, msg_ctx, callback))
+ ((call)->ops->invoke_non_blocking(call, env, op, msg_ctx, callback))
#define AXIS2_CALL_SET_TO(call, env, to) \
- ((call)->ops->set_to(call, env, to))
+ ((call)->ops->set_to(call, env, to))
#define AXIS2_CALL_SET_TRANSPORT_INFO(call, env, sender_transport, listener_transport, use_separate_listener) \
- ((call)->ops->set_transport_info(call, env, sender_transport, listener_transport, use_separate_listener))
-
+ ((call)->ops->set_transport_info(call, env, sender_transport, listener_transport, use_separate_listener))
+
#define AXIS2_CALL_CHECK_TRANSPORT(call, env, msg_ctx) \
- ((call)->ops->check_transport(call, env, msg_ctx))
-
+ ((call)->ops->check_transport(call, env, msg_ctx))
+
#define AXIS2_CALL_CLOSE(call, env) \
((call)->ops->close(call, env))
-
+
#define AXIS2_CALL_SET_TIME(call, env, time_out_ms) \
- ((call)->ops->set_time(call, env, time_out_ms))
-
+ ((call)->ops->set_time(call, env, time_out_ms))
+
#define AXIS2_CALL_INVOKE_BLOCKING_WITH_OM(call, env, op_name, om_node_to_send)\
- ((call)->ops->invoke_blocking_with_om(call, env, op_name, om_node_to_send))
-
+ ((call)->ops->invoke_blocking_with_om(call, env, op_name, om_node_to_send))
+
#define AXIS2_CALL_INVOKE_BLOCKING_WITH_SOAP(call, env, op_name, envelope) \
- ((call)->ops->invoke_blocking_with_soap(call, env, op_name, envelope))
-
+ ((call)->ops->invoke_blocking_with_soap(call, env, op_name, envelope))
+
#define AXIS2_CALL_INVOKE_NON_BLOCKING_WITH_OM(call, env, op_name, om_node_to_send, callback) \
- ((call)->ops->invoke_non_blocking_with_om(call, env, op_name, om_node_to_send, callback))
-
+ ((call)->ops->invoke_non_blocking_with_om(call, env, op_name, om_node_to_send, callback))
+
#define AXIS2_CALL_INVOKE_NON_BLOCKING_WITH_SOAP(call, env, op_name, envelope, callback)\
- ((call)->ops->invoke_non_blocking_with_soap(call, env, op_name, envelope, callback))
-
+ ((call)->ops->invoke_non_blocking_with_soap(call, env, op_name, envelope, callback))
+
#define AXIS2_CALL_CREATE_OP_FILL_FLOW(call, env, op_name) \
- ((call)->ops->create_op_fill_flow(call, env, op_name))
-
+ ((call)->ops->create_op_fill_flow(call, env, op_name))
+
#define AXIS2_CALL_GET_LAST_RES_MSG_CTX(call, env) \
- ((call)->ops->get_last_res_msg_ctx(call, env))
-
+ ((call)->ops->get_last_res_msg_ctx(call, env))
+
#define AXIS2_CALL_SET(call, env, key, value) \
((call)->ops->set(call, env, key, value))
-
+
#define AXIS2_CALL_FREE(call, env) \
- ((call)->ops->free(call, env))
+ ((call)->ops->free(call, env))
/************************** End of function macros ****************************/
Modified: webservices/axis2/trunk/c/include/axis2_callback.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_callback.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_callback.h (original)
+++ webservices/axis2/trunk/c/include/axis2_callback.h Sat Jun 3 20:09:08 2006
@@ -43,11 +43,11 @@
typedef axis2_status_t (AXIS2_CALL *
on_complete_func_ptr)(struct axis2_callback *,
- const axis2_env_t *);
+ const axis2_env_t *);
typedef axis2_status_t (AXIS2_CALL *
on_error_func_ptr)(struct axis2_callback *,
- const axis2_env_t *, int);
+ const axis2_env_t *, int);
/**
* @brief Message Context ops struct
@@ -61,25 +61,25 @@
* @param result
*/
axis2_status_t (AXIS2_CALL *
- invoke_on_complete)(struct axis2_callback *callback,
- const axis2_env_t *env,
- axis2_async_result_t *result);
+ invoke_on_complete)(struct axis2_callback *callback,
+ const axis2_env_t *env,
+ axis2_async_result_t *result);
/**
* This Method is called by invoke_on_complete.
* Users could provide this method so that they can define what to be done
* when the callback returns on completion
*/
axis2_status_t (AXIS2_CALL *
- on_complete)(struct axis2_callback *callback,
- const axis2_env_t *env);
+ on_complete)(struct axis2_callback *callback,
+ const axis2_env_t *env);
/**
* This Method is called by Axis2 once the Async Operation fails and the result returns
*
* @param e
*/
axis2_status_t (AXIS2_CALL *
- report_error)(struct axis2_callback *callback,
- const axis2_env_t *env,
+ report_error)(struct axis2_callback *callback,
+ const axis2_env_t *env,
int exception);
/**
* This Method is called by report_error.
@@ -87,8 +87,8 @@
* when the callback returns an error
*/
axis2_status_t (AXIS2_CALL *
- on_error)(struct axis2_callback *callback,
- const axis2_env_t *env,
+ on_error)(struct axis2_callback *callback,
+ const axis2_env_t *env,
int exception);
/**
* This says has the Async Operation is completed or not. this could be useful for poleing
@@ -106,7 +106,7 @@
* @return
*/
axis2_bool_t (AXIS2_CALL *
- get_complete)(struct axis2_callback *callback,
+ get_complete)(struct axis2_callback *callback,
const axis2_env_t *env);
/**
* Method setComplete
@@ -114,55 +114,55 @@
* @param complete
*/
axis2_status_t (AXIS2_CALL *
- set_complete)(struct axis2_callback *callback,
- const axis2_env_t *env,
+ set_complete)(struct axis2_callback *callback,
+ const axis2_env_t *env,
axis2_bool_t complete);
-
-
+
+
axis2_soap_envelope_t* (AXIS2_CALL *
- get_envelope)(struct axis2_callback *callback,
- const axis2_env_t *env);
-
-
- axis2_status_t (AXIS2_CALL *
- set_envelope)(struct axis2_callback *callback,
- const axis2_env_t *env,
- axis2_soap_envelope_t *envelope);
-
-
+ get_envelope)(struct axis2_callback *callback,
+ const axis2_env_t *env);
+
+
+ axis2_status_t (AXIS2_CALL *
+ set_envelope)(struct axis2_callback *callback,
+ const axis2_env_t *env,
+ axis2_soap_envelope_t *envelope);
+
+
int (AXIS2_CALL *
- get_error)(struct axis2_callback *callback,
+ get_error)(struct axis2_callback *callback,
const axis2_env_t *env);
-
-
+
+
axis2_status_t (AXIS2_CALL *
- set_error)(struct axis2_callback *callback,
+ set_error)(struct axis2_callback *callback,
const axis2_env_t *env,
int error);
-
- axis2_status_t (AXIS2_CALL *
- set_data)(struct axis2_callback *callback,
- void *data);
+
+ axis2_status_t (AXIS2_CALL *
+ set_data)(struct axis2_callback *callback,
+ void *data);
- void * (AXIS2_CALL *
- get_data)(struct axis2_callback *callback);
+ void * (AXIS2_CALL *
+ get_data)(struct axis2_callback *callback);
- void (AXIS2_CALL *
- set_on_complete)(struct axis2_callback *callback,
- on_complete_func_ptr f);
+ void (AXIS2_CALL *
+ set_on_complete)(struct axis2_callback *callback,
+ on_complete_func_ptr f);
- void (AXIS2_CALL *
- set_on_error)(struct axis2_callback *callback,
- on_error_func_ptr f);
+ void (AXIS2_CALL *
+ set_on_error)(struct axis2_callback *callback,
+ on_error_func_ptr f);
axis2_status_t (AXIS2_CALL *
- free)(struct axis2_callback *callback,
+ free)(struct axis2_callback *callback,
const axis2_env_t *env);
};
/**
* @brief Message Context struct
- * Axis2 Message Context
+ * Axis2 Message Context
*/
struct axis2_callback
{
@@ -174,49 +174,49 @@
/************************** Start of function macros **************************/
#define AXIS2_CALLBACK_INVOKE_ON_COMPLETE(callback, env, result) \
- ((callback)->ops->invoke_on_complete(callback, env, result))
+ ((callback)->ops->invoke_on_complete(callback, env, result))
#define AXIS2_CALLBACK_ON_COMPLETE(callback, env) \
- ((callback)->ops->on_complete(callback, env))
+ ((callback)->ops->on_complete(callback, env))
#define AXIS2_CALLBACK_REPORT_ERROR(callback, env, error) \
- ((callback)->ops->report_error(callback, env, error))
+ ((callback)->ops->report_error(callback, env, error))
#define AXIS2_CALLBACK_ON_ERROR(callback, env, error) \
- ((callback)->ops->on_error(callback, env, error))
+ ((callback)->ops->on_error(callback, env, error))
#define AXIS2_CALLBACK_GET_COMPLETE(callback, env)\
- ((callback)->ops->get_complete(callback, env))
+ ((callback)->ops->get_complete(callback, env))
#define AXIS2_CALLBACK_SET_COMPLETE(callback, env, complete) \
- ((callback)->ops->set_complete(callback, env, complete))
+ ((callback)->ops->set_complete(callback, env, complete))
#define AXIS2_CALLBACK_GET_ENVELOPE(callback, env) \
- ((callback)->ops->get_envelope(callback, env))
+ ((callback)->ops->get_envelope(callback, env))
#define AXIS2_CALLBACK_SET_ENVELOPE(callback, env, envelope) \
- ((callback)->ops->set_envelope(callback, env, envelope))
-
+ ((callback)->ops->set_envelope(callback, env, envelope))
+
#define AXIS2_CALLBACK_GET_ERROR(callback, env) \
- ((callback)->ops->get_error(callback, env))
-
+ ((callback)->ops->get_error(callback, env))
+
#define AXIS2_CALLBACK_SET_ERROR(callback, env, error) \
- ((callback)->ops->set_error(callback, env, error))
+ ((callback)->ops->set_error(callback, env, error))
#define AXIS2_CALLBACK_GET_DATA(callback) \
- ((callback)->ops->get_data(callback))
+ ((callback)->ops->get_data(callback))
#define AXIS2_CALLBACK_SET_DATA(callback, data) \
- ((callback)->ops->set_data(callback, data))
+ ((callback)->ops->set_data(callback, data))
#define AXIS2_CALLBACK_SET_ON_COMPLETE(callback, func) \
- ((callback)->ops->set_on_complete(callback, func))
+ ((callback)->ops->set_on_complete(callback, func))
#define AXIS2_CALLBACK_SET_ON_ERROR(callback, func) \
- ((callback)->ops->set_on_error(callback, func))
+ ((callback)->ops->set_on_error(callback, func))
#define AXIS2_CALLBACK_FREE(callback, env) \
- ((callback)->ops->free (callback, env))
+ ((callback)->ops->free (callback, env))
/************************** End of function macros ****************************/
Modified: webservices/axis2/trunk/c/include/axis2_conf.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_conf.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_conf.h (original)
+++ webservices/axis2/trunk/c/include/axis2_conf.h Sat Jun 3 20:09:08 2006
@@ -60,16 +60,16 @@
*/
struct axis2_conf_ops
{
- axis2_status_t (AXIS2_CALL *
+ axis2_status_t (AXIS2_CALL *
free) (axis2_conf_t *conf,
const axis2_env_t *env);
- axis2_status_t (AXIS2_CALL *
+ axis2_status_t (AXIS2_CALL *
add_svc_grp) (axis2_conf_t *conf,
const axis2_env_t *env,
struct axis2_svc_grp *svc_grp);
- struct axis2_svc_grp *(AXIS2_CALL *
+ struct axis2_svc_grp *(AXIS2_CALL *
get_svc_grp) ( axis2_conf_t *conf,
const axis2_env_t *env,
axis2_char_t *svc_grp_name);
@@ -78,17 +78,17 @@
get_svc_grps) (axis2_conf_t *conf,
const axis2_env_t *env);
- axis2_status_t (AXIS2_CALL *
+ axis2_status_t (AXIS2_CALL *
add_svc) (axis2_conf_t *conf,
const axis2_env_t *env,
struct axis2_svc* svc);
- struct axis2_svc *(AXIS2_CALL *
+ struct axis2_svc *(AXIS2_CALL *
get_svc) (axis2_conf_t *conf,
const axis2_env_t *env,
axis2_char_t* svc_name);
- axis2_status_t (AXIS2_CALL *
+ axis2_status_t (AXIS2_CALL *
remove_svc) (axis2_conf_t *conf,
const axis2_env_t *env,
const axis2_char_t *name);
@@ -98,16 +98,16 @@
const axis2_env_t *env,
axis2_param_t *param);
- axis2_param_t *(AXIS2_CALL *
+ axis2_param_t *(AXIS2_CALL *
get_param) (axis2_conf_t *conf,
const axis2_env_t *env,
const axis2_char_t *name);
- axis2_array_list_t *(AXIS2_CALL *
+ axis2_array_list_t *(AXIS2_CALL *
get_params) (axis2_conf_t *conf,
const axis2_env_t *env);
-
- axis2_bool_t (AXIS2_CALL *
+
+ axis2_bool_t (AXIS2_CALL *
is_param_locked) (axis2_conf_t *conf,
const axis2_env_t *env,
axis2_char_t *param_name);
@@ -338,7 +338,7 @@
*/
struct axis2_conf
{
- axis2_conf_ops_t *ops;
+ axis2_conf_ops_t *ops;
axis2_param_container_t *param_container;
};
@@ -348,11 +348,11 @@
AXIS2_EXTERN axis2_conf_t * AXIS2_CALL
axis2_conf_create(const axis2_env_t *env);
-/************************* Start of function macros ***************************/
-
+/************************* Start of function macros ***************************/
+
#define AXIS2_CONF_FREE(conf, env) \
- ((conf)->ops->free(conf, env))
-
+ ((conf)->ops->free(conf, env))
+
#define AXIS2_CONF_ADD_SVC_GRP(conf, env, svc_grp) \
((conf)->ops->add_svc_grp (conf, env, svc_grp))
@@ -363,23 +363,23 @@
((conf)->ops->get_svc_grps (conf, env))
#define AXIS2_CONF_ADD_SVC(conf, env, svc) \
- ((conf)->ops->add_svc (conf, env, svc))
-
+ ((conf)->ops->add_svc (conf, env, svc))
+
#define AXIS2_CONF_GET_SVC(conf, env, svc_name) \
- ((conf)->ops->get_svc (conf, env, svc_name))
+ ((conf)->ops->get_svc (conf, env, svc_name))
#define AXIS2_CONF_REMOVE_SVC(conf, env, svc_name) \
- ((conf)->ops->remove_svc (conf, env, svc_name))
+ ((conf)->ops->remove_svc (conf, env, svc_name))
#define AXIS2_CONF_ADD_PARAM(conf, env, param) \
((conf)->ops->add_param(conf , env, param))
-
+
#define AXIS2_CONF_GET_PARAM(conf, env, name) \
((conf)->ops->get_param(conf , env, name))
-
+
#define AXIS2_CONF_GET_PARAMS(conf, env) \
((conf)->ops->get_params(conf , env))
-
+
#define AXIS2_CONF_IS_PARAM_LOCKED(conf, env, param_name) \
((conf)->ops->is_param_locked(conf, env, param_name))
Modified: webservices/axis2/trunk/c/include/axis2_conf_ctx.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_conf_ctx.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_conf_ctx.h (original)
+++ webservices/axis2/trunk/c/include/axis2_conf_ctx.h Sat Jun 3 20:09:08 2006
@@ -164,7 +164,7 @@
/**
* @brief Message Context struct
- * Axis2 Message Context
+ * Axis2 Message Context
*/
struct axis2_conf_ctx
{
Modified: webservices/axis2/trunk/c/include/axis2_ctx.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_ctx.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_ctx.h (original)
+++ webservices/axis2/trunk/c/include/axis2_ctx.h Sat Jun 3 20:09:08 2006
@@ -100,7 +100,7 @@
/**
* @brief Message Context struct
- * Axis2 Message Context
+ * Axis2 Message Context
*/
struct axis2_ctx
{
Modified: webservices/axis2/trunk/c/include/axis2_description.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_description.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_description.h (original)
+++ webservices/axis2/trunk/c/include/axis2_description.h Sat Jun 3 20:09:08 2006
@@ -118,10 +118,10 @@
*/
#define AXIS2_SERVICE_CLASS_NAME "SERVICE_CLASS_NAME"
-
-/*********************************** Constants*********************************/
-
-
+
+/*********************************** Constants*********************************/
+
+
#ifdef __cplusplus
}
#endif
Modified: webservices/axis2/trunk/c/include/axis2_di_client.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_di_client.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_di_client.h (original)
+++ webservices/axis2/trunk/c/include/axis2_di_client.h Sat Jun 3 20:09:08 2006
@@ -50,7 +50,7 @@
struct axis2_diclient_ops
{
axis2_status_t (AXIS2_CALL *
- free)(struct axis2_diclient *diclient,
+ free)(struct axis2_diclient *diclient,
const axis2_env_t *env);
/**
@@ -77,7 +77,7 @@
axis2_status_t (AXIS2_CALL *
init) (axis2_diclient_t *diclient,
const axis2_env_t *env,
- axis2_char_t *wsdl_file_name);
+ axis2_char_t *wsdl_file_name);
/**
* By passing the operation qualified name and the endpoint qualified
@@ -155,7 +155,7 @@
/**
* @brief Dynamic Invocation Client struct
- * Axis2 Dynamic Invocation Client
+ * Axis2 Dynamic Invocation Client
*/
struct axis2_diclient
{
@@ -168,35 +168,35 @@
/************************** Start of function macros **************************/
#define AXIS2_DICLIENT_FREE(diclient, env) \
- ((diclient)->ops->free (diclient, env))
-
+ ((diclient)->ops->free (diclient, env))
+
#define AXIS2_DICLIENT_INVOKE(diclient, env, node, op) \
- ((diclient)->ops->invoke (diclient, env, node, op))
+ ((diclient)->ops->invoke (diclient, env, node, op))
#define AXIS2_DICLIENT_INIT(diclient, env, wsdl_file_name) \
- ((diclient)->ops->init (diclient, env, wsdl_file_name))
+ ((diclient)->ops->init (diclient, env, wsdl_file_name))
#define AXIS2_DICLIENT_SET_ADDRESS_AND_ACTION_FOR_OP(diclient, env, op_qname) \
- ((diclient)->ops->set_address_and_action_for_op (diclient, env, \
+ ((diclient)->ops->set_address_and_action_for_op (diclient, env, \
op_qname))
#define AXIS2_DICLIENT_GET_ENDPOINTS(diclient, env) \
- ((diclient)->ops->get_endpoints (diclient, env))
+ ((diclient)->ops->get_endpoints (diclient, env))
#define AXIS2_DICLIENT_GET_SERVICES(diclient, env) \
- ((diclient)->ops->get_services (diclient, env))
+ ((diclient)->ops->get_services (diclient, env))
#define AXIS2_DICLIENT_GET_OPERATIONS(diclient, env) \
- ((diclient)->ops->get_operations (diclient, env))
+ ((diclient)->ops->get_operations (diclient, env))
#define AXIS2_DICLIENT_GET_PARAM_LOCALNAME(diclient, env, op_qname) \
- ((diclient)->ops->get_param_localname (diclient, env, op_qname))
+ ((diclient)->ops->get_param_localname (diclient, env, op_qname))
#define AXIS2_DICLIENT_GET_PARAM_NAMESPACE(diclient, env, op_qname) \
- ((diclient)->ops->get_param_namespace (diclient, env, op_qname))
+ ((diclient)->ops->get_param_namespace (diclient, env, op_qname))
#define AXIS2_DICLIENT_GET_PARAMS(diclient, env, op_qname) \
- ((diclient)->ops->get_params (diclient, env, op_qname))
+ ((diclient)->ops->get_params (diclient, env, op_qname))
/************************** End of function macros ****************************/
Modified: webservices/axis2/trunk/c/include/axis2_disp.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_disp.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_disp.h (original)
+++ webservices/axis2/trunk/c/include/axis2_disp.h Sat Jun 3 20:09:08 2006
@@ -75,7 +75,7 @@
struct axis2_svc *svc);
} axis2_disp_ops_t;
-
+
/**
* \brief Dispatcher struct
*/
Modified: webservices/axis2/trunk/c/include/axis2_disp_checker.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_disp_checker.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_disp_checker.h (original)
+++ webservices/axis2/trunk/c/include/axis2_disp_checker.h Sat Jun 3 20:09:08 2006
@@ -46,25 +46,25 @@
AXIS2_DECLARE_DATA typedef struct axis2_disp_checker_ops
{
axis2_handler_t* (AXIS2_CALL *
- get_base) (struct axis2_disp_checker *disp_checker,
+ get_base) (struct axis2_disp_checker *disp_checker,
const axis2_env_t *env);
-
-
+
+
axis2_qname_t* (AXIS2_CALL *
- get_qname) (struct axis2_disp_checker *disp_checker,
+ get_qname) (struct axis2_disp_checker *disp_checker,
const axis2_env_t *env);
-
+
axis2_status_t (AXIS2_CALL *
- set_qname) (struct axis2_disp_checker *disp_checker,
+ set_qname) (struct axis2_disp_checker *disp_checker,
const axis2_env_t *env,
- axis2_qname_t *qname);
-
+ axis2_qname_t *qname);
+
axis2_status_t (AXIS2_CALL *
- free) (struct axis2_disp_checker *disp_checker,
+ free) (struct axis2_disp_checker *disp_checker,
const axis2_env_t *env);
} axis2_disp_checker_ops_t;
-
+
/**
* \brief Dispatcher struct
*/
@@ -81,20 +81,20 @@
*/
AXIS2_EXTERN axis2_disp_checker_t* AXIS2_CALL
axis2_disp_checker_create(const axis2_env_t *env,
- axis2_qname_t *qname);
+ axis2_qname_t *qname);
#define AXIS2_DISP_CHECKER_GET_BASE(disp_checker, env) \
- ((disp_checker)->ops->get_base(disp_checker, env))
-
+ ((disp_checker)->ops->get_base(disp_checker, env))
+
#define AXIS2_DISP_CHECKER_GET_QNAME(disp_checker, env) \
- ((disp_checker)->ops->get_qname(disp_checker, env))
-
+ ((disp_checker)->ops->get_qname(disp_checker, env))
+
#define AXIS2_DISP_CHECKER_SET_QNAME(disp_checker, env, name) \
- ((disp_checker)->ops->set_qname(disp_checker, env, name))
-
+ ((disp_checker)->ops->set_qname(disp_checker, env, name))
+
#define AXIS2_DISP_CHECKER_FREE(disp_checker, env) \
- ((disp_checker)->ops->free(disp_checker, env))
-
+ ((disp_checker)->ops->free(disp_checker, env))
+
/** @} */
Modified: webservices/axis2/trunk/c/include/axis2_endpoint_ref.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_endpoint_ref.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_endpoint_ref.h (original)
+++ webservices/axis2/trunk/c/include/axis2_endpoint_ref.h Sat Jun 3 20:09:08 2006
@@ -54,7 +54,7 @@
* Method get_address
*/
axis2_char_t* (AXIS2_CALL *
- get_address)(struct axis2_endpoint_ref *endpoint_ref,
+ get_address)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env);
/**
* Method set_address
@@ -62,14 +62,14 @@
* @param address
*/
axis2_status_t (AXIS2_CALL *
- set_address)(struct axis2_endpoint_ref *endpoint_ref,
+ set_address)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env,
- axis2_char_t *address);
+ axis2_char_t *address);
/**
* Method get_interface_qname
*/
axis2_qname_t* (AXIS2_CALL *
- get_interface_qname)(struct axis2_endpoint_ref *endpoint_ref,
+ get_interface_qname)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env);
/**
* Method set_interface_qname
@@ -77,14 +77,14 @@
* @param interface_qname
*/
axis2_status_t (AXIS2_CALL *
- set_interface_qname)(struct axis2_endpoint_ref *endpoint_ref,
+ set_interface_qname)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env,
- axis2_qname_t *interface_qname);
+ axis2_qname_t *interface_qname);
/**
* Method get_ref_properties
*/
axis2_any_content_type_t* (AXIS2_CALL *
- get_ref_properties)(struct axis2_endpoint_ref *endpoint_ref,
+ get_ref_properties)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env);
/**
* Method set_ref_properties
@@ -92,9 +92,9 @@
* @param ref_properties
*/
axis2_status_t (AXIS2_CALL *
- set_ref_properties)(struct axis2_endpoint_ref *endpoint_ref,
+ set_ref_properties)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env,
- axis2_any_content_type_t *ref_properties);
+ axis2_any_content_type_t *ref_properties);
axis2_array_list_t* (AXIS2_CALL *
get_ref_param_list)(struct axis2_endpoint_ref *endpoint_ref,
@@ -145,20 +145,20 @@
* Method get_ref_params
*/
/* axis2_any_content_type_t* (AXIS2_CALL *
- get_ref_params)(struct axis2_endpoint_ref *endpoint_ref,
+ get_ref_params)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env);*/
/**
* Method set_ref_params
*/
/* axis2_status_t (AXIS2_CALL *
- set_ref_params)(struct axis2_endpoint_ref *endpoint_ref,
+ set_ref_params)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env,
axis2_any_content_type_t* any_content_type);*/
/**
* Method get_svc_name
*/
axis2_svc_name_t* (AXIS2_CALL *
- get_svc_name)(struct axis2_endpoint_ref *endpoint_ref,
+ get_svc_name)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env);
/**
* Method set_svc_name
@@ -166,43 +166,43 @@
* @param svc_name
*/
axis2_status_t (AXIS2_CALL *
- set_svc_name)(struct axis2_endpoint_ref *endpoint_ref,
+ set_svc_name)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env,
- axis2_svc_name_t *svc_name);
-
-
+ axis2_svc_name_t *svc_name);
+
+
/* axis2_om_node_t* (AXIS2_CALL *
- get_policies)(struct axis2_endpoint_ref *endpoint_ref,
+ get_policies)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env);
-
+
axis2_status_t (AXIS2_CALL *
- set_policies)(struct axis2_endpoint_ref *endpoint_ref,
+ set_policies)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env,
- axis2_om_node_t *policies);
-*/
+ axis2_om_node_t *policies);
+*/
/* axis2_any_content_type_t* (AXIS2_CALL *
- get_metadata)(struct axis2_endpoint_ref *endpoint_ref,
+ get_metadata)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env);
-
+
axis2_status_t (AXIS2_CALL *
- set_metadata)(struct axis2_endpoint_ref *endpoint_ref,
+ set_metadata)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env,
- axis2_any_content_type_t *metadata);
-**/
- /*
+ axis2_any_content_type_t *metadata);
+**/
+ /*
axis2_status_t (AXIS2_CALL *
- add_ref_param)(struct axis2_endpoint_ref *endpoint_ref,
+ add_ref_param)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env,
- axis2_qname_t *qname,
- axis2_char_t *value);
- */
-
+ axis2_qname_t *qname,
+ axis2_char_t *value);
+ */
+
axis2_status_t (AXIS2_CALL *
- free)(struct axis2_endpoint_ref *endpoint_ref,
+ free)(struct axis2_endpoint_ref *endpoint_ref,
const axis2_env_t *env);
-
+
} axis2_endpoint_ref_ops_t;
-
+
/**
* \brief Dispatcher struct
*/
@@ -221,64 +221,64 @@
*/
AXIS2_EXTERN axis2_endpoint_ref_t* AXIS2_CALL
axis2_endpoint_ref_create(const axis2_env_t *env,
- axis2_char_t *address);
+ axis2_char_t *address);
#define AXIS2_ENDPOINT_REF_GET_ADDRESS(endpoint_ref, env) \
- ((endpoint_ref)->ops->get_address(endpoint_ref, env))
-
+ ((endpoint_ref)->ops->get_address(endpoint_ref, env))
+
#define AXIS2_ENDPOINT_REF_SET_ADDRESS(endpoint_ref, env, address) \
- ((endpoint_ref)->ops->set_address(endpoint_ref, env, address))
-
+ ((endpoint_ref)->ops->set_address(endpoint_ref, env, address))
+
#define AXIS2_ENDPOINT_REF_GET_INTERFACE_NAME(endpoint_ref, env) \
- ((endpoint_ref)->ops->get_interface_qname(endpoint_ref, env))
-
+ ((endpoint_ref)->ops->get_interface_qname(endpoint_ref, env))
+
#define AXIS2_ENDPOINT_REF_SET_INTERFACE_NAME(endpoint_ref, env, interface_qname)\
- ((endpoint_ref)->ops->set_interface_qname(endpoint_ref, env, interface_qname))
-
+ ((endpoint_ref)->ops->set_interface_qname(endpoint_ref, env, interface_qname))
+
#define AXIS2_ENDPOINT_REF_GET_REF_PROPERTIES(endpoint_ref, env) \
- ((endpoint_ref)->ops->get_ref_properties(endpoint_ref, env))
-
+ ((endpoint_ref)->ops->get_ref_properties(endpoint_ref, env))
+
#define AXIS2_ENDPOINT_REF_SET_REF_PROPERTIES(endpoint_ref, env, ref_properties)\
- ((endpoint_ref)->ops->set_ref_properties(endpoint_ref, env, ref_properties))
-
+ ((endpoint_ref)->ops->set_ref_properties(endpoint_ref, env, ref_properties))
+
/*#define AXIS2_ENDPOINT_REF_GET_REF_PARAMS(endpoint_ref, env) \
- ((endpoint_ref)->ops->get_ref_params(endpoint_ref, env))
-
+ ((endpoint_ref)->ops->get_ref_params(endpoint_ref, env))
+
#define AXIS2_ENDPOINT_REF_SET_REF_PARAMS(endpoint_ref, env, any_content_type) \
- ((endpoint_ref)->ops->set_ref_params(endpoint_ref, env, any_content_type))*/
-
+ ((endpoint_ref)->ops->set_ref_params(endpoint_ref, env, any_content_type))*/
+
#define AXIS2_ENDPOINT_REF_GET_SVC_NAME(endpoint_ref, env) \
- ((endpoint_ref)->ops->get_svc_name(endpoint_ref, env))
-
+ ((endpoint_ref)->ops->get_svc_name(endpoint_ref, env))
+
#define AXIS2_ENDPOINT_REF_SET_SVC_NAME(endpoint_ref, env, svc_name) \
- ((endpoint_ref)->ops->set_svc_name(endpoint_ref, env, svc_name))
-
+ ((endpoint_ref)->ops->set_svc_name(endpoint_ref, env, svc_name))
+
/*#define AXIS2_ENDPOINT_REF_GET_POLICIES(endpoint_ref, env) \
- ((endpoint_ref)->ops->get_policies(endpoint_ref, env))
-
+ ((endpoint_ref)->ops->get_policies(endpoint_ref, env))
+
#define AXIS2_ENDPOINT_REF_SET_POLICIES(endpoint_ref, env, policies) \
- ((endpoint_ref)->ops->set_policies(endpoint_ref, env, policies))*/
-
+ ((endpoint_ref)->ops->set_policies(endpoint_ref, env, policies))*/
+
/*#define AXIS2_ENDPOINT_REF_GET_METADATA(endpoint_ref, env) \
- ((endpoint_ref)->ops->get_metadata(endpoint_ref, env))
-
+ ((endpoint_ref)->ops->get_metadata(endpoint_ref, env))
+
#define AXIS2_ENDPOINT_REF_SET_METADATA(endpoint_ref, env, metadata) \
- ((endpoint_ref)->ops->set_metadata(endpoint_ref, env, metadata))*/
-
+ ((endpoint_ref)->ops->set_metadata(endpoint_ref, env, metadata))*/
+
#define AXIS2_ENDPOINT_REF_GET_REF_PARAM_LIST(endpoint_ref, env) \
- ((endpoint_ref)->ops->get_ref_param_list(endpoint_ref, env))
-
+ ((endpoint_ref)->ops->get_ref_param_list(endpoint_ref, env))
+
#define AXIS2_ENDPOINT_REF_GET_META_DATA_LIST(endpoint_ref, env) \
- ((endpoint_ref)->ops->get_meta_data_list(endpoint_ref, env))
-
+ ((endpoint_ref)->ops->get_meta_data_list(endpoint_ref, env))
+
#define AXIS2_ENDPOINT_REF_ADD_REF_PARAM(endpoint_ref, env, node) \
- ((endpoint_ref)->ops->add_ref_param(endpoint_ref, env, node))
-
+ ((endpoint_ref)->ops->add_ref_param(endpoint_ref, env, node))
+
#define AXIS2_ENDPOINT_REF_ADD_META_DATA(endpoint_ref, env, node) \
- ((endpoint_ref)->ops->add_meta_data(endpoint_ref, env, node))
-
+ ((endpoint_ref)->ops->add_meta_data(endpoint_ref, env, node))
+
#define AXIS2_ENDPOINT_REF_FREE(endpoint_ref, env) \
- ((endpoint_ref)->ops->free(endpoint_ref, env))
+ ((endpoint_ref)->ops->free(endpoint_ref, env))
#define AXIS2_ENDPOINT_REF_GET_REF_ATTRIBUTE_LIST(endpoint_ref, env) \
((endpoint_ref)->ops->get_ref_attribute_list(endpoint_ref, env))
Modified: webservices/axis2/trunk/c/include/axis2_flow.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_flow.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_flow.h (original)
+++ webservices/axis2/trunk/c/include/axis2_flow.h Sat Jun 3 20:09:08 2006
@@ -36,10 +36,10 @@
extern "C"
{
#endif
-
+
typedef struct axis2_flow_ops axis2_flow_ops_t;
-typedef struct axis2_flow axis2_flow_t;
-
+typedef struct axis2_flow axis2_flow_t;
+
/** @defgroup axis2_flow Flow
* @ingroup axis2_flow
@@ -52,11 +52,11 @@
*/
struct axis2_flow_ops
{
- /** Deallocate memory
+ /** Deallocate memory
* @return status code
*/
axis2_status_t (AXIS2_CALL *
- free) (axis2_flow_t *flow,
+ free) (axis2_flow_t *flow,
const axis2_env_t *env);
/**
@@ -64,7 +64,7 @@
* @param handler handler description
*/
axis2_status_t (AXIS2_CALL *
- add_handler) (axis2_flow_t *flow,
+ add_handler) (axis2_flow_t *flow,
const axis2_env_t *env,
axis2_handler_desc_t *handler);
@@ -74,7 +74,7 @@
* @return handler description
*/
axis2_handler_desc_t * (AXIS2_CALL *
- get_handler) (axis2_flow_t *flow,
+ get_handler) (axis2_flow_t *flow,
const axis2_env_t *env,
int index);
@@ -83,17 +83,17 @@
* @return handler count
*/
int (AXIS2_CALL *
- get_handler_count) (axis2_flow_t *flow,
+ get_handler_count) (axis2_flow_t *flow,
const axis2_env_t *env);
};
/**
* @brief Flow struct
- * Flow
+ * Flow
*/
struct axis2_flow
{
- axis2_flow_ops_t *ops;
+ axis2_flow_ops_t *ops;
};
/**
@@ -117,13 +117,13 @@
#define AXIS2_FLOW_FREE(flow, env) ((flow)->ops->free (flow, env))
#define AXIS2_FLOW_ADD_HANDLER(flow, env, handler) \
- ((flow)->ops->add_handler (flow, env, handler))
+ ((flow)->ops->add_handler (flow, env, handler))
#define AXIS2_FLOW_GET_HANDLER(flow, env, index) \
- ((flow)->ops->get_handler (flow, env, index))
+ ((flow)->ops->get_handler (flow, env, index))
#define AXIS2_FLOW_GET_HANDLER_COUNT(flow, env) \
- ((flow)->ops->get_handler_count (flow, env))
+ ((flow)->ops->get_handler_count (flow, env))
/*************************** End of function macros ***************************/
Modified: webservices/axis2/trunk/c/include/axis2_flow_container.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_flow_container.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_flow_container.h (original)
+++ webservices/axis2/trunk/c/include/axis2_flow_container.h Sat Jun 3 20:09:08 2006
@@ -36,10 +36,10 @@
extern "C"
{
#endif
-
+
typedef struct axis2_flow_container_ops axis2_flow_container_ops_t;
-typedef struct axis2_flow_container axis2_flow_container_t;
-
+typedef struct axis2_flow_container axis2_flow_container_t;
+
/** @defgroup axis2_flow_container Flow Container
* @ingroup axis2_flow_container
@@ -52,11 +52,11 @@
*/
struct axis2_flow_container_ops
{
- /** Deallocate memory
+ /** Deallocate memory
* @return status code
*/
axis2_status_t (AXIS2_CALL *
- free) (axis2_flow_container_t *flow_container,
+ free) (axis2_flow_container_t *flow_container,
const axis2_env_t *env);
/**
@@ -64,7 +64,7 @@
* @return in flow
*/
axis2_flow_t *(AXIS2_CALL *
- get_inflow)(axis2_flow_container_t *flow_container,
+ get_inflow)(axis2_flow_container_t *flow_container,
const axis2_env_t *env);
/**
@@ -72,7 +72,7 @@
* @param inflow in flow
*/
axis2_status_t (AXIS2_CALL *
- set_inflow)(axis2_flow_container_t *flow_container,
+ set_inflow)(axis2_flow_container_t *flow_container,
const axis2_env_t *env,
axis2_flow_t *inflow);
@@ -81,7 +81,7 @@
* @return out flow
*/
axis2_flow_t *(AXIS2_CALL *
- get_outflow)(axis2_flow_container_t *flow_container,
+ get_outflow)(axis2_flow_container_t *flow_container,
const axis2_env_t *env);
/**
@@ -89,7 +89,7 @@
* @param outflow out flow
*/
axis2_status_t (AXIS2_CALL *
- set_outflow)(axis2_flow_container_t *flow_container,
+ set_outflow)(axis2_flow_container_t *flow_container,
const axis2_env_t *env,
axis2_flow_t *outflow);
@@ -98,7 +98,7 @@
* @return fault in flow
*/
axis2_flow_t * (AXIS2_CALL *
- get_fault_inflow)(axis2_flow_container_t *flow_container,
+ get_fault_inflow)(axis2_flow_container_t *flow_container,
const axis2_env_t *env);
/**
@@ -106,7 +106,7 @@
* @param falut_inflow falut in flow
*/
axis2_status_t (AXIS2_CALL *
- set_fault_inflow)(axis2_flow_container_t *flow_container,
+ set_fault_inflow)(axis2_flow_container_t *flow_container,
const axis2_env_t *env,
axis2_flow_t *falut_inflow);
/**
@@ -114,7 +114,7 @@
* @return fault out flow
*/
axis2_flow_t *(AXIS2_CALL *
- get_fault_outflow)(axis2_flow_container_t *flow_container,
+ get_fault_outflow)(axis2_flow_container_t *flow_container,
const axis2_env_t *env);
/**
@@ -122,18 +122,18 @@
* @param fault_outflow fault out flow
*/
axis2_status_t (AXIS2_CALL *
- set_fault_outflow)(axis2_flow_container_t *flow_container,
+ set_fault_outflow)(axis2_flow_container_t *flow_container,
const axis2_env_t *env,
axis2_flow_t *fault_outflow);
};
/**
* @brief Flow container struct
- * Container for flows
+ * Container for flows
*/
struct axis2_flow_container
{
- axis2_flow_container_ops_t *ops;
+ axis2_flow_container_ops_t *ops;
};
/**
Modified: webservices/axis2/trunk/c/include/axis2_handler.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_handler.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_handler.h (original)
+++ webservices/axis2/trunk/c/include/axis2_handler.h Sat Jun 3 20:09:08 2006
@@ -55,7 +55,7 @@
* @return satus of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE
*/
axis2_status_t (AXIS2_CALL *
- free) (struct axis2_handler * handler,
+ free) (struct axis2_handler * handler,
const axis2_env_t *env);
@@ -65,7 +65,7 @@
* @param handlerdesc
*/
axis2_status_t (AXIS2_CALL *
- init) (struct axis2_handler * handler,
+ init) (struct axis2_handler * handler,
const axis2_env_t *env,
struct axis2_handler_desc *handler_desc);
@@ -79,9 +79,9 @@
* <code>Handler</code>.
*/
axis2_status_t (AXIS2_CALL *
- invoke) (struct axis2_handler * handler,
- const axis2_env_t *env,
- struct axis2_msg_ctx *msg_ctx);
+ invoke) (struct axis2_handler * handler,
+ const axis2_env_t *env,
+ struct axis2_msg_ctx *msg_ctx);
/**
* Method getName
@@ -89,7 +89,7 @@
* @return
*/
axis2_qname_t* (AXIS2_CALL *
- get_name) (struct axis2_handler * handler,
+ get_name) (struct axis2_handler * handler,
const axis2_env_t *env);
/**
@@ -99,7 +99,7 @@
* @return
*/
axis2_param_t* (AXIS2_CALL *
- get_param) (struct axis2_handler * handler,
+ get_param) (struct axis2_handler * handler,
const axis2_env_t *env,
axis2_char_t *name);
@@ -110,7 +110,7 @@
* @return
*/
struct axis2_handler_desc* (AXIS2_CALL *
- get_handler_desc) (struct axis2_handler * handler,
+ get_handler_desc) (struct axis2_handler * handler,
const axis2_env_t *env);
/**
* derived struct accessor
@@ -125,7 +125,7 @@
const axis2_env_t *env, void* derived);
*/
} axis2_handler_ops_t;
-
+
/**
* \brief Handler struct
*/
@@ -149,27 +149,27 @@
axis2_ctx_handler_create(const axis2_env_t *env, axis2_qname_t *qname);
#define AXIS2_HANDLER_FREE(handler, env) \
- ((handler)->ops->free(handler, env))
-
-
+ ((handler)->ops->free(handler, env))
+
+
#define AXIS2_HANDLER_INIT(handler, env, handler_desc) \
- ((handler)->ops->init(handler, env, handler_desc))
-
+ ((handler)->ops->init(handler, env, handler_desc))
+
#define AXIS2_HANDLER_INVOKE(handler, env, msg_ctx) \
((handler)->ops->invoke(handler, env, msg_ctx))
-
+
#define AXIS2_HANDLER_SET_INVOKE(handler, env, invoke) \
((handler)->ops->set_invoke(handler, env, invoke))
-
+
#define AXIS2_HANDLER_GET_NAME(handler, env) \
((handler)->ops->get_name(handler, env))
-
+
#define AXIS2_HANDLER_GET_PARAM(handler, env, name) \
- ((handler)->ops->get_param(handler, env, name))
-
+ ((handler)->ops->get_param(handler, env, name))
+
#define AXIS2_HANDLER_GET_HANDLER_DESC(handler, env) \
- ((handler)->ops->get_handler_desc(handler, env))
-
+ ((handler)->ops->get_handler_desc(handler, env))
+
/*#define AXIS2_HANDLER_GET_DERIVED(handler, env) ((handler)->ops->get_derived(handler, env))
#define AXIS2_HANDLER_SET_DERIVED(handler, env, derived) ((handler)->ops->set_derived(handler, env, derived))
*/
Modified: webservices/axis2/trunk/c/include/axis2_handler_desc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_handler_desc.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_handler_desc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_handler_desc.h Sat Jun 3 20:09:08 2006
@@ -119,7 +119,7 @@
const axis2_env_t *env);
} axis2_handler_desc_ops_t;
-
+
/**
* \brief Handler Description struct
*/
Modified: webservices/axis2/trunk/c/include/axis2_http_chunked_stream.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_chunked_stream.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_chunked_stream.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_chunked_stream.h Sat Jun 3 20:09:08 2006
@@ -47,19 +47,19 @@
*/
AXIS2_DECLARE_DATA struct axis2_http_chunked_stream_ops
{
- int (AXIS2_CALL *read) (axis2_http_chunked_stream_t *chunked_stream,
- const axis2_env_t *env, void *buffer, size_t count);
-
- int (AXIS2_CALL *write) (axis2_http_chunked_stream_t *chunked_stream,
- const axis2_env_t *env, const void *buffer,
- size_t count);
- int (AXIS2_CALL *get_current_chunk_size)
+ int (AXIS2_CALL *read) (axis2_http_chunked_stream_t *chunked_stream,
+ const axis2_env_t *env, void *buffer, size_t count);
+
+ int (AXIS2_CALL *write) (axis2_http_chunked_stream_t *chunked_stream,
+ const axis2_env_t *env, const void *buffer,
+ size_t count);
+ int (AXIS2_CALL *get_current_chunk_size)
(axis2_http_chunked_stream_t *chunked_stream,
const axis2_env_t *env);
- axis2_status_t (AXIS2_CALL *write_last_chunk)
- (axis2_http_chunked_stream_t *chunked_stream,
+ axis2_status_t (AXIS2_CALL *write_last_chunk)
+ (axis2_http_chunked_stream_t *chunked_stream,
const axis2_env_t *env);
- axis2_status_t (AXIS2_CALL *free)
+ axis2_status_t (AXIS2_CALL *free)
(axis2_http_chunked_stream_t *chunked_stream,
const axis2_env_t *env);
};
@@ -70,26 +70,26 @@
*/
AXIS2_DECLARE_DATA struct axis2_http_chunked_stream
{
- axis2_http_chunked_stream_ops_t *ops;
+ axis2_http_chunked_stream_ops_t *ops;
};
AXIS2_EXTERN axis2_http_chunked_stream_t * AXIS2_CALL
axis2_http_chunked_stream_create(const axis2_env_t *env, axis2_stream_t* stream);
-/********************* Start of function macros ***************************/
+/********************* Start of function macros ***************************/
#define AXIS2_HTTP_CHUNKED_STREAM_READ(chunked_stream, env, buffer, count) \
((chunked_stream)->ops->read(chunked_stream, env, \
- buffer, count))
+ buffer, count))
#define AXIS2_HTTP_CHUNKED_STREAM_WRITE(chunked_stream, env, buffer, count) \
- ((chunked_stream)->ops->write(chunked_stream, env, \
- buffer, count))
+ ((chunked_stream)->ops->write(chunked_stream, env, \
+ buffer, count))
#define AXIS2_HTTP_CHUNKED_GET_CURRENT_CHUNK_SIZE(chunked_stream, env) \
((chunked_stream)->ops->get_current_chunk_size \
- (chunked_stream, env))
+ (chunked_stream, env))
#define AXIS2_HTTP_CHUNKED_STREAM_WRITE_LAST_CHUNK(chunked_stream, env) \
- ((chunked_stream)->ops->write_last_chunk(chunked_stream\
- , env))
+ ((chunked_stream)->ops->write_last_chunk(chunked_stream\
+ , env))
#define AXIS2_HTTP_CHUNKED_STREAM_FREE(chunked_stream, env) \
((chunked_stream)->ops->free(chunked_stream, env))
Modified: webservices/axis2/trunk/c/include/axis2_http_client.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_client.h?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_client.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_client.h Sat Jun 3 20:09:08 2006
@@ -51,32 +51,32 @@
AXIS2_DECLARE_DATA struct axis2_http_client_ops
{
axis2_status_t (AXIS2_CALL *send)
- (axis2_http_client_t *client, const axis2_env_t *env,
- axis2_http_simple_request_t *request);
- int (AXIS2_CALL *recieve_header)
- (axis2_http_client_t *client, const axis2_env_t *env);
- axis2_http_simple_response_t* (AXIS2_CALL *get_response)
- (axis2_http_client_t *client, const axis2_env_t *env);
+ (axis2_http_client_t *client, const axis2_env_t *env,
+ axis2_http_simple_request_t *request);
+ int (AXIS2_CALL *recieve_header)
+ (axis2_http_client_t *client, const axis2_env_t *env);
+ axis2_http_simple_response_t* (AXIS2_CALL *get_response)
+ (axis2_http_client_t *client, const axis2_env_t *env);
- axis2_status_t (AXIS2_CALL *set_url) (axis2_http_client_t *client,
+ axis2_status_t (AXIS2_CALL *set_url) (axis2_http_client_t *client,
const axis2_env_t *env, axis2_url_t *url);
-
- axis2_url_t* (AXIS2_CALL *get_url) (axis2_http_client_t *client,
+
+ axis2_url_t* (AXIS2_CALL *get_url) (axis2_http_client_t *client,
const axis2_env_t *env);
-
+
axis2_status_t (AXIS2_CALL *set_timeout) (axis2_http_client_t *client,
const axis2_env_t *env, int timeout_ms);
-
+
int (AXIS2_CALL *get_timeout) (axis2_http_client_t *client,
const axis2_env_t *env);
-
+
axis2_status_t (AXIS2_CALL *set_proxy) (axis2_http_client_t *client,
const axis2_env_t *env, axis2_char_t *proxy_host,
int proxy_port);
-
+
axis2_char_t* (AXIS2_CALL *get_proxy) (axis2_http_client_t *client,
const axis2_env_t *env);
-
+
axis2_status_t (AXIS2_CALL *free) (axis2_http_client_t *client,
const axis2_env_t *env);
};
@@ -116,12 +116,12 @@
((client)->ops->get_url(client, env))
#define AXIS2_HTTP_CLIENT_SET_TIMEOUT(client, env, timeout) \
((client)->ops->set_timeout(client, env,\
- timeout))
+ timeout))
#define AXIS2_HTTP_CLIENT_GET_TIMEOUT(client, env) \
((client)->ops->get_url(client, env))
#define AXIS2_HTTP_CLIENT_SET_PROXY(client, env, proxy_host, proxy_port) \
((client)->ops->set_proxy(client, env,\
- proxy_host, proxy_port))
+ proxy_host, proxy_port))
#define AXIS2_HTTP_CLIENT_GET_PROXY(client, env) \
((client)->ops->get_proxy(client, env))
#define AXIS2_HTTP_CLIENT_FREE(client, env) \
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org