diff options
author | Linus Nordberg <linus@sunet.se> | 2020-02-11 11:03:47 +0100 |
---|---|---|
committer | Linus Nordberg <linus@sunet.se> | 2020-02-11 11:03:47 +0100 |
commit | 9f50fa4e8d7d82605116e07ea376da7ebedb8a57 (patch) | |
tree | f29231db796abbeca1750209b7e487700f341303 /p11p-daemon/src/p11p_rpc.hrl | |
parent | ad84cb6f4d5d6e7154afd9eb05de9bdeb67ca753 (diff) |
WIP track p11 state and shortcut responses when needed
Diffstat (limited to 'p11p-daemon/src/p11p_rpc.hrl')
-rw-r--r-- | p11p-daemon/src/p11p_rpc.hrl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/p11p-daemon/src/p11p_rpc.hrl b/p11p-daemon/src/p11p_rpc.hrl index 0014f57..9d2b3f8 100644 --- a/p11p-daemon/src/p11p_rpc.hrl +++ b/p11p-daemon/src/p11p_rpc.hrl @@ -9,8 +9,8 @@ opt_len = -1 :: integer(), % Length is 4 data_len = -1 :: integer(), % Length is 4 - options = <<>> :: binary(), % Length is header.opt_len - data = <<>> :: binary(), % Length is header.buf_len + options = <<>> :: binary(), % Length is opt_len + data = <<>> :: binary(), % Length is data_len buffer = <<>> :: binary(), state = header :: header | opts | data | done |