X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fcommand_server.hxx;h=192673366d98497be8de56c61a66124f9668a1ff;hp=7e475dac01b0c3feb2c3a5e3d0dbf8c8a05d9456;hb=45a2ebc9695c4d7be6548b7e0f800d117ae56a0b;hpb=7087e18783f91d2b889e880462d1d1da24831c28 diff --git a/src/command_server.hxx b/src/command_server.hxx index 7e475da..1926733 100644 --- a/src/command_server.hxx +++ b/src/command_server.hxx @@ -33,11 +33,11 @@ class command_server void handle_packet(const std::string& packet, server_connection* conn); public: - command_server(server& _s) - : s(_s) - { } + command_server(server& _s); - void handle(long long usec_timeout=-1); + void handle(long long usec_timeout=-1, long long* usec_timeout_remaining=NULL); + + void send_hello(unsigned int conn_id); }; }