# sandesha2_msg_number.h

Go to the documentation of this file.

    00001 /*
    00002  * Copyright 2004,2005 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License");
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *      http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    00015  */
    00016
    00017 #ifndef SANDESHA2_MSG_NUMBER_H
    00018 #define SANDESHA2_MSG_NUMBER_H
    00019
    00025 #include <sandesha2_error.h>
    00026 #include <axutil_env.h>
    00027 #include <axiom_node.h>
    00028
    00029
    00030 #ifdef __cplusplus
    00031 extern "C"
    00032 {
    00033 #endif
    00034
    00039 typedef struct sandesha2_msg_number_t sandesha2_msg_number_t;
    00040
    00051 AXIS2_EXTERN sandesha2_msg_number_t* AXIS2_CALL
    00052 sandesha2_msg_number_create(
    00053     const axutil_env_t *env,
    00054     axis2_char_t *ns_value);
    00055
    00056 AXIS2_EXTERN sandesha2_msg_number_t* AXIS2_CALL
    00057 sandesha2_msg_number_clone(
    00058     const axutil_env_t *env,
    00059     sandesha2_msg_number_t *msg_number);
    00060
    00061 axis2_status_t AXIS2_CALL
    00062 sandesha2_msg_number_free_void_arg(
    00063     void *msg_num,
    00064     const axutil_env_t *env);
    00065
    00066 axis2_status_t AXIS2_CALL
    00067 sandesha2_msg_number_free(
    00068     sandesha2_msg_number_t *msg_num,
    00069         const axutil_env_t *env);
    00070
    00071 axis2_char_t* AXIS2_CALL
    00072 sandesha2_msg_number_get_namespace_value(
    00073     sandesha2_msg_number_t *msg_num,
    00074         const axutil_env_t *env);
    00075
    00076 axis2_status_t AXIS2_CALL
    00077 sandesha2_msg_number_set_msg_num(
    00078     sandesha2_msg_number_t *msg_num,
    00079         const axutil_env_t *env,
    00080     long value);
    00081
    00082 long AXIS2_CALL
    00083 sandesha2_msg_number_get_msg_num(
    00084     sandesha2_msg_number_t *msg_num,
    00085         const axutil_env_t *env);
    00086
    00087 void* AXIS2_CALL
    00088 sandesha2_msg_number_from_om_node(
    00089     sandesha2_msg_number_t *msg_num,
    00090         const axutil_env_t *env,
    00091     axiom_node_t *om_node);
    00092
    00093 axiom_node_t* AXIS2_CALL
    00094 sandesha2_msg_number_to_om_node(
    00095     sandesha2_msg_number_t *msg_num,
    00096         const axutil_env_t *env,
    00097     void *om_node);
    00098
    00099
    00101 #ifdef __cplusplus
    00102 }
    00103 #endif
    00104
    00105 #endif                          /* SANDESHA2_MSG_NUMBER_H */
    00106