axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r514539 [4/8] - in /webservices/axis2/trunk/c: include/ modules/core/deployment/ modules/core/description/ modules/core/engine/ modules/core/transport/http/receiver/ modules/core/transport/http/sender/
Date Mon, 05 Mar 2007 04:11:57 GMT
Modified: webservices/axis2/trunk/c/include/axis2_svc_grp.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_svc_grp.h?view=diff&rev=514539&r1=514538&r2=514539
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc_grp.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc_grp.h Sun Mar  4 20:11:56 2007
@@ -53,8 +53,6 @@
 {
 #endif
 
-    /** Type name for struct axis2_svc_grp_ops */
-    typedef struct axis2_svc_grp_ops axis2_svc_grp_ops_t;
     /** Type name for struct axis2_svc_grp */
     typedef struct axis2_svc_grp axis2_svc_grp_t;
 
@@ -62,271 +60,236 @@
     struct axis2_svc_grp_ctx;
 
     /**
-     * service group ops struct.
-     * Encapsulator struct for ops of axis2_svc_grp.
+      * Frees service group.
+      * @param svc_grp pointer to service group struct
+      * @param env pointer to environment struct
+      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+      */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_svc_grp_free(axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env);
+
+    /**
+     * Sets service group name.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @param svc_grp_name service group name string 
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_svc_grp_set_name(axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env,
+        const axis2_char_t *svc_grp_name);
+
+    /**
+     * Gets service group name.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @return service group name string 
+     */
+    AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
+    axis2_svc_grp_get_name(const axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env) ;
+
+    /**
+     * Adds given service to service group.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @param service service to be added, service group assumes ownership
+     * of service
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_svc_grp_add_svc(axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env,
+        struct axis2_svc *svc) ;
+
+    /**
+     * Gets named service from service group.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @param svc_qname pointer to QName of the service
+     * @return pointer to service corresponding to given QName, returns a 
+     * reference, not a cloned copy
+     */
+    AXIS2_EXTERN struct axis2_svc *AXIS2_CALL
+    axis2_svc_grp_get_svc(const axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env,
+        const axis2_qname_t *svc_qname);
+
+    /**
+     * Gets all services associated with service group. 
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @return pointer to hash table containing all services, returns a 
+     * reference, not a cloned copy
+     */
+    AXIS2_EXTERN axis2_hash_t *AXIS2_CALL
+    axis2_svc_grp_get_all_svcs(const axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env);
+
+    /**
+     * Removes named service from service group.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @param svc_name pointer to service QName
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_svc_grp_remove_svc(axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env,
+        const axis2_qname_t *svc_qname);
+
+    /**
+     * Adds parameter.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @param param pointer to parameter, service group assumes ownership 
+     * of parameter
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_svc_grp_add_param(axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env,
+        axis2_param_t *param);
+
+    /**
+     * Gets named parameter.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @param name parameter name
+     * @return pointer to named parameter if exists, else NULL. Returns a 
+     * reference, not a cloned copy
+     */
+    AXIS2_EXTERN axis2_param_t *AXIS2_CALL
+    axis2_svc_grp_get_param(const axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env,
+        const axis2_char_t *name);
+
+    /**
+     * Gets all parameters set on service group.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @return pointer to array list containing parameter, returns a 
+     * reference, not a cloned copy
+     */
+    AXIS2_EXTERN axis2_array_list_t *AXIS2_CALL
+    axis2_svc_grp_get_all_params(const axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env);
+
+    /**
+     * Checks if the named parameter is locked.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @param param_name pointer to param name
+     * @return AXIS2_TRUE if the named parameter is locked, else AXIS2_FALSE
+     */
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    axis2_svc_grp_is_param_locked(axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env,
+        const axis2_char_t *param_name);
+
+    /**
+     * Adds given module QName to list of module QNames.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @param module_name pointer to module QName
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_svc_grp_add_module_qname(axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env,
+        const axis2_qname_t *module_qname);
+
+    /**
+     * Gets parent which is of type configuration.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @return pointer to parent configuration, returns a 
+     * reference, not a cloned copy
+     */
+    AXIS2_EXTERN struct axis2_conf *AXIS2_CALL
+    axis2_svc_grp_get_parent(const axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env);
+
+    /**
+     * Sets parent which is of type configuration.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @param parent parent configuration, service group does not assume
+     * the ownership of configuration
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_svc_grp_set_parent(axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env,
+        struct axis2_conf *parent);
+
+    /**
+     * Engages named module to service group. Engaging a module to service 
+     * group would ensure that the same module would be engaged to all 
+     * services within the group.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @param module_name pointer to module QName
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_svc_grp_engage_module(axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env,
+        const axis2_qname_t *module_qname);
+
+    /**
+     * Gets all module QNames associated with service group.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @return pointer to array list containing all QNames, returns a 
+     * reference, not a cloned copy
      */
-    struct axis2_svc_grp_ops
-    {
-        /**
-          * Frees service group.
-          * @param svc_grp pointer to service group struct
-          * @param env pointer to environment struct
-          * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-          */
-        axis2_status_t (AXIS2_CALL *
-                free)(
-                    axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets service group name.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @param svc_grp_name service group name string 
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_name)(
-                    axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env,
-                    const axis2_char_t *svc_grp_name);
-
-        /**
-         * Gets service group name.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @return service group name string 
-         */
-        const axis2_char_t *(AXIS2_CALL *
-                get_name)(
-                    const axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env) ;
-
-        /**
-         * Adds given service to service group.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @param service service to be added, service group assumes ownership
-         * of service
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                add_svc)(
-                    axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env,
-                    struct axis2_svc *svc) ;
-
-        /**
-         * Gets named service from service group.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @param svc_qname pointer to QName of the service
-         * @return pointer to service corresponding to given QName, returns a 
-         * reference, not a cloned copy
-         */
-        struct axis2_svc *(AXIS2_CALL *
-                get_svc)(
-                    const axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env,
-                    const axis2_qname_t *svc_qname);
-
-        /**
-         * Gets all services associated with service group. 
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @return pointer to hash table containing all services, returns a 
-         * reference, not a cloned copy
-         */
-        axis2_hash_t *(AXIS2_CALL *
-                get_all_svcs)(
-                    const axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env);
-
-        /**
-         * Removes named service from service group.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @param svc_name pointer to service QName
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                remove_svc)(
-                    axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env,
-                    const axis2_qname_t *svc_qname);
-
-        /**
-         * Adds parameter.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @param param pointer to parameter, service group assumes ownership 
-         * of parameter
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                add_param)(
-                    axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env,
-                    axis2_param_t *param);
-
-        /**
-         * Gets named parameter.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @param name parameter name
-         * @return pointer to named parameter if exists, else NULL. Returns a 
-         * reference, not a cloned copy
-         */
-        axis2_param_t *(AXIS2_CALL *
-                get_param)(
-                    const axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env,
-                    const axis2_char_t *name);
-
-        /**
-         * Gets all parameters set on service group.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @return pointer to array list containing parameter, returns a 
-         * reference, not a cloned copy
-         */
-        axis2_array_list_t *(AXIS2_CALL *
-                get_all_params)(
-                    const axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env);
-
-        /**
-         * Checks if the named parameter is locked.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @param param_name pointer to param name
-         * @return AXIS2_TRUE if the named parameter is locked, else AXIS2_FALSE
-         */
-        axis2_bool_t (AXIS2_CALL *
-                is_param_locked)(
-                    axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env,
-                    const axis2_char_t *param_name);
-
-        /**
-         * Adds given module QName to list of module QNames.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @param module_name pointer to module QName
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                add_module_qname)(
-                    axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env,
-                    const axis2_qname_t *module_qname);
-
-        /**
-         * Gets parent which is of type configuration.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @return pointer to parent configuration, returns a 
-         * reference, not a cloned copy
-         */
-        struct axis2_conf *(AXIS2_CALL *
-                get_parent)(
-                    const axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets parent which is of type configuration.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @param parent parent configuration, service group does not assume
-         * the ownership of configuration
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_parent)(
-                    axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env,
-                    struct axis2_conf *parent);
-
-        /**
-         * Engages named module to service group. Engaging a module to service 
-         * group would ensure that the same module would be engaged to all 
-         * services within the group.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @param module_name pointer to module QName
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                engage_module)(
-                    axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env,
-                    const axis2_qname_t *module_qname);
-
-        /**
-         * Gets all module QNames associated with service group.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @return pointer to array list containing all QNames, returns a 
-         * reference, not a cloned copy
-         */
-        axis2_array_list_t *(AXIS2_CALL *
-                get_all_module_qnames)(
-                    const axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env);
-
-        /**
-         * Adds module reference.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @param moduleref pointer to module QName
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                add_module_ref)(
-                    axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env,
-                    const axis2_qname_t *moduleref);
-
-        /**
-         * Gets all module references.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @return pointer to array list containing module reference, returns 
-         * a reference, not a cloned copy
-         */
-        axis2_array_list_t *(AXIS2_CALL *
-                get_all_module_refs)(
-                    const axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env);
-
-        /**
-         * Gets service group context related to this service group.
-         * @param svc_grp pointer to service group struct
-         * @param env pointer to environment struct
-         * @param parent pointer to configuration context which is the parent of 
-         * the context hierarchy
-         * @return pointer to service group context related to this service 
-         * group, returns a reference, not a cloned copy
-         */
-        struct axis2_svc_grp_ctx *(AXIS2_CALL *
-                get_svc_grp_ctx)(
-                    const axis2_svc_grp_t *svc_grp,
-                    const axis2_env_t *env,
-                    struct axis2_conf_ctx *parent);
-
-    };
-
-    /**
-     * service group struct.
-     */
-    struct axis2_svc_grp
-    {
-        /** operations of service group */
-        axis2_svc_grp_ops_t *ops;
-        /** parameter container to hold service related parameters */
-        axis2_param_container_t *param_container;
+    AXIS2_EXTERN axis2_array_list_t *AXIS2_CALL
+    axis2_svc_grp_get_all_module_qnames(const axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env);
 
-    };
+    /**
+     * Adds module reference.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @param moduleref pointer to module QName
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_svc_grp_add_module_ref(axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env,
+        const axis2_qname_t *moduleref);
+
+    /**
+     * Gets all module references.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @return pointer to array list containing module reference, returns 
+     * a reference, not a cloned copy
+     */
+    AXIS2_EXTERN axis2_array_list_t *AXIS2_CALL
+    axis2_svc_grp_get_all_module_refs(const axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env);
+
+    /**
+     * Gets service group context related to this service group.
+     * @param svc_grp pointer to service group struct
+     * @param env pointer to environment struct
+     * @param parent pointer to configuration context which is the parent of 
+     * the context hierarchy
+     * @return pointer to service group context related to this service 
+     * group, returns a reference, not a cloned copy
+     */
+    AXIS2_EXTERN struct axis2_svc_grp_ctx *AXIS2_CALL
+    axis2_svc_grp_get_svc_grp_ctx(const axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env,
+        struct axis2_conf_ctx *parent);
+
+    AXIS2_EXTERN axis2_param_container_t *AXIS2_CALL
+    axis2_svc_grp_get_param_container(const axis2_svc_grp_t *svc_grp,
+        const axis2_env_t *env);
 
     /**
      * Creates a service group struct instance.
@@ -334,8 +297,7 @@
      * @return pointer to newly created service group
      */
     AXIS2_EXTERN axis2_svc_grp_t *AXIS2_CALL
-    axis2_svc_grp_create(
-        const axis2_env_t *env);
+    axis2_svc_grp_create(const axis2_env_t *env);
 
     /**
      * Creates service group with given configuration as the parent.
@@ -345,103 +307,83 @@
      * @return pointer to newly created service group
      */
     AXIS2_EXTERN axis2_svc_grp_t *AXIS2_CALL
-    axis2_svc_grp_create_with_conf(
-        const axis2_env_t *env,
+    axis2_svc_grp_create_with_conf(const axis2_env_t *env,
         struct axis2_conf *conf);
 
-/** Frees service group.
-    @sa axis2_svc_grp_ops#free */
-#define AXIS2_SVC_GRP_FREE(svc_grp, env) ((svc_grp)->ops->free (svc_grp , env))
+/** Frees service group. */
+#define AXIS2_SVC_GRP_FREE(svc_grp, env) axis2_svc_grp_free (svc_grp , env)
 
-/** Sets name.
-    @sa axis2_svc_grp_ops#set_name */
+/** Sets name. */
 #define AXIS2_SVC_GRP_SET_NAME(svc_grp, env , svc_grp_name) \
-        ((svc_grp)->ops->set_name (svc_grp, env, svc_grp_name))
+        axis2_svc_grp_set_name (svc_grp, env, svc_grp_name)
 
-/** Gets name.
-    @sa axis2_svc_grp_ops#get_name */
+/** Gets name. */
 #define AXIS2_SVC_GRP_GET_NAME(svc_grp, env) \
-        ((svc_grp)->ops->get_name(svc_grp, env))
+        axis2_svc_grp_get_name(svc_grp, env)
 
-/** Adds service.
-    @sa axis2_svc_grp_ops#add_svc */
+/** Adds service. */
 #define AXIS2_SVC_GRP_ADD_SVC(svc_grp, env , svc) \
-        ((svc_grp)->ops->add_svc (svc_grp, env, svc))
+        axis2_svc_grp_add_svc (svc_grp, env, svc)
 
-/** Gets named service.
-    @sa axis2_svc_grp_ops#get_svc */
+/** Gets named service. */
 #define AXIS2_SVC_GRP_GET_SVC(svc_grp, env , svc_name) \
-        ((svc_grp)->ops->get_svc(svc_grp, env, svc_names))
+        axis2_svc_grp_get_svc(svc_grp, env, svc_names)
 
-/** Gets all services.
-    @sa axis2_svc_grp_ops#get_all_svcs */
+/** Gets all services. */
 #define AXIS2_SVC_GRP_GET_ALL_SVCS(svc_grp, env) \
-        ((svc_grp)->ops->get_all_svcs(svc_grp, env))
+        axis2_svc_grp_get_all_svcs(svc_grp, env)
 
-/** Removes named service.
-    @sa axis2_svc_grp_ops#remove_svc */
+/** Removes named service. */
 #define AXIS2_SVC_GRP_REMOVE_SVC(svc_grp, env, svc_name) \
-      ((svc_grp)->ops->remove_svc(svc_grp, env, svc_name))
+      axis2_svc_grp_remove_svc(svc_grp, env, svc_name)
 
-/** Adds parameter.
-    @sa axis2_svc_grp_ops#add_param */
+/** Adds parameter. */
 #define AXIS2_SVC_GRP_ADD_PARAM(svc_grp, env, param) \
-      ((svc_grp)->ops->add_param(svc_grp, env, param))
+      axis2_svc_grp_add_param(svc_grp, env, param)
 
-/** Gets named parameter.
-    @sa axis2_svc_grp_ops#get_param */
+/** Gets named parameter. */
 #define AXIS2_SVC_GRP_GET_PARAM(svc_grp, env, name) \
-      ((svc_grp)->ops->get_param(svc_grp, env, name))
+      axis2_svc_grp_get_param(svc_grp, env, name)
 
-/** Gets all parameters.
-    @sa axis2_svc_grp_ops#get_all_params */
+/** Gets all parameters. */
 #define AXIS2_SVC_GRP_GET_ALL_PARAMS(svc_grp, env) \
-        ((svc_grp)->ops->get_all_params(svc_grp, env))
+        axis2_svc_grp_get_all_params(svc_grp, env)
 
-/** Checks if the named parameter is locked.
-    @sa axis2_svc_grp_ops#is_param_locked */
+/** Checks if the named parameter is locked. */
 #define AXIS2_SVC_GRP_IS_PARAM_LOCKED(svc_grp, env , param_name) \
-        ((svc_grp)->ops->is_param_locked(svc_grp, env, param_name))
+        axis2_svc_grp_is_param_locked(svc_grp, env, param_name)
 
-/** Adds module QName.
-    @sa axis2_svc_grp_ops#add_module_qname */
+/** Adds module QName. */
 #define AXIS2_SVC_GRP_ADD_MODULE_QNAME(svc_grp, env , module_qname) \
-        ((svc_grp)->ops->add_module_qname(svc_grp, env, module_qname))
+        axis2_svc_grp_add_module_qname(svc_grp, env, module_qname)
 
-/** Gets parent configuration.
-    @sa axis2_svc_grp_ops#get_parent */
+/** Gets parent configuration. */
 #define AXIS2_SVC_GRP_GET_PARENT(svc_grp, env) \
-        ((svc_grp)->ops->get_parent(svc_grp, env))
+        axis2_svc_grp_get_parent(svc_grp, env)
 
-/** Sets parent configuration.
-    @sa axis2_svc_grp_ops#set_parent */
+/** Sets parent configuration. */
 #define AXIS2_SVC_GRP_SET_PARENT(svc_grp, env , parent) \
-        ((svc_grp)->ops->set_parent(svc_grp, env, parent))
+        axis2_svc_grp_set_parent(svc_grp, env, parent)
 
-/** Engages module to service group.
-    @sa axis2_svc_grp_ops#engage_module */
+/** Engages module to service group. */
 #define AXIS2_SVC_GRP_ENGAGE_MODULE(svc_grp, env, module_name) \
-        ((svc_grp)engage_module_modulep, env, module_name))
+        ((svc_grp)engage_module_modulep, env, module_name)
 
-/** Gets all module QNames.
-    @sa axis2_svc_grp_ops#get_all_module_qnames */
+/** Gets all module QNames. */
 #define AXIS2_SVC_GRP_GET_ALL_MODULE_QNAMES(svc_grp, env) \
-        ((svc_grp)->ops->get_all_module_qnames(svc_grp, env))
+        axis2_svc_grp_get_all_module_qnames(svc_grp, env)
 
-/** Adds module reference.
-    @sa axis2_svc_grp_ops#add_module_ref */
+/** Adds module reference. */
 #define AXIS2_SVC_GRP_ADD_MODULE_REF(svc_grp, env, moduleref) \
-        ((svc_grp)->ops->add_module_ref(svc_grp, env, moduleref))
+        axis2_svc_grp_add_module_ref(svc_grp, env, moduleref)
 
-/** Get all module references.
-    @sa axis2_svc_grp_ops#get_all_module_refs */
+/** Get all module references. */
 #define AXIS2_SVC_GRP_GET_ALL_MODULE_REFS(svc_grp, env) \
-        ((svc_grp)->ops->get_all_module_refs(svc_grp, env))
+        axis2_svc_grp_get_all_module_refs(svc_grp, env)
 
-/** Gets service group context related to service.
-    @sa axis2_svc_grp_ops#get_svc_grp_ctx */
+/** Gets service group context related to service. */
 #define AXIS2_SVC_GRP_GET_SVC_GRP_CTX(svc_grp, env, parent) \
-        ((svc_grp)->ops->get_svc_grp_ctx(svc_grp, env, parent))
+        axis2_svc_grp_get_svc_grp_ctx(svc_grp, env, parent)
 
 /** @} */
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/include/axis2_transport_in_desc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_transport_in_desc.h?view=diff&rev=514539&r1=514538&r2=514539
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_transport_in_desc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_transport_in_desc.h Sun Mar  4 20:11:56 2007
@@ -54,248 +54,215 @@
 
     /** Type name for struct axis2_transport_in_desc */
     typedef struct axis2_transport_in_desc axis2_transport_in_desc_t;
-    /** Type name for struct axis2_transport_in_desc_ops  */
-    typedef struct axis2_transport_in_desc_ops axis2_transport_in_desc_ops_t;
 
     struct axis2_phase;
     struct axis2_transport_receiver;
 
+    /** 
+     * Frees transport in description. 
+     * @param transport_in_desc pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_in_desc_free(axis2_transport_in_desc_t *transport_in_desc,
+        const axis2_env_t *env);
+
+    /**
+     * Frees transport in description given as a void parameter.
+     * @param transport_in pointer to transport in description as a void 
+     * pointer
+     * @param env pointer to environment struct
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_in_desc_free_void_arg(void *transport_in,
+        const axis2_env_t *env);
+
+    /**
+     * Gets transport enum.
+     * @param transport_in pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @return transport enum 
+     */
+    AXIS2_EXTERN AXIS2_TRANSPORT_ENUMS AXIS2_CALL
+    axis2_transport_in_desc_get_enum(const axis2_transport_in_desc_t *transport_in,
+        const axis2_env_t *env);
+
+    /**
+     * Sets transport enum.
+     * @param transport_in pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @param trans_enum transport enum
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    saxis2_transport_in_desc_et_enum(struct axis2_transport_in_desc *transport_in,
+        const axis2_env_t *env,
+        const AXIS2_TRANSPORT_ENUMS trans_enum);
+
+    /**
+     * Gets in flow. In flow represents the list of phases invoked 
+     * along the receive path.
+     * @param transport_in pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @return pointer to flow representing in flow, returns a reference,
+     * not a cloned copy
+     */
+    AXIS2_EXTERN struct axis2_flow *AXIS2_CALL
+    axis2_transport_in_desc_get_in_flow(const axis2_transport_in_desc_t *transport_in,
+        const axis2_env_t *env);
+
+    /**
+     * Sets in flow. In flow represents the list of phases invoked 
+     * along the receive path.
+     * @param transport_in pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @param in_flow pointer to in flow representing in flow, transport in 
+     * description assumes ownership of the flow
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_in_desc_set_in_flow(struct axis2_transport_in_desc *transport_in,
+        const axis2_env_t *env,
+        struct axis2_flow *in_flow);
+
+    /**
+     * Gets fault in flow. Fault in flow represents the list of phases 
+     * invoked along the receive path if a fault happens.
+     * @param transport_in pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @return pointer to flow representing fault in flow, returns a 
+     * reference, not a cloned copy 
+     */
+    AXIS2_EXTERN struct axis2_flow *AXIS2_CALL
+    axis2_transport_in_desc_get_fault_in_flow(const axis2_transport_in_desc_t *transport_in,
+        const axis2_env_t *env);
+
+    /**
+     * Sets fault in flow. Fault in flow represents the list of phases 
+     * invoked along the receive path if a fault happens.
+     * @param transport_in pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @param fault_in_flow pointer to flow representing fault in flow, 
+     * transport in description assumes the ownership of the flow
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_in_desc_set_fault_in_flow(struct axis2_transport_in_desc *transport_in,
+        const axis2_env_t *env,
+        struct axis2_flow *fault_in_flow);
+
+    /**
+     * Gets transport receiver associated with the transport in description.
+     * @param transport_in pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @return pointer to transport receiver, returns a reference, not 
+     * a cloned copy
+     */
+    AXIS2_EXTERN struct axis2_transport_receiver *AXIS2_CALL
+    axis2_transport_in_desc_get_recv(const axis2_transport_in_desc_t *transport_in,
+        const axis2_env_t *env);
+
+    /**
+     * Sets transport receiver associated with the transport in description.
+     * @param transport_in pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @param recv pointer to transport receiver, transport in 
+     * description assumes ownership of the receiver
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_in_desc_set_recv(struct axis2_transport_in_desc *transport_in,
+        const axis2_env_t *env,
+        struct axis2_transport_receiver *recv);
+
+    /**
+     * Gets the transport in phase associated with transport in description.
+     * @param transport_in pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @return transport in phase, returns a reference, not a cloned copy
+     */
+    AXIS2_EXTERN struct axis2_phase *AXIS2_CALL
+    axis2_transport_in_desc_get_in_phase(const axis2_transport_in_desc_t *transport_in,
+        const axis2_env_t *env);
+
+    /**
+     * Sets the transport in phase associated with transport in description.
+     * @param transport_in pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @param in_phase pointer to phase representing transport in phase, 
+     * transport in description assumes ownership of phase
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_in_desc_set_in_phase(struct axis2_transport_in_desc *transport_in,
+        const axis2_env_t *env,
+        struct axis2_phase *in_phase);
+
     /**
-     * transport in description ops struct.
-     * Encapsulator struct for ops of axis2_transport_in_desc.
+     * Gets the transport fault phase associated with transport in description.
+     * @param transport_in pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @return pointer to phase representing fault phase
+     */
+    AXIS2_EXTERN struct axis2_phase *AXIS2_CALL
+    axis2_transport_in_desc_get_fault_phase(const axis2_transport_in_desc_t *transport_in,
+        const axis2_env_t *env);
+
+    /**
+     * Sets the transport fault phase associated with transport in description.
+     * @param transport_in pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @param fault_phase pointer to fault phase
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_in_desc_set_fault_phase(struct axis2_transport_in_desc *transport_in,
+        const axis2_env_t *env,
+        struct axis2_phase *fault_phase);
+
+    /**
+     * Adds given parameter.
+     * @param transport_in_desc pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @param param pointer to parameter, transport in description assumes
+     * ownership of parameter
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_in_desc_add_param(axis2_transport_in_desc_t *transport_in_desc,
+        const axis2_env_t *env,
+        axis2_param_t *param);
+
+    /**
+     * Gets named parameter.
+     * @param transport_in_desc pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @param param_name parameter name string
+     * @return pointer to named parameter if it exists, else NULL. Returns
+     * a reference, not a cloned copy
+     */
+    AXIS2_EXTERN axis2_param_t *AXIS2_CALL
+    axis2_transport_in_desc_get_param(const axis2_transport_in_desc_t *transport_in_desc,
+        const axis2_env_t *env,
+        const axis2_char_t *param_name);
+
+    /**
+     * Checks if the named parameter is locked.
+     * @param transport_in_desc pointer to transport in description struct
+     * @param env pointer to environment struct
+     * @param param_name parameter name string
+     * @return AXIS2_TRUE if named parameter is locked, else AXIS2_FALSE
      */
-    struct axis2_transport_in_desc_ops
-    {
-        /** 
-         * Frees transport in description. 
-         * @param transport_in_desc pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                free)(
-                    axis2_transport_in_desc_t *transport_in_desc,
-                    const axis2_env_t *env);
-
-        /**
-         * Frees transport in description given as a void parameter.
-         * @param transport_in pointer to transport in description as a void 
-         * pointer
-         * @param env pointer to environment struct
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-            free_void_arg) (
-                    void *transport_in,
-                    const axis2_env_t *env);
-
-        /**
-         * Gets transport enum.
-         * @param transport_in pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @return transport enum 
-         */
-        AXIS2_TRANSPORT_ENUMS (AXIS2_CALL *
-                get_enum)(
-                    const axis2_transport_in_desc_t *transport_in,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets transport enum.
-         * @param transport_in pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @param trans_enum transport enum
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_enum)(
-                    struct axis2_transport_in_desc *transport_in,
-                    const axis2_env_t *env,
-                    const AXIS2_TRANSPORT_ENUMS trans_enum);
-
-        /**
-         * Gets in flow. In flow represents the list of phases invoked 
-         * along the receive path.
-         * @param transport_in pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @return pointer to flow representing in flow, returns a reference,
-         * not a cloned copy
-         */
-        struct axis2_flow *(AXIS2_CALL *
-                get_in_flow)(
-                    const axis2_transport_in_desc_t *transport_in,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets in flow. In flow represents the list of phases invoked 
-         * along the receive path.
-         * @param transport_in pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @param in_flow pointer to in flow representing in flow, transport in 
-         * description assumes ownership of the flow
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_in_flow)(
-                    struct axis2_transport_in_desc *transport_in,
-                    const axis2_env_t *env,
-                    struct axis2_flow *in_flow);
-
-        /**
-         * Gets fault in flow. Fault in flow represents the list of phases 
-         * invoked along the receive path if a fault happens.
-         * @param transport_in pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @return pointer to flow representing fault in flow, returns a 
-         * reference, not a cloned copy 
-         */
-        struct axis2_flow *(AXIS2_CALL *
-                get_fault_in_flow)(
-                    const axis2_transport_in_desc_t *transport_in,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets fault in flow. Fault in flow represents the list of phases 
-         * invoked along the receive path if a fault happens.
-         * @param transport_in pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @param fault_in_flow pointer to flow representing fault in flow, 
-         * transport in description assumes the ownership of the flow
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_fault_in_flow)(
-                    struct axis2_transport_in_desc *transport_in,
-                    const axis2_env_t *env,
-                    struct axis2_flow *fault_in_flow);
-
-        /**
-         * Gets transport receiver associated with the transport in description.
-         * @param transport_in pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @return pointer to transport receiver, returns a reference, not 
-         * a cloned copy
-         */
-        struct axis2_transport_receiver *(AXIS2_CALL *
-                get_recv)(
-                    const axis2_transport_in_desc_t *transport_in,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets transport receiver associated with the transport in description.
-         * @param transport_in pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @param recv pointer to transport receiver, transport in 
-         * description assumes ownership of the receiver
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_recv)(
-                    struct axis2_transport_in_desc *transport_in,
-                    const axis2_env_t *env,
-                    struct axis2_transport_receiver *recv);
-
-        /**
-         * Gets the transport in phase associated with transport in description.
-         * @param transport_in pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @return transport in phase, returns a reference, not a cloned copy
-         */
-        struct axis2_phase *(AXIS2_CALL *
-                get_in_phase)(
-                    const axis2_transport_in_desc_t *transport_in,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets the transport in phase associated with transport in description.
-         * @param transport_in pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @param in_phase pointer to phase representing transport in phase, 
-         * transport in description assumes ownership of phase
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_in_phase)(
-                    struct axis2_transport_in_desc *transport_in,
-                    const axis2_env_t *env,
-                    struct axis2_phase *in_phase);
-
-        /**
-         * Gets the transport fault phase associated with transport in description.
-         * @param transport_in pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @return pointer to phase representing fault phase
-         */
-        struct axis2_phase *(AXIS2_CALL *
-                get_fault_phase)(
-                    const axis2_transport_in_desc_t *transport_in,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets the transport fault phase associated with transport in description.
-         * @param transport_in pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @param fault_phase pointer to fault phase
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_fault_phase)(
-                    struct axis2_transport_in_desc *transport_in,
-                    const axis2_env_t *env,
-                    struct axis2_phase *fault_phase);
-
-        /**
-         * Adds given parameter.
-         * @param transport_in_desc pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @param param pointer to parameter, transport in description assumes
-         * ownership of parameter
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
-         */
-        axis2_status_t (AXIS2_CALL *
-                add_param)(
-                    axis2_transport_in_desc_t *transport_in_desc,
-                    const axis2_env_t *env,
-                    axis2_param_t *param);
-
-        /**
-         * Gets named parameter.
-         * @param transport_in_desc pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @param param_name parameter name string
-         * @return pointer to named parameter if it exists, else NULL. Returns
-         * a reference, not a cloned copy
-         */
-        axis2_param_t *(AXIS2_CALL *
-                get_param)(
-                    const axis2_transport_in_desc_t *transport_in_desc,
-                    const axis2_env_t *env,
-                    const axis2_char_t *param_name);
-
-        /**
-         * Checks if the named parameter is locked.
-         * @param transport_in_desc pointer to transport in description struct
-         * @param env pointer to environment struct
-         * @param param_name parameter name string
-         * @return AXIS2_TRUE if named parameter is locked, else AXIS2_FALSE
-         */
-        axis2_bool_t (AXIS2_CALL *
-                is_param_locked)(
-                    axis2_transport_in_desc_t *transport_in_desc,
-                    const axis2_env_t *env,
-                    const axis2_char_t *param_name);
-    };
-
-    /**
-     * transport in description struct.
-     */
-    struct axis2_transport_in_desc
-    {
-        /** transport in description struct ops */
-        axis2_transport_in_desc_ops_t *ops;
-        /** parameter container to hold transport in related parameters */
-        axis2_param_container_t *param_container;
-    };
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    axis2_transport_in_desc_is_param_locked(axis2_transport_in_desc_t *transport_in_desc,
+        const axis2_env_t *env,
+        const axis2_char_t *param_name);
+
+    AXIS2_EXTERN axis2_param_container_t *AXIS2_CALL
+    axis2_transport_in_desc_param_container(const axis2_transport_in_desc_t *transport_in_desc,
+        const axis2_env_t *env);
 
     /**
      * Creates transport in description with given transport enum.
@@ -304,8 +271,7 @@
      * @return pointer to newly created phase holder
      */
     AXIS2_EXTERN axis2_transport_in_desc_t *AXIS2_CALL
-    axis2_transport_in_desc_create(
-            const axis2_env_t *env,
+    axis2_transport_in_desc_create(const axis2_env_t *env,
             const AXIS2_TRANSPORT_ENUMS trans_enum);
 
     /**
@@ -315,90 +281,73 @@
      * @param env pointer to environment struct
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE 
      */
-     axis2_status_t AXIS2_CALL
-     axis2_transport_in_desc_free_void_arg(
-            void *transport_in,
+     AXIS2_EXTERN axis2_status_t AXIS2_CALL
+     axis2_transport_in_desc_free_void_arg(void *transport_in,
             const axis2_env_t *env);
 
-/** Frees transport in description.
-    @sa axis2_transport_in_desc_ops#free */
+/** Frees transport in description. */
 #define AXIS2_TRANSPORT_IN_DESC_FREE(transport_in_desc, env) \
-      ((transport_in_desc)->ops->free (transport_in_desc, env))
+      axis2_transport_in_desc_free (transport_in_desc, env)
 
-/** Gets transport enum.
-    @sa axis2_transport_in_desc_ops#get_enum */
+/** Gets transport enum. */
 #define AXIS2_TRANSPORT_IN_DESC_GET_ENUM(transport_in_desc, env) \
-      ((transport_in_desc)->ops->get_enum (transport_in_desc, env))
+      axis2_transport_in_desc_get_enum (transport_in_desc, env)
 
-/** Sets transport enum.
-    @sa axis2_transport_in_desc_ops#set_enum */
+/** Sets transport enum. */
 #define AXIS2_TRANSPORT_IN_DESC_SET_ENUM(transport_in_desc, env, trans_enum) \
-      ((transport_in_desc)->ops->set_enum (transport_in_desc, env, trans_enum))
+      axis2_transport_in_desc_set_enum (transport_in_desc, env, trans_enum)
 
-/** Gets in flow.
-    @sa axis2_transport_in_desc_ops#get_in_flow */
+/** Gets in flow. */
 #define AXIS2_TRANSPORT_IN_DESC_GET_IN_FLOW(transport_in_desc, env) \
-      ((transport_in_desc)->ops->get_in_flow (transport_in_desc, env))
+      axis2_transport_in_desc_get_in_flow (transport_in_desc, env)
 
-/** Sets in flow.
-    @sa axis2_transport_in_desc_ops#set_in_flow */
+/** Sets in flow. */
 #define AXIS2_TRANSPORT_IN_DESC_SET_IN_FLOW(transport_in_desc, env, in_flow) \
-      ((transport_in_desc)->ops->set_in_flow (transport_in_desc, env, in_flow))
+      axis2_transport_in_desc_set_in_flow (transport_in_desc, env, in_flow)
 
-/** Gets fault flow.
-    @sa axis2_transport_in_desc_ops#get_fault_in_flow */
+/** Gets fault flow. */
 #define AXIS2_TRANSPORT_IN_DESC_GET_FAULT_IN_FLOW(transport_in_desc, env) \
-      ((transport_in_desc)->ops->get_fault_in_flow (transport_in_desc, env))
+      axis2_transport_in_desc_get_fault_in_flow (transport_in_desc, env)
 
-/** Sets fault flow.
-    @sa axis2_transport_in_desc_ops#set_fault_in_flow */
+/** Sets fault flow. */
 #define AXIS2_TRANSPORT_IN_DESC_SET_FAULT_IN_FLOW(transport_in_desc, env, fault_in_flow) \
-      ((transport_in_desc)->ops->set_fault_in_flow (transport_in_desc, env, fault_in_flow))
+      axis2_transport_in_desc_set_fault_in_flow (transport_in_desc, env, fault_in_flow)
 
-/** Gets transport receiver.
-    @sa axis2_transport_in_desc_ops#get_recv */
+/** Gets transport receiver. */
 #define AXIS2_TRANSPORT_IN_DESC_GET_RECV(transport_in_desc, env) \
-      ((transport_in_desc)->ops->get_recv (transport_in_desc, env))
+      axis2_transport_in_desc_get_recv (transport_in_desc, env)
 
-/** Sets transport receiver.
-    @sa axis2_transport_in_desc_ops#set_recv */
+/** Sets transport receiver. */
 #define AXIS2_TRANSPORT_IN_DESC_SET_RECV(transport_in_desc, env, recv) \
-      ((transport_in_desc)->ops->set_recv (transport_in_desc, env, recv))
+      axis2_transport_in_desc_set_recv (transport_in_desc, env, recv)
 
-/** Gets in phase.
-    @sa axis2_transport_in_desc_ops#get_in_phase */
+/** Gets in phase. */
 #define AXIS2_TRANSPORT_IN_DESC_GET_IN_PHASE(transport_in_desc, env) \
-      ((transport_in_desc)->ops->get_in_phase (transport_in_desc, env))
+      axis2_transport_in_desc_get_in_phase (transport_in_desc, env)
 
-/** Sets in phase.
-    @sa axis2_transport_in_desc_ops#set_in_phase */
+/** Sets in phase. */
 #define AXIS2_TRANSPORT_IN_DESC_SET_IN_PHASE(transport_in_desc, env, in_phase) \
-      ((transport_in_desc)->ops->set_in_phase (transport_in_desc, env, in_phase))
+      axis2_transport_in_desc_set_in_phase (transport_in_desc, env, in_phase)
 
-/** Gets fault phase.
-    @sa axis2_transport_in_desc_ops#get_fault_phase */
+/** Gets fault phase. */
 #define AXIS2_TRANSPORT_IN_DESC_GET_FAULT_PHASE(transport_in_desc, env) \
-      ((transport_in_desc)->ops->get_fault_phase (transport_in_desc, env))
+      axis2_transport_in_desc_get_fault_phase (transport_in_desc, env)
 
-/** Sets fault phase.
-    @sa axis2_transport_in_desc_ops#set_fault_phase */
+/** Sets fault phase. */
 #define AXIS2_TRANSPORT_IN_DESC_SET_FAULT_PHASE(transport_in_desc, env, fault_phase) \
-      ((transport_in_desc)->ops->set_fault_phase (transport_in_desc, env, fault_phase))
+      axis2_transport_in_desc_set_fault_phase (transport_in_desc, env, fault_phase)
 
-/** Adds parameter.
-    @sa axis2_transport_in_desc_ops#add_param */
+/** Adds parameter. */
 #define AXIS2_TRANSPORT_IN_DESC_ADD_PARAM(transport_in_desc, env, param) \
-      ((transport_in_desc)->ops->add_param (transport_in_desc, env, param))
+      axis2_transport_in_desc_add_param (transport_in_desc, env, param)
 
-/** Gets named parameter.
-    @sa axis2_transport_in_desc_ops#get_param */
+/** Gets named parameter. */
 #define AXIS2_TRANSPORT_IN_DESC_GET_PARAM(transport_in_desc, env, param_name) \
-      ((transport_in_desc)->ops->get_param (transport_in_desc, env, param_name))
+      axis2_transport_in_desc_get_param (transport_in_desc, env, param_name)
 
-/** Checks if the named parameter is locked.
-    @sa axis2_transport_in_desc_ops#is_param_locked */
+/** Checks if the named parameter is locked. */
 #define AXIS2_TRANSPORT_IN_DESC_IS_PARAM_LOCKED(transport_in_desc, env, param_name) \
-      ((transport_in_desc)->ops->is_param_locked (transport_in_desc, env, param_name))
+      axis2_transport_in_desc_is_param_locked (transport_in_desc, env, param_name)
 
 /** @} */
 

Modified: webservices/axis2/trunk/c/include/axis2_transport_out_desc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_transport_out_desc.h?view=diff&rev=514539&r1=514538&r2=514539
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_transport_out_desc.h (original)
+++ webservices/axis2/trunk/c/include/axis2_transport_out_desc.h Sun Mar  4 20:11:56 2007
@@ -53,247 +53,213 @@
 
     /** Type name for struct axis2_transport_out_desc */
     typedef struct axis2_transport_out_desc axis2_transport_out_desc_t;
-    /** Type name for struct axis2_transport_out_desc_ops  */
-    typedef struct axis2_transport_out_desc_ops axis2_transport_out_desc_ops_t;
 
     struct axis2_phase;
     struct axis2_transport_sender;
 
     /**
-     * transport out description ops struct.
-     * Encapsulator struct for ops of axis2_transport_out_desc.
+     * Frees transport out description.
+     * @param transport_out_dec pointer to transport out description
+     * @param env pointer to environment struct
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_out_desc_free(axis2_transport_out_desc_t *transport_out_desc,
+        const axis2_env_t *env);
+
+    /**
+     * Frees transport out description given as a void pointer.
+     * @param transport_out_dec pointer to transport out description as a 
+     * void pointer 
+     * @param env pointer to environment struct
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_out_desc_free_void_arg(void *transport_out,
+        const axis2_env_t *env);
+
+    /**
+     * Gets transport enum.
+     * @param transport_out pointer to transport_out
+     * @param env pointer to environment struct
+     * @return transport enum 
+     */
+    AXIS2_EXTERN AXIS2_TRANSPORT_ENUMS AXIS2_CALL
+    axis2_transport_out_desc_get_enum(const axis2_transport_out_desc_t *transport_out,
+        const axis2_env_t *env);
+
+    /**
+     * Sets transport enum.
+     * @param transport_out pointer to transport_out
+     * @param env pointer to environment struct
+     * @param trans_enum transport enum
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_out_desc_set_enum(struct axis2_transport_out_desc *transport_out,
+        const axis2_env_t *env,
+        const AXIS2_TRANSPORT_ENUMS trans_enum);
+
+    /**
+     * Gets out flow. Out flow represents the list of phases invoked 
+     * along the sender path.
+     * @param transport_out pointer to transport_out
+     * @param env pointer to environment struct
+     * @return pointer to flow representing out flow, returns a reference,
+     * not a cloned copy
+     */
+    AXIS2_EXTERN struct axis2_flow *AXIS2_CALL
+    axis2_transport_out_desc_get_out_flow(const axis2_transport_out_desc_t *transport_out,
+        const axis2_env_t *env);
+
+    /**
+     * Sets out flow. Out flow represents the list of phases invoked 
+     * along the sender path.
+     * @param transport_out pointer to transport_out
+     * @param env pointer to environment struct
+     * @param out_flow pointer to out flow, transport out description 
+     * assumes ownership of flow
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_out_desc_set_out_flow(struct axis2_transport_out_desc *transport_out,
+        const axis2_env_t *env,
+        struct axis2_flow *out_flow);
+
+    /**
+     * Gets fault out flow. Fault out flow represents the list of phases 
+     * invoked along the sender path if a fault happens.         
+     * @param transport_out pointer to transport_out
+     * @param env pointer to environment struct
+     * @return pointer to flow representing fault out flow
+     */
+    AXIS2_EXTERN struct axis2_flow *AXIS2_CALL
+    axis2_transport_out_desc_get_fault_out_flow(const axis2_transport_out_desc_t *transport_out,
+        const axis2_env_t *env);
+
+    /**
+     * Sets fault out flow. Fault out flow represents the list of phases 
+     * invoked along the sender path if a fault happens.         
+     * @param transport_out pointer to transport_out
+     * @param env pointer to environment struct
+     * @param fault_out_flow pointer to fault_out_flow
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_out_desc_set_fault_out_flow(struct axis2_transport_out_desc *transport_out,
+        const axis2_env_t *env,
+        struct axis2_flow *fault_out_flow);
+
+    /**
+     * Gets transport sender.
+     * @param transport_out pointer to transport_out
+     * @param env pointer to environment struct
+     * @return pointer to transport sender associated wit the transport out
+     * description, returns a reference, not a cloned copy
+     */
+    AXIS2_EXTERN axis2_transport_sender_t *AXIS2_CALL
+    axis2_transport_out_desc_get_sender(const axis2_transport_out_desc_t *transport_out,
+        const axis2_env_t *env);
+
+    /**
+     * Sets transport sender.
+     * @param transport_out pointer to transport_out
+     * @param env pointer to environment struct
+     * @param sender pointer to transport sender, transport description
+     * assumes ownership of sender 
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    struct axis2_transport_out_desc_ops
-    {
-        /**
-         * Frees transport out description.
-         * @param transport_out_dec pointer to transport out description
-         * @param env pointer to environment struct
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-         */
-        axis2_status_t (AXIS2_CALL *
-                free)(
-                    axis2_transport_out_desc_t *transport_out_desc,
-                    const axis2_env_t *env);
-
-        /**
-         * Frees transport out description given as a void pointer.
-         * @param transport_out_dec pointer to transport out description as a 
-         * void pointer 
-         * @param env pointer to environment struct
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-         */
-        axis2_status_t (AXIS2_CALL *
-                free_void_arg)(
-                    void *transport_out,
-                    const axis2_env_t *env);
-
-        /**
-         * Gets transport enum.
-         * @param transport_out pointer to transport_out
-         * @param env pointer to environment struct
-         * @return transport enum 
-         */
-        AXIS2_TRANSPORT_ENUMS (AXIS2_CALL *
-                get_enum)(
-                    const axis2_transport_out_desc_t *transport_out,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets transport enum.
-         * @param transport_out pointer to transport_out
-         * @param env pointer to environment struct
-         * @param trans_enum transport enum
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_enum)(
-                    struct axis2_transport_out_desc *transport_out,
-                    const axis2_env_t *env,
-                    const AXIS2_TRANSPORT_ENUMS trans_enum);
-
-        /**
-         * Gets out flow. Out flow represents the list of phases invoked 
-         * along the sender path.
-         * @param transport_out pointer to transport_out
-         * @param env pointer to environment struct
-         * @return pointer to flow representing out flow, returns a reference,
-         * not a cloned copy
-         */
-        struct axis2_flow *(AXIS2_CALL *
-                get_out_flow)(
-                    const axis2_transport_out_desc_t *transport_out,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets out flow. Out flow represents the list of phases invoked 
-         * along the sender path.
-         * @param transport_out pointer to transport_out
-         * @param env pointer to environment struct
-         * @param out_flow pointer to out flow, transport out description 
-         * assumes ownership of flow
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_out_flow)(
-                    struct axis2_transport_out_desc *transport_out,
-                    const axis2_env_t *env,
-                    struct axis2_flow *out_flow);
-
-        /**
-         * Gets fault out flow. Fault out flow represents the list of phases 
-         * invoked along the sender path if a fault happens.         
-         * @param transport_out pointer to transport_out
-         * @param env pointer to environment struct
-         * @return pointer to flow representing fault out flow
-         */
-        struct axis2_flow *(AXIS2_CALL *
-                get_fault_out_flow)(
-                    const axis2_transport_out_desc_t *transport_out,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets fault out flow. Fault out flow represents the list of phases 
-         * invoked along the sender path if a fault happens.         
-         * @param transport_out pointer to transport_out
-         * @param env pointer to environment struct
-         * @param fault_out_flow pointer to fault_out_flow
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_fault_out_flow)(
-                    struct axis2_transport_out_desc *transport_out,
-                    const axis2_env_t *env,
-                    struct axis2_flow *fault_out_flow);
-
-        /**
-         * Gets transport sender.
-         * @param transport_out pointer to transport_out
-         * @param env pointer to environment struct
-         * @return pointer to transport sender associated wit the transport out
-         * description, returns a reference, not a cloned copy
-         */
-        axis2_transport_sender_t *(AXIS2_CALL *
-                get_sender)(
-                    const axis2_transport_out_desc_t *transport_out,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets transport sender.
-         * @param transport_out pointer to transport_out
-         * @param env pointer to environment struct
-         * @param sender pointer to transport sender, transport description
-         * assumes ownership of sender 
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_sender)(
-                    struct axis2_transport_out_desc *transport_out,
-                    const axis2_env_t *env,
-                    axis2_transport_sender_t *sender);
-
-        /**
-         * Gets transport out phase.
-         * @param transport_out pointer to transport_out
-         * @param env pointer to environment struct
-         * @return pointer to phase representing transport out phase, returns a 
-         * reference, not a cloned copy
-         */
-        struct axis2_phase * (AXIS2_CALL *
-                get_out_phase)(
-                    const axis2_transport_out_desc_t *transport_out,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets transport out phase.
-         * @param transport_out pointer to transport_out 
-         * @param env pointer to environment struct
-         * @param out_phase pointer to phase representing transport out phase,
-         * transport out description assumes ownership of phase
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_out_phase)(
-                    struct axis2_transport_out_desc *transport_out,
-                    const axis2_env_t *env,
-                    struct axis2_phase *out_phase);
-
-        /**
-         * Gets fault phase.
-         * @param transport_out  pointer to transport_out
-         * @param env pointer to environment struct
-         * @return pointer to phase representing fault phase, returns a 
-         * reference, not a cloned copy
-         */
-        struct axis2_phase *(AXIS2_CALL *
-                get_fault_phase)(
-                    const axis2_transport_out_desc_t *transport_out,
-                    const axis2_env_t *env);
-
-        /**
-         * Sets fault phase.
-         * @param transport_out pointer to transport_out
-         * @param env pointer to environment struct
-         * @param fault_phase pointer to phase representing fault phase, 
-         * transport description assumes ownership of phase
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-         */
-        axis2_status_t (AXIS2_CALL *
-                set_fault_phase)(
-                    struct axis2_transport_out_desc *transport_out,
-                    const axis2_env_t *env,
-                    struct axis2_phase *fault_phase);
-
-        /**
-         * Adds parameter.
-         * @param transport_out_desc pointer to tarn sport out description
-         * @param env pointer to environment struct
-         * @param param pointer to parameter, transport out description assumes
-         * ownership of parameter
-         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-         */
-        axis2_status_t (AXIS2_CALL *
-                add_param)(
-                    axis2_transport_out_desc_t *transport_out_desc,
-                    const axis2_env_t *env,
-                    axis2_param_t *param);
-
-        /**
-         * Gets named parameter. 
-         * @param transport_out_desc pointer to transport out description
-         * @param env pointer to environment struct
-         * @param param_name parameter name string
-         */
-        axis2_param_t *(AXIS2_CALL *
-                get_param)(
-                    const axis2_transport_out_desc_t *transport_out_desc,
-                    const axis2_env_t *env,
-                    const axis2_char_t *param_name);
-
-        /**
-         * Checks if the named parameter is locked.
-         * @param transport_out_desc pointer to transport out description
-         * @param env pointer to environment struct
-         * @param param_name pointer to parameter name
-         */
-        axis2_bool_t (AXIS2_CALL *
-                is_param_locked)(
-                    axis2_transport_out_desc_t *transport_out_desc,
-                    const axis2_env_t *env,
-                    const axis2_char_t *param_name);
-
-    };
-
-    /**
-     * transport out description struct.
-     */
-    struct axis2_transport_out_desc
-    {
-        /** operations of transport out description struct */
-        axis2_transport_out_desc_ops_t *ops;
-        /** parameter container that holds parameter */
-        axis2_param_container_t *param_container;
-    };
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_out_desc_set_sender(struct axis2_transport_out_desc *transport_out,
+        const axis2_env_t *env,
+        axis2_transport_sender_t *sender);
+
+    /**
+     * Gets transport out phase.
+     * @param transport_out pointer to transport_out
+     * @param env pointer to environment struct
+     * @return pointer to phase representing transport out phase, returns a 
+     * reference, not a cloned copy
+     */
+    AXIS2_EXTERN struct axis2_phase * AXIS2_CALL
+    axis2_transport_out_desc_get_out_phase(const axis2_transport_out_desc_t *transport_out,
+        const axis2_env_t *env);
+
+    /**
+     * Sets transport out phase.
+     * @param transport_out pointer to transport_out 
+     * @param env pointer to environment struct
+     * @param out_phase pointer to phase representing transport out phase,
+     * transport out description assumes ownership of phase
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_out_desc_set_out_phase(struct axis2_transport_out_desc *transport_out,
+        const axis2_env_t *env,
+        struct axis2_phase *out_phase);
+
+    /**
+     * Gets fault phase.
+     * @param transport_out  pointer to transport_out
+     * @param env pointer to environment struct
+     * @return pointer to phase representing fault phase, returns a 
+     * reference, not a cloned copy
+     */
+    AXIS2_EXTERN struct axis2_phase *AXIS2_CALL
+    axis2_transport_out_desc_get_fault_phase(const axis2_transport_out_desc_t *transport_out,
+        const axis2_env_t *env);
+
+    /**
+     * Sets fault phase.
+     * @param transport_out pointer to transport_out
+     * @param env pointer to environment struct
+     * @param fault_phase pointer to phase representing fault phase, 
+     * transport description assumes ownership of phase
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_out_desc_set_fault_phase(struct axis2_transport_out_desc *transport_out,
+        const axis2_env_t *env,
+        struct axis2_phase *fault_phase);
+
+    /**
+     * Adds parameter.
+     * @param transport_out_desc pointer to tarn sport out description
+     * @param env pointer to environment struct
+     * @param param pointer to parameter, transport out description assumes
+     * ownership of parameter
+     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+     */
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_out_desc_add_param(axis2_transport_out_desc_t *transport_out_desc,
+        const axis2_env_t *env,
+        axis2_param_t *param);
+
+    /**
+     * Gets named parameter. 
+     * @param transport_out_desc pointer to transport out description
+     * @param env pointer to environment struct
+     * @param param_name parameter name string
+     */
+    AXIS2_EXTERN axis2_param_t *AXIS2_CALL
+    axis2_transport_out_desc_get_param(const axis2_transport_out_desc_t *transport_out_desc,
+        const axis2_env_t *env,
+        const axis2_char_t *param_name);
+
+    /**
+     * Checks if the named parameter is locked.
+     * @param transport_out_desc pointer to transport out description
+     * @param env pointer to environment struct
+     * @param param_name pointer to parameter name
+     */
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    axis2_transport_out_desc_is_param_locked(axis2_transport_out_desc_t *transport_out_desc,
+        const axis2_env_t *env,
+        const axis2_char_t *param_name);
+
+    AXIS2_EXTERN axis2_param_container_t *AXIS2_CALL
+    axis2_transport_out_desc_param_container(const axis2_transport_out_desc_t *transport_out_desc,
+        const axis2_env_t *env);
 
     /**
      * Creates transport out description with given transport enum.
@@ -302,8 +268,7 @@
      * @return pointer to newly created transport out
      */
     AXIS2_EXTERN axis2_transport_out_desc_t * AXIS2_CALL
-    axis2_transport_out_desc_create(
-        const axis2_env_t *env,
+    axis2_transport_out_desc_create(const axis2_env_t *env,
         const AXIS2_TRANSPORT_ENUMS trans_enum);
 
     /**
@@ -313,90 +278,73 @@
      * @param env pointer to environment struct
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
-    axis2_status_t AXIS2_CALL
-    axis2_transport_out_desc_free_void_arg(
-        void *transport_out,
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_transport_out_desc_free_void_arg(void *transport_out,
         const axis2_env_t *env);
 
-/** Frees transport out description.
-    @sa axis2_transport_out_desc_ops#free */
+/** Frees transport out description. */
 #define AXIS2_TRANSPORT_OUT_DESC_FREE(transport_out_desc, env) \
-      ((transport_out_desc)->ops->free (transport_out_desc, env))
+      axis2_transport_out_desc_free (transport_out_desc, env)
 
-/** Gets transport enum.
-    @sa axis2_transport_out_desc_ops#get_enum */
+/** Gets transport enum. */
 #define AXIS2_TRANSPORT_OUT_DESC_GET_ENUM(transport_out_desc, env) \
-      ((transport_out_desc)->ops->get_enum (transport_out_desc, env))
+      axis2_transport_out_desc_get_enum (transport_out_desc, env)
 
-/** Sets transport enum.
-    @sa axis2_transport_out_desc_ops#set_enum */
+/** Sets transport enum. */
 #define AXIS2_TRANSPORT_OUT_DESC_SET_ENUM(transport_out_desc, env, trans_enum) \
-      ((transport_out_desc)->ops->set_enum (transport_out_desc, env, trans_enum))
+      axis2_transport_out_desc_set_enum (transport_out_desc, env, trans_enum)
 
-/** Gets out flow.
-    @sa axis2_transport_out_desc_ops#get_out_flow */
+/** Gets out flow. */
 #define AXIS2_TRANSPORT_OUT_DESC_GET_OUT_FLOW(transport_out_desc, env) \
-      ((transport_out_desc)->ops->get_out_flow (transport_out_desc, env))
+      axis2_transport_out_desc_get_out_flow (transport_out_desc, env)
 
-/** Sets out flow.
-    @sa axis2_transport_out_desc_ops#set_out_flow */
+/** Sets out flow. */
 #define AXIS2_TRANSPORT_OUT_DESC_SET_OUT_FLOW(transport_out_desc, env, out_flow) \
-      ((transport_out_desc)->ops->set_out_flow (transport_out_desc, env, out_flow))
+      axis2_transport_out_desc_set_out_flow (transport_out_desc, env, out_flow)
 
-/** Gets fault out flow.
-    @sa axis2_transport_out_desc_ops#get_fault_out_flow */
+/** Gets fault out flow. */
 #define AXIS2_TRANSPORT_OUT_DESC_GET_FAULT_OUT_FLOW(transport_out_desc, env) \
-      ((transport_out_desc)->ops->get_fault_out_flow (transport_out_desc, env))
+      axis2_transport_out_desc_get_fault_out_flow (transport_out_desc, env)
 
-/** Sets fault out flow.
-    @sa axis2_transport_out_desc_ops#set_fault_out_flow */
+/** Sets fault out flow. */
 #define AXIS2_TRANSPORT_OUT_DESC_SET_FAULT_OUT_FLOW(transport_out_desc, env, fault_out_flow) \
-      ((transport_out_desc)->ops->set_fault_out_flow (transport_out_desc, env, fault_out_flow))
+      axis2_transport_out_desc_set_fault_out_flow (transport_out_desc, env, fault_out_flow)
 
-/** Gets transport sender.
-    @sa axis2_transport_out_desc_ops#get_sender */
+/** Gets transport sender. */
 #define AXIS2_TRANSPORT_OUT_DESC_GET_SENDER(transport_out_desc, env) \
-      ((transport_out_desc)->ops->get_sender (transport_out_desc, env))
+      axis2_transport_out_desc_get_sender (transport_out_desc, env)
 
-/** Sets transport sender.
-    @sa axis2_transport_out_desc_ops#set_sender */
+/** Sets transport sender. */
 #define AXIS2_TRANSPORT_OUT_DESC_SET_SENDER(transport_out_desc, env, sender) \
-      ((transport_out_desc)->ops->set_sender (transport_out_desc, env, sender))
+      axis2_transport_out_desc_set_sender (transport_out_desc, env, sender)
 
-/** Gets out phase.
-    @sa axis2_transport_out_desc_ops#get_out_phase */
+/** Gets out phase. */
 #define AXIS2_TRANSPORT_OUT_DESC_GET_OUT_PHASE(transport_out_desc, env) \
-      ((transport_out_desc)->ops->get_out_phase (transport_out_desc, env))
+      axis2_transport_out_desc_get_out_phase (transport_out_desc, env)
 
-/** Sets out phase.
-    @sa axis2_transport_out_desc_ops#set_out_phase */
+/** Sets out phase. */
 #define AXIS2_TRANSPORT_OUT_DESC_SET_OUT_PHASE(transport_out_desc, env, out_phase) \
-      ((transport_out_desc)->ops->set_out_phase (transport_out_desc, env, out_phase))
+      axis2_transport_out_desc_set_out_phase (transport_out_desc, env, out_phase)
 
-/** Gets fault phase.
-    @sa axis2_transport_out_desc_ops#get_fault_phase */
+/** Gets fault phase. */
 #define AXIS2_TRANSPORT_OUT_DESC_GET_FAULT_PHASE(transport_out_desc, env) \
-      ((transport_out_desc)->ops->get_fault_phase (transport_out_desc, env))
+      axis2_transport_out_desc_get_fault_phase (transport_out_desc, env)
 
-/** Sets fault phase.
-    @sa axis2_transport_out_desc_ops#set_fault_phase */
+/** Sets fault phase. */
 #define AXIS2_TRANSPORT_OUT_DESC_SET_FAULT_PHASE(transport_out_desc, env, fault_phase) \
-      ((transport_out_desc)->ops->set_fault_phase (transport_out_desc, env, fault_phase))
+      axis2_transport_out_desc_set_fault_phase (transport_out_desc, env, fault_phase)
 
-/** Adds given parameter.
-    @sa axis2_transport_out_desc_ops#add_param */
+/** Adds given parameter. */
 #define AXIS2_TRANSPORT_OUT_DESC_ADD_PARAM(transport_out_desc, env, param) \
-      ((transport_out_desc)->ops->add_param (transport_out_desc, env, param))
+      axis2_transport_out_desc_add_param (transport_out_desc, env, param)
 
-/** Gets named parameter.
-    @sa axis2_transport_out_desc_ops#get_param */
+/** Gets named parameter. */
 #define AXIS2_TRANSPORT_OUT_DESC_GET_PARAM(transport_out_desc, env, param_name) \
-      ((transport_out_desc)->ops->get_param (transport_out_desc, env, param_name))
+      axis2_transport_out_desc_get_param (transport_out_desc, env, param_name)
 
-/** Checks if the named parameter locked.
-    @sa axis2_transport_out_desc_ops#is_param_locked */
+/** Checks if the named parameter locked. */
 #define AXIS2_TRANSPORT_OUT_DESC_IS_PARAM_LOCKED(transport_out_desc, env, param_name) \
-      ((transport_out_desc)->ops->is_param_locked (transport_out_desc, env, param_name))
+      axis2_transport_out_desc_is_param_locked (transport_out_desc, env, param_name)
 
 /** @} */
 

Modified: webservices/axis2/trunk/c/modules/core/deployment/conf_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/conf_builder.c?view=diff&rev=514539&r1=514538&r2=514539
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/conf_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/conf_builder.c Sun Mar  4 20:11:56 2007
@@ -828,7 +828,8 @@
                     env, qparamst, transport_node);
             AXIS2_QNAME_FREE(qparamst, env);
             status = AXIS2_DESC_BUILDER_PROCESS_PARAMS(conf_builder->desc_builder, env,
-                    itr, transport_out->param_container, builder_impl->conf->
+                    itr, 
+                    axis2_transport_out_desc_param_container(transport_out, env), builder_impl->conf->
                     param_container);
             if (AXIS2_SUCCESS != status)
             {
@@ -1067,7 +1068,8 @@
                     env, qparamst, transport_node);
             AXIS2_QNAME_FREE(qparamst, env);
             status = AXIS2_DESC_BUILDER_PROCESS_PARAMS(conf_builder->desc_builder, env,
-                    itr, transport_in->param_container,
+                    itr, 
+                    axis2_transport_in_desc_param_container(transport_in, env),
                     builder_impl->conf->param_container);
             if (AXIS2_SUCCESS != status)
             {

Modified: webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c?view=diff&rev=514539&r1=514538&r2=514539
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c Sun Mar  4 20:11:56 2007
@@ -601,7 +601,7 @@
                 env, param_qname, handler_node);
         AXIS2_QNAME_FREE(param_qname, env);
         status = axis2_desc_builder_process_params(desc_builder, env, params,
-                handler_desc->param_container, parent);
+                axis2_handler_desc_get_param_container(handler_desc, env), parent);
         if (AXIS2_SUCCESS != status)
         {
             AXIS2_HANDLER_DESC_FREE(handler_desc, env);

Modified: webservices/axis2/trunk/c/modules/core/deployment/module_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/module_builder.c?view=diff&rev=514539&r1=514538&r2=514539
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/module_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/module_builder.c Sun Mar  4 20:11:56 2007
@@ -292,7 +292,8 @@
     if (parent)
         parent_container = parent->param_container;
     AXIS2_DESC_BUILDER_PROCESS_PARAMS(module_builder->desc_builder, env,
-            itr, builder_impl->module_desc->params, parent_container);
+            itr, axis2_module_desc_get_param_container(builder_impl->module_desc, env), 
+            parent_container);
 
     /* Process IN_FLOW */
     qinflowst = axis2_qname_create(env, AXIS2_IN_FLOW_START, NULL, NULL);
@@ -306,7 +307,8 @@
         axis2_flow_t *flow = NULL;
 
         flow = AXIS2_DESC_BUILDER_PROCESS_FLOW(module_builder->
-                desc_builder, env, in_flow_element, builder_impl->module_desc->params,
+                desc_builder, env, in_flow_element, 
+                axis2_module_desc_get_param_container(builder_impl->module_desc, env),
                 in_flow_node);
         status = AXIS2_MODULE_DESC_SET_IN_FLOW(builder_impl->module_desc, env, flow);
         if (AXIS2_SUCCESS != status)
@@ -328,7 +330,8 @@
         axis2_flow_t *flow = NULL;
 
         flow = AXIS2_DESC_BUILDER_PROCESS_FLOW(module_builder->
-                desc_builder, env, out_flow_element, builder_impl->module_desc->params,
+                desc_builder, env, out_flow_element, 
+                axis2_module_desc_get_param_container(builder_impl->module_desc, env),
                 out_flow_node);
         status = AXIS2_MODULE_DESC_SET_OUT_FLOW(builder_impl->module_desc, env, flow);
         if (AXIS2_SUCCESS != status)
@@ -349,8 +352,9 @@
         axis2_flow_t *flow = NULL;
 
         flow = AXIS2_DESC_BUILDER_PROCESS_FLOW(module_builder->
-                desc_builder, env, in_fault_flow_element, builder_impl->module_desc->
-                params, in_fault_flow_node);
+                desc_builder, env, in_fault_flow_element, 
+                axis2_module_desc_get_param_container(builder_impl->module_desc, env),
+                in_fault_flow_node);
         status = AXIS2_MODULE_DESC_SET_FAULT_IN_FLOW(builder_impl->module_desc, env, flow);
         if (AXIS2_SUCCESS != status)
         {
@@ -370,8 +374,9 @@
         axis2_flow_t *flow = NULL;
 
         flow = AXIS2_DESC_BUILDER_PROCESS_FLOW(module_builder->
-                desc_builder, env, out_fault_flow_element, builder_impl->module_desc->
-                params, out_fault_flow_node);
+                desc_builder, env, out_fault_flow_element, 
+                axis2_module_desc_get_param_container(builder_impl->module_desc, env),
+                out_fault_flow_node);
         status = AXIS2_MODULE_DESC_SET_FAULT_OUT_FLOW(builder_impl->module_desc,
                 env, flow);
         if (AXIS2_SUCCESS != status)
