diff session.h @ 482:7ad49f34a122

- Add run_shell_command() function to run a "sh -c" command, handling lots of the work that exechild did (and can be shared by client -J option)
author Matt Johnston <matt@ucc.asn.au>
date Mon, 15 Sep 2008 14:04:55 +0000
parents e3db1f7a2e43
children 738313e73b1c
line wrap: on
line diff
--- a/session.h	Mon Sep 15 13:41:18 2008 +0000
+++ b/session.h	Mon Sep 15 14:04:55 2008 +0000
@@ -47,6 +47,7 @@
 void session_identification();
 void send_msg_ignore();
 
+const char* get_user_shell();
 
 /* Server */
 void svr_session(int sock, int childpipe, char *remotehost, char *addrstring);