- modified and improved various env. drivers
- implemented string array object
This commit is contained in:
9
pardef.h
9
pardef.h
@ -194,6 +194,7 @@ typedef struct ParData {
|
||||
called inside pardef, when the object is not in the argument
|
||||
list */
|
||||
void ParLogReady(ReadyState state); /* set ready state for log */
|
||||
FILE *ParSaveFile(void); /* get the save-file name when action is PAR_SAVE */
|
||||
|
||||
/*
|
||||
functions to be used outside pardef:
|
||||
@ -227,8 +228,14 @@ typedef struct ParData {
|
||||
- PAR_SAVE after a parameter change on any SICS command
|
||||
- PAR_KILL on RemoveCommand */
|
||||
|
||||
char *ParArg2Text(int argc, char *argv[], char *res, int maxsize);
|
||||
char *ParArg2Str(int argc, char *argv[], char *res, int maxsize);
|
||||
/* convert args to text. if res==NULL, the result is
|
||||
allocated and maxsize is ignored */
|
||||
|
||||
void ParSaveConn(void *object, SConnection *con);
|
||||
/* save connection for further use */
|
||||
|
||||
void ParInitPar(void *object, char *name);
|
||||
/* inititalize dynamic parameter */
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user