axutil_file.h

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 AXUTIL_FILE_H
00020 #define AXUTIL_FILE_H
00021 
00022 #include <axutil_utils_defines.h>
00023 #include <axutil_error.h>
00024 #include <axutil_env.h>
00025 #include <axutil_utils.h>
00026 #include <platforms/axutil_platform_auto_sense.h>
00027 
00028 #ifdef __cplusplus
00029 extern "C"
00030 {
00031 #endif
00032 
00033     typedef struct axutil_file axutil_file_t;
00034 
00045     AXIS2_EXTERN axutil_file_t *AXIS2_CALL
00046     axutil_file_create(
00047         const axutil_env_t * env);
00048 
00049     AXIS2_EXTERN void AXIS2_CALL
00050     axutil_file_free(
00051         axutil_file_t * file,
00052         const axutil_env_t * env);
00053 
00054     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00055     axutil_file_set_name(
00056         axutil_file_t * file,
00057         const axutil_env_t * env,
00058         axis2_char_t * name);
00059 
00060     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00061     axutil_file_get_name(
00062         axutil_file_t * file,
00063         const axutil_env_t * env);
00064 
00065     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00066     axutil_file_set_path(
00067         axutil_file_t * file,
00068         const axutil_env_t * env,
00069         axis2_char_t * path);
00070 
00071     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00072     axutil_file_get_path(
00073         axutil_file_t * file,
00074         const axutil_env_t * env);
00075 
00076     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00077     axutil_file_set_timestamp(
00078         axutil_file_t * file,
00079         const axutil_env_t * env,
00080         AXIS2_TIME_T timestamp);
00081 
00082     AXIS2_EXTERN AXIS2_TIME_T AXIS2_CALL
00083     axutil_file_get_timestamp(
00084         axutil_file_t * file,
00085         const axutil_env_t * env);
00086 
00090     AXIS2_EXTERN axutil_file_t *AXIS2_CALL
00091     axutil_file_clone(
00092         axutil_file_t * file,
00093         const axutil_env_t * env);
00094 
00095 #ifdef __cplusplus
00096 }
00097 #endif
00098 
00099 #endif                          /* AXIS2_FILE_H */

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