From 0425aadc78680e53000fd0108b540d6eca048516 Mon Sep 17 00:00:00 2001 From: gmcdonald Date: Sat, 13 Feb 2010 01:32:03 +0000 Subject: Moving axis svn, part of TLP move INFRA-2441 git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@909681 13f79535-47bb-0310-9956-ffa450edef68 --- xdocs/coding_conventions.html | 130 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 xdocs/coding_conventions.html (limited to 'xdocs/coding_conventions.html') diff --git a/xdocs/coding_conventions.html b/xdocs/coding_conventions.html new file mode 100644 index 0000000..0015b1a --- /dev/null +++ b/xdocs/coding_conventions.html @@ -0,0 +1,130 @@ +Apache Axis2/C - Coding Conventions +

Axis2/C Coding Conventions

Contents

1. Naming Conventions

1.1 Variables

+
int count = 0;
+char *prefix = NULL;
+
+

1.2 Functions

+
axis2_engine_t * axis2_engine_create(axutil_env_t *environment);
+
+

1.3 Structures and User Defined Data Types

+
typedef struct axis2_endpoint_ref {
+    axis2_char_t *address;
+} axis2_endpoint_ref_t;
+
+

1.4 Macros

+
#define AXIS2_H
+#define AXIS2_ERROR_GET_MESSAGE(error) ((error)->ops->get_message(error))
+
+
+

1.5 Enumerations

+
typedef enum axis2_status_codes {  
+    AXIS2_FAILURE = 0,
+    AXIS2_SUCCESS
+} axis2_status_codes_t;
+
+

2. Indentation and Formatting

3. Comments

4. Function Parameters and Return Value Conventions

5. Include Directives

+
<standard header files>
+<other system headers>
+"local header files"
+
+
+
+
+

-- cgit v1.1-32-gdbae