This is an automated email from the ASF dual-hosted git repository. billblough pushed a commit to branch 1.0.x in repository https://gitbox.apache.org/repos/asf/axis-axis2-c-core.git
commit fc70581f6cb5223e24f12a4075297551a16fa16e Author: Don Samisa Abeysinghe <sam...@apache.org> AuthorDate: Mon Apr 30 04:58:19 2007 +0000 Fixed some typos --- xdocs/coding_conventions.html | 37 ++++++++++++++++++++++--------------- xdocs/docs/axis2c_manual.html | 3 ++- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/xdocs/coding_conventions.html b/xdocs/coding_conventions.html index d27fdfd..0e558be 100644 --- a/xdocs/coding_conventions.html +++ b/xdocs/coding_conventions.html @@ -47,7 +47,8 @@ <li>If it is a local variable or a member of a struct, there's no need to prefix it with <code>axis2_</code></li> e.g.</ul> -<pre>int count = 0;<br>char *prefix = NULL;<br></pre> +<pre>int count = 0; +char *prefix = NULL;</pre> <a name="1.2_Functions_"></a> <h3>1.2 Functions</h3> @@ -55,27 +56,34 @@ <li>Function names should always start with the prefix <code>axis2_</code> except for members of a struct.</li> e.g.</ul> -<pre>axis2_om_node_t * axis2_om_node_create(axis2_environment_t *environment);</pre> +<pre>axis2_engine_t * axis2_engine_create(axutil_env_t *environment);</pre> <a name="1.3_Structures_and_user_defined_data"></a> <h3>1.3 Structures and User Defined Data Types</h3> <ul> <li>Note the _t suffix in the type name.</li> e.g.</ul> -<pre>typedef struct axis2_om_namespace {<br> char *uri;<br> char *prefix;<br>} axis2_om_namespace_t;<br></pre> +<pre>typedef struct axis2_endpoint_ref { + axis2_char_t *address; +} axis2_endpoint_ref_t;</pre> <a name="1.4_Macros"></a> <h3>1.4 Macros</h3> <ul> <li>Macro names should be in all uppercase letters.</li> e.g.</ul> -<pre>#define AXIS2_H<br><br>#define AXIS2_ERROR_GET_MESSAGE(error) ((error)->ops->get_message(error))<br></pre> +<pre>#define AXIS2_H +#define AXIS2_ERROR_GET_MESSAGE(error) ((error)->ops->get_message(error)) +</pre> <a name="1.5_Enumerations"></a> <h3>1.5 Enumerations</h3> <ul> e.g.</ul> -<pre>typedef enum axis2_status_codes {<br> AXIS2_FAILURE = 0,<br> AXIS2_SUCCESS<br>} axis2_status_codes_t;<br></pre> +<pre>typedef enum axis2_status_codes { + AXIS2_FAILURE = 0, + AXIS2_SUCCESS +} axis2_status_codes_t;</pre> <a name="2_Indentation"></a> <h2>2. Indentation and Formatting</h2> @@ -119,18 +127,14 @@ options:</ul> formatting tool, but nevertheless should be followed. <ul> <li>Checking pointer validity: - <pre> if (foo) - </pre> + <pre> if (foo)</pre> and NOT - <pre> if (foo != NULL) - </pre> + <pre> if (foo != NULL)</pre> </li> <li>Checking equality: - <pre> if (foo == 7) - </pre> + <pre> if (foo == 7)</pre> and NOT - <pre> if (7 == foo) - </pre> + <pre> if (7 == foo)</pre> </li> </ul> </ul> @@ -147,7 +151,7 @@ options:</ul> <h2>4. Function Parameters and Return Value Conventions</h2> <ul> Each function should be passed a pointer to an instance of the - <code>axis2_environment_t</code> struct as the first parameter. If the + <code>axutil_env_t</code> struct as the first parameter. If the function is tightly bound to a struct, the second parameter is a pointer to an instance of that struct.</ul> <ul> @@ -167,6 +171,9 @@ options:</ul> It is preferable to include header files in the following fashion:</ul> <ul> </ul> -<pre><standard header files><br><other system headers><br>"local header files"<br></pre> +<pre><standard header files> +<other system headers> +"local header files"</pre> + </body> </html> diff --git a/xdocs/docs/axis2c_manual.html b/xdocs/docs/axis2c_manual.html index bfd7e6a..8a57d05 100644 --- a/xdocs/docs/axis2c_manual.html +++ b/xdocs/docs/axis2c_manual.html @@ -1169,7 +1169,8 @@ troubleshoot:</p> usually placed in the AXIS2C_INSTALL_DIR/logs folder.</li> </ul> -<h1><a name="IIS">12. Deploying with Microsoft IIS Server</a></h1> +<a name="IIS"></a> +<h1>12. Deploying with Microsoft IIS Server</h1> <p>Use the Axis2/C VC project or makefile to buid the component.</a></p>