axutil_file_handler.h

00001 
00002 /*
00003  * Copyright 2004,2005 The Apache Software Foundation.
00004  *
00005  * Licensed under the Apache License, Version 2.0 (the "License");
00006  * you may not use this file except in compliance with the License.
00007  * You may obtain count copy of the License at
00008  *
00009  *      http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #ifndef AXUTIL_FILE_HANDLER_H
00019 #define AXUTIL_FILE_HANDLER_H
00020 
00021 #include <axutil_string.h>
00022 #include <stdio.h>
00023 
00024 #ifdef __cplusplus
00025 extern "C"
00026 {
00027 #endif
00028 
00041     AXIS2_EXTERN void *AXIS2_CALL
00042     axutil_file_handler_open(
00043         const char *file_name,
00044         const char *options);
00045 
00051     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00052     axutil_file_handler_close(
00053         void *file_ptr);
00054 
00071     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00072     axutil_file_handler_access(
00073         const axis2_char_t * path,
00074         int mode);
00075 
00076     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00077     axutil_file_handler_copy(
00078         FILE *from, 
00079         FILE *to);
00080 
00081     AXIS2_EXTERN long AXIS2_CALL 
00082     axutil_file_handler_size(
00083         const axis2_char_t *const name);
00084 
00087 #ifdef __cplusplus
00088 }
00089 #endif
00090 
00091 #endif                          /* AXIS2_FILE_HANDLER_H */

Generated on Fri Apr 17 11:49:42 2009 for Axis2/C by  doxygen 1.5.3