first pass at function prototypes with cdefs.h
[unix-history] / usr / src / include / arpa / inet.h
CommitLineData
bb0cfa24
DF
1/*
2 * Copyright (c) 1983 Regents of the University of California.
f4f66d2c 3 * All rights reserved.
bb0cfa24 4 *
269a7923 5 * %sccs.include.redist.c%
f4f66d2c 6 *
51ee4bd7 7 * @(#)inet.h 5.5 (Berkeley) %G%
bb0cfa24 8 */
2346be0a 9
f7532098
KB
10/* External definitions for functions in inet(3) */
11
51ee4bd7
KB
12#include <sys/cdefs.h>
13
14__BEGIN_DECLS
15extern unsigned long inet_addr __P((const char *));
16extern unsigned long inet_lnaof __P((struct in_addr));
17extern struct in_addr inet_makeaddr __P((int , int));
18extern unsigned long inet_netof __P((struct in_addr));
19extern unsigned long inet_network __P((const char *));
20extern char *inet_ntoa __P((struct in_addr));
21__END_DECLS