libarmutils
1.4
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Macros
Groups
file_utils.h
Go to the documentation of this file.
1
/*******************************************************************************
2
*
3
* COPYRIGHT (C) 2010 Battelle Memorial Institute. All Rights Reserved.
4
*
5
********************************************************************************
6
*
7
* Author:
8
* name: Brian Ermold
9
* phone: (509) 375-2277
10
* email: brian.ermold@pnl.gov
11
*
12
********************************************************************************
13
*
14
* REPOSITORY INFORMATION:
15
* $Revision: 6421 $
16
* $Author: ermold $
17
* $Date: 2011-04-26 01:23:44 +0000 (Tue, 26 Apr 2011) $
18
*
19
********************************************************************************
20
*
21
* NOTE: DOXYGEN is used to generate documentation for this file.
22
*
23
*******************************************************************************/
24
25
/** @file file_utils.h
26
* File Utilities
27
*/
28
29
#ifndef _FILEUTILS_H
30
#define _FILEUTILS_H
31
32
/**
33
* @defgroup ARMUTILS_FILE_UTILS File Utils
34
*/
35
/*@{*/
36
37
#define FC_CHECK_MD5 0x1
/**< use md5 validation when copying a file */
38
39
int
file_copy
(
40
const
char
*src_file,
41
const
char
*dest_file,
42
int
flags);
43
44
int
file_exists
(
const
char
*file);
45
46
char
*
file_get_md5
(
const
char
*file,
char
*hexdigest);
47
48
int
file_move
(
49
const
char
*src_file,
50
const
char
*dest_file,
51
int
use_md5_validation);
52
53
void
*
file_mmap
(
const
char
*file,
size_t
*map_size);
54
int
file_munmap
(
void
*map_addr,
size_t
map_size);
55
56
/*@}*/
57
58
#endif
/* _FILEUTILS_H */
include
armutils
file_utils.h
Generated on Sun Feb 4 2018 04:44:56 for libarmutils by
1.8.1.1