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_SEQ_OFFER_H 00018 #define SANDESHA2_SEQ_OFFER_H 00019 00025 #include <sandesha2_iom_rm_element.h> 00026 #include <sandesha2_error.h> 00027 #include <sandesha2_identifier.h> 00028 #include <sandesha2_expires.h> 00029 00030 #ifdef __cplusplus 00031 extern "C" 00032 { 00033 #endif 00034 00040 typedef struct sandesha2_seq_offer sandesha2_seq_offer_t; 00041 00046 AXIS2_DECLARE_DATA struct sandesha2_seq_offer 00047 { 00048 sandesha2_iom_rm_element_t element; 00049 }; 00050 00051 AXIS2_EXTERN sandesha2_seq_offer_t* AXIS2_CALL 00052 sandesha2_seq_offer_create( 00053 const axutil_env_t *env, 00054 axis2_char_t *ns_value); 00055 00056 sandesha2_identifier_t * AXIS2_CALL 00057 sandesha2_seq_offer_get_identifier( 00058 sandesha2_seq_offer_t *seq_offer, 00059 const axutil_env_t *env); 00060 00061 axis2_status_t AXIS2_CALL 00062 sandesha2_seq_offer_set_identifier( 00063 sandesha2_seq_offer_t *seq_offer, 00064 const axutil_env_t *env, 00065 sandesha2_identifier_t *identifier); 00066 00067 sandesha2_expires_t * AXIS2_CALL 00068 sandesha2_seq_offer_get_expires( 00069 sandesha2_seq_offer_t *seq_offer, 00070 const axutil_env_t *env); 00071 00072 axis2_status_t AXIS2_CALL 00073 sandesha2_seq_offer_set_expires( 00074 sandesha2_seq_offer_t *seq_offer, 00075 const axutil_env_t *env, sandesha2_expires_t *expires); 00076 00078 #ifdef __cplusplus 00079 } 00080 #endif 00081 00082 #endif /* SANDESHA2_SEQ_OFFER_H */ 00083