guththila_namespace.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 #ifndef GUTHTHILA_NAMESPACE_H
00019 #define GUTHTHILA_NAMESPACE_H
00020 
00021 #include <guththila_defines.h>
00022 #include <guththila_token.h>
00023 #include <axutil_utils.h>
00024 EXTERN_C_START() 
00025 
00026 #ifndef GUTHTHILA_NAMESPACE_DEF_SIZE
00027 #define GUTHTHILA_NAMESPACE_DEF_SIZE 4
00028 #endif  /*  */
00029 
00030 typedef struct guththila_namespace_s
00031 {
00032     guththila_token_t *name;
00033     guththila_token_t *uri;   
00034 } guththila_namespace_t;
00035 
00036 typedef struct guththila_namespace_list_s
00037 {
00038     guththila_namespace_t *list;
00039     guththila_stack_t fr_stack;
00040     int size;
00041     int capacity;
00042 } guththila_namespace_list_t;
00043 
00044 guththila_namespace_list_t *
00045 GUTHTHILA_CALL guththila_namespace_list_create(const axutil_env_t * env);
00046 
00047 int GUTHTHILA_CALL
00048 guththila_namespace_list_init(
00049     guththila_namespace_list_t * at_list,
00050     const axutil_env_t * env);
00051 
00052 guththila_namespace_t * GUTHTHILA_CALL 
00053 guththila_namespace_list_get(guththila_namespace_list_t *at_list,
00054         const axutil_env_t * env);
00055 
00056 int GUTHTHILA_CALL
00057 guththila_namespace_list_release(
00058     guththila_namespace_list_t * at_list,
00059     guththila_namespace_t * namesp,
00060     const axutil_env_t * env);
00061 
00062 void GUTHTHILA_CALL
00063 msuila_namespace_list_free_data(
00064     guththila_namespace_list_t * at_list,
00065     const axutil_env_t * env);
00066 
00067 void GUTHTHILA_CALL
00068 guththila_namespace_list_free(
00069     guththila_namespace_list_t * at_list,
00070     const axutil_env_t * env);
00071 
00072 EXTERN_C_END() 
00073 #endif  /*  */
00074 

Generated on Sat May 3 10:44:35 2008 for Axis2/C by  doxygen 1.5.5