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.
This commit is contained in:
Tristan Gingold 2010-04-30 12:44:51 +00:00
parent 81657e737d
commit df95ee39b4
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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
{