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 AXIS2_SVC_NAME_H 00020 #define AXIS2_SVC_NAME_H 00021 00037 #include <axis2_defines.h> 00038 #include <axutil_env.h> 00039 #include <axis2_const.h> 00040 #include <axutil_qname.h> 00041 00042 #ifdef __cplusplus 00043 extern "C" 00044 { 00045 #endif 00046 00048 typedef struct axis2_svc_name axis2_svc_name_t; 00049 00057 AXIS2_EXTERN axis2_svc_name_t *AXIS2_CALL 00058 axis2_svc_name_create( 00059 const axutil_env_t * env, 00060 const axutil_qname_t * qname, 00061 const axis2_char_t * endpoint_name); 00062 00071 AXIS2_EXTERN const axutil_qname_t *AXIS2_CALL 00072 axis2_svc_name_get_qname( 00073 const axis2_svc_name_t * svc_name, 00074 const axutil_env_t * env); 00075 00084 AXIS2_EXTERN axis2_status_t AXIS2_CALL 00085 axis2_svc_name_set_qname( 00086 struct axis2_svc_name *svc_name, 00087 const axutil_env_t * env, 00088 const axutil_qname_t * qname); 00089 00098 AXIS2_EXTERN const axis2_char_t *AXIS2_CALL 00099 axis2_svc_name_get_endpoint_name( 00100 const axis2_svc_name_t * svc_name, 00101 const axutil_env_t * env); 00102 00112 AXIS2_EXTERN axis2_status_t AXIS2_CALL 00113 axis2_svc_name_set_endpoint_name( 00114 struct axis2_svc_name *svc_name, 00115 const axutil_env_t * env, 00116 const axis2_char_t * endpoint_name); 00117 00124 AXIS2_EXTERN void AXIS2_CALL 00125 axis2_svc_name_free( 00126 struct axis2_svc_name *svc_name, 00127 const axutil_env_t * env); 00128 00131 #ifdef __cplusplus 00132 } 00133 #endif 00134 00135 #endif /* AXIS2_SVC_NAME_H */