# sandesha2_identifier.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_IDENTIFIER_H
    00018 #define SANDESHA2_IDENTIFIER_H
    00019
    00025 #include <axutil_utils_defines.h>
    00026 #include <axutil_env.h>
    00027 #include <axiom_soap_envelope.h>
    00028 #include <sandesha2_error.h>
    00029
    00030
    00031 #ifdef __cplusplus
    00032 extern "C"
    00033 {
    00034 #endif
    00035
    00040 typedef struct sandesha2_identifier_t sandesha2_identifier_t;
    00041
    00047 axis2_status_t AXIS2_CALL
    00048 sandesha2_identifier_free_void_arg(
    00049     void *identifier,
    00050     const axutil_env_t *env);
    00051
    00052 axis2_status_t AXIS2_CALL
    00053 sandesha2_identifier_free (
    00054     sandesha2_identifier_t *identifier,
    00055     const axutil_env_t *env);
    00056
    00057 AXIS2_EXTERN sandesha2_identifier_t* AXIS2_CALL
    00058 sandesha2_identifier_create(
    00059     const axutil_env_t *env,
    00060     axis2_char_t *ns_value);
    00061
    00062 AXIS2_EXTERN sandesha2_identifier_t* AXIS2_CALL
    00063 sandesha2_identifier_clone(
    00064     const axutil_env_t *env,
    00065     sandesha2_identifier_t *identifier);
    00066
    00067 axis2_char_t * AXIS2_CALL
    00068 sandesha2_identifier_get_identifier(
    00069     sandesha2_identifier_t *identifier,
    00070     const axutil_env_t *env);
    00071
    00072 axis2_status_t AXIS2_CALL
    00073 sandesha2_identifier_set_identifier(
    00074     sandesha2_identifier_t *identifier,
    00075     const axutil_env_t *env,
    00076     axis2_char_t *str_id);
    00077
    00078 axis2_char_t* AXIS2_CALL
    00079 sandesha2_identifier_get_namespace_value (
    00080     sandesha2_identifier_t *identifier,
    00081     const axutil_env_t *env);
    00082
    00083 void* AXIS2_CALL
    00084 sandesha2_identifier_from_om_node(
    00085     sandesha2_identifier_t *identifier,
    00086     const axutil_env_t *env, axiom_node_t *om_node);
    00087
    00088 axiom_node_t* AXIS2_CALL
    00089 sandesha2_identifier_to_om_node(
    00090     sandesha2_identifier_t *identifier,
    00091     const axutil_env_t *env,
    00092     void *om_node);
    00093
    00095 #ifdef __cplusplus
    00096 }
    00097 #endif
    00098
    00099 #endif                          /* SANDESHA2_IDENTIFIER_H */
    00100