axis2_relates_to.h

Go to the documentation of this file.
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_RELATES_TO_H
00019 #define AXIS2_RELATES_TO_H
00020 
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(const axutil_env_t *env,
00058         const axis2_char_t *value,
00059         const axis2_char_t *relationship_type);
00060 
00068     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00069     axis2_relates_to_get_value(
00070         const axis2_relates_to_t *relates_to,
00071         const axutil_env_t *env);
00072 
00081     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00082     axis2_relates_to_set_value(struct axis2_relates_to *relates_to,
00083         const axutil_env_t *env,
00084         const axis2_char_t *value);
00085 
00092     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00093     axis2_relates_to_get_relationship_type(const axis2_relates_to_t *relates_to,
00094         const axutil_env_t *env);
00095 
00103     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00104     axis2_relates_to_set_relationship_type(struct axis2_relates_to *relates_to,
00105         const axutil_env_t *env,
00106         const axis2_char_t *relationship_type);
00107 
00114     AXIS2_EXTERN void AXIS2_CALL
00115     axis2_relates_to_free(struct axis2_relates_to *relates_to,
00116         const axutil_env_t *env);
00117 
00120 #ifdef __cplusplus
00121 }
00122 #endif
00123 
00124 #endif    /* AXIS2_RELATES_TO_H */

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