comparison chansession.h @ 1112:5eb00b6b9040

Turn ChanSess's cmd attribute into char *
author Gaël PORTAY <gael.portay@gmail.com>
date Sat, 02 May 2015 23:28:28 +0200
parents ae63de5caf81
children 9169e4e7cbee
comparison
equal deleted inserted replaced
1111:848dac90c923 1112:5eb00b6b9040
37 int exitcore; 37 int exitcore;
38 }; 38 };
39 39
40 struct ChanSess { 40 struct ChanSess {
41 41
42 unsigned char * cmd; /* command to exec */ 42 char * cmd; /* command to exec */
43 pid_t pid; /* child process pid */ 43 pid_t pid; /* child process pid */
44 44
45 /* pty details */ 45 /* pty details */
46 int master; /* the master terminal fd*/ 46 int master; /* the master terminal fd*/
47 int slave; 47 int slave;