FireBirdLib - Topfield TMS PVR TAP Programming Library
cronUnregisterEvent.c
Go to the documentation of this file.
1#include "FBLib_time.h"
2
3extern int cronItemCount;
5extern bool cronInit;
6
7bool cronUnregisterEvent(int Index)
8{
10
11 bool ret = FALSE;
12
14
15 if((cronItemCount > 0) && (Index >= 0) && (Index < MAX_CRON_EVENTS))
16 {
17 if(cronTable[Index].active)
18 {
19 cronTable[Index].active = FALSE;
21 ret = TRUE;
22 }
23 }
24
25 TRACEEXIT();
26 return ret;
27}
#define MAX_CRON_EVENTS
Definition: FBLib_time.h:25
TYPE_CRONTAB cronTable[MAX_CRON_EVENTS]
bool cronInit
int cronItemCount
bool cronUnregisterEvent(int Index)
#define TRACEEXIT()
Definition: libFireBird.h:1244
void cronUnregisterAllEvents(void)
#define TRACEENTER()
Definition: libFireBird.h:1243