- simplified errormsg interface

This commit is contained in:
zolliker
2008-06-13 11:15:14 +00:00
parent 657afffe9c
commit 0305826724
4 changed files with 34 additions and 81 deletions

View File

@ -32,7 +32,6 @@ typedef enum { AsconOnTheWay=0, AsconStart=1, AsconFinished=2, AsconFailed=3 } A
*/
typedef enum {
AsconNotConnected=0+AsconFinished,
AsconKillMe=0+AsconStart,
AsconConnecting=4+AsconOnTheWay,
AsconConnectStart=AsconConnecting+AsconStart,
AsconConnectDone=AsconConnecting+AsconFinished,
@ -67,7 +66,6 @@ struct Ascon {
char *sendTerminator; /**< terminator for sending messages */
char *hostport; /**< host:port to connect */
ErrMsg *errList; /**< error message list */
ErrMsg *curError; /**< the currently active error */
double start; /**< unix time when read was started */
void *private; /**< private data of protocol */
void (*killPrivate)(void *); /** < kill function for private */