axiom_comment.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 AXIOM_COMMENT_H
00019 #define AXIOM_COMMENT_H
00020 
00026 #include <axiom_node.h>
00027 #include <axiom_output.h>
00028 
00029 #ifdef __cplusplus
00030 extern "C"
00031 {
00032 #endif
00033 
00034 
00042     typedef struct axiom_comment axiom_comment_t;
00043 
00054     AXIS2_EXTERN axiom_comment_t * AXIS2_CALL
00055     axiom_comment_create(const axutil_env_t *env,
00056             axiom_node_t *parent,
00057             const axis2_char_t *value,
00058             axiom_node_t **node);
00059 
00067     AXIS2_EXTERN void AXIS2_CALL
00068     axiom_comment_free(struct axiom_comment *om_comment,
00069             const axutil_env_t *env);
00076     AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00077     axiom_comment_get_value(struct axiom_comment *om_comment,
00078             const axutil_env_t *env);
00086     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00087     axiom_comment_set_value(struct axiom_comment *om_comment,
00088             const axutil_env_t *env,
00089             const axis2_char_t* value);
00097     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00098     axiom_comment_serialize(struct axiom_comment *om_comment,
00099             const axutil_env_t *env,
00100             axiom_output_t *om_output);
00101 
00104 #ifdef __cplusplus
00105 }
00106 #endif
00107 
00108 #endif                          /* AXIOM_COMMENT_H */

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