TPCCLIB
Toggle main menu visibility
Loading...
Searching...
No Matches
libtpcfileutil
tpcfileutil.h
Go to the documentation of this file.
1
8
#ifndef _TPCFILEUTIL_H_
9
#define _TPCFILEUTIL_H_
10
/*****************************************************************************/
11
12
/*****************************************************************************/
13
#include "tpcclibConfig.h"
14
/*****************************************************************************/
15
#include <stdio.h>
16
#include <stdlib.h>
17
#include <string.h>
18
#include <ctype.h>
19
#include <time.h>
20
#include <unistd.h>
21
#include <dirent.h>
22
#include <sys/stat.h>
23
/*****************************************************************************/
24
/* For Windows/MinGW */
25
#ifdef HAVE_DIRECT_H
26
#include <direct.h>
27
#endif
28
/*****************************************************************************/
29
#include "
tpcextensions.h
"
30
#include "
tpcift.h
"
31
/*****************************************************************************/
32
33
/*****************************************************************************/
34
/* backup */
35
extern
int
fileBackup
(
const
char
*filename,
const
char
*backup_ext,
char
*status);
36
/*****************************************************************************/
37
38
/*****************************************************************************/
39
/* filexist */
40
extern
int
fileExist
(
const
char
*filename);
41
extern
unsigned
short
int
pathFileNr
(
const
char
*pathname);
42
extern
unsigned
short
int
pathFileList
(
const
char
*pathname,
IFT
*ift);
43
/*****************************************************************************/
44
45
/*****************************************************************************/
46
/* pathexist */
47
extern
int
pathExist
(
const
char
*pathname);
48
extern
int
pathRemove
(
const
char
*pathname);
49
extern
int
pathRemoveFiles
(
const
char
*pathname);
50
extern
int
pathCreate
(
const
char
*pathname);
51
/*****************************************************************************/
52
53
/*****************************************************************************/
54
#endif
/* TPCFILEUTIL */
IFT
Definition
tpcift.h:43
tpcextensions.h
Header file for library libtpcextensions.
pathExist
int pathExist(const char *pathname)
Definition
pathexist.c:17
pathFileNr
unsigned short int pathFileNr(const char *pathname)
Definition
filexist.c:33
pathFileList
unsigned short int pathFileList(const char *pathname, IFT *ift)
Definition
filexist.c:83
fileBackup
int fileBackup(const char *filename, const char *backup_ext, char *status)
Definition
backup.c:17
pathCreate
int pathCreate(const char *pathname)
Definition
pathexist.c:81
fileExist
int fileExist(const char *filename)
Definition
filexist.c:17
pathRemoveFiles
int pathRemoveFiles(const char *pathname)
Definition
pathexist.c:58
pathRemove
int pathRemove(const char *pathname)
Definition
pathexist.c:43
tpcift.h
Header file for library libtpcift.
Generated on
for TPCCLIB by
1.17.0