axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r292157 - /webservices/axis2/trunk/c/xdocs/developer_guide.html
Date Wed, 28 Sep 2005 10:22:10 GMT
Author: samisa
Date: Wed Sep 28 03:22:04 2005
New Revision: 292157

URL: http://svn.apache.org/viewcvs?rev=292157&view=rev
Log:
Added more style guidelines

Modified:
    webservices/axis2/trunk/c/xdocs/developer_guide.html

Modified: webservices/axis2/trunk/c/xdocs/developer_guide.html
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/xdocs/developer_guide.html?rev=292157&r1=292156&r2=292157&view=diff
==============================================================================
--- webservices/axis2/trunk/c/xdocs/developer_guide.html (original)
+++ webservices/axis2/trunk/c/xdocs/developer_guide.html Wed Sep 28 03:22:04 2005
@@ -1,17 +1,21 @@
 Coding Convention
-Header file names should be prefixed with 'axis2c_'
-e.g. axis2c_om_element.h
+    Header file names should be prefixed with 'axis2c_'
+    e.g.axis2c_om_element.h
+    
+    Header macro definition should be the same as the header file name but in all uppercase.Use
_H in place of .h 
+    e.g.for axis2c_om_element.h AXIS2C_OM_ELEMENT_H 
+    
+    enum members should be prefixed with 'AXIS2C_' e.g.
+    AXIS2C_OM_DOCUMENT 
+    
+    struct names should be prefixed with 'axis2c' 
+    e.g. axis2c_node 
+    
+    Code formatting 
+    We can use the indent program with following options:
+    indent -nbad - bap - nbc - bbo - bl - bli0 - bls - ncdb - nce - cp1 - cs - di2 -ndj -
nfc1 - nfca - hnl - i4 - ip5 - lp - pcs - nprs - psl - saf - sai -saw - nsc - nsob - ts4 -
nut - nbfda
 
-Header macro definition should be the same as the header file name but in all uppercase.
Use _H in place of .h
-e.g. for axis2c_om_element.h AXIS2C_OM_ELEMENT_H
+    In addition the above, for those that are not defined above, we could use the following
guides in decreasing preference:
+        http://httpd.apache.org/dev/styleguide.html
+        http://www.gnu.org/prep/standards/standards.html
 
-enum members should be prefixed with 'AXIS2C_'
-e.g. AXIS2C_OM_DOCUMENT
-
-struct names should be prefixed with 'axis2c'
-e.g. axis2c_node
-
-Code formatting
-We use indent with following options:
-
-indent -nbad -bap -nbc -bbo -bl -bli0 -bls -ncdb -nce -cp1 -cs -di2 -ndj -nfc1 -nfca -hnl
-i4 -ip5 -lp -pcs -nprs -psl -saf -sai -saw -nsc -nsob -ts4 -nut -nbfda



Mime
View raw message