File tree Expand file tree Collapse file tree 10 files changed +52
-44
lines changed Expand file tree Collapse file tree 10 files changed +52
-44
lines changed Original file line number Diff line number Diff line change 1
- const sa_family_t = UInt8
2
-
3
- const __darwin_time_t = Clong
4
-
5
- const __darwin_socklen_t = UInt32
6
-
7
1
mutable struct fd_set
8
2
fds_bits:: NTuple{32, Int32}
9
3
end
10
4
5
+ const sa_family_t = UInt8
6
+
11
7
struct sockaddr
12
8
sa_len:: UInt8
13
9
sa_family:: sa_family_t
14
10
sa_data:: NTuple{14, Cchar}
15
11
end
16
12
13
+ const __darwin_time_t = Clong
14
+
17
15
const time_t = __darwin_time_t
18
16
17
+ const __darwin_socklen_t = UInt32
18
+
19
19
const socklen_t = __darwin_socklen_t
20
20
21
21
const curl_socklen_t = socklen_t
Original file line number Diff line number Diff line change 6
6
7
7
const sa_family_t = Cushort
8
8
9
- const __time_t = Clong
10
-
11
- const __socklen_t = Cuint
12
-
13
9
struct sockaddr
14
10
sa_family:: sa_family_t
15
11
sa_data:: NTuple{14, Cchar}
16
12
end
17
13
14
+ const __time_t = Clong
15
+
18
16
const time_t = __time_t
19
17
18
+ const __socklen_t = Cuint
19
+
20
20
const socklen_t = __socklen_t
21
21
22
22
const curl_socklen_t = socklen_t
Original file line number Diff line number Diff line change 6
6
7
7
const sa_family_t = Cushort
8
8
9
- const __time_t = Clong
10
-
11
- const __socklen_t = Cuint
12
-
13
9
struct sockaddr
14
10
sa_family:: sa_family_t
15
11
sa_data:: NTuple{14, Cchar}
16
12
end
17
13
14
+ const __time_t = Clong
15
+
18
16
const time_t = __time_t
19
17
18
+ const __socklen_t = Cuint
19
+
20
20
const socklen_t = __socklen_t
21
21
22
22
const curl_socklen_t = socklen_t
Original file line number Diff line number Diff line change 6
6
7
7
const sa_family_t = Cushort
8
8
9
- const __time_t = Clong
10
-
11
- const __socklen_t = Cuint
12
-
13
9
struct sockaddr
14
10
sa_family:: sa_family_t
15
11
sa_data:: NTuple{14, Cchar}
16
12
end
17
13
14
+ const __time_t = Clong
15
+
18
16
const time_t = __time_t
19
17
18
+ const __socklen_t = Cuint
19
+
20
20
const socklen_t = __socklen_t
21
21
22
22
const curl_socklen_t = socklen_t
Original file line number Diff line number Diff line change 1
1
const u_int = Cuint
2
2
3
- const u_short = Cushort
3
+ const UINT_PTR = Cuint
4
4
5
- const __time32_t = Clong
5
+ const SOCKET = UINT_PTR
6
6
7
7
mutable struct fd_set
8
8
fd_count:: u_int
9
9
fd_array:: NTuple{64, SOCKET}
10
10
end
11
11
12
+ const u_short = Cushort
13
+
12
14
struct sockaddr
13
15
sa_family:: u_short
14
16
sa_data:: NTuple{14, Cchar}
15
17
end
16
18
19
+ const __time32_t = Clong
20
+
17
21
const time_t = __time32_t
18
22
19
23
const socklen_t = Cint
Original file line number Diff line number Diff line change 6
6
7
7
const sa_family_t = Cushort
8
8
9
- const __time_t = Clong
10
-
11
- const __socklen_t = Cuint
12
-
13
9
struct sockaddr
14
10
sa_family:: sa_family_t
15
11
sa_data:: NTuple{14, Cchar}
16
12
end
17
13
14
+ const __time_t = Clong
15
+
18
16
const time_t = __time_t
19
17
18
+ const __socklen_t = Cuint
19
+
20
20
const socklen_t = __socklen_t
21
21
22
22
const curl_socklen_t = socklen_t
Original file line number Diff line number Diff line change 1
- const sa_family_t = UInt8
2
-
3
- const __darwin_time_t = Clong
4
-
5
- const __darwin_socklen_t = UInt32
6
-
7
1
mutable struct fd_set
8
2
fds_bits:: NTuple{32, Int32}
9
3
end
10
4
5
+ const sa_family_t = UInt8
6
+
11
7
struct sockaddr
12
8
sa_len:: UInt8
13
9
sa_family:: sa_family_t
14
10
sa_data:: NTuple{14, Cchar}
15
11
end
16
12
13
+ const __darwin_time_t = Clong
14
+
17
15
const time_t = __darwin_time_t
18
16
17
+ const __darwin_socklen_t = UInt32
18
+
19
19
const socklen_t = __darwin_socklen_t
20
20
21
21
const curl_socklen_t = socklen_t
Original file line number Diff line number Diff line change 6
6
7
7
const sa_family_t = Cushort
8
8
9
- const __time_t = Clong
10
-
11
- const __socklen_t = Cuint
12
-
13
9
struct sockaddr
14
10
sa_family:: sa_family_t
15
11
sa_data:: NTuple{14, Cchar}
16
12
end
17
13
14
+ const __time_t = Clong
15
+
18
16
const time_t = __time_t
19
17
18
+ const __socklen_t = Cuint
19
+
20
20
const socklen_t = __socklen_t
21
21
22
22
const curl_socklen_t = socklen_t
Original file line number Diff line number Diff line change 1
- const __sa_family_t = UInt8
2
-
3
1
const __fd_mask = Culong
4
2
5
- const sa_family_t = __sa_family_t
6
-
7
- const __time_t = Int64
8
-
9
- const __socklen_t = UInt32
10
-
11
3
mutable struct fd_set
12
4
__fds_bits:: NTuple{16, __fd_mask}
13
5
end
14
6
7
+ const __sa_family_t = UInt8
8
+
9
+ const sa_family_t = __sa_family_t
10
+
15
11
struct sockaddr
16
12
sa_len:: Cuchar
17
13
sa_family:: sa_family_t
18
14
sa_data:: NTuple{14, Cchar}
19
15
end
20
16
17
+ const __time_t = Int64
18
+
21
19
const time_t = __time_t
22
20
21
+ const __socklen_t = UInt32
22
+
23
23
const socklen_t = __socklen_t
24
24
25
25
const curl_socklen_t = socklen_t
Original file line number Diff line number Diff line change 1
1
const u_int = Cuint
2
2
3
- const u_short = Cushort
3
+ const UINT_PTR = Culonglong
4
4
5
- const __time64_t = Clonglong
5
+ const SOCKET = UINT_PTR
6
6
7
7
mutable struct fd_set
8
8
fd_count:: u_int
9
9
fd_array:: NTuple{64, SOCKET}
10
10
end
11
11
12
+ const u_short = Cushort
13
+
12
14
struct sockaddr
13
15
sa_family:: u_short
14
16
sa_data:: NTuple{14, Cchar}
15
17
end
16
18
19
+ const __time64_t = Clonglong
20
+
17
21
const time_t = __time64_t
18
22
19
23
const socklen_t = Cint
You can’t perform that action at this time.
0 commit comments