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:
zolliker
2010-01-28 08:14:37 +00:00
parent 9b18a3bd0a
commit 4bf0c87daf
15 changed files with 199 additions and 515 deletions

5
help.c
View File

@ -157,3 +157,8 @@ int SicsHelp(SConnection * pCon, SicsInterp * pSics, void *pData,
fclose(fd);
return 1;
}
/*-----------------------------------------------------------------------*/
void HelpInit(void)
{
AddCommand(pServ->pSics, "help", SicsHelp, KillHelp, NULL);
}