diff options
| author | Franklin Wei <git@fwei.tk> | 2016-05-19 16:47:06 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2016-05-19 16:47:06 -0400 |
| commit | cb8af6e7bf5f6e70fc9722d36448213c719e83c8 (patch) | |
| tree | ec9f93d6e1256d62a49fb628d8d7a3a931b58330 /src/world.h | |
| parent | 7f3ba14388a586a946d721a71eb3a9862f7f6c02 (diff) | |
| download | netcosm-cb8af6e7bf5f6e70fc9722d36448213c719e83c8.zip netcosm-cb8af6e7bf5f6e70fc9722d36448213c719e83c8.tar.gz netcosm-cb8af6e7bf5f6e70fc9722d36448213c719e83c8.tar.bz2 netcosm-cb8af6e7bf5f6e70fc9722d36448213c719e83c8.tar.xz | |
implement more of dunnet
Diffstat (limited to 'src/world.h')
| -rw-r--r-- | src/world.h | 4 |
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 |