guththila_attribute.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_ATTRIBUTE_H
00019 #define GUTHTHILA_ATTRIBUTE_H
00020 
00021 #include <guththila_defines.h>
00022 #include <guththila_token.h>
00023 #include <axutil_utils.h>
00024 EXTERN_C_START() 
00025 #ifndef GUTHTHILA_ATTR_DEF_SIZE
00026 #define GUTHTHILA_ATTR_DEF_SIZE 16
00027 #endif  /* */
00028 typedef struct guththila_attr_s
00029 {
00030 
00031     guththila_token_t *
00032     pref;
00033 
00034     guththila_token_t *
00035     name;
00036 
00037     guththila_token_t *
00038     val;
00039     
00040 }
00041 guththila_attr_t;
00042 typedef struct guththila_attr_list_s
00043 {
00044 
00045     guththila_attr_t *
00046     list;
00047 
00048     guththila_stack_t
00049     fr_stack;
00050     int
00051     size;
00052     int
00053     capacity;
00054     
00055 }
00056 guththila_attr_list_t;
00064 guththila_attr_list_t *
00065 GUTHTHILA_CALL guththila_attr_list_create(const axutil_env_t * env);
00066 
00077 int GUTHTHILA_CALL
00078 guththila_attr_list_init(
00079     guththila_attr_list_t * at_list,
00080     const axutil_env_t * env);
00089 guththila_attr_t *
00090 GUTHTHILA_CALL guththila_attr_list_get(guththila_attr_list_t * at_list,
00091         const axutil_env_t * env);
00092 
00105 int GUTHTHILA_CALL
00106 guththila_attr_list_release(
00107     guththila_attr_list_t * at_list,
00108     guththila_attr_t * attr,
00109     const axutil_env_t * env);
00121 void GUTHTHILA_CALL
00122 msuila_attr_list_free_data(
00123     guththila_attr_list_t * at_list,
00124     const axutil_env_t * env);
00136 void GUTHTHILA_CALL
00137 guththila_attr_list_free(
00138     guththila_attr_list_t * at_list,
00139     const axutil_env_t * env);
00140 
00141 EXTERN_C_END() 
00142 #endif  /*  */
00143 

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