# axis2_relates_to.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_RELATES_TO_H
    00020 #define AXIS2_RELATES_TO_H
    00021
    00038 #include <axis2_defines.h>
    00039 #include <axutil_env.h>
    00040 #include <axis2_const.h>
    00041
    00042 #ifdef __cplusplus
    00043 extern "C"
    00044 {
    00045 #endif
    00046
    00048     typedef struct axis2_relates_to axis2_relates_to_t;
    00049
    00056     AXIS2_EXTERN axis2_relates_to_t *AXIS2_CALL
    00057     axis2_relates_to_create(
    00058         const axutil_env_t * env,
    00059         const axis2_char_t * value,
    00060         const axis2_char_t * relationship_type);
    00061
    00069     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00070     axis2_relates_to_get_value(
    00071         const axis2_relates_to_t * relates_to,
    00072         const axutil_env_t * env);
    00073
    00082     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00083     axis2_relates_to_set_value(
    00084         struct axis2_relates_to *relates_to,
    00085         const axutil_env_t * env,
    00086         const axis2_char_t * value);
    00087
    00094     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00095     axis2_relates_to_get_relationship_type(
    00096         const axis2_relates_to_t * relates_to,
    00097         const axutil_env_t * env);
    00098
    00106     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00107     axis2_relates_to_set_relationship_type(
    00108         struct axis2_relates_to *relates_to,
    00109         const axutil_env_t * env,
    00110         const axis2_char_t * relationship_type);
    00111
    00118     AXIS2_EXTERN void AXIS2_CALL
    00119     axis2_relates_to_free(
    00120         struct axis2_relates_to *relates_to,
    00121         const axutil_env_t * env);
    00122
    00125 #ifdef __cplusplus
    00126 }
    00127 #endif
    00128
    00129 #endif                          /* AXIS2_RELATES_TO_H */