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 sa...@apache.org on 2007/04/30 06:59:52 UTC

svn commit: r533585 - in /webservices/axis2/trunk/c/xdocs: coding_conventions.html docs/axis2c_manual.html

Author: samisa
Date: Sun Apr 29 21:59:51 2007
New Revision: 533585

URL: http://svn.apache.org/viewvc?view=rev&rev=533585
Log:
Fixed some typos

Modified:
    webservices/axis2/trunk/c/xdocs/coding_conventions.html
    webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html

Modified: webservices/axis2/trunk/c/xdocs/coding_conventions.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/coding_conventions.html?view=diff&rev=533585&r1=533584&r2=533585
==============================================================================
--- webservices/axis2/trunk/c/xdocs/coding_conventions.html (original)
+++ webservices/axis2/trunk/c/xdocs/coding_conventions.html Sun Apr 29 21:59:51 2007
@@ -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)-&gt;ops-&gt;get_message(error))<br></pre>
+<pre>#define AXIS2_H
+#define AXIS2_ERROR_GET_MESSAGE(error) ((error)-&gt;ops-&gt;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 @@
   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 @@
 <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 @@
   It is preferable to include header files in the following fashion:</ul>
 <ul>
 </ul>
-<pre>&lt;standard header files&gt;<br>&lt;other system headers&gt;<br>"local header files"<br></pre>
+<pre>&lt;standard header files&gt;
+&lt;other system headers&gt;
+"local header files"</pre>
+
 </body>
 </html>

Modified: webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html?view=diff&rev=533585&r1=533584&r2=533585
==============================================================================
--- webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html (original)
+++ webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html Sun Apr 29 21:59:51 2007
@@ -1169,7 +1169,8 @@
     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>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org