- allow scriptcontext objects to be dynamic

- enhancements in scriptcontext (error messages stored as properties)
This commit is contained in:
zolliker
2009-02-19 13:30:32 +00:00
parent 981534624f
commit 35f2b6b810
33 changed files with 753 additions and 310 deletions

15
ascon.h
View File

@ -2,7 +2,6 @@
#define ASCON_H
#include "sics.h"
#include "errormsg.h"
/** \file
* \brief Asynchronous connection handling for devices controlled over tcp-ip
@ -60,15 +59,17 @@ int AsconWrite(Ascon * a, char *command, int noResponse);
* \return the response when a response is ready
* NULL when the command has not completed and the response is not yet finished
* "" when the command has completed, but no response was expected.
* The result is only valid until the next call to other AsconXxx functions
* and has to be duplicated if needed later.
* The result is only valid until the next call to any AsconXxx function
* with the same connection and has to be duplicated if needed later.
*/
char *AsconRead(Ascon * a);
/** \brief get the connections error list
* \return the error list
/** \brief get the last error message
* \return the error message
* The result is only valid until the next call to any AsconXxx function
* with the same connection and has to be duplicated if needed later.
*/
ErrMsg *AsconGetErrList(Ascon * a);
char *AsconGetError(Ascon *a);
/** \brief a helper function
* \param argc the number of args
@ -78,7 +79,7 @@ ErrMsg *AsconGetErrList(Ascon * a);
*/
char *ConcatArgs(int argc, char *argv[]);
/** \brief function for dealing with times with musec resolution
/** \brief function for dealing with times with microsec resolution
* \return absolute time as double value
*/
double DoubleTime(void);