FireBirdLib - Topfield TMS PVR TAP Programming Library
InitTAPex.c
Go to the documentation of this file.
1
#include "
FBLib_main.h
"
2
#include "
libFireBird.h
"
3
4
const
char
*
__fblib_version__
=
"__FBLIB_VERSION_TMS__ "
__FBLIB_VERSION__
;
5
6
word
ApplID
;
7
dword
TAP_TableIndex
= 0xffffffff;
8
bool
LibInitialized
= FALSE;
9
10
bool
InitTAPex
()
11
{
12
TRACEENTER
();
13
14
if
(
LibInitialized
)
15
{
16
TRACEEXIT
();
17
return
TRUE;
18
}
19
20
ApplID
= TAP_GetVersion();
21
22
dword *pcurTapTask = (dword*)
FIS_vCurTapTask
();
23
24
if
(pcurTapTask)
25
{
26
TAP_TableIndex
= *pcurTapTask;
27
LibInitialized
= TRUE;
28
}
29
30
TRACEEXIT
();
31
return
LibInitialized
;
32
}
FBLib_main.h
FIS_vCurTapTask
dword FIS_vCurTapTask(void)
Definition:
FIS_vcurTapTask.c:3
ApplID
word ApplID
Definition:
InitTAPex.c:6
LibInitialized
bool LibInitialized
Definition:
InitTAPex.c:8
__fblib_version__
const char * __fblib_version__
Definition:
InitTAPex.c:4
InitTAPex
bool InitTAPex()
Definition:
InitTAPex.c:10
TAP_TableIndex
dword TAP_TableIndex
Definition:
InitTAPex.c:7
libFireBird.h
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
__FBLIB_VERSION__
#define __FBLIB_VERSION__
Definition:
libFireBird.h:6
main
InitTAPex.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3