summaryrefslogtreecommitdiff
path: root/include/netdb.h
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-09-05 01:36:46 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-09-05 01:36:46 +0000
commit1792335469ba3565828d0eb595a64116ff63abdf (patch)
tree5d3702b54b0b14f9bfe65adc02f757d9f356ccb4 /include/netdb.h
parentfaf73940c6e09295a85c155905393af5fa1f213c (diff)
downloadsrc-test2-1792335469ba3565828d0eb595a64116ff63abdf.tar.gz
src-test2-1792335469ba3565828d0eb595a64116ff63abdf.zip
Notes
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/netdb.h b/include/netdb.h
index b80f6ed42985..f2196f2c9b26 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -84,7 +84,7 @@ extern int h_errno;
* supplied in host order, and returned in network order (suitable for
* use in system calls).
*/
-struct hostent {
+struct hostent {
char *h_name; /* official name of host */
char **h_aliases; /* alias list */
int h_addrtype; /* host address type */
@@ -97,21 +97,21 @@ struct hostent {
* Assumption here is that a network number
* fits in an unsigned long -- probably a poor one.
*/
-struct netent {
+struct netent {
char *n_name; /* official name of net */
char **n_aliases; /* alias list */
int n_addrtype; /* net address type */
unsigned long n_net; /* network # */
};
-struct servent {
+struct servent {
char *s_name; /* official service name */
char **s_aliases; /* alias list */
int s_port; /* port # */
char *s_proto; /* protocol to use */
};
-struct protoent {
+struct protoent {
char *p_name; /* official protocol name */
char **p_aliases; /* alias list */
int p_proto; /* protocol # */