axis2_any_content_type.h

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 AXIS2_ANY_CONTENT_TYPE_H
00019 #define AXIS2_ANY_CONTENT_TYPE_H
00020 
00030 #include <axis2_defines.h>
00031 #include <axutil_env.h>
00032 #include <axis2_const.h>
00033 #include <axutil_hash.h>
00034 #include <axutil_qname.h>
00035 
00036 #ifdef __cplusplus
00037 extern "C"
00038 {
00039 #endif
00040 
00042     typedef struct axis2_any_content_type axis2_any_content_type_t;
00043 
00049     AXIS2_EXTERN axis2_any_content_type_t *AXIS2_CALL
00050     axis2_any_content_type_create(const axutil_env_t *env);
00051 
00060     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00061     axis2_any_content_type_add_value(axis2_any_content_type_t *any_content_type,
00062         const axutil_env_t *env,
00063         const axutil_qname_t *qname,
00064         const axis2_char_t *value);
00065 
00075     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00076     axis2_any_content_type_get_value(const axis2_any_content_type_t *any_content_type,
00077         const axutil_env_t *env,
00078         const axutil_qname_t *qname);
00086     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00087     axis2_any_content_type_get_value_map(const axis2_any_content_type_t *any_content_type,
00088         const axutil_env_t *env);
00089 
00096     AXIS2_EXTERN void AXIS2_CALL
00097     axis2_any_content_type_free(axis2_any_content_type_t *any_content_type,
00098         const axutil_env_t *env);
00099 
00102 #ifdef __cplusplus
00103 }
00104 #endif
00105 
00106 #endif    /* AXIS2_ANY_CONTENT_TYPE_H */
00107 

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