Axis2/C: axiom_comment.h Source File

- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# axiom_comment.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 AXIOM_COMMENT_H
    00020 #define AXIOM_COMMENT_H
    00021
    00027 #include <axiom_node.h>
    00028 #include <axiom_output.h>
    00029
    00030 #ifdef __cplusplus
    00031 extern "C"
    00032 {
    00033 #endif
    00034
    00041     typedef struct axiom_comment axiom_comment_t;
    00042
    00053     AXIS2_EXTERN axiom_comment_t *AXIS2_CALL
    00054     axiom_comment_create(
    00055         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(
    00069         struct axiom_comment *om_comment,
    00070         const axutil_env_t * env);
    00071
    00078     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00079     axiom_comment_get_value(
    00080         struct axiom_comment *om_comment,
    00081         const axutil_env_t * env);
    00082
    00090     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00091     axiom_comment_set_value(
    00092         struct axiom_comment *om_comment,
    00093         const axutil_env_t * env,
    00094         const axis2_char_t * value);
    00095
    00103     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00104     axiom_comment_serialize(
    00105         struct axiom_comment *om_comment,
    00106         const axutil_env_t * env,
    00107         axiom_output_t * om_output);
    00108
    00111 #ifdef __cplusplus
    00112 }
    00113 #endif
    00114
    00115 #endif                          /* AXIOM_COMMENT_H */