Files
sics/initializer.h
zolliker fce7a1d687 - moved initializer and remob to the kernel
SKIPPED:
	psi/make_gen
2005-09-09 14:53:33 +00:00

34 lines
950 B
C

/*---------------------------------------------------------------------------
initializer.h
initializer list routines
Markus Zolliker, March 2005
----------------------------------------------------------------------------
*/
#ifndef SICSINIT_H
#define SICSINIT_H
typedef void (*Initializer)(void);
void MakeInitializer(const char *type, const char *name, Initializer maker, int startupOnly);
Initializer GetInitializer(const char *type, const char *name);
/*
MakeObject has the following syntax:
MakeObject objectName driver [ args ... ]
*/
typedef int (*CmdInitializer) (SConnection *pCon, int argc, char *argv[], int dynamic);
/*
make a driver with the initializer function maker
when the dynamic argument is not 0, the command was created after startup,
i.e. the SaveStatus routine has also to write command creation code.
*/
void MakeDriver(const char *driver, CmdInitializer maker, int startupOnly);
#endif