sandesha2_expires.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_EXPIRES_H
00018 #define SANDESHA2_EXPIRES_H
00019 
00025 #include <axutil_utils_defines.h>
00026 #include <axutil_env.h>
00027 #include <sandesha2_error.h>
00028 
00029 
00030 #ifdef __cplusplus
00031 extern "C"
00032 {
00033 #endif
00034 
00039 typedef struct sandesha2_expires_t sandesha2_expires_t;
00040 struct axiom_node;
00041 
00047 AXIS2_EXTERN sandesha2_expires_t* AXIS2_CALL
00048 sandesha2_expires_create(
00049     const axutil_env_t *env, 
00050     axis2_char_t *ns_value);
00051 
00052 axis2_status_t AXIS2_CALL 
00053 sandesha2_expires_free (
00054     sandesha2_expires_t *expires, 
00055         const axutil_env_t *env);
00056 
00057 axis2_char_t *AXIS2_CALL
00058 sandesha2_expires_get_duration(
00059     sandesha2_expires_t *expires,
00060     const axutil_env_t *env);
00061 
00062 axis2_status_t AXIS2_CALL 
00063 sandesha2_expires_set_duration(
00064     sandesha2_expires_t *expires,
00065     const axutil_env_t *env, 
00066     axis2_char_t *duration);
00067 
00068 axis2_char_t* AXIS2_CALL 
00069 sandesha2_expires_get_namespace_value (
00070     sandesha2_expires_t *expires,
00071         const axutil_env_t *env);
00072 
00073 void* AXIS2_CALL 
00074 sandesha2_expires_from_om_node(
00075     sandesha2_expires_t *expires,
00076     const axutil_env_t *env, 
00077     struct axiom_node *om_node);
00078     
00079 struct axiom_node* AXIS2_CALL 
00080 sandesha2_expires_to_om_node(
00081     sandesha2_expires_t *expires,
00082     const axutil_env_t *env, 
00083     void *om_node);
00084  
00086 #ifdef __cplusplus
00087 }
00088 #endif
00089 
00090 #endif                          /* SANDESHA2_EXPIRES_H */

Generated on Wed Oct 14 01:02:17 2009 for Sandesha2/C by  doxygen 1.5.7.1