aboutsummaryrefslogtreecommitdiff
path: root/include/vms/lbr.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2010-04-30 12:44:51 +0000
committerTristan Gingold <gingold@adacore.com>2010-04-30 12:44:51 +0000
commitdf95ee39b4798d39935d645d30474fb9c4abd0e4 (patch)
tree2f9761ba27d82cf6f87e5189cb210312ffb10bc9 /include/vms/lbr.h
parent81657e737d8273f304ea97c4b1195f9abebe363d (diff)
downloadnewlib-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.h13
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
{