summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-11 17:44:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-11 17:44:36 +0000
commit7f256c176b27a96548e19698117d1f933b47a4cd (patch)
tree241afb2eb2e98a0ef3748a09eeedb92058d26d70
parent16a35151f24cc2a09a9e72dbed6fc3ad788e55e3 (diff)
from netbsd:
Define LD_HINTS_VERSION_2: - no longer hash on minor version number in hints file. - add list of ldconfig(8) search directories.
-rw-r--r--include/link.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/link.h b/include/link.h
index b5f256a8019..799d80ffc4d 100644
--- a/include/link.h
+++ b/include/link.h
@@ -1,4 +1,4 @@
-/* $NetBSD: link.h,v 1.9 1995/09/23 22:26:15 pk Exp $ */
+/* $NetBSD: link.h,v 1.10 1996/01/09 00:00:11 pk Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -254,11 +254,13 @@ struct hints_header {
#define HH_MAGIC 011421044151
long hh_version; /* Interface version number */
#define LD_HINTS_VERSION_1 1
+#define LD_HINTS_VERSION_2 2
long hh_hashtab; /* Location of hash table */
long hh_nbucket; /* Number of buckets in hashtab */
long hh_strtab; /* Location of strings */
long hh_strtab_sz; /* Size of strings */
long hh_ehints; /* End of hints (max offset in file) */
+ long hh_dirlist; /* Colon-separated list of srch dirs */
};
#define HH_BADMAG(hdr) ((hdr).hh_magic != HH_MAGIC)