FireBirdLib - Topfield TMS PVR TAP Programming Library
TAPCOM_Finish.c
Go to the documentation of this file.
1
#include "
FBLib_tapcom.h
"
2
3
void
TAPCOM_Finish
(
TAPCOM_Channel
Channel,
int
val)
4
{
5
TRACEENTER
();
6
7
TAPCOM_InternalMesBuf
*buf = (
TAPCOM_InternalMesBuf
*) Channel;
8
9
if
(
isValidChannel
(Channel))
10
{
11
buf->
Status
=
TAPCOM_Status_FINISHED
;
12
buf->
ReturnVal
= val;
13
14
//Server-Timeout zurücksetzen
15
buf->
ServerAlive
= TAP_GetTick();
16
}
17
18
TRACEEXIT
();
19
}
FBLib_tapcom.h
isValidChannel
bool isValidChannel(TAPCOM_Channel Channel)
Definition:
isValidChannel.c:3
TAPCOM_Finish
void TAPCOM_Finish(TAPCOM_Channel Channel, int val)
Definition:
TAPCOM_Finish.c:3
TAPCOM_Status_FINISHED
@ TAPCOM_Status_FINISHED
Definition:
libFireBird.h:2656
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TAPCOM_Channel
void * TAPCOM_Channel
Definition:
libFireBird.h:2661
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
TAPCOM_InternalMesBuf
Definition:
FBLib_tapcom.h:18
TAPCOM_InternalMesBuf::ServerAlive
dword ServerAlive
Definition:
FBLib_tapcom.h:21
TAPCOM_InternalMesBuf::ReturnVal
int ReturnVal
Definition:
FBLib_tapcom.h:28
TAPCOM_InternalMesBuf::Status
TAPCOM_Status Status
Definition:
FBLib_tapcom.h:24
tapcom
TAPCOM_Finish.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3