Commit 59601e35 authored by Niels Möller's avatar Niels Möller
Browse files

Handle exit messages and set the program's exit code.

Rev: src/client.h:1.14
parent 4f6d271f
......@@ -46,10 +46,14 @@ struct packet_handler *make_accept_service_handler(int service_name,
struct ssh_service *request_service(int service_name,
struct ssh_service *service);
struct channel_request *make_handle_exit_status(int *exit_code);
struct channel_request *make_handle_exit_signal(int *exit_code);
struct connection_startup *make_client_startup(struct io_fd *in,
struct io_fd *out,
struct io_fd *err,
int final_request,
struct lsh_string *args);
struct lsh_string *args,
int *exit_status);
#endif /* LSH_CLIENT_H_INCLUDED */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment