Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2010-04-30 16:44:51 +0400
committerTristan Gingold <gingold@adacore.com>2010-04-30 16:44:51 +0400
commitdf95ee39b4798d39935d645d30474fb9c4abd0e4 (patch)
tree2f9761ba27d82cf6f87e5189cb210312ffb10bc9 /include/vms
parent81657e737d8273f304ea97c4b1195f9abebe363d (diff)
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')
-rw-r--r--include/vms/ChangeLog4
-rw-r--r--include/vms/lbr.h13
2 files changed, 17 insertions, 0 deletions
diff --git a/include/vms/ChangeLog b/include/vms/ChangeLog
index b7114d3cf..823520f22 100644
--- a/include/vms/ChangeLog
+++ b/include/vms/ChangeLog
@@ -1,5 +1,9 @@
2010-04-30 Tristan Gingold <gingold@adacore.com>
+ * lbr.h (struct vms_kbn): New structure.
+
+2010-04-30 Tristan Gingold <gingold@adacore.com>
+
* lbr.h (LBR__C_TYP_ISHSTB): Added.
(LHD_SANEID4): Renamed to ...
(LHD_SANEID6): ... this.
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
{