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

34
ofac.h
View File

@ -1,25 +1,21 @@
/*---------------------------------------------------------------------------
/**
* Startup commands and definitions
*
* copyright: see file COPYRIGHT
*
*
* Mark Koennecke 1996 - ?
* Markus Zolliker Jan 2010
*/
ObjectFactory
SICS is a highly configurable system. This module implements
the configurable. Configuration is meant to happen via a Tcl-
configuration script. This module will initialize commands which
create SICS-objects. Than an initialization file is evaluated
via the macro facility. As most of the initialization commands
will no longer be needed after this, they will be deleted.
All this will be run with a higly privileged connection which
prints to stdout/stdin.
Mark Koennecke, November 1996
copyright: see implementation file
-----------------------------------------------------------------------------*/
#ifndef OBJECTFACTORY
#define OBJECTFACTORY
#include "sics.h"
int InitObjectCommands(pServer pServ, char *file);
/* module initialisation calls */
void InitGeneral(void);
/* module initialisation calls */
void InitIniCommands(SicsInterp * pInter);
#endif