restructured configuration (ofac.c)
- ofac.c contains now only the command in initialisation function list - the other functions are moved to sicsutil.c - moved DoubleTime and the content of access.c to sicsutil.c - moved some initialisation code from ofac.c to the corresponding modules
This commit is contained in:
17
devexec.c
17
devexec.c
@ -1305,3 +1305,20 @@ void UnlockDeviceExecutor(pExeList self)
|
||||
assert(self);
|
||||
self->iLock = 0;
|
||||
}
|
||||
/*--------------------------------------------------------------------*/
|
||||
void DevExecInit(void)
|
||||
{
|
||||
pExeList pExe = pServ->pExecutor;
|
||||
|
||||
/* commands to do with the executor. Only StopExe carries the
|
||||
DeleteFunction in order to avoid double deletion. All the
|
||||
other commands operate on the same datastructure.
|
||||
*/
|
||||
AddCommand(pServ->pSics, "StopExe", StopCommand, DeleteExeList, pExe);
|
||||
AddCommand(pServ->pSics, "ListExe", ListExe, NULL, pExe);
|
||||
AddCommand(pServ->pSics, "sicsidle", SicsIdle, NULL, pExe);
|
||||
AddCommand(pServ->pSics, "Success", Success, NULL, pExe);
|
||||
AddCommand(pServ->pSics, "pause", PauseAction, NULL, pExe);
|
||||
AddCommand(pServ->pSics, "continue", ContinueAction, NULL, pExe);
|
||||
AddCommand(pServ->pSics, "devexec", DevexecAction, NULL, pExe);
|
||||
}
|
||||
|
Reference in New Issue
Block a user