You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2008/01/14 07:00:43 UTC
svn commit: r611719 [4/7] - in /webservices/axis2/trunk/c/xdocs: ./ docs/
docs/hello/client/ docs/hello/service/ docs/mod_log/
Modified: webservices/axis2/trunk/c/xdocs/docs/installationguide.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/docs/installationguide.html?rev=611719&r1=611718&r2=611719&view=diff
==============================================================================
--- webservices/axis2/trunk/c/xdocs/docs/installationguide.html (original)
+++ webservices/axis2/trunk/c/xdocs/docs/installationguide.html Sun Jan 13 22:00:36 2008
@@ -1,57 +1,18 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Apache Axis2/C - Installation Guide</title><style type="text/css" media="all">
+ @import url("../style/maven-base.css");
+
+ @import url("../style/maven-classic.css");</style><link rel="stylesheet" href="../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://www.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/axis2/c" id="projectLogo"><img alt="Apache Axis2/C" src="http://ws.apache.org/axis2/images/axis.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 09 January 2008
+ | Doc for 1.2.0</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuApache_Axis2_C"><h5>Apache Axis2/C</h5><ul><li class="none"><a href="../index.html">Apache Axis2/C Home</a></li><li class="expanded"><a href="../download.cgi">Download Axis2/C</a><ul><li class="none"><a href="../download.cgi">Releases</a></li></ul></li><li class="expanded"><a href="../docs/index.html">Documentation</a><ul><li class="none"><a href="../docs/installationguide.html">Installation Guide</a></li><li class="none"><a href="../docs/axis2c_manual.html">Axis2/C manual</a></li></ul></li><li class="expanded"><a href="../lists_issues.html">Get Involved</a><ul><li class="none"><a href="../lists_issues.html">Mailing Lists & Issue Tracking</a></li><li class="none"><a href="../svn.html">Checkout Source Code</a></li></ul></li><li class="expanded"><a href="../coding_conventions.html">Developer Guidelines</a><ul><li cla
ss="none"><a href="../coding_conventions.html">Coding Convention</a></li><li class="none"><a href="../versioning.html">Versionning</a></li></ul></li><li class="expanded"><a href="../team-list.html">Project Information</a><ul><li class="none"><a href="../team-list.html">Project Team</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/c/" class="externalLink" title="External Link">Source Code</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Apache_Axis2_C_Installation_Guide"></a><h2>Apache Axis2/C Installation Guide</h2><p>This document guides you on how to install Axis2/C, and run the server and
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+client samples on Linux and Microsoft Windows operating systems.</p><p>This release comes in two forms, source and binary. This document covers
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+both forms.</p><p>Please send your feedback to the developer mailing list: <a href="mailto:axis-c-dev@ws.apache.org">axis-c-dev@ws.apache.org</a>
-<html>
+(Subscription details are available on the <a href="http://ws.apache.org/axis2/c/mail-lists.html" class="externalLink" title="External Link">Axis2 site</a>.) Please
-<head>
-
- <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
-
- <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
-
- <title>Installation Guide</title>
-
-</head>
-
-
-
-<body>
-
-<h1>Apache Axis2/C Installation Guide</h1>
-
-
-
-<p>This document guides you on how to install Axis2/C, and run the server and
-
-client samples on Linux and Microsoft Windows operating systems.</p>
-
-
-
-<p>This release comes in two forms, source and binary. This document covers
-
-both forms.</p>
-
-
-
-<p>Please send your feedback to the developer mailing list: <a
-
-href="mailto:axis-c-dev@ws.apache.org">axis-c-dev@ws.apache.org</a>
-
-(Subscription details are available on the <a
-
-href="http://ws.apache.org/axis2/c/mail-lists.html">Axis2 site</a>.) Please
-
-remember to prefix the subject with [Axis2].</p>
-
-
-<p style="margin-bottom: 0in"><br>
-</p>
-<h1>Contents</h1>
-
-<ul>
+remember to prefix the subject with [Axis2].</p><p style="margin-bottom: 0in"><br></br>
+</p></div><div class="section"><a name="Contents"></a><h2>Contents</h2><ul>
<li><a href="#linux">Installing and Running on Linux</a>
@@ -77,49 +38,14 @@
</li>
-</ul>
-
-<p style="margin-bottom: 0in"><br>
-</p>
-<a id="linux"></a>
-
-
-
-<h1>1. Installing and Running on Linux</h1>
-
-
-
-<p>This can be done using binary or source distributions. (<a
+</ul><p style="margin-bottom: 0in"><br></br>
+</p><p><a id="linux"></a></p></div><div class="section"><a name="1__Installing_and_Running_on_Linux"></a><h2>1. Installing and Running on Linux</h2><p>This can be done using binary or source distributions. (<a href="http://ws.apache.org/axis2/c/download.cgi" class="externalLink" title="External Link">Download</a> the two
-href="http://ws.apache.org/axis2/c/download.cgi">Download</a> the two
+distributions)</p><p>To get both the binary and source distributions working, you need <a href="http://xmlsoft.org/downloads.html" class="externalLink" title="External Link">Libxml2</a>.</p><p><b>Note:</b> Most Linux systems have Libxml2 installed by default. On MS
-distributions)</p>
+Windows, you need to download and install Libxml2.</p><p><a id="linux_binary"></a></p><div class="subsection"><a name="1_1__Installing_the_Binary_Distribution"></a><h3>1.1. Installing the Binary Distribution</h3><p>The following steps have to be followed to install and run the Axis2/C
-
-
-<p>To get both the binary and source distributions working, you need <a
-
-href="http://xmlsoft.org/downloads.html">Libxml2</a>.</p>
-
-
-
-<p><b>Note:</b> Most Linux systems have Libxml2 installed by default. On MS
-
-Windows, you need to download and install Libxml2.</p>
-
-<a id="linux_binary"></a>
-
-
-
-<h2>1.1. Installing the Binary Distribution</h2>
-
-
-
-<p>The following steps have to be followed to install and run the Axis2/C
-
-binary distribution on Linux : </p>
-
-<ol>
+binary distribution on Linux : </p><ol>
<li>Extract the binary tar package to a folder.</li>
@@ -231,21 +157,9 @@
</li>
-</ol>
-
-<a id="linux_source"></a>
+</ol><p><a id="linux_source"></a></p></div><div class="subsection"><a name="1_2__Installing_the_Source_Distribution"></a><h3>1.2. Installing the Source Distribution</h3><p>The following steps have to be followed to install and run Axis2/C using
-
-
-<h2>1.2. Installing the Source Distribution</h2>
-
-
-
-<p>The following steps have to be followed to install and run Axis2/C using
-
-the source distribution on Linux :</p>
-
-<ol>
+the source distribution on Linux :</p><ol>
<li>Extract the source tar package to a folder.</li>
@@ -329,7 +243,7 @@
<li>If you want to get the samples working, you have to build the
- samples. <br />
+ samples. <br></br>
To build the samples:
@@ -433,41 +347,10 @@
</li>
-</ol>
-
-<p style="margin-bottom: 0in"><br>
-</p>
-<a id="win"></a>
-
-
-
-<h1>2. Installing and Running on Microsoft Windows</h1>
-
-
-
-<p>This too can be done using binary or source distributions. (<a
-
-href="http://ws.apache.org/axis2/c/download.cgi">Download</a> the two
-
-distributions.) </p>
-
+</ol><p style="margin-bottom: 0in"><br></br>
+</p><p><a id="win"></a></p></div></div><div class="section"><a name="2__Installing_and_Running_on_Microsoft_Windows"></a><h2>2. Installing and Running on Microsoft Windows</h2><p>This too can be done using binary or source distributions. (<a href="http://ws.apache.org/axis2/c/download.cgi" class="externalLink" title="External Link">Download</a> the two
-
-<p>For both binary and source distributions, you have to download <a
-
-href="http://www.zlatkovic.com/pub/libxml/">Libxml2</a>, if you are not using Guththila parser which comes with the distribution.</p>
-
-<a id="win_binary"></a>
-
-
-
-<h2>2.1. Installing the Binary Distribution </h2>
-
-
-
-<h3>2.1.1. Requirements</h3>
-
-<ul>
+distributions.) </p><p>For both binary and source distributions, you have to download <a href="http://www.zlatkovic.com/pub/libxml/" class="externalLink" title="External Link">Libxml2</a>, if you are not using Guththila parser which comes with the distribution.</p><p><a id="win_binary"></a></p><div class="subsection"><a name="2_1__Installing_the_Binary_Distribution"></a><h3>2.1. Installing the Binary Distribution</h3></div><div class="subsection"><a name="2_1_1__Requirements"></a><h3>2.1.1. Requirements</h3><ul>
<li>The binaries shipped with this version are compiled with the Microsoft
@@ -475,9 +358,7 @@
- <p>(<strong>Note</strong>: you can <a
-
- href="http://msdn.microsoft.com/vstudio/express/downloads/">download the
+ <p>(<strong>Note</strong>: you can <a href="http://msdn.microsoft.com/vstudio/express/downloads/" class="externalLink" title="External Link">download the
Microsoft VSExpress2005 edition</a> from the Microsoft Web site and install
@@ -503,15 +384,7 @@
</li>
-</ul>
-
-<a id="bin_binaries"></a>
-
-
-
-<h3>2.1.2. Binaries in the Release</h3>
-
-<ul>
+</ul><p><a id="bin_binaries"></a></p></div><div class="subsection"><a name="2_1_2__Binaries_in_the_Release"></a><h3>2.1.2. Binaries in the Release</h3><ul>
<li>Extract the binary distribution to a folder of your choice. (example:
@@ -521,9 +394,7 @@
- <p><img alt="Figure: c:\axis2c Folder Structure"
-
- src="images/binary_folder_structure.jpg" /></p>
+ <p><img alt="Figure: c:\axis2c Folder Structure" src="images/binary_folder_structure.jpg"></img></p>
@@ -551,15 +422,7 @@
C:\axis2c\lib</li>
-</ul>
-
-<a id="bin_run"></a>
-
-
-
-<h3>2.1.3. Running the Binaries</h3>
-
-<ul>
+</ul><p><a id="bin_run"></a></p></div><div class="subsection"><a name="2_1_3__Running_the_Binaries"></a><h3>2.1.3. Running the Binaries</h3><ul>
<li>First, you need to set a couple of environment variables before you can
@@ -607,19 +470,7 @@
</li>
-</ul>
-
-<a id="win_source"></a>
-
-
-
-<h2>2.2. Installing the Source Distribution</h2>
-
-
-
-<h3>2.2.1. Requirements</h3>
-
-<ul>
+</ul><p><a id="win_source"></a></p></div><div class="subsection"><a name="2_2__Installing_the_Source_Distribution"></a><h3>2.2. Installing the Source Distribution</h3></div><div class="subsection"><a name="2_2_1__Requirements"></a><h3>2.2.1. Requirements</h3><ul>
<li>The makefile shipped with this version needs Microsoft Visual Studio
@@ -627,9 +478,7 @@
- <p>(Note: You can <a
-
- href="http://msdn.microsoft.com/vstudio/express/downloads/">download the
+ <p>(Note: You can <a href="http://msdn.microsoft.com/vstudio/express/downloads/" class="externalLink" title="External Link">download the
Microsoft VSExpress2005 edition and Platform SDK</a> from the Microsoft Web
@@ -657,85 +506,57 @@
</li>
-</ul>
-
-<a id="edit"></a>
-
-
-
-<h3>2.2.2. Editing the configure.in File</h3>
-
+</ul><p><a id="edit"></a></p></div><div class="subsection"><a name="2_2_2__Editing_the_configure_in_File"></a><h3>2.2.2. Editing the configure.in File</h3><p>Please edit the <source_distribution>\build\win32\configure.in file
-
-<p>Please edit the <source_distribution>\build\win32\configure.in file
-
-to include the following information.</p>
-
-<p>The paths for the following required external libraries are specified in configure.in. Please note that you need to specify the path to the extracted folder.<br />
+to include the following information.</p><p>The paths for the following required external libraries are specified in configure.in. Please note that you need to specify the path to the extracted folder.<br></br>
<ul>
-<li>libxml2 (required if you are not using Guththila) [LIBXML2_BIN_DIR]<br /></li>
+<li>libxml2 (required if you are not using Guththila) [LIBXML2_BIN_DIR]<br></br></li>
-<li>iconv [ICONV_BIN_DIR]<br /></li>
+<li>iconv [ICONV_BIN_DIR]<br></br></li>
-<li>zlib [ZLIB_BIN_DIR]<br /></li>
+<li>zlib [ZLIB_BIN_DIR]<br></br></li>
</ul>
-<p>The default paths for these external libraries are already specified in configure.in file.<br />
+</p><p>The default paths for these external libraries are already specified in configure.in file.<br></br>
Example: If libxml2 is installed into C:\libxml2, edit the
-configure.in file accordingly.<br />
+configure.in file accordingly.<br></br>
-<br />
+<br></br>
You can either extract libxml2 to this folder, in which case the folder
-structure for C:\libxml2 should look like the following:</p>
-
-<p><img alt="Figure: C:\libxml2 Folder Structure"
-
- src="images/folder_structure_libxml2.jpg" /><br />
+structure for C:\libxml2 should look like the following:</p><p><img alt="Figure: C:\libxml2 Folder Structure" src="images/folder_structure_libxml2.jpg"></img><br></br>
Else, extract it to a location of your choice and edit the configure.in
- file accordingly.<br />
+ file accordingly.<br></br>
- <br />
+ <br></br>
If you need the parser to use Guththila XML parser, set the
ENABLE_GUTHTHILA option to 1 in configure.in
- file.<br />
-
- Example: <code>ENABLE_GUTHTHILA = 1</code><br />
-
- <br />
-
-<b>Other options available:</b><br />
+ file.<br></br>
-If you want to enable SSL client support, set ENABLE_SSL to 1 and set the path where OpenSSL is installed to OPENSSL_BIN_DIR.<br />
+ Example: <code>ENABLE_GUTHTHILA = 1</code><br></br>
-<br />
+ <br></br>
-If you want to enable <a href="http://curl.haxx.se/">libcurl</a> based client transport, set ENABLE_LIBCURL to 1 and set the path where libcurl is installed to LIBCURL_BIN_DIR.<br />
+<b>Other options available:</b><br></br>
-</p>
+If you want to enable SSL client support, set ENABLE_SSL to 1 and set the path where OpenSSL is installed to OPENSSL_BIN_DIR.<br></br>
-<a id="src_compile"></a>
+<br></br>
+If you want to enable <a href="http://curl.haxx.se/" class="externalLink" title="External Link">libcurl</a> based client transport, set ENABLE_LIBCURL to 1 and set the path where libcurl is installed to LIBCURL_BIN_DIR.<br></br>
-
-<h3>2.2.3. Compiling the Source</h3>
-
-
-
-<p>The following steps will take you through the source compilation.</p>
-
-<ul>
+</p><p><a id="src_compile"></a></p></div><div class="subsection"><a name="2_2_3__Compiling_the_Source"></a><h3>2.2.3. Compiling the Source</h3><p>The following steps will take you through the source compilation.</p><ul>
<li>Extract the source distribution to a folder of your choice. (Example:
@@ -781,9 +602,7 @@
- <p><img alt="Figure: deploy Folder Structure"
-
- src="images/folder_structure.jpg" /></p>
+ <p><img alt="Figure: deploy Folder Structure" src="images/folder_structure.jpg"></img></p>
@@ -807,11 +626,7 @@
</ul>
-</ul>
-
-<p>Please note that <code>nmake install</code> does not build the apache or the IIS module. Refer to <a href="axis2c_manual.html">Axis2/C manual</a> to see how to install these modules.</p>
-
-<p>
+</ul><p>Please note that <code>nmake install</code> does not build the apache or the IIS module. Refer to <a href="axis2c_manual.html">Axis2/C manual</a> to see how to install these modules.</p><p>
@@ -819,9 +634,7 @@
-<h3>2.2.4. Running the Binaries</h3>
-
-<ul>
+</p></div><div class="subsection"><a name="2_2_4__Running_the_Binaries"></a><h3>2.2.4. Running the Binaries</h3><ul>
<li>You need to set a couple of environment variables before you can run
@@ -875,10 +688,4 @@
</li>
-</ul>
-
-</body>
-
-</html>
-
-
+</ul></div></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005-2008, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Modified: webservices/axis2/trunk/c/xdocs/docs/mod_log/log_in_handler.c.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/docs/mod_log/log_in_handler.c.html?rev=611719&r1=611718&r2=611719&view=diff
==============================================================================
--- webservices/axis2/trunk/c/xdocs/docs/mod_log/log_in_handler.c.html (original)
+++ webservices/axis2/trunk/c/xdocs/docs/mod_log/log_in_handler.c.html Sun Jan 13 22:00:36 2008
@@ -1,104 +1,97 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <title>modules/mod_log/log_in_handler.c</title>
- <meta name="generator" content="c2html 1.2.0" >
- <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" >
- <meta http-equiv="Content-Script-Type" content="text/javascript" >
- <meta http-equiv="Content-Style-Type" content="text/css" >
- </head>
- <body text="#000000">
- <font face="Monospace">
-<font color="#808080"><i>/*<br>
- * Licensed to the Apache Software Foundation (ASF) under one or more<br>
- * contributor license agreements. See the NOTICE file distributed with<br>
- * this work for additional information regarding copyright ownership.<br>
- * The ASF licenses this file to You under the Apache License, Version 2.0<br>
- * (the "License"); you may not use this file except in compliance with<br>
- * the License. You may obtain a copy of the License at<br>
- *<br>
- * http://www.apache.org/licenses/LICENSE-2.0<br>
- *<br>
- * Unless required by applicable law or agreed to in writing, software<br>
- * distributed under the License is distributed on an "AS IS" BASIS,<br>
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br>
- * See the License for the specific language governing permissions and<br>
- * limitations under the License.<br>
- */</i></font><br>
-<br>
-<font color="#008000">#include <axis2_handler_desc.h><br></font>
-<font color="#008000">#include <axutil_array_list.h><br></font>
-<font color="#008000">#include <axiom_soap_const.h><br></font>
-<font color="#008000">#include <axiom_soap_envelope.h><br></font>
-<font color="#008000">#include <axiom_soap_header.h><br></font>
-<font color="#008000">#include <axiom_soap_header_block.h><br></font>
-<font color="#008000">#include <axis2_op.h><br></font>
-<font color="#008000">#include <axis2_msg_ctx.h><br></font>
-<font color="#008000">#include <axis2_conf_ctx.h><br></font>
-<font color="#008000">#include <axis2_msg_info_headers.h><br></font>
-<font color="#008000">#include <axutil_property.h><br></font>
-<br>
-<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br>
-<font color="#000000">axutil_log_in_handler_invoke</font>(<font color="#000000"><b>struct</b></font> <font color="#000000">axis2_handler</font> *<font color="#000000">handler</font>, <br>
- <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br>
- <font color="#000000"><b>struct</b></font> <font color="#000000">axis2_msg_ctx</font> *<font color="#000000">msg_ctx</font>);<br>
-<br>
-<font color="#000000">AXIS2_EXTERN</font> <font color="#000000">axis2_handler_t</font>* <font color="#000000">AXIS2_CALL</font><br>
-<font color="#000000">axutil_log_in_handler_create</font>(<font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>, <br>
- <font color="#000000">axutil_string_t</font> *<font color="#000000">name</font>) <br>
-{<br>
- <font color="#000000">axis2_handler_t</font> *<font color="#000000">handler</font> = <font color="#000000">NULL</font>;<br>
- <br>
- <font color="#000000">AXIS2_ENV_CHECK</font>(<font color="#000000">env</font>, <font color="#000000">NULL</font>);<br>
- <br>
- <font color="#000000">handler</font> = <font color="#000000">axis2_handler_create</font>(<font color="#000000">env</font>);<br>
- <font color="#000000"><b>if</b></font> (!<font color="#000000">handler</font>)<br>
- {<br>
- <font color="#000000"><b>return</b></font> <font color="#000000">NULL</font>;<br>
- }<br>
- <br>
- <font color="#000000">axis2_handler_set_invoke</font>(<font color="#000000">handler</font>, <font color="#000000">env</font>, <font color="#000000">axutil_log_in_handler_invoke</font>);<br>
-<br>
- <font color="#000000"><b>return</b></font> <font color="#000000">handler</font>;<br>
-}<br>
-<br>
-<br>
-<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br>
-<font color="#000000">axutil_log_in_handler_invoke</font>(<font color="#000000"><b>struct</b></font> <font color="#000000">axis2_handler</font> *<font color="#000000">handler</font>, <br>
- <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br>
- <font color="#000000"><b>struct</b></font> <font color="#000000">axis2_msg_ctx</font> *<font color="#000000">msg_ctx</font>)<br>
-{<br>
- <font color="#000000">axiom_soap_envelope_t</font> *<font color="#000000">soap_envelope</font> = <font color="#000000">NULL</font>;<br>
- <font color="#000000">axiom_node_t</font> *<font color="#000000">ret_node</font> = <font color="#000000">NULL</font>;<br>
-<br>
- <font color="#000000">AXIS2_ENV_CHECK</font>( <font color="#000000">env</font>, <font color="#000000">AXIS2_FAILURE</font>);<br>
- <font color="#000000">AXIS2_PARAM_CHECK</font>(<font color="#000000">env</font>-><font color="#000000">error</font>, <font color="#000000">msg_ctx</font>, <font color="#000000">AXIS2_FAILURE</font>);<br>
- <br>
- <font color="#000000">AXIS2_LOG_INFO</font>(<font color="#000000">env</font>-><font color="#000000">log</font>, <font color="#FF0000">"Starting logging in handler ........."</font>);<br>
- <br>
- <font color="#000000">soap_envelope</font> = <font color="#000000">axis2_msg_ctx_get_soap_envelope</font>(<font color="#000000">msg_ctx</font>, <font color="#000000">env</font>);<br>
- <br>
- <font color="#000000"><b>if</b></font> (<font color="#000000">soap_envelope</font>)<br>
- {<br>
- <font color="#808080"><i>/* ensure SOAP buider state is in sync */</i></font><br>
- <font color="#000000">axiom_soap_envelope_get_body</font>(<font color="#000000">soap_envelope</font>, <font color="#000000">env</font>); <br>
- <font color="#000000">ret_node</font> = <font color="#000000">axiom_soap_envelope_get_base_node</font>(<font color="#000000">soap_envelope</font>, <font color="#000000">env</font>);<br>
-<br>
- <font color="#000000"><b>if</b></font>(<font color="#000000">ret_node</font>)<br>
- {<br>
- <font color="#000000">axis2_char_t</font> *<font color="#000000">om_str</font> = <font color="#000000">NULL</font>;<br>
- <font color="#000000">om_str</font> = <font color="#000000">axiom_node_to_string</font>(<font color="#000000">ret_node</font>, <font color="#000000">env</font>);<br>
- <font color="#000000"><b>if</b></font>(<font color="#000000">om_str</font>)<br>
- {<br>
- <font color="#000000">AXIS2_LOG_INFO</font>(<font color="#000000">env</font>-><font color="#000000">log</font>, <font color="#FF0000">"Input message: %s"</font>, <font color="#000000">om_str</font>);<br>
- }<br>
- }<br>
- }<br>
- <br>
- <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>;<br>
-}<br>
-<br>
-<br>
- </font>
- </body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Apache Axis2/C - modules/mod_log/log_in_handler.c</title><style type="text/css" media="all">
+ @import url("../../style/maven-base.css");
+
+ @import url("../../style/maven-classic.css");</style><link rel="stylesheet" href="../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://www.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/axis2/c" id="projectLogo"><img alt="Apache Axis2/C" src="http://ws.apache.org/axis2/images/axis.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 09 January 2008
+ | Doc for 1.2.0</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuApache_Axis2_C"><h5>Apache Axis2/C</h5><ul><li class="none"><a href="../../index.html">Apache Axis2/C Home</a></li><li class="expanded"><a href="../../download.cgi">Download Axis2/C</a><ul><li class="none"><a href="../../download.cgi">Releases</a></li></ul></li><li class="expanded"><a href="../../docs/index.html">Documentation</a><ul><li class="none"><a href="../../docs/installationguide.html">Installation Guide</a></li><li class="none"><a href="../../docs/axis2c_manual.html">Axis2/C manual</a></li></ul></li><li class="expanded"><a href="../../lists_issues.html">Get Involved</a><ul><li class="none"><a href="../../lists_issues.html">Mailing Lists & Issue Tracking</a></li><li class="none"><a href="../../svn.html">Checkout Source Code</a></li></ul></li><li class="expanded"><a href="../../coding_conventions.html">Devel
oper Guidelines</a><ul><li class="none"><a href="../../coding_conventions.html">Coding Convention</a></li><li class="none"><a href="../../versioning.html">Versionning</a></li></ul></li><li class="expanded"><a href="../../team-list.html">Project Information</a><ul><li class="none"><a href="../../team-list.html">Project Team</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/c/" class="externalLink" title="External Link">Source Code</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../../images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><font face="Monospace">
+<font color="#808080"><i>/*<br></br>
+ * Licensed to the Apache Software Foundation (ASF) under one or more<br></br>
+ * contributor license agreements. See the NOTICE file distributed with<br></br>
+ * this work for additional information regarding copyright ownership.<br></br>
+ * The ASF licenses this file to You under the Apache License, Version 2.0<br></br>
+ * (the "License"); you may not use this file except in compliance with<br></br>
+ * the License. You may obtain a copy of the License at<br></br>
+ *<br></br>
+ * http://www.apache.org/licenses/LICENSE-2.0<br></br>
+ *<br></br>
+ * Unless required by applicable law or agreed to in writing, software<br></br>
+ * distributed under the License is distributed on an "AS IS" BASIS,<br></br>
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br></br>
+ * See the License for the specific language governing permissions and<br></br>
+ * limitations under the License.<br></br>
+ */</i></font><br></br>
+<br></br>
+<font color="#008000">#include <axis2_handler_desc.h><br></br></font>
+<font color="#008000">#include <axutil_array_list.h><br></br></font>
+<font color="#008000">#include <axiom_soap_const.h><br></br></font>
+<font color="#008000">#include <axiom_soap_envelope.h><br></br></font>
+<font color="#008000">#include <axiom_soap_header.h><br></br></font>
+<font color="#008000">#include <axiom_soap_header_block.h><br></br></font>
+<font color="#008000">#include <axis2_op.h><br></br></font>
+<font color="#008000">#include <axis2_msg_ctx.h><br></br></font>
+<font color="#008000">#include <axis2_conf_ctx.h><br></br></font>
+<font color="#008000">#include <axis2_msg_info_headers.h><br></br></font>
+<font color="#008000">#include <axutil_property.h><br></br></font>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axutil_log_in_handler_invoke</font>(<font color="#000000"><b>struct</b></font> <font color="#000000">axis2_handler</font> *<font color="#000000">handler</font>, <br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br></br>
+ <font color="#000000"><b>struct</b></font> <font color="#000000">axis2_msg_ctx</font> *<font color="#000000">msg_ctx</font>);<br></br>
+<br></br>
+<font color="#000000">AXIS2_EXTERN</font> <font color="#000000">axis2_handler_t</font>* <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axutil_log_in_handler_create</font>(<font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>, <br></br>
+ <font color="#000000">axutil_string_t</font> *<font color="#000000">name</font>) <br></br>
+{<br></br>
+ <font color="#000000">axis2_handler_t</font> *<font color="#000000">handler</font> = <font color="#000000">NULL</font>;<br></br>
+ <br></br>
+ <font color="#000000">AXIS2_ENV_CHECK</font>(<font color="#000000">env</font>, <font color="#000000">NULL</font>);<br></br>
+ <br></br>
+ <font color="#000000">handler</font> = <font color="#000000">axis2_handler_create</font>(<font color="#000000">env</font>);<br></br>
+ <font color="#000000"><b>if</b></font> (!<font color="#000000">handler</font>)<br></br>
+ {<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">NULL</font>;<br></br>
+ }<br></br>
+ <br></br>
+ <font color="#000000">axis2_handler_set_invoke</font>(<font color="#000000">handler</font>, <font color="#000000">env</font>, <font color="#000000">axutil_log_in_handler_invoke</font>);<br></br>
+<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">handler</font>;<br></br>
+}<br></br>
+<br></br>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axutil_log_in_handler_invoke</font>(<font color="#000000"><b>struct</b></font> <font color="#000000">axis2_handler</font> *<font color="#000000">handler</font>, <br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br></br>
+ <font color="#000000"><b>struct</b></font> <font color="#000000">axis2_msg_ctx</font> *<font color="#000000">msg_ctx</font>)<br></br>
+{<br></br>
+ <font color="#000000">axiom_soap_envelope_t</font> *<font color="#000000">soap_envelope</font> = <font color="#000000">NULL</font>;<br></br>
+ <font color="#000000">axiom_node_t</font> *<font color="#000000">ret_node</font> = <font color="#000000">NULL</font>;<br></br>
+<br></br>
+ <font color="#000000">AXIS2_ENV_CHECK</font>( <font color="#000000">env</font>, <font color="#000000">AXIS2_FAILURE</font>);<br></br>
+ <font color="#000000">AXIS2_PARAM_CHECK</font>(<font color="#000000">env</font>-><font color="#000000">error</font>, <font color="#000000">msg_ctx</font>, <font color="#000000">AXIS2_FAILURE</font>);<br></br>
+ <br></br>
+ <font color="#000000">AXIS2_LOG_INFO</font>(<font color="#000000">env</font>-><font color="#000000">log</font>, <font color="#FF0000">"Starting logging in handler ........."</font>);<br></br>
+ <br></br>
+ <font color="#000000">soap_envelope</font> = <font color="#000000">axis2_msg_ctx_get_soap_envelope</font>(<font color="#000000">msg_ctx</font>, <font color="#000000">env</font>);<br></br>
+ <br></br>
+ <font color="#000000"><b>if</b></font> (<font color="#000000">soap_envelope</font>)<br></br>
+ {<br></br>
+ <font color="#808080"><i>/* ensure SOAP buider state is in sync */</i></font><br></br>
+ <font color="#000000">axiom_soap_envelope_get_body</font>(<font color="#000000">soap_envelope</font>, <font color="#000000">env</font>); <br></br>
+ <font color="#000000">ret_node</font> = <font color="#000000">axiom_soap_envelope_get_base_node</font>(<font color="#000000">soap_envelope</font>, <font color="#000000">env</font>);<br></br>
+<br></br>
+ <font color="#000000"><b>if</b></font>(<font color="#000000">ret_node</font>)<br></br>
+ {<br></br>
+ <font color="#000000">axis2_char_t</font> *<font color="#000000">om_str</font> = <font color="#000000">NULL</font>;<br></br>
+ <font color="#000000">om_str</font> = <font color="#000000">axiom_node_to_string</font>(<font color="#000000">ret_node</font>, <font color="#000000">env</font>);<br></br>
+ <font color="#000000"><b>if</b></font>(<font color="#000000">om_str</font>)<br></br>
+ {<br></br>
+ <font color="#000000">AXIS2_LOG_INFO</font>(<font color="#000000">env</font>-><font color="#000000">log</font>, <font color="#FF0000">"Input message: %s"</font>, <font color="#000000">om_str</font>);<br></br>
+ }<br></br>
+ }<br></br>
+ }<br></br>
+ <br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>;<br></br>
+}<br></br>
+<br></br>
+<br></br>
+ </font></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005-2008, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Modified: webservices/axis2/trunk/c/xdocs/docs/mod_log/log_out_handler.c.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/docs/mod_log/log_out_handler.c.html?rev=611719&r1=611718&r2=611719&view=diff
==============================================================================
--- webservices/axis2/trunk/c/xdocs/docs/mod_log/log_out_handler.c.html (original)
+++ webservices/axis2/trunk/c/xdocs/docs/mod_log/log_out_handler.c.html Sun Jan 13 22:00:36 2008
@@ -1,102 +1,95 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <title>modules/mod_log/log_out_handler.c</title>
- <meta name="generator" content="c2html 1.2.0" >
- <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" >
- <meta http-equiv="Content-Script-Type" content="text/javascript" >
- <meta http-equiv="Content-Style-Type" content="text/css" >
- </head>
- <body text="#000000">
- <font face="Monospace">
-<font color="#808080"><i>/*<br>
- * Licensed to the Apache Software Foundation (ASF) under one or more<br>
- * contributor license agreements. See the NOTICE file distributed with<br>
- * this work for additional information regarding copyright ownership.<br>
- * The ASF licenses this file to You under the Apache License, Version 2.0<br>
- * (the "License"); you may not use this file except in compliance with<br>
- * the License. You may obtain a copy of the License at<br>
- *<br>
- * http://www.apache.org/licenses/LICENSE-2.0<br>
- *<br>
- * Unless required by applicable law or agreed to in writing, software<br>
- * distributed under the License is distributed on an "AS IS" BASIS,<br>
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br>
- * See the License for the specific language governing permissions and<br>
- * limitations under the License.<br>
- */</i></font><br>
-<br>
-<font color="#008000">#include <axis2_handler_desc.h><br></font>
-<font color="#008000">#include <axutil_array_list.h><br></font>
-<font color="#008000">#include <axiom_soap_const.h><br></font>
-<font color="#008000">#include <axiom_soap_envelope.h><br></font>
-<font color="#008000">#include <axiom_soap_header.h><br></font>
-<font color="#008000">#include <axiom_soap_header_block.h><br></font>
-<font color="#008000">#include <axis2_op.h><br></font>
-<font color="#008000">#include <axis2_msg_ctx.h><br></font>
-<font color="#008000">#include <axis2_conf_ctx.h><br></font>
-<font color="#008000">#include <axis2_msg_info_headers.h><br></font>
-<font color="#008000">#include <axutil_property.h><br></font>
-<br>
-<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br>
-<font color="#000000">axutil_log_out_handler_invoke</font>(<font color="#000000"><b>struct</b></font> <font color="#000000">axis2_handler</font> *<font color="#000000">handler</font>, <br>
- <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br>
- <font color="#000000"><b>struct</b></font> <font color="#000000">axis2_msg_ctx</font> *<font color="#000000">msg_ctx</font>);<br>
-<br>
-<font color="#000000">AXIS2_EXTERN</font> <font color="#000000">axis2_handler_t</font>* <font color="#000000">AXIS2_CALL</font><br>
-<font color="#000000">axutil_log_out_handler_create</font>(<font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>, <br>
- <font color="#000000">axutil_string_t</font> *<font color="#000000">name</font>) <br>
-{<br>
- <font color="#000000">axis2_handler_t</font> *<font color="#000000">handler</font> = <font color="#000000">NULL</font>;<br>
- <br>
- <font color="#000000">AXIS2_ENV_CHECK</font>(<font color="#000000">env</font>, <font color="#000000">NULL</font>);<br>
- <br>
- <font color="#000000">handler</font> = <font color="#000000">axis2_handler_create</font>(<font color="#000000">env</font>);<br>
- <font color="#000000"><b>if</b></font> (!<font color="#000000">handler</font>)<br>
- {<br>
- <font color="#000000"><b>return</b></font> <font color="#000000">NULL</font>;<br>
- }<br>
- <br>
- <font color="#000000">axis2_handler_set_invoke</font>(<font color="#000000">handler</font>, <font color="#000000">env</font>, <font color="#000000">axutil_log_out_handler_invoke</font>);<br>
-<br>
- <font color="#000000"><b>return</b></font> <font color="#000000">handler</font>;<br>
-}<br>
-<br>
-<br>
-<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br>
-<font color="#000000">axutil_log_out_handler_invoke</font>(<font color="#000000"><b>struct</b></font> <font color="#000000">axis2_handler</font> *<font color="#000000">handler</font>, <br>
- <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br>
- <font color="#000000"><b>struct</b></font> <font color="#000000">axis2_msg_ctx</font> *<font color="#000000">msg_ctx</font>)<br>
-{<br>
- <font color="#000000">axiom_soap_envelope_t</font> *<font color="#000000">soap_envelope</font> = <font color="#000000">NULL</font>;<br>
- <font color="#000000">axiom_node_t</font> *<font color="#000000">ret_node</font> = <font color="#000000">NULL</font>;<br>
-<br>
- <font color="#000000">AXIS2_ENV_CHECK</font>( <font color="#000000">env</font>, <font color="#000000">AXIS2_FAILURE</font>);<br>
- <font color="#000000">AXIS2_PARAM_CHECK</font>(<font color="#000000">env</font>-><font color="#000000">error</font>, <font color="#000000">msg_ctx</font>, <font color="#000000">AXIS2_FAILURE</font>);<br>
- <br>
- <font color="#000000">AXIS2_LOG_INFO</font>(<font color="#000000">env</font>-><font color="#000000">log</font>, <font color="#FF0000">"Starting logging out handler ........."</font>);<br>
- <br>
- <font color="#000000">soap_envelope</font> = <font color="#000000">axis2_msg_ctx_get_soap_envelope</font>(<font color="#000000">msg_ctx</font>, <font color="#000000">env</font>);<br>
- <br>
- <font color="#000000"><b>if</b></font> (<font color="#000000">soap_envelope</font>)<br>
- {<br>
- <font color="#000000">ret_node</font> = <font color="#000000">axiom_soap_envelope_get_base_node</font>(<font color="#000000">soap_envelope</font>, <font color="#000000">env</font>);<br>
-<br>
- <font color="#000000"><b>if</b></font>(<font color="#000000">ret_node</font>)<br>
- {<br>
- <font color="#000000">axis2_char_t</font> *<font color="#000000">om_str</font> = <font color="#000000">NULL</font>;<br>
- <font color="#000000">om_str</font> = <font color="#000000">axiom_node_to_string</font>(<font color="#000000">ret_node</font>, <font color="#000000">env</font>);<br>
- <font color="#000000"><b>if</b></font>(<font color="#000000">om_str</font>)<br>
- {<br>
- <font color="#000000">AXIS2_LOG_INFO</font>(<font color="#000000">env</font>-><font color="#000000">log</font>, <font color="#FF0000">"Output message: %s"</font>, <font color="#000000">om_str</font>);<br>
- }<br>
- }<br>
- }<br>
- <br>
- <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>;<br>
-}<br>
-<br>
-<br>
- </font>
- </body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Apache Axis2/C - modules/mod_log/log_out_handler.c</title><style type="text/css" media="all">
+ @import url("../../style/maven-base.css");
+
+ @import url("../../style/maven-classic.css");</style><link rel="stylesheet" href="../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://www.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/axis2/c" id="projectLogo"><img alt="Apache Axis2/C" src="http://ws.apache.org/axis2/images/axis.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 09 January 2008
+ | Doc for 1.2.0</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuApache_Axis2_C"><h5>Apache Axis2/C</h5><ul><li class="none"><a href="../../index.html">Apache Axis2/C Home</a></li><li class="expanded"><a href="../../download.cgi">Download Axis2/C</a><ul><li class="none"><a href="../../download.cgi">Releases</a></li></ul></li><li class="expanded"><a href="../../docs/index.html">Documentation</a><ul><li class="none"><a href="../../docs/installationguide.html">Installation Guide</a></li><li class="none"><a href="../../docs/axis2c_manual.html">Axis2/C manual</a></li></ul></li><li class="expanded"><a href="../../lists_issues.html">Get Involved</a><ul><li class="none"><a href="../../lists_issues.html">Mailing Lists & Issue Tracking</a></li><li class="none"><a href="../../svn.html">Checkout Source Code</a></li></ul></li><li class="expanded"><a href="../../coding_conventions.html">Devel
oper Guidelines</a><ul><li class="none"><a href="../../coding_conventions.html">Coding Convention</a></li><li class="none"><a href="../../versioning.html">Versionning</a></li></ul></li><li class="expanded"><a href="../../team-list.html">Project Information</a><ul><li class="none"><a href="../../team-list.html">Project Team</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/c/" class="externalLink" title="External Link">Source Code</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../../images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><font face="Monospace">
+<font color="#808080"><i>/*<br></br>
+ * Licensed to the Apache Software Foundation (ASF) under one or more<br></br>
+ * contributor license agreements. See the NOTICE file distributed with<br></br>
+ * this work for additional information regarding copyright ownership.<br></br>
+ * The ASF licenses this file to You under the Apache License, Version 2.0<br></br>
+ * (the "License"); you may not use this file except in compliance with<br></br>
+ * the License. You may obtain a copy of the License at<br></br>
+ *<br></br>
+ * http://www.apache.org/licenses/LICENSE-2.0<br></br>
+ *<br></br>
+ * Unless required by applicable law or agreed to in writing, software<br></br>
+ * distributed under the License is distributed on an "AS IS" BASIS,<br></br>
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br></br>
+ * See the License for the specific language governing permissions and<br></br>
+ * limitations under the License.<br></br>
+ */</i></font><br></br>
+<br></br>
+<font color="#008000">#include <axis2_handler_desc.h><br></br></font>
+<font color="#008000">#include <axutil_array_list.h><br></br></font>
+<font color="#008000">#include <axiom_soap_const.h><br></br></font>
+<font color="#008000">#include <axiom_soap_envelope.h><br></br></font>
+<font color="#008000">#include <axiom_soap_header.h><br></br></font>
+<font color="#008000">#include <axiom_soap_header_block.h><br></br></font>
+<font color="#008000">#include <axis2_op.h><br></br></font>
+<font color="#008000">#include <axis2_msg_ctx.h><br></br></font>
+<font color="#008000">#include <axis2_conf_ctx.h><br></br></font>
+<font color="#008000">#include <axis2_msg_info_headers.h><br></br></font>
+<font color="#008000">#include <axutil_property.h><br></br></font>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axutil_log_out_handler_invoke</font>(<font color="#000000"><b>struct</b></font> <font color="#000000">axis2_handler</font> *<font color="#000000">handler</font>, <br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br></br>
+ <font color="#000000"><b>struct</b></font> <font color="#000000">axis2_msg_ctx</font> *<font color="#000000">msg_ctx</font>);<br></br>
+<br></br>
+<font color="#000000">AXIS2_EXTERN</font> <font color="#000000">axis2_handler_t</font>* <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axutil_log_out_handler_create</font>(<font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>, <br></br>
+ <font color="#000000">axutil_string_t</font> *<font color="#000000">name</font>) <br></br>
+{<br></br>
+ <font color="#000000">axis2_handler_t</font> *<font color="#000000">handler</font> = <font color="#000000">NULL</font>;<br></br>
+ <br></br>
+ <font color="#000000">AXIS2_ENV_CHECK</font>(<font color="#000000">env</font>, <font color="#000000">NULL</font>);<br></br>
+ <br></br>
+ <font color="#000000">handler</font> = <font color="#000000">axis2_handler_create</font>(<font color="#000000">env</font>);<br></br>
+ <font color="#000000"><b>if</b></font> (!<font color="#000000">handler</font>)<br></br>
+ {<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">NULL</font>;<br></br>
+ }<br></br>
+ <br></br>
+ <font color="#000000">axis2_handler_set_invoke</font>(<font color="#000000">handler</font>, <font color="#000000">env</font>, <font color="#000000">axutil_log_out_handler_invoke</font>);<br></br>
+<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">handler</font>;<br></br>
+}<br></br>
+<br></br>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axutil_log_out_handler_invoke</font>(<font color="#000000"><b>struct</b></font> <font color="#000000">axis2_handler</font> *<font color="#000000">handler</font>, <br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br></br>
+ <font color="#000000"><b>struct</b></font> <font color="#000000">axis2_msg_ctx</font> *<font color="#000000">msg_ctx</font>)<br></br>
+{<br></br>
+ <font color="#000000">axiom_soap_envelope_t</font> *<font color="#000000">soap_envelope</font> = <font color="#000000">NULL</font>;<br></br>
+ <font color="#000000">axiom_node_t</font> *<font color="#000000">ret_node</font> = <font color="#000000">NULL</font>;<br></br>
+<br></br>
+ <font color="#000000">AXIS2_ENV_CHECK</font>( <font color="#000000">env</font>, <font color="#000000">AXIS2_FAILURE</font>);<br></br>
+ <font color="#000000">AXIS2_PARAM_CHECK</font>(<font color="#000000">env</font>-><font color="#000000">error</font>, <font color="#000000">msg_ctx</font>, <font color="#000000">AXIS2_FAILURE</font>);<br></br>
+ <br></br>
+ <font color="#000000">AXIS2_LOG_INFO</font>(<font color="#000000">env</font>-><font color="#000000">log</font>, <font color="#FF0000">"Starting logging out handler ........."</font>);<br></br>
+ <br></br>
+ <font color="#000000">soap_envelope</font> = <font color="#000000">axis2_msg_ctx_get_soap_envelope</font>(<font color="#000000">msg_ctx</font>, <font color="#000000">env</font>);<br></br>
+ <br></br>
+ <font color="#000000"><b>if</b></font> (<font color="#000000">soap_envelope</font>)<br></br>
+ {<br></br>
+ <font color="#000000">ret_node</font> = <font color="#000000">axiom_soap_envelope_get_base_node</font>(<font color="#000000">soap_envelope</font>, <font color="#000000">env</font>);<br></br>
+<br></br>
+ <font color="#000000"><b>if</b></font>(<font color="#000000">ret_node</font>)<br></br>
+ {<br></br>
+ <font color="#000000">axis2_char_t</font> *<font color="#000000">om_str</font> = <font color="#000000">NULL</font>;<br></br>
+ <font color="#000000">om_str</font> = <font color="#000000">axiom_node_to_string</font>(<font color="#000000">ret_node</font>, <font color="#000000">env</font>);<br></br>
+ <font color="#000000"><b>if</b></font>(<font color="#000000">om_str</font>)<br></br>
+ {<br></br>
+ <font color="#000000">AXIS2_LOG_INFO</font>(<font color="#000000">env</font>-><font color="#000000">log</font>, <font color="#FF0000">"Output message: %s"</font>, <font color="#000000">om_str</font>);<br></br>
+ }<br></br>
+ }<br></br>
+ }<br></br>
+ <br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>;<br></br>
+}<br></br>
+<br></br>
+<br></br>
+ </font></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005-2008, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Modified: webservices/axis2/trunk/c/xdocs/docs/mod_log/mod_log.c.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/docs/mod_log/mod_log.c.html?rev=611719&r1=611718&r2=611719&view=diff
==============================================================================
--- webservices/axis2/trunk/c/xdocs/docs/mod_log/mod_log.c.html (original)
+++ webservices/axis2/trunk/c/xdocs/docs/mod_log/mod_log.c.html Sun Jan 13 22:00:36 2008
@@ -1,155 +1,148 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <title>modules/mod_log/mod_log.c</title>
- <meta name="generator" content="c2html 1.2.0" >
- <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" >
- <meta http-equiv="Content-Script-Type" content="text/javascript" >
- <meta http-equiv="Content-Style-Type" content="text/css" >
- </head>
- <body text="#000000">
- <font face="Monospace">
-<font color="#808080"><i>/*<br>
- * Licensed to the Apache Software Foundation (ASF) under one or more<br>
- * contributor license agreements. See the NOTICE file distributed with<br>
- * this work for additional information regarding copyright ownership.<br>
- * The ASF licenses this file to You under the Apache License, Version 2.0<br>
- * (the "License"); you may not use this file except in compliance with<br>
- * the License. You may obtain a copy of the License at<br>
- *<br>
- * http://www.apache.org/licenses/LICENSE-2.0<br>
- *<br>
- * Unless required by applicable law or agreed to in writing, software<br>
- * distributed under the License is distributed on an "AS IS" BASIS,<br>
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br>
- * See the License for the specific language governing permissions and<br>
- * limitations under the License.<br>
- */</i></font><br>
-<font color="#008000">#include <axis2_module.h><br></font>
-<font color="#008000">#include <axis2_conf_ctx.h><br></font>
-<br>
-<font color="#008000">#include "mod_log.h"<br></font>
-<br>
-<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br>
-<font color="#000000">axis2_mod_log_shutdown</font>(<font color="#000000">axis2_module_t</font> *<font color="#000000">module</font>,<br>
- <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>);<br>
-<br>
-<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br>
-<font color="#000000">axis2_mod_log_init</font>(<br>
- <font color="#000000">axis2_module_t</font> *<font color="#000000">module</font>,<br>
- <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br>
- <font color="#000000">axis2_conf_ctx_t</font> *<font color="#000000">conf_ctx</font>,<br>
- <font color="#000000">axis2_module_desc_t</font> *<font color="#000000">module_desc</font>);<br>
-<br>
-<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br>
-<font color="#000000">axis2_mod_log_fill_handler_create_func_map</font>(<font color="#000000">axis2_module_t</font> *<font color="#000000">module</font>,<br>
- <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>);<br>
-<br>
-<font color="#808080"><i>/**<br>
- * Module operations struct variable with functions assigned to members<br>
- */</i></font><br>
-<font color="#800000">static</font> <font color="#800000">const</font> <font color="#000000">axis2_module_ops_t</font> <font color="#000000">log_module_ops_var</font> = {<br>
- <font color="#000000">axis2_mod_log_init</font>,<br>
- <font color="#000000">axis2_mod_log_shutdown</font>,<br>
- <font color="#000000">axis2_mod_log_fill_handler_create_func_map</font><br>
-};<br>
-<br>
-<font color="#000000">axis2_module_t</font> *<br>
-<font color="#000000">axis2_mod_log_create</font>(<font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>)<br>
-{<br>
- <font color="#000000">axis2_module_t</font> *<font color="#000000">module</font> = <font color="#000000">NULL</font>;<br>
- <font color="#000000">module</font> = <font color="#000000">AXIS2_MALLOC</font>(<font color="#000000">env</font>-><font color="#000000">allocator</font>, <br>
- <font color="#000000"><b>sizeof</b></font>(<font color="#000000">axis2_module_t</font>));<br>
-<br>
- <font color="#808080"><i>/* initialize operations */</i></font><br>
- <font color="#000000">module</font>-><font color="#000000">ops</font> = &<font color="#000000">log_module_ops_var</font>;<br>
-<br>
- <font color="#000000"><b>return</b></font> <font color="#000000">module</font>;<br>
-}<br>
-<br>
-<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br>
-<font color="#000000">axis2_mod_log_init</font>(<br>
- <font color="#000000">axis2_module_t</font> *<font color="#000000">module</font>,<br>
- <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br>
- <font color="#000000">axis2_conf_ctx_t</font> *<font color="#000000">conf_ctx</font>,<br>
- <font color="#000000">axis2_module_desc_t</font> *<font color="#000000">module_desc</font>)<br>
-{<br>
- <font color="#808080"><i>/* Any initialization stuff related to this module can be here */</i></font><br>
- <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>;<br>
-}<br>
-<br>
-<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br>
-<font color="#000000">axis2_mod_log_shutdown</font>(<font color="#000000">axis2_module_t</font> *<font color="#000000">module</font>,<br>
- <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>)<br>
-{<br>
- <font color="#000000"><b>if</b></font>(<font color="#000000">module</font>-><font color="#000000">handler_create_func_map</font>)<br>
- {<br>
- <font color="#000000">axutil_hash_free</font>(<font color="#000000">module</font>-><font color="#000000">handler_create_func_map</font>, <font color="#000000">env</font>);<br>
- }<br>
- <br>
- <font color="#000000"><b>if</b></font>(<font color="#000000">module</font>)<br>
- {<br>
- <font color="#000000">AXIS2_FREE</font>(<font color="#000000">env</font>-><font color="#000000">allocator</font>, <font color="#000000">module</font>);<br>
- }<br>
- <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>; <br>
-}<br>
-<br>
-<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br>
-<font color="#000000">axis2_mod_log_fill_handler_create_func_map</font>(<font color="#000000">axis2_module_t</font> *<font color="#000000">module</font>,<br>
- <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>)<br>
-{<br>
- <font color="#000000">AXIS2_ENV_CHECK</font>(<font color="#000000">env</font>, <font color="#000000">AXIS2_FAILURE</font>);<br>
- <br>
- <font color="#000000">module</font>-><font color="#000000">handler_create_func_map</font> = <font color="#000000">axutil_hash_make</font>(<font color="#000000">env</font>);<br>
- <font color="#000000"><b>if</b></font>(!<font color="#000000">module</font>-><font color="#000000">handler_create_func_map</font>)<br>
- {<br>
- <font color="#000000">AXIS2_ERROR_SET</font>(<font color="#000000">env</font>-><font color="#000000">error</font>, <font color="#000000">AXIS2_ERROR_NO_MEMORY</font>, <br>
- <font color="#000000">AXIS2_FAILURE</font>);<br>
- <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_FAILURE</font>;<br>
- }<br>
-<br>
- <font color="#808080"><i>/* add in handler */</i></font><br>
- <font color="#000000">axutil_hash_set</font>(<font color="#000000">module</font>-><font color="#000000">handler_create_func_map</font>, <font color="#FF0000">"LoggingInHandler"</font>, <br>
- <font color="#000000">AXIS2_HASH_KEY_STRING</font>, <font color="#000000">axutil_log_in_handler_create</font>);<br>
-<br>
- <font color="#808080"><i>/* add out handler */</i></font><br>
- <font color="#000000">axutil_hash_set</font>(<font color="#000000">module</font>-><font color="#000000">handler_create_func_map</font>, <font color="#FF0000">"LoggingOutHandler"</font>, <br>
- <font color="#000000">AXIS2_HASH_KEY_STRING</font>, <font color="#000000">axutil_log_out_handler_create</font>);<br>
- <br>
- <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>;<br>
-}<br>
-<br>
-<font color="#808080"><i>/**<br>
- * Following functions are expected to be there in the module lib <br>
- * that helps to create and remove module instances <br>
- */</i></font><br>
-<br>
-<font color="#000000">AXIS2_EXPORT</font> <font color="#800000">int</font> <br>
-<font color="#000000">axis2_get_instance</font>(<font color="#000000">axis2_module_t</font> **<font color="#000000">inst</font>,<br>
- <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>)<br>
-{<br>
- *<font color="#000000">inst</font> = <font color="#000000">axis2_mod_log_create</font>(<font color="#000000">env</font>);<br>
- <font color="#000000"><b>if</b></font>(!(*<font color="#000000">inst</font>))<br>
- {<br>
- <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_FAILURE</font>;<br>
- }<br>
-<br>
- <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>;<br>
-}<br>
-<br>
-<font color="#000000">AXIS2_EXPORT</font> <font color="#800000">int</font> <br>
-<font color="#000000">axis2_remove_instance</font>(<font color="#000000">axis2_module_t</font> *<font color="#000000">inst</font>,<br>
- <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>)<br>
-{<br>
- <font color="#000000">axis2_status_t</font> <font color="#000000">status</font> = <font color="#000000">AXIS2_FAILURE</font>;<br>
- <font color="#000000"><b>if</b></font> (<font color="#000000">inst</font>)<br>
- {<br>
- <font color="#000000">status</font> = <font color="#000000">axis2_mod_log_shutdown</font>(<font color="#000000">inst</font>, <font color="#000000">env</font>);<br>
- }<br>
- <font color="#000000"><b>return</b></font> <font color="#000000">status</font>;<br>
-}<br>
-<br>
-<br>
- </font>
- </body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Apache Axis2/C - modules/mod_log/mod_log.c</title><style type="text/css" media="all">
+ @import url("../../style/maven-base.css");
+
+ @import url("../../style/maven-classic.css");</style><link rel="stylesheet" href="../../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://www.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/axis2/c" id="projectLogo"><img alt="Apache Axis2/C" src="http://ws.apache.org/axis2/images/axis.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 09 January 2008
+ | Doc for 1.2.0</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuApache_Axis2_C"><h5>Apache Axis2/C</h5><ul><li class="none"><a href="../../index.html">Apache Axis2/C Home</a></li><li class="expanded"><a href="../../download.cgi">Download Axis2/C</a><ul><li class="none"><a href="../../download.cgi">Releases</a></li></ul></li><li class="expanded"><a href="../../docs/index.html">Documentation</a><ul><li class="none"><a href="../../docs/installationguide.html">Installation Guide</a></li><li class="none"><a href="../../docs/axis2c_manual.html">Axis2/C manual</a></li></ul></li><li class="expanded"><a href="../../lists_issues.html">Get Involved</a><ul><li class="none"><a href="../../lists_issues.html">Mailing Lists & Issue Tracking</a></li><li class="none"><a href="../../svn.html">Checkout Source Code</a></li></ul></li><li class="expanded"><a href="../../coding_conventions.html">Devel
oper Guidelines</a><ul><li class="none"><a href="../../coding_conventions.html">Coding Convention</a></li><li class="none"><a href="../../versioning.html">Versionning</a></li></ul></li><li class="expanded"><a href="../../team-list.html">Project Information</a><ul><li class="none"><a href="../../team-list.html">Project Team</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/c/" class="externalLink" title="External Link">Source Code</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="../../images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><font face="Monospace">
+<font color="#808080"><i>/*<br></br>
+ * Licensed to the Apache Software Foundation (ASF) under one or more<br></br>
+ * contributor license agreements. See the NOTICE file distributed with<br></br>
+ * this work for additional information regarding copyright ownership.<br></br>
+ * The ASF licenses this file to You under the Apache License, Version 2.0<br></br>
+ * (the "License"); you may not use this file except in compliance with<br></br>
+ * the License. You may obtain a copy of the License at<br></br>
+ *<br></br>
+ * http://www.apache.org/licenses/LICENSE-2.0<br></br>
+ *<br></br>
+ * Unless required by applicable law or agreed to in writing, software<br></br>
+ * distributed under the License is distributed on an "AS IS" BASIS,<br></br>
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br></br>
+ * See the License for the specific language governing permissions and<br></br>
+ * limitations under the License.<br></br>
+ */</i></font><br></br>
+<font color="#008000">#include <axis2_module.h><br></br></font>
+<font color="#008000">#include <axis2_conf_ctx.h><br></br></font>
+<br></br>
+<font color="#008000">#include "mod_log.h"<br></br></font>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axis2_mod_log_shutdown</font>(<font color="#000000">axis2_module_t</font> *<font color="#000000">module</font>,<br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>);<br></br>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axis2_mod_log_init</font>(<br></br>
+ <font color="#000000">axis2_module_t</font> *<font color="#000000">module</font>,<br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br></br>
+ <font color="#000000">axis2_conf_ctx_t</font> *<font color="#000000">conf_ctx</font>,<br></br>
+ <font color="#000000">axis2_module_desc_t</font> *<font color="#000000">module_desc</font>);<br></br>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axis2_mod_log_fill_handler_create_func_map</font>(<font color="#000000">axis2_module_t</font> *<font color="#000000">module</font>,<br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>);<br></br>
+<br></br>
+<font color="#808080"><i>/**<br></br>
+ * Module operations struct variable with functions assigned to members<br></br>
+ */</i></font><br></br>
+<font color="#800000">static</font> <font color="#800000">const</font> <font color="#000000">axis2_module_ops_t</font> <font color="#000000">log_module_ops_var</font> = {<br></br>
+ <font color="#000000">axis2_mod_log_init</font>,<br></br>
+ <font color="#000000">axis2_mod_log_shutdown</font>,<br></br>
+ <font color="#000000">axis2_mod_log_fill_handler_create_func_map</font><br></br>
+};<br></br>
+<br></br>
+<font color="#000000">axis2_module_t</font> *<br></br>
+<font color="#000000">axis2_mod_log_create</font>(<font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>)<br></br>
+{<br></br>
+ <font color="#000000">axis2_module_t</font> *<font color="#000000">module</font> = <font color="#000000">NULL</font>;<br></br>
+ <font color="#000000">module</font> = <font color="#000000">AXIS2_MALLOC</font>(<font color="#000000">env</font>-><font color="#000000">allocator</font>, <br></br>
+ <font color="#000000"><b>sizeof</b></font>(<font color="#000000">axis2_module_t</font>));<br></br>
+<br></br>
+ <font color="#808080"><i>/* initialize operations */</i></font><br></br>
+ <font color="#000000">module</font>-><font color="#000000">ops</font> = &<font color="#000000">log_module_ops_var</font>;<br></br>
+<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">module</font>;<br></br>
+}<br></br>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axis2_mod_log_init</font>(<br></br>
+ <font color="#000000">axis2_module_t</font> *<font color="#000000">module</font>,<br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>,<br></br>
+ <font color="#000000">axis2_conf_ctx_t</font> *<font color="#000000">conf_ctx</font>,<br></br>
+ <font color="#000000">axis2_module_desc_t</font> *<font color="#000000">module_desc</font>)<br></br>
+{<br></br>
+ <font color="#808080"><i>/* Any initialization stuff related to this module can be here */</i></font><br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>;<br></br>
+}<br></br>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axis2_mod_log_shutdown</font>(<font color="#000000">axis2_module_t</font> *<font color="#000000">module</font>,<br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>)<br></br>
+{<br></br>
+ <font color="#000000"><b>if</b></font>(<font color="#000000">module</font>-><font color="#000000">handler_create_func_map</font>)<br></br>
+ {<br></br>
+ <font color="#000000">axutil_hash_free</font>(<font color="#000000">module</font>-><font color="#000000">handler_create_func_map</font>, <font color="#000000">env</font>);<br></br>
+ }<br></br>
+ <br></br>
+ <font color="#000000"><b>if</b></font>(<font color="#000000">module</font>)<br></br>
+ {<br></br>
+ <font color="#000000">AXIS2_FREE</font>(<font color="#000000">env</font>-><font color="#000000">allocator</font>, <font color="#000000">module</font>);<br></br>
+ }<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>; <br></br>
+}<br></br>
+<br></br>
+<font color="#000000">axis2_status_t</font> <font color="#000000">AXIS2_CALL</font><br></br>
+<font color="#000000">axis2_mod_log_fill_handler_create_func_map</font>(<font color="#000000">axis2_module_t</font> *<font color="#000000">module</font>,<br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>)<br></br>
+{<br></br>
+ <font color="#000000">AXIS2_ENV_CHECK</font>(<font color="#000000">env</font>, <font color="#000000">AXIS2_FAILURE</font>);<br></br>
+ <br></br>
+ <font color="#000000">module</font>-><font color="#000000">handler_create_func_map</font> = <font color="#000000">axutil_hash_make</font>(<font color="#000000">env</font>);<br></br>
+ <font color="#000000"><b>if</b></font>(!<font color="#000000">module</font>-><font color="#000000">handler_create_func_map</font>)<br></br>
+ {<br></br>
+ <font color="#000000">AXIS2_ERROR_SET</font>(<font color="#000000">env</font>-><font color="#000000">error</font>, <font color="#000000">AXIS2_ERROR_NO_MEMORY</font>, <br></br>
+ <font color="#000000">AXIS2_FAILURE</font>);<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_FAILURE</font>;<br></br>
+ }<br></br>
+<br></br>
+ <font color="#808080"><i>/* add in handler */</i></font><br></br>
+ <font color="#000000">axutil_hash_set</font>(<font color="#000000">module</font>-><font color="#000000">handler_create_func_map</font>, <font color="#FF0000">"LoggingInHandler"</font>, <br></br>
+ <font color="#000000">AXIS2_HASH_KEY_STRING</font>, <font color="#000000">axutil_log_in_handler_create</font>);<br></br>
+<br></br>
+ <font color="#808080"><i>/* add out handler */</i></font><br></br>
+ <font color="#000000">axutil_hash_set</font>(<font color="#000000">module</font>-><font color="#000000">handler_create_func_map</font>, <font color="#FF0000">"LoggingOutHandler"</font>, <br></br>
+ <font color="#000000">AXIS2_HASH_KEY_STRING</font>, <font color="#000000">axutil_log_out_handler_create</font>);<br></br>
+ <br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>;<br></br>
+}<br></br>
+<br></br>
+<font color="#808080"><i>/**<br></br>
+ * Following functions are expected to be there in the module lib <br></br>
+ * that helps to create and remove module instances <br></br>
+ */</i></font><br></br>
+<br></br>
+<font color="#000000">AXIS2_EXPORT</font> <font color="#800000">int</font> <br></br>
+<font color="#000000">axis2_get_instance</font>(<font color="#000000">axis2_module_t</font> **<font color="#000000">inst</font>,<br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>)<br></br>
+{<br></br>
+ *<font color="#000000">inst</font> = <font color="#000000">axis2_mod_log_create</font>(<font color="#000000">env</font>);<br></br>
+ <font color="#000000"><b>if</b></font>(!(*<font color="#000000">inst</font>))<br></br>
+ {<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_FAILURE</font>;<br></br>
+ }<br></br>
+<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">AXIS2_SUCCESS</font>;<br></br>
+}<br></br>
+<br></br>
+<font color="#000000">AXIS2_EXPORT</font> <font color="#800000">int</font> <br></br>
+<font color="#000000">axis2_remove_instance</font>(<font color="#000000">axis2_module_t</font> *<font color="#000000">inst</font>,<br></br>
+ <font color="#800000">const</font> <font color="#000000">axutil_env_t</font> *<font color="#000000">env</font>)<br></br>
+{<br></br>
+ <font color="#000000">axis2_status_t</font> <font color="#000000">status</font> = <font color="#000000">AXIS2_FAILURE</font>;<br></br>
+ <font color="#000000"><b>if</b></font> (<font color="#000000">inst</font>)<br></br>
+ {<br></br>
+ <font color="#000000">status</font> = <font color="#000000">axis2_mod_log_shutdown</font>(<font color="#000000">inst</font>, <font color="#000000">env</font>);<br></br>
+ }<br></br>
+ <font color="#000000"><b>return</b></font> <font color="#000000">status</font>;<br></br>
+}<br></br>
+<br></br>
+<br></br>
+ </font></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005-2008, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org