Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
481:357a2e2e9bcc | 482:7ad49f34a122 |
---|---|
45 void session_loop(void(*loophandler)()); | 45 void session_loop(void(*loophandler)()); |
46 void common_session_cleanup(); | 46 void common_session_cleanup(); |
47 void session_identification(); | 47 void session_identification(); |
48 void send_msg_ignore(); | 48 void send_msg_ignore(); |
49 | 49 |
50 const char* get_user_shell(); | |
50 | 51 |
51 /* Server */ | 52 /* Server */ |
52 void svr_session(int sock, int childpipe, char *remotehost, char *addrstring); | 53 void svr_session(int sock, int childpipe, char *remotehost, char *addrstring); |
53 void svr_dropbear_exit(int exitcode, const char* format, va_list param); | 54 void svr_dropbear_exit(int exitcode, const char* format, va_list param); |
54 void svr_dropbear_log(int priority, const char* format, va_list param); | 55 void svr_dropbear_log(int priority, const char* format, va_list param); |