fix some little bugs, add some more functions, start testing on ZWO

This commit is contained in:
2022-03-22 17:31:03 +03:00
parent d0f92ed278
commit 290934f798
11 changed files with 285 additions and 211 deletions

View File

@@ -44,9 +44,9 @@ const char *hresult2str(hresult r);
typedef hresult (*mesghandler)(int fd, const char *key, const char *val);
typedef struct{
int (*chkfunction)(char *val); // function to check device is ready
mesghandler handler; // handler function
const char *key; // keyword
hresult (*chkfunction)(char *val); // function to check device is ready
mesghandler handler; // handler function
const char *key; // keyword
} handleritem;
int start_socket(int server, char *path, int isnet);