- new double control (former controlmode = 2)
- better sea client compatibility
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user