summaryrefslogtreecommitdiff
path: root/src/trunnel/extension.trunnel
blob: 177eba059690b32d9fd46812c73c0644932b5bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* The cell extension ABI that is also used within other type of structures
 * such as the ntorv3 data payload. */

struct trn_extension_field {
  u8 field_type;
  u8 field_len;
  u8 field[field_len];
};

struct trn_extension {
  u8 num;
  struct trn_extension_field fields[num];
};