From 0730fc3924dd4e04efbe51287d1d69850404d05f Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 31 Jan 2016 19:53:45 -0500 Subject: bump version to 0.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 --- src/server_reqs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/server_reqs.h') 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))); -- cgit v1.1