axis2_phase_holder.h

Go to the documentation of this file.
00001 /*
00002 * Licensed to the Apache Software Foundation (ASF) under one or more
00003 * contributor license agreements.  See the NOTICE file distributed with
00004 * this work for additional information regarding copyright ownership.
00005 * The ASF licenses this file to You under the Apache License, Version 2.0
00006 * (the "License"); you may not use this file except in compliance with
00007 * the License.  You may obtain a copy of the License at
00008 *
00009 *      http://www.apache.org/licenses/LICENSE-2.0
00010 *
00011 * Unless required by applicable law or agreed to in writing, software
00012 * distributed under the License is distributed on an "AS IS" BASIS,
00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014 * See the License for the specific language governing permissions and
00015 * limitations under the License.
00016 */
00017 
00018 #ifndef AXIS2_PHASE_HOLDER_H
00019 #define AXIS2_PHASE_HOLDER_H
00020 
00034 #include <axis2_const.h>
00035 #include <axutil_error.h>
00036 #include <axis2_defines.h>
00037 #include <axutil_env.h>
00038 #include <axutil_allocator.h>
00039 #include <axutil_qname.h>
00040 #include <axutil_array_list.h>
00041 #include <axis2_handler_desc.h>
00042 #include <axis2_phase.h>
00043 #include <axis2_phase_rule.h>
00044 #include <axis2_handler.h>
00045 
00046 #ifdef __cplusplus
00047 extern "C"
00048 {
00049 #endif
00050 
00052     typedef struct axis2_phase_holder axis2_phase_holder_t;
00053 
00054     struct axis2_phase;
00055     struct axis2_handler_desc;
00056     struct axis2_handler;
00057     struct axis2_phase_rule;
00058 
00065     AXIS2_EXTERN void AXIS2_CALL
00066     axis2_phase_holder_free(axis2_phase_holder_t *phase_holder,
00067         const axutil_env_t *env);
00068 
00076     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00077     axis2_phase_holder_is_phase_exist(axis2_phase_holder_t *phase_holder,
00078         const axutil_env_t *env,
00079         const axis2_char_t *phase_name);
00080 
00088     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00089     axis2_phase_holder_add_handler(axis2_phase_holder_t *phase_holder,
00090         const axutil_env_t *env,
00091         struct axis2_handler_desc *handler);
00092 
00093 
00101     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00102     axis2_phase_holder_remove_handler(axis2_phase_holder_t *phase_holder,
00103         const axutil_env_t *env,
00104         struct axis2_handler_desc *handler);
00105 
00114     AXIS2_EXTERN struct axis2_phase *AXIS2_CALL
00115     axis2_phase_holder_get_phase(const axis2_phase_holder_t *phase_holder,
00116         const axutil_env_t *env,
00117         const axis2_char_t *phase_name);
00118 
00130     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00131     axis2_phase_holder_build_transport_handler_chain(axis2_phase_holder_t *phase_holder,
00132         const axutil_env_t *env,
00133         struct axis2_phase *phase,
00134         axutil_array_list_t *handlers);
00135 
00141     AXIS2_EXTERN axis2_phase_holder_t *AXIS2_CALL
00142     axis2_phase_holder_create (const axutil_env_t *env);
00143 
00150     AXIS2_EXTERN axis2_phase_holder_t *AXIS2_CALL
00151     axis2_phase_holder_create_with_phases(const axutil_env_t *env,
00152         axutil_array_list_t *phases);
00153 
00156 #ifdef __cplusplus
00157 }
00158 #endif
00159 #endif  /* AXIS2_PHASE_HOLDER_H */

Generated on Thu May 3 12:31:01 2007 for Axis2/C by  doxygen 1.4.6