From cb8af6e7bf5f6e70fc9722d36448213c719e83c8 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Thu, 19 May 2016 16:47:06 -0400 Subject: implement more of dunnet --- src/world.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/world.h') 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 -- cgit v1.1