FireBirdLib - Topfield TMS PVR TAP Programming Library
infData_OpenFile.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#include "
FBLib_rec.h
"
3
4
FILE
*
infDatainfFile
= NULL;
5
6
bool
infData_OpenFile
(
const
char
*infFileName)
7
{
8
TRACEENTER
();
9
10
char
AbsFileName[
FBLIB_DIR_SIZE
];
11
12
infDatainfFile
= NULL;
13
if
(infFileName && *infFileName)
14
{
15
ConvertPathType
(infFileName, AbsFileName,
PF_FullLinuxPath
);
16
if
(*AbsFileName)
infDatainfFile
= fopen(AbsFileName,
"r+"
);
17
}
18
19
TRACEEXIT
();
20
return
(
infDatainfFile
!= NULL);
21
}
ConvertPathType
void ConvertPathType(const char *Source, char *Dest, tPathFormat DestFormat)
Definition:
ConvertPathType.c:4
FILE
struct __STDIO_FILE_STRUCT FILE
Definition:
FBLib_hdd.h:137
FBLib_rec.h
infDatainfFile
FILE * infDatainfFile
Definition:
infData_OpenFile.c:4
infData_OpenFile
bool infData_OpenFile(const char *infFileName)
Definition:
infData_OpenFile.c:6
FBLIB_DIR_SIZE
#define FBLIB_DIR_SIZE
Definition:
libFireBird.h:1871
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
PF_FullLinuxPath
@ PF_FullLinuxPath
Definition:
libFireBird.h:1926
rec
infData_OpenFile.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3