- moved initializer and remob to the kernel
SKIPPED: psi/make_gen
This commit is contained in:
33
initializer.h
Normal file
33
initializer.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/*---------------------------------------------------------------------------
|
||||
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
|
||||
Reference in New Issue
Block a user