aboutsummaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/dat.h b/dat.h
index 97e0719..66db045 100644
--- a/dat.h
+++ b/dat.h
@@ -2,6 +2,7 @@
typedef struct GameState GameState;
typedef struct Derivative Derivative;
+typedef struct Conn Conn;
struct GameState
{
@@ -12,3 +13,10 @@ struct Derivative
{
double dx, dv;
};
+
+struct Conn
+{
+ int *fds;
+ ulong off;
+ ulong cap;
+};