diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2016-01-31 19:53:45 -0500 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2016-01-31 19:53:45 -0500 |
| commit | 0730fc3924dd4e04efbe51287d1d69850404d05f (patch) | |
| tree | 495d79d0dc26e39c9065c6ceb7d16b9a3e76561d /src/server_reqs.h | |
| parent | 8405274a91e3652ee98a423608a8496ead1edc05 (diff) | |
| download | netcosm-0.5.0-rc1.zip netcosm-0.5.0-rc1.tar.gz netcosm-0.5.0-rc1.tar.bz2 netcosm-0.5.0-rc1.tar.xz | |
bump version to 0.5.0-rc10.5.0-rc1
* implements objects using reference counts rather than copying
* implements both room-local and global verbs
* refactors the world_* functions into a separate module
* numerous other changes
Diffstat (limited to 'src/server_reqs.h')
| -rw-r--r-- | src/server_reqs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server_reqs.h b/src/server_reqs.h index 3401ba2..5137f9d 100644 --- a/src/server_reqs.h +++ b/src/server_reqs.h @@ -43,6 +43,7 @@ #define REQ_PRINTINVENTORY 21 /* server: print user inventory */ #define REQ_DROP 22 /* server: drop user object if allowed */ #define REQ_LISTUSERS 23 /* server: list users in USERFILE */ +#define REQ_EXECVERB 24 /* server: execute a verb with its arguments */ /* child states, sent as an int to the master */ #define STATE_INIT 0 /* initial state */ @@ -56,3 +57,5 @@ bool handle_child_req(int in_fd); void master_ack_handler(int s, siginfo_t *info, void *v); void reqmap_init(void); void reqmap_free(void); + +void send_msg(user_t *child, const char *fmt, ...) __attribute__((format(printf,2,3))); |