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/05/02 10:54:24 UTC

svn commit: r398870 - in /webservices/axis2/trunk/c: include/axis2_om.h samples/user_guide/clients/echo_blocking.c

Author: samisa
Date: Tue May  2 01:53:57 2006
New Revision: 398870

URL: http://svn.apache.org/viewcvs?rev=398870&view=rev
Log:
Added the convinienet header for OM

Added:
    webservices/axis2/trunk/c/include/axis2_om.h
Modified:
    webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c

Added: webservices/axis2/trunk/c/include/axis2_om.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_om.h?rev=398870&view=auto
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_om.h (added)
+++ webservices/axis2/trunk/c/include/axis2_om.h Tue May  2 01:53:57 2006
@@ -0,0 +1,54 @@
+/*
+ * 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_OM_H
+#define AXIS2_OM_H
+
+#include <axis2_om_attribute.h>
+#include <axis2_om_child_element_iterator.h>
+#include <axis2_om_children_iterator.h>
+#include <axis2_om_children_qname_iterator.h>
+#include <axis2_om_children_with_specific_attribute_iterator.h>
+#include <axis2_om_comment.h>
+#include <axis2_om_doctype.h>
+#include <axis2_om_document.h>
+#include <axis2_om_element.h>
+#include <axis2_om_namespace.h>
+#include <axis2_om_navigator.h>
+#include <axis2_om_node.h>
+#include <axis2_om_output.h>
+#include <axis2_om_processing_instruction.h>
+#include <axis2_om_stax_builder.h>
+#include <axis2_om_text.h>
+#include <axis2_xml_reader.h>
+#include <axis2_xml_writer.h>
+
+/**
+* @file axis2_om.h
+* @brief includes all headers in OM
+*/
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* AXIS2_OM_H */

Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c?rev=398870&r1=398869&r2=398870&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c Tue May  2 01:53:57 2006
@@ -15,17 +15,11 @@
  */
 
 #include <axis2_call.h>
-#include <axis2_om_stax_builder.h>
-#include <axis2_om_document.h>
-#include <axis2_om_node.h>
-#include <axis2_om_element.h>
-#include <axis2_om_text.h>
+#include <axis2_om.h>
 #include <axis2_stream.h>
 #include <axis2_log_default.h>
 #include <axis2_error_default.h>
-#include <axis2_xml_reader.h>
 #include <stdio.h>
-#include <axis2_xml_writer.h>
 #include <axis2_soap.h>
 #include <platforms/axis2_platform_auto_sense.h>