diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-01-28 17:08:16 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-01-28 17:08:16 +0100 |
commit | 00d2616a2c703264b4b114ab1845a71e62073f93 (patch) | |
tree | fc0c4593415b9c7edaa3e3fbcd0fce4dd9583358 | |
parent | 1a706759c0fe7885091bcc535ae3ff0a5fcd89f5 (diff) |
declare {enc,dec}_CCID_ClassDescriptor
This allows test cases to decode the relevant descriptor
-rw-r--r-- | src/CCID_Types.ttcn | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/CCID_Types.ttcn b/src/CCID_Types.ttcn index 9ab3a48..4e66841 100644 --- a/src/CCID_Types.ttcn +++ b/src/CCID_Types.ttcn @@ -97,6 +97,17 @@ type record CCID_ClassDescriptor { uint8_t bMaxCCIDBusySlots }; +external function enc_CCID_ClassDescriptor(in CCID_ClassDescriptor pdu) return octetstring +with { extension "prototype(convert)" + extension "encode(RAW)" + } + +external function dec_CCID_ClassDescriptor(in octetstring stream) return CCID_ClassDescriptor +with { extension "prototype(convert)" + extension "decode(RAW)" + } + + /*********************************************************************** * Bulk IN |