command/Request: new struct wrapping ConstBuffer<const char *>
This commit is contained in:
@@ -23,21 +23,21 @@
|
||||
#include "CommandResult.hxx"
|
||||
|
||||
class Client;
|
||||
template<typename T> struct ConstBuffer;
|
||||
class Request;
|
||||
|
||||
CommandResult
|
||||
handle_subscribe(Client &client, ConstBuffer<const char *> args);
|
||||
handle_subscribe(Client &client, Request args);
|
||||
|
||||
CommandResult
|
||||
handle_unsubscribe(Client &client, ConstBuffer<const char *> args);
|
||||
handle_unsubscribe(Client &client, Request args);
|
||||
|
||||
CommandResult
|
||||
handle_channels(Client &client, ConstBuffer<const char *> args);
|
||||
handle_channels(Client &client, Request args);
|
||||
|
||||
CommandResult
|
||||
handle_read_messages(Client &client, ConstBuffer<const char *> args);
|
||||
handle_read_messages(Client &client, Request args);
|
||||
|
||||
CommandResult
|
||||
handle_send_message(Client &client, ConstBuffer<const char *> args);
|
||||
handle_send_message(Client &client, Request args);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user