ELinks 0.16.1.1
|
This holds the information used when handling the initial connection between a dumb and master terminal. More...
#include <event.h>
Data Fields | |
struct interlink_event | event |
The EVENT_INIT event. | |
char | name [MAX_TERM_LEN] |
$TERM environment name | |
char | cwd [MAX_CWD_LEN] |
Current working directory. | |
int | system_env |
System info (X, screen) | |
int | length |
Length of data member. | |
int | session_info |
Value depends on magic. | |
int | magic |
Identity of the connector. | |
char | data [1] |
In the master that is connected to all bytes after data will be interpreted as URI string information. |
This holds the information used when handling the initial connection between a dumb and master terminal.
XXX: We might be connecting to an older ELinks or an older ELinks is connecting to a newer ELinks master so for the sake of compatibility it would be unwise to just change the layout of the struct. If you do have to add new members add them at the bottom and use magic variables to distinguish them when decoding the terminal info.
char terminal_info::cwd[MAX_CWD_LEN] |
Current working directory.
char terminal_info::data[1] |
In the master that is connected to all bytes after data
will be interpreted as URI string information.
struct interlink_event terminal_info::event |
The EVENT_INIT event.
int terminal_info::length |
Length of data member.
int terminal_info::magic |
Identity of the connector.
char terminal_info::name[MAX_TERM_LEN] |
$TERM environment name
int terminal_info::session_info |
Value depends on magic.
int terminal_info::system_env |
System info (X, screen)