version 1.428, 2013/10/10 12:26:36 |
version 1.429, 2013/10/10 12:29:35 |
|
|
* Don't forget to bump PROTOCOL_VERSION if any of these change! |
* Don't forget to bump PROTOCOL_VERSION if any of these change! |
*/ |
*/ |
struct msg_command_data { |
struct msg_command_data { |
pid_t pid; /* from $TMUX or -1 */ |
|
int session_id; /* from $TMUX or -1 */ |
|
|
|
int argc; |
int argc; |
}; /* followed by packed argv */ |
}; /* followed by packed argv */ |
|
|
|
|
void (*emptyfn)(struct cmd_q *); |
void (*emptyfn)(struct cmd_q *); |
void *data; |
void *data; |
|
|
struct msg_command_data *msgdata; |
|
|
|
TAILQ_ENTRY(cmd_q) waitentry; |
TAILQ_ENTRY(cmd_q) waitentry; |
}; |
}; |
|
|
|
|
extern char socket_path[MAXPATHLEN]; |
extern char socket_path[MAXPATHLEN]; |
extern int login_shell; |
extern int login_shell; |
extern char *environ_path; |
extern char *environ_path; |
extern pid_t environ_pid; |
|
extern int environ_session_id; |
|
void logfile(const char *); |
void logfile(const char *); |
const char *getshell(void); |
const char *getshell(void); |
int checkshell(const char *); |
int checkshell(const char *); |