- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# axis2_flow.h

Go to the documentation of this file.

    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_FLOW_H
    00020 #define AXIS2_FLOW_H
    00021
    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_string.h>
    00040 #include <axutil_array_list.h>
    00041 #include <axis2_handler_desc.h>
    00042
    00043 #ifdef __cplusplus
    00044 extern "C"
    00045 {
    00046 #endif
    00047
    00049     typedef struct axis2_flow axis2_flow_t;
    00050
    00056     AXIS2_EXTERN axis2_flow_t *AXIS2_CALL
    00057     axis2_flow_create(
    00058         const axutil_env_t * env);
    00059
    00066     AXIS2_EXTERN void AXIS2_CALL
    00067     axis2_flow_free(
    00068         axis2_flow_t * flow,
    00069         const axutil_env_t * env);
    00070
    00078     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00079     axis2_flow_add_handler(
    00080         axis2_flow_t * flow,
    00081         const axutil_env_t * env,
    00082         axis2_handler_desc_t * handler);
    00083
    00091     AXIS2_EXTERN axis2_handler_desc_t *AXIS2_CALL
    00092     axis2_flow_get_handler(
    00093         const axis2_flow_t * flow,
    00094         const axutil_env_t * env,
    00095         const int index);
    00096
    00103     AXIS2_EXTERN int AXIS2_CALL
    00104     axis2_flow_get_handler_count(
    00105         const axis2_flow_t * flow,
    00106         const axutil_env_t * env);
    00107
    00115     AXIS2_EXTERN void AXIS2_CALL
    00116     axis2_flow_free_void_arg(
    00117         void *flow,
    00118         const axutil_env_t * env);
    00119
    00122 #ifdef __cplusplus
    00123 }
    00124 #endif
    00125 #endif                          /* AXIS2_FLOW_H */