w2c_messages.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 W2C_MESSAGES_H
00018 #define W2C_MESSAGES_H
00019 
00025 #include <axis2_utils.h>
00026 #include <axis2_hash.h>
00027 #include <axis2_properties.h>
00028 
00029 #ifdef __cplusplus
00030 extern "C"
00031 {
00032 #endif
00033 
00034 #define W2C_MESSAGES_INTER_PATH "/conf/"
00035     
00048 AXIS2_EXTERN axis2_properties_t* AXIS2_CALL
00049 w2c_messages_get_message_properties( 
00050     const axis2_env_t *env );
00051 
00058 AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00059 w2c_messages_get_message( const axis2_env_t *env, axis2_char_t *key );
00060 
00061 
00067 AXIS2_EXTERN void AXIS2_CALL
00068 w2c_messages_print_n_log_error( const axis2_env_t *env,
00069                                  axis2_char_t *key );
00070 
00077 AXIS2_EXTERN void AXIS2_CALL
00078 w2c_messages_print_n_log_error_from_properties( const axis2_env_t *env,
00079                                           axis2_properties_t *props,
00080                                           axis2_char_t *key );
00081 
00084 #ifdef __cplusplus
00085 }
00086 #endif
00087 
00088 #endif /* W2C_MESSAGES_H */

Generated on Thu Oct 26 21:11:24 2006 for Axis2/C by  doxygen 1.4.7