# axis2_phases_info.h

    00001
    00002 /*
    00003 * Licensed to the Apache Software Foundation (ASF) under one or more
    00004 * contributor license agreements.  See the NOTICE file distributed with
    00005 * this work for additional information regarding copyright ownership.
    00006 * The ASF licenses this file to You under the Apache License, Version 2.0
    00007 * (the "License"); you may not use this file except in compliance with
    00008 * the License.  You may obtain a copy of the License at
    00009 *
    00010 *      http://www.apache.org/licenses/LICENSE-2.0
    00011 *
    00012 * Unless required by applicable law or agreed to in writing, software
    00013 * distributed under the License is distributed on an "AS IS" BASIS,
    00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00015 * See the License for the specific language governing permissions and
    00016 * limitations under the License.
    00017 */
    00018
    00019 #ifndef AXIS2_PHASES_INFO_H
    00020 #define AXIS2_PHASES_INFO_H
    00021
    00038 #include <axis2_const.h>
    00039 #include <axutil_error.h>
    00040 #include <axis2_defines.h>
    00041 #include <axutil_env.h>
    00042 #include <axutil_allocator.h>
    00043 #include <axutil_string.h>
    00044 #include <axutil_array_list.h>
    00045 #include <axis2_op.h>
    00046 #include <axis2_phase.h>
    00047
    00048 #ifdef __cplusplus
    00049 extern "C"
    00050 {
    00051 #endif
    00052
    00054     typedef struct axis2_phases_info axis2_phases_info_t;
    00055
    00061     AXIS2_EXTERN void AXIS2_CALL
    00062     axis2_phases_info_free(
    00063         axis2_phases_info_t * phases_info,
    00064         const axutil_env_t * env);
    00065
    00075     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00076     axis2_phases_info_set_in_phases(
    00077         axis2_phases_info_t * phases_info,
    00078         const axutil_env_t * env,
    00079         axutil_array_list_t * in_phases);
    00080
    00090     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00091     axis2_phases_info_set_out_phases(
    00092         axis2_phases_info_t * phases_info,
    00093         const axutil_env_t * env,
    00094         axutil_array_list_t * out_phases);
    00095
    00105     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00106
    00107     axis2_phases_info_set_in_faultphases(
    00108         axis2_phases_info_t * phases_info,
    00109         const axutil_env_t * env,
    00110         axutil_array_list_t * in_faultphases);
    00111
    00121     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00122
    00123     axis2_phases_info_set_out_faultphases(
    00124         axis2_phases_info_t * phases_info,
    00125         const axutil_env_t * env,
    00126         axutil_array_list_t * out_faultphases);
    00127
    00132     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00133
    00134     axis2_phases_info_get_in_phases(
    00135         const axis2_phases_info_t * phases_info,
    00136         const axutil_env_t * env);
    00137
    00142     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00143
    00144     axis2_phases_info_get_out_phases(
    00145         const axis2_phases_info_t * phases_info,
    00146         const axutil_env_t * env);
    00147
    00152     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00153
    00154     axis2_phases_info_get_in_faultphases(
    00155         const axis2_phases_info_t * phases_info,
    00156         const axutil_env_t * env);
    00157
    00162     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00163
    00164     axis2_phases_info_get_out_faultphases(
    00165         const axis2_phases_info_t * phases_info,
    00166         const axutil_env_t * env);
    00167
    00172     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00173
    00174     axis2_phases_info_get_op_in_phases(
    00175         const axis2_phases_info_t * phases_info,
    00176         const axutil_env_t * env);
    00177
    00182     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00183
    00184     axis2_phases_info_get_op_out_phases(
    00185         const axis2_phases_info_t * phases_info,
    00186         const axutil_env_t * env);
    00187
    00192     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00193
    00194     axis2_phases_info_get_op_in_faultphases(
    00195         const axis2_phases_info_t * phases_info,
    00196         const axutil_env_t * env);
    00197
    00202     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00203
    00204     axis2_phases_info_get_op_out_faultphases(
    00205         const axis2_phases_info_t * phases_info,
    00206         const axutil_env_t * env);
    00207
    00214     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00215     axis2_phases_info_set_op_phases(
    00216         axis2_phases_info_t * phases_info,
    00217         const axutil_env_t * env,
    00218         struct axis2_op *axis2_opt);
    00219
    00224     AXIS2_EXTERN axis2_phases_info_t *AXIS2_CALL
    00225     axis2_phases_info_create(
    00226         const axutil_env_t * env);
    00227
    00228     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00229     axis2_phases_info_copy_flow(
    00230         const axutil_env_t * env,
    00231         const axutil_array_list_t * flow_to_copy);
    00232
    00234 #ifdef __cplusplus
    00235 }
    00236 #endif
    00237
    00238 #endif                          /*AXIS2_PHASES_INFO_H */