@@ -489,7 +494,9 @@
             AXIS2_QNAME_FREE(qparamst, env);
 
         AXIS2_DESC_BUILDER_PROCESS_PARAMS(module_builder->desc_builder, env,
-                params, op_desc->param_container, builder_impl->module_desc->params);
+                params, 
+                axis2_op_get_param_container(op_desc, env), 
+                axis2_module_desc_get_param_container(builder_impl->module_desc, env));
         /* To process wsamapping */
         AXIS2_DESC_BUILDER_PROCESS_ACTION_MAPPINGS(module_builder->desc_builder, 
             env, op_node, op_desc);

Modified: webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c?view=diff&rev=514539&r1=514538&r2=514539
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c Sun Mar  4 20:11:56 2007
@@ -278,7 +278,9 @@
     parent = AXIS2_SVC_GET_PARENT(builder_impl->svc, env);
 
     status = AXIS2_DESC_BUILDER_PROCESS_PARAMS(svc_builder->desc_builder, env,
-            itr, builder_impl->svc->param_container, parent->param_container);
+            itr, 
+            axis2_svc_get_param_container(builder_impl->svc, env), 
+            axis2_svc_grp_get_param_container(parent, env));
     if (AXIS2_SUCCESS != status)
     {
         return status;
@@ -322,7 +324,8 @@
      */
     dll_desc = axis2_dll_desc_create(env);
     impl_info_param = AXIS2_PARAM_CONTAINER_GET_PARAM(
-                builder_impl->svc->param_container, env,
+                axis2_svc_get_param_container(builder_impl->svc, env),
+                env,
                 AXIS2_SERVICE_CLASS);
     if (!impl_info_param)
     {
@@ -613,8 +616,9 @@
         AXIS2_QNAME_FREE(qparamst, env);
         qparamst = NULL;
         status = AXIS2_DESC_BUILDER_PROCESS_PARAMS(svc_builder->desc_builder,
-                env, params_itr, op_desc->param_container, builder_impl->svc->
-                param_container);
+                env, params_itr, 
+                axis2_op_get_param_container(op_desc, env), 
+                axis2_svc_get_param_container(builder_impl->svc, env));
         /* To process wsamapping */
         AXIS2_DESC_BUILDER_PROCESS_ACTION_MAPPINGS(svc_builder->desc_builder, 
             env, op_node, op_desc);

Modified: webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c?view=diff&rev=514539&r1=514538&r2=514539
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c Sun Mar  4 20:11:56 2007
@@ -189,7 +189,8 @@
 
     parent = AXIS2_SVC_GRP_GET_PARENT(svc_grp, env);
     status = AXIS2_DESC_BUILDER_PROCESS_PARAMS(grp_builder_impl->svc_grp_builder.
-            desc_builder, env, itr, svc_grp->param_container, parent->param_container);
+            desc_builder, env, itr, 
+            axis2_svc_grp_get_param_container(svc_grp, env), parent->param_container);
 
     /* Processing service modules required to be engaged globally */
     qmodulest = axis2_qname_create(env, AXIS2_MODULEST, NULL, NULL);



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


Mime
View raw message