This source file includes following definitions.
- main
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 #define GNULIB_NAMESPACE gnulib
20 #include <config.h>
21
22 #include <sys/socket.h>
23
24 #include "signature.h"
25
26
27 #if GNULIB_TEST_SOCKET
28 SIGNATURE_CHECK (GNULIB_NAMESPACE::socket, int, (int, int, int));
29 #endif
30
31 #if GNULIB_TEST_CONNECT
32 SIGNATURE_CHECK (GNULIB_NAMESPACE::connect, int,
33 (int, const struct sockaddr *, socklen_t));
34 #endif
35
36 #if GNULIB_TEST_ACCEPT
37 SIGNATURE_CHECK (GNULIB_NAMESPACE::accept, int,
38 (int, struct sockaddr *, socklen_t *));
39 #endif
40
41 #if GNULIB_TEST_BIND
42 SIGNATURE_CHECK (GNULIB_NAMESPACE::bind, int,
43 (int, const struct sockaddr *, socklen_t));
44 #endif
45
46 #if GNULIB_TEST_GETPEERNAME
47 SIGNATURE_CHECK (GNULIB_NAMESPACE::getpeername, int,
48 (int, struct sockaddr *, socklen_t *));
49 #endif
50
51 #if GNULIB_TEST_GETSOCKNAME
52 SIGNATURE_CHECK (GNULIB_NAMESPACE::getsockname, int,
53 (int, struct sockaddr *, socklen_t *));
54 #endif
55
56 #if GNULIB_TEST_GETSOCKOPT
57 SIGNATURE_CHECK (GNULIB_NAMESPACE::getsockopt, int,
58 (int, int, int, void *, socklen_t *));
59 #endif
60
61 #if GNULIB_TEST_LISTEN
62 SIGNATURE_CHECK (GNULIB_NAMESPACE::listen, int, (int, int));
63 #endif
64
65 #if GNULIB_TEST_RECV
66 SIGNATURE_CHECK (GNULIB_NAMESPACE::recv, ssize_t, (int, void *, size_t, int));
67 #endif
68
69 #if GNULIB_TEST_SEND
70 SIGNATURE_CHECK (GNULIB_NAMESPACE::send, ssize_t,
71 (int, const void *, size_t, int));
72 #endif
73
74 #if GNULIB_TEST_RECVFROM
75 SIGNATURE_CHECK (GNULIB_NAMESPACE::recvfrom, ssize_t,
76 (int, void *, size_t, int, struct sockaddr *, socklen_t *));
77 #endif
78
79 #if GNULIB_TEST_SENDTO
80 SIGNATURE_CHECK (GNULIB_NAMESPACE::sendto, ssize_t,
81 (int, const void *, size_t, int,
82 const struct sockaddr *, socklen_t));
83 #endif
84
85 #if GNULIB_TEST_SETSOCKOPT
86 SIGNATURE_CHECK (GNULIB_NAMESPACE::setsockopt, int,
87 (int, int, int, const void *, socklen_t));
88 #endif
89
90 #if GNULIB_TEST_SHUTDOWN
91 SIGNATURE_CHECK (GNULIB_NAMESPACE::shutdown, int, (int, int));
92 #endif
93
94 #if GNULIB_TEST_ACCEPT4
95 SIGNATURE_CHECK (GNULIB_NAMESPACE::accept4, int,
96 (int, struct sockaddr *, socklen_t *, int));
97 #endif
98
99
100 int
101 main ()
102 {
103 }