diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-04-30 12:44:51 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-04-30 12:44:51 +0000 |
commit | df95ee39b4798d39935d645d30474fb9c4abd0e4 (patch) | |
tree | 2f9761ba27d82cf6f87e5189cb210312ffb10bc9 /include/vms/lbr.h | |
parent | 81657e737d8273f304ea97c4b1195f9abebe363d (diff) | |
download | newlib-df95ee39b4798d39935d645d30474fb9c4abd0e4.zip newlib-df95ee39b4798d39935d645d30474fb9c4abd0e4.tar.gz newlib-df95ee39b4798d39935d645d30474fb9c4abd0e4.tar.bz2 |
bfd/
2010-04-30 Tristan Gingold <gingold@adacore.com>
* vms-lib.c (vms_read_block): New function.
(vms_traverse_index): Use vms_read_block. Handle long key names.
include/vms/
2010-04-30 Tristan Gingold <gingold@adacore.com>
* lbr.h (struct vms_kbn): New structure.
Diffstat (limited to 'include/vms/lbr.h')
-rw-r--r-- | include/vms/lbr.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/vms/lbr.h b/include/vms/lbr.h index 7d6f597..91186ee 100644 --- a/include/vms/lbr.h +++ b/include/vms/lbr.h @@ -255,6 +255,19 @@ struct vms_datadef #define DATA__LENGTH 512 #define DATA__DATA 6 +/* Key name block. This is used for keys longer than 128 bytes. */ + +struct vms_kbn +{ + /* Length of the key chunk. */ + unsigned char keylen[2]; + + /* RFA of the next chunk. */ + struct vms_rfa rfa; + + /* Followed by the key chunk. */ +}; + /* Module header. */ struct vms_mhd { |