axutil_stack.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 AXUTIL_STACK_H
00019 #define AXUTIL_STACK_H
00020 
00021 
00027 #include <axutil_utils_defines.h>
00028 #include <axutil_env.h>
00029 
00030 #ifdef __cplusplus
00031 extern "C"
00032 {
00033 #endif
00034 
00041     typedef struct axutil_stack axutil_stack_t;
00042 
00043     AXIS2_EXTERN axutil_stack_t * AXIS2_CALL
00044     axutil_stack_create(const axutil_env_t *env);
00045 
00051     AXIS2_EXTERN void AXIS2_CALL
00052     axutil_stack_free(axutil_stack_t *stack,
00053         const axutil_env_t *env);
00054 
00055     AXIS2_EXTERN void* AXIS2_CALL
00056     axutil_stack_pop(axutil_stack_t *stack,
00057         const axutil_env_t *env);
00058 
00059     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00060     axutil_stack_push(axutil_stack_t *stack,
00061         const axutil_env_t *env,
00062         void* value);
00063 
00064     AXIS2_EXTERN int AXIS2_CALL
00065     axutil_stack_size(axutil_stack_t *stack,
00066         const axutil_env_t *env);
00071     AXIS2_EXTERN void* AXIS2_CALL
00072     axutil_stack_get(axutil_stack_t *stack,
00073         const axutil_env_t *env);
00074 
00075     AXIS2_EXTERN void* AXIS2_CALL
00076     axutil_stack_get_at(axutil_stack_t *stack,
00077         const axutil_env_t *env,
00078         int i);
00079 
00082 #ifdef __cplusplus
00083 }
00084 #endif
00085 #endif /* AXIS2_STACK_H */
00086 

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