diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-04-12 13:08:00 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-04-12 13:08:00 +0000 |
| commit | bdef28c6d13c64cda41911ec57d8b5e6c477b35c (patch) | |
| tree | 2f41b3fa987ffe718b1f9ab9429eb804527b5a76 /client-protocol.h | |
| parent | csi: reduce duplication in code handling SGR 38 and 48 sequences (diff) | |
| parent | slave: roll our own ‘execvpe()’ on FreeBSD (diff) | |
Merge branch 'footclient-environ'
Closes #1004
Diffstat (limited to 'client-protocol.h')
| -rw-r--r-- | client-protocol.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client-protocol.h b/client-protocol.h index b0f39055..505825f6 100644 --- a/client-protocol.h +++ b/client-protocol.h @@ -19,11 +19,13 @@ struct client_data { uint16_t cwd_len; uint16_t override_count; uint16_t argc; + uint16_t env_count; /* char cwd[static cwd_len]; */ /* char token[static token_len]; */ /* struct client_string overrides[static override_count]; */ /* struct client_string argv[static argc]; */ + /* struct client_string envp[static env_count]; */ } __attribute__((packed)); -_Static_assert(sizeof(struct client_data) == 8, "protocol struct size error"); +_Static_assert(sizeof(struct client_data) == 10, "protocol struct size error"); |
