- new double control (former controlmode = 2)

- better sea client compatibility
This commit is contained in:
zolliker
2006-06-20 13:30:48 +00:00
parent c1bbdb935e
commit 735a0e6987
10 changed files with 556 additions and 94 deletions

View File

@@ -4,6 +4,11 @@
#include "myc_buf.h"
#include "coc_util.h"
typedef struct {
void (* func) (char *, void *);
void *arg;
} OutFunc;
typedef struct {
void *adr;
int type, size;
@@ -43,6 +48,7 @@ int CocGetStr(CocConn *conn, const char *name, char *value, int value_len);
int CocGetFloat(CocConn *conn, const char *name, float *value);
int CocGetInt(CocConn *conn, const char *name, int *value);
int CocGetArray(CocConn *conn, const char *name, float *value, int value_size);
int CocGetOut(CocConn *conn, const char *name, OutFunc *f);
int CocDoIt(CocConn *conn, char *error, int error_len);
int CocCheck(CocConn *conn);