# axis2_any_content_type.h

Go to the documentation of this file.

    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
    00035 #include <axis2_defines.h>
    00036 #include <axutil_env.h>
    00037 #include <axis2_const.h>
    00038 #include <axutil_hash.h>
    00039 #include <axutil_qname.h>
    00040
    00041 #ifdef __cplusplus
    00042 extern "C"
    00043 {
    00044 #endif
    00045
    00047     typedef struct axis2_any_content_type axis2_any_content_type_t;
    00048
    00054     AXIS2_EXTERN axis2_any_content_type_t *AXIS2_CALL
    00055     axis2_any_content_type_create(
    00056         const axutil_env_t * env);
    00057
    00066     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00067     axis2_any_content_type_add_value(
    00068         axis2_any_content_type_t * any_content_type,
    00069         const axutil_env_t * env,
    00070         const axutil_qname_t * qname,
    00071         const axis2_char_t * value);
    00072
    00082     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00083     axis2_any_content_type_get_value(
    00084         const axis2_any_content_type_t * any_content_type,
    00085         const axutil_env_t * env,
    00086         const axutil_qname_t * qname);
    00087
    00095     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
    00096     axis2_any_content_type_get_value_map(
    00097         const axis2_any_content_type_t * any_content_type,
    00098         const axutil_env_t * env);
    00099
    00106     AXIS2_EXTERN void AXIS2_CALL
    00107     axis2_any_content_type_free(
    00108         axis2_any_content_type_t * any_content_type,
    00109         const axutil_env_t * env);
    00110
    00113 #ifdef __cplusplus
    00114 }
    00115 #endif
    00116
    00117 #endif                          /* AXIS2_ANY_CONTENT_TYPE_H */