summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1997-11-18 21:08:19 +0200
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-11-19 11:39:49 +0000
commit3fd537d4b944bc7adc1d238aecc5aea20a099af7 (patch)
treea853a8caaaa7b6859dac95a500979e8bac104afe /config_h.SH
parentc277df42229d99fecbc76f5da53793a409ac66e1 (diff)
downloadperl-3fd537d4b944bc7adc1d238aecc5aea20a099af7.tar.gz
Let Configure sort out get{host,net}byaddr* prototypes:
Subject: [PATCH] 5.004_54: little something for get{hos,ne}tbyaddr protos (Configure, config_h.SH, pp_sys.c) p4raw-id: //depot/perl@268
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH36
1 files changed, 36 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index cfae03ad99..75751439c6 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -329,6 +329,36 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
*/
#$d_gethent HAS_GETHOSTENT /**/
+/* HAS_GETHBADD:
+ * This symbol, if defined, indicates that the gethostbyaddr routine is
+ * available to lookup host names by their IP addresses.
+ */
+#$d_gethbadd HAS_GETHBADD /**/
+
+/* Gethbadd_addr_t:
+ * This symbol holds the type used for the 1st argument
+ * to gethostbyaddr().
+ */
+#define Gethbadd_addr_t $gethbadd_addr_type
+
+/* Gethbadd_alen_t:
+ * This symbol holds the type used for the 2nd argument
+ * to gethostbyaddr().
+ */
+#define Gethbadd_alen_t $gethbadd_alen_type
+
+/* HAS_GETNBADD:
+ * This symbol, if defined, indicates that the getnetbyaddr routine is
+ * available to lookup networks by their IP addresses.
+ */
+#$d_getnbadd HAS_GETNBADD /**/
+
+/* Gethbadd_net_t:
+ * This symbol holds the type used for the 1st argument
+ * to getnetbyaddr().
+ */
+#define Getnbadd_net_t $getnbadd_net_type
+
/* HAS_UNAME:
* This symbol, if defined, indicates that the C program may use the
* uname() routine to derive the host name. See also HAS_GETHOSTNAME
@@ -1117,6 +1147,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
*/
#$i_niin I_NETINET_IN /**/
+/* I_NETDB:
+ * This symbol, if defined, indicates that <netdb.h> exists and
+ * should be included.
+ */
+#$i_netdb I_NETDB /**/
+
/* I_PWD:
* This symbol, if defined, indicates to the C program that it should
* include <pwd.h>.