- Extended confvirtmot to allow for sequences of calls

- Extended confvirtmot to have  a checkscript
- Made sure that targets get updated when calling tasdrive
- Fixed some output codes in tasdrive.c
- Made tdchm invoke counters event message for Melone
- Fixed the ConID inefficiency by caching the host name in asynnet.c
- Added a traceActive function to trace


SKIPPED:
	psi/tdchm.c
This commit is contained in:
koennecke
2012-04-19 10:01:31 +00:00
parent 12b755de76
commit ecd96f9ab0
13 changed files with 165 additions and 31 deletions

View File

@ -280,7 +280,7 @@ void ExeInterest(pExeList self, pDevEntry pDev, char *text)
}
}
/*------------------------------------------------------------------------*/
static void InvokeNewTarget(pExeList self, char *name, float target)
void InvokeNewTarget(pExeList self, char *name, float target)
{
NewTarget targetEvent;
@ -772,25 +772,35 @@ int CheckExeList(pExeList self)
iRet = LLDnodePtr2First(self->iList);
return testFinish(self);
}
/*--------------------------------------------------------------------------
Cludge to not move the current pointer for CheckExeList
*/
void *LLDgetCurrent(int List);
void LLDsetCurrent(int List, void *pointer);
/*---------------------------------------------------------------------------*/
int DevExecLevelRunning(pExeList self, int level)
{
int iRet;
pDevEntry pDev = NULL;
void *current;
if(self->lTask < 0){
return 0;
}
current = LLDgetCurrent(self->iList);
iRet = LLDnodePtr2First(self->iList);
while (iRet != 0) {
LLDnodeDataTo(self->iList, &pDev);
if (pDev) {
if(pDev->level >= level){
LLDsetCurrent(self->iList,current);
return 1;
}
}
iRet = LLDnodePtr2Next(self->iList);
}
LLDsetCurrent(self->iList,current);
return 0;
}