aboutsummaryrefslogtreecommitdiff
path: root/src/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/world.h b/src/world.h
index 4ce253e..f850876 100644
--- a/src/world.h
+++ b/src/world.h
@@ -45,6 +45,10 @@ extern size_t netcosm_world_sz;
extern void (*netcosm_world_simulation_cb)(void);
extern unsigned netcosm_world_simulation_interval;
+/* user data callback */
+extern void (*netcosm_write_userdata_cb)(int fd, void *ptr);
+extern void* (*netcosm_read_userdata_cb)(int fd);
+
extern const char *netcosm_world_name;
#endif