added driver list function
This commit is contained in:
@@ -12,7 +12,8 @@ Markus Zolliker, March 2005
|
||||
|
||||
typedef void (*Initializer)(void);
|
||||
|
||||
void MakeInitializer(const char *type, const char *name, Initializer maker, int startupOnly);
|
||||
void MakeInitializer(const char *type, const char *name, Initializer maker, int startupOnly,
|
||||
const char *desc);
|
||||
/*
|
||||
install an initializer
|
||||
|
||||
@@ -54,7 +55,8 @@ typedef int (*CmdInitializer) (SConnection *pCon, int argc, char *argv[], int dy
|
||||
- dynamic: the initializer was called _after_ startup
|
||||
*/
|
||||
|
||||
void MakeDriver(const char *driver, CmdInitializer maker, int startupOnly);
|
||||
void MakeDriver(const char *driver, CmdInitializer maker, int startupOnly,
|
||||
const char *desc);
|
||||
/*
|
||||
Install a driver of type "Object" with the initializer function maker.
|
||||
- startupOnly: the driver creation should only be possible at startup
|
||||
|
||||
Reference in New Issue
Block a user