File: inet.h

package info (click to toggle)
glibc 2.42-6
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid
  • size: 312,360 kB
  • sloc: ansic: 1,060,858; asm: 238,416; makefile: 20,960; python: 13,509; sh: 11,828; cpp: 5,188; awk: 1,794; perl: 317; yacc: 292; pascal: 182; sed: 19
file content (30 lines) | stat: -rw-r--r-- 985 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef _ARPA_INET_H
/* Note: _ARPA_INET_H is defined by inet/arpa/inet.h below.  */
#include <inet/arpa/inet.h>

#ifndef _ISOMAC
/* Declare functions with security checks.
   This needs to be included unconditionally as these definition are needed even
   when fortification is disabled in inet/arpa/inet.h.  */
#include <bits/inet-fortified-decl.h>

/* Variant of inet_aton which rejects trailing garbage.  */
extern int __inet_aton_exact (const char *__cp, struct in_addr *__inp);
libc_hidden_proto (__inet_aton_exact)

extern __typeof (inet_ntop) __inet_ntop;
libc_hidden_proto (__inet_ntop)
libc_hidden_proto (__inet_ntop_chk)

libc_hidden_proto (inet_pton)
extern __typeof (inet_pton) __inet_pton;
libc_hidden_proto (__inet_pton)
libc_hidden_proto (__inet_pton_chk)

extern __typeof (inet_makeaddr) __inet_makeaddr;
libc_hidden_proto (__inet_makeaddr)
libc_hidden_proto (inet_netof)
extern __typeof (inet_network) __inet_network;
libc_hidden_proto (__inet_network)
#endif
#endif