ref: a981f75befefd5bdd7409cca2cc545be559452c3
parent: daf12f9eec198c2f9dff16763787638aad78e092
author: mkf <mkf@cloud9p.org>
date: Sat May 4 07:54:13 EDT 2024
mkfile: add netclient.h
--- a/netclient.h
+++ b/netclient.h
@@ -1,4 +1,14 @@
+typedef struct
+{
+ char *omsg;
+ int ntoken;
+ char **tokens;
+ int err;
+}Netmsg;
+
extern int sockfd;
void netmove(int dir);
void netput(int x, int y);
+char* netread(void);
+Netmsg* netmain(void);
\ No newline at end of file