- modified and improved various env. drivers

- implemented string array object
This commit is contained in:
zolliker
2006-06-20 13:29:32 +00:00
parent 8b12033cb2
commit c1bbdb935e
19 changed files with 1495 additions and 499 deletions

View File

@ -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