- allow scriptcontext objects to be dynamic
- enhancements in scriptcontext (error messages stored as properties)
This commit is contained in:
15
ascon.h
15
ascon.h
@ -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);
|
||||
|
Reference in New Issue
Block a user