VIP: Volume Image Processing
shelltools.h
Go to the documentation of this file.
1
/****************************************************************************
2
* PROJECT : V.I.P. Library
3
* MODULE NAME : * TYPE : Header
4
* AUTHOR : * CREATION :
5
* VERSION : * REVISION :
6
* LANGUAGE : C * EXAMPLE :
7
* DEVICE : Linux
8
****************************************************************************
9
*
10
* DESCRIPTION :
11
*
12
****************************************************************************
13
*
14
*
15
****************************************************************************
16
* REVISIONS : DATE | AUTHOR | DESCRIPTION
17
*--------------------|--------------|---------------------------------------
18
* / / | |
19
****************************************************************************/
20
21
#ifndef VIP_UTIL_SHELLTOOLS_H
22
#define VIP_UTIL_SHELLTOOLS_H
23
24
#include <
vip/util/strlist.h
>
25
26
#ifdef __cplusplus
27
extern
"C"
28
{
29
#endif
30
31
enum
VipCopyFlags
32
{
33
VipNone
= 0,
34
VipRecursive
= 1,
35
VipPreserve
= 2,
36
VipSymlinks
= 4,
37
VipArchive
=
VipRecursive
|
VipPreserve
|
VipSymlinks
,
38
};
39
40
/* shell-like filenames expansion */
41
VipStringList
*
VipShellExpand
(
const
char
* pattern );
42
VipStringList
*
VipListDirectory
(
const
char
* path );
43
void
VipCp
(
const
char
* srcpatt,
const
char
* dst,
int
flags );
44
void
VipMv
(
const
char
* srcpatt,
const
char
* dst );
45
void
VipRm
(
const
char
* pattern,
int
flags );
46
47
#ifdef __cplusplus
48
}
49
#endif
50
51
#endif
52
VipMv
void VipMv(const char *srcpatt, const char *dst)
VipShellExpand
VipStringList * VipShellExpand(const char *pattern)
VipCopyFlags
VipCopyFlags
Definition
shelltools.h:32
VipRecursive
@ VipRecursive
Definition
shelltools.h:34
VipSymlinks
@ VipSymlinks
Definition
shelltools.h:36
VipNone
@ VipNone
Definition
shelltools.h:33
VipArchive
@ VipArchive
Definition
shelltools.h:37
VipPreserve
@ VipPreserve
Definition
shelltools.h:35
VipListDirectory
VipStringList * VipListDirectory(const char *path)
VipCp
void VipCp(const char *srcpatt, const char *dst, int flags)
VipRm
void VipRm(const char *pattern, int flags)
strlist.h
VipStringList
Definition
strlist.h:49
vip
util
shelltools.h
Generated by
1.13.2