axis2_any_content_type.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_ANY_CONTENT_TYPE_H
00020 #define AXIS2_ANY_CONTENT_TYPE_H
00021 
00031 #include <axis2_defines.h>
00032 #include <axutil_env.h>
00033 #include <axis2_const.h>
00034 #include <axutil_hash.h>
00035 #include <axutil_qname.h>
00036 
00037 #ifdef __cplusplus
00038 extern "C"
00039 {
00040 #endif
00041 
00043     typedef struct axis2_any_content_type axis2_any_content_type_t;
00044 
00050     AXIS2_EXTERN axis2_any_content_type_t *AXIS2_CALL
00051 
00052     axis2_any_content_type_create(
00053         const axutil_env_t * env);
00054 
00063     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00064     axis2_any_content_type_add_value(
00065         axis2_any_content_type_t * any_content_type,
00066         const axutil_env_t * env,
00067         const axutil_qname_t * qname,
00068         const axis2_char_t * value);
00069 
00079     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00080 
00081     axis2_any_content_type_get_value(
00082         const axis2_any_content_type_t * any_content_type,
00083         const axutil_env_t * env,
00084         const axutil_qname_t * qname);
00085 
00093     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00094 
00095     axis2_any_content_type_get_value_map(
00096         const axis2_any_content_type_t * any_content_type,
00097         const axutil_env_t * env);
00098 
00105     AXIS2_EXTERN void AXIS2_CALL
00106     axis2_any_content_type_free(
00107         axis2_any_content_type_t * any_content_type,
00108         const axutil_env_t * env);
00109 
00112 #ifdef __cplusplus
00113 }
00114 #endif
00115 
00116 #endif                          /* AXIS2_ANY_CONTENT_TYPE_H */

Generated on Tue Jan 8 01:28:16 2008 for Axis2/C by  doxygen 1.5.1