FireBirdLib - Topfield TMS PVR TAP Programming Library
HDD_TAP_PushDir.c
Go to the documentation of this file.
1
#include "
FBLib_tap.h
"
2
3
char
TAPDirStack
[
TAPDIR_MAX_STACK
][200];
4
int
TAPDirStackDepth
= -1;
5
6
bool
HDD_TAP_PushDir
(
void
)
7
{
8
TRACEENTER
();
9
10
if
(++
TAPDirStackDepth
<
TAPDIR_MAX_STACK
)
11
{
12
if
(
HDD_TAP_GetCurrentDir
(
TAPDirStack
[
TAPDirStackDepth
]) == 0)
13
{
14
TRACEEXIT
();
15
return
TRUE;
16
}
17
}
18
TAPDirStackDepth
--;
19
20
TRACEEXIT
();
21
return
FALSE;
22
}
FBLib_tap.h
TAPDIR_MAX_STACK
#define TAPDIR_MAX_STACK
Definition:
FBLib_tap.h:7
HDD_TAP_PushDir
bool HDD_TAP_PushDir(void)
Definition:
HDD_TAP_PushDir.c:6
TAPDirStackDepth
int TAPDirStackDepth
Definition:
HDD_TAP_PushDir.c:4
TAPDirStack
char TAPDirStack[TAPDIR_MAX_STACK][200]
Definition:
HDD_TAP_PushDir.c:3
HDD_TAP_GetCurrentDir
int HDD_TAP_GetCurrentDir(char *CurrentDir)
Definition:
HDD_TAP_GetCurrentDir.c:9
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tap
HDD_TAP_PushDir.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3