FireBirdLib - Topfield TMS PVR TAP Programming Library
TAPCOM_GetReturnValue.c
Go to the documentation of this file.
1
#include "
FBLib_tapcom.h
"
2
3
int
TAPCOM_GetReturnValue
(
TAPCOM_Channel
Channel)
4
{
5
TRACEENTER
();
6
7
int
ret;
8
TAPCOM_InternalMesBuf
*buf = (
TAPCOM_InternalMesBuf
*) Channel;
9
10
if
(!
isValidChannel
(Channel) || (buf->
Status
!=
TAPCOM_Status_FINISHED
))
11
ret =
TAPCOM_NO_RETURN_VALUE
;
12
else
13
ret = buf->
ReturnVal
;
14
15
TRACEEXIT
();
16
return
ret;
17
}
FBLib_tapcom.h
isValidChannel
bool isValidChannel(TAPCOM_Channel Channel)
Definition:
isValidChannel.c:3
TAPCOM_GetReturnValue
int TAPCOM_GetReturnValue(TAPCOM_Channel Channel)
Definition:
TAPCOM_GetReturnValue.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_NO_RETURN_VALUE
#define TAPCOM_NO_RETURN_VALUE
Definition:
libFireBird.h:2648
TAPCOM_InternalMesBuf
Definition:
FBLib_tapcom.h:18
TAPCOM_InternalMesBuf::ReturnVal
int ReturnVal
Definition:
FBLib_tapcom.h:28
TAPCOM_InternalMesBuf::Status
TAPCOM_Status Status
Definition:
FBLib_tapcom.h:24
tapcom
TAPCOM_GetReturnValue.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3