axis2_dir_handler.h

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 AXIS2_DIR_HANDLER_H
00018 #define AXIS2_DIR_HANDLER_H
00019 
00020 #include <axis2_utils_defines.h>
00021 #include <axis2_error.h>
00022 #include <axis2_env.h>
00023 #include <axis2_string.h>
00024 #include <axis2_array_list.h>
00025 #include <axis2_utils.h>
00026 
00027 
00028 #ifdef __cplusplus
00029 extern "C"
00030 {
00031 #endif
00032 
00043     AXIS2_EXTERN axis2_array_list_t * AXIS2_CALL
00044     axis2_dir_handler_list_services_or_modules_in_dir(const axis2_env_t *env,
00045                                 axis2_char_t *pathname); 
00046     
00053     AXIS2_EXTERN axis2_array_list_t * AXIS2_CALL
00054     axis2_dir_handler_list_service_or_module_dirs(const axis2_env_t *env,
00055                                 axis2_char_t *pathname);
00056 
00057 /*
00058  *extentions for module and service archives
00059  */
00060 #define AXIS2_AAR_SUFFIX ".aar"
00061 #define AXIS2_MAR_SUFFIX ".mar"
00062 
00063                                 
00064 /***********************Function Macros****************************************/
00065 
00066 #define AXIS2_DIR_HANDLER_LIST_SERVICES_OR_MODULES_IN_DIR(env, pathname) \
00067         (axis2_dir_handler_list_services_or_modules_in_dir(env, pathname))
00068         
00069 #define AXIS2_DIR_HANDLER_LIST_SERVICE_OR_MODULE_DIRS(env, pathname) \
00070         (axis2_dir_handler_list_service_or_module_dirs(env, pathname))        
00071 
00076 #ifdef __cplusplus
00077 }
00078 #endif
00079 
00080 #endif                          /* AXIS2_DIR_HANDLER_H */

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