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:
@ -220,13 +220,13 @@ int InstallProtocol(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------*/
|
||||
void MakeProtocol(SicsInterp * pSics)
|
||||
void MakeProtocol(void)
|
||||
{
|
||||
pProtocol pNew = NULL;
|
||||
pNew = CreateProtocol();
|
||||
if (NULL != pNew) {
|
||||
AddCommand(pSics, "Protocol", ProtocolAction, DeleteProtocol, pNew);
|
||||
AddCommand(pSics, "contextdo", ContextDo, NULL, NULL);
|
||||
AddCommand(pServ->pSics, "Protocol", ProtocolAction, DeleteProtocol, pNew);
|
||||
AddCommand(pServ->pSics, "contextdo", ContextDo, NULL, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user