From df95ee39b4798d39935d645d30474fb9c4abd0e4 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 30 Apr 2010 12:44:51 +0000 Subject: [PATCH] bfd/ 2010-04-30 Tristan Gingold * 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 * lbr.h (struct vms_kbn): New structure. --- include/vms/ChangeLog | 4 ++++ include/vms/lbr.h | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/include/vms/ChangeLog b/include/vms/ChangeLog index b7114d3cf..823520f22 100644 --- a/include/vms/ChangeLog +++ b/include/vms/ChangeLog @@ -1,3 +1,7 @@ +2010-04-30 Tristan Gingold + + * lbr.h (struct vms_kbn): New structure. + 2010-04-30 Tristan Gingold * lbr.h (LBR__C_TYP_ISHSTB): Added. diff --git a/include/vms/lbr.h b/include/vms/lbr.h index 7d6f597cb..91186ee37 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 { -- 2.43.5