Compare commits
8787 Commits
curl-7_10_
...
cares-1_7_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1a35cd3ac | ||
|
|
9cbf69ca0b | ||
|
|
c7d2e4c1e1 | ||
|
|
cbd527843b | ||
|
|
fba233bb34 | ||
|
|
8b49428298 | ||
|
|
19f79e5a79 | ||
|
|
e20f3ecd7e | ||
|
|
c83f7ede26 | ||
|
|
f385fdefbe | ||
|
|
88fe6557e9 | ||
|
|
405e18571e | ||
|
|
094afbeb56 | ||
|
|
1fddcb3f88 | ||
|
|
b723500af0 | ||
|
|
4bfa0b08de | ||
|
|
e536cb085f | ||
|
|
083e2df4ed | ||
|
|
b7997d8a3b | ||
|
|
c80b593e5b | ||
|
|
e37f8164a9 | ||
|
|
35d4c57051 | ||
|
|
f6114f2ec4 | ||
|
|
f9e55c9908 | ||
|
|
3005e63b02 | ||
|
|
65e628cc97 | ||
|
|
738e547815 | ||
|
|
5ec8a3ae06 | ||
|
|
fdfbc5d8da | ||
|
|
504e6d7ae6 | ||
|
|
c3266a5eb1 | ||
|
|
ced1e1e726 | ||
|
|
a41493b3b0 | ||
|
|
6da73d09f1 | ||
|
|
4c0ffd33f5 | ||
|
|
99363a0ee1 | ||
|
|
71260534f9 | ||
|
|
5e62be1d8c | ||
|
|
7e6a67b436 | ||
|
|
5a0a473c30 | ||
|
|
5129442ee7 | ||
|
|
e8fd5d8062 | ||
|
|
2f6dcaa644 | ||
|
|
59939313f8 | ||
|
|
961c504ca5 | ||
|
|
b32d1a9a1d | ||
|
|
4c8adc8fee | ||
|
|
69ac7b0cf8 | ||
|
|
09526fc9e9 | ||
|
|
f0068267ee | ||
|
|
7db7c0af4f | ||
|
|
6bf10a111f | ||
|
|
530fde3a22 | ||
|
|
5b3be2ee35 | ||
|
|
3b8d7fddf7 | ||
|
|
0e80f0e4c4 | ||
|
|
a2ddb0a61b | ||
|
|
581ce03345 | ||
|
|
f7f76e17c3 | ||
|
|
1cbc93fb54 | ||
|
|
a8ddd6ce31 | ||
|
|
eb16c0e1eb | ||
|
|
9c49e51f7e | ||
|
|
90bc6ee8f3 | ||
|
|
5e75817d44 | ||
|
|
a7e4022d6b | ||
|
|
4999847625 | ||
|
|
d26a92493a | ||
|
|
05a4abea04 | ||
|
|
c1f9440aca | ||
|
|
011a2818db | ||
|
|
571309dc3e | ||
|
|
d547d00f2c | ||
|
|
668dc0ad87 | ||
|
|
0b7e0eed49 | ||
|
|
9b7e45e874 | ||
|
|
40c2c3270d | ||
|
|
b3e8cf539d | ||
|
|
fb5f332834 | ||
|
|
107c4d878a | ||
|
|
5d786d0e97 | ||
|
|
5f77eea408 | ||
|
|
a0905ec0ab | ||
|
|
d7470a3629 | ||
|
|
2287e7ba8b | ||
|
|
16a1e251cd | ||
|
|
1aa320dedb | ||
|
|
d17ce4e9f1 | ||
|
|
50c3417686 | ||
|
|
46f294dbb0 | ||
|
|
d7231f54d7 | ||
|
|
809f2a190c | ||
|
|
4f62cdf6f9 | ||
|
|
b8012ea251 | ||
|
|
02673a8900 | ||
|
|
676e0c28e7 | ||
|
|
55e68ba333 | ||
|
|
3f56d12830 | ||
|
|
257f2376d5 | ||
|
|
1d8d389bce | ||
|
|
99e43046a7 | ||
|
|
a5460f2431 | ||
|
|
6bf9d56485 | ||
|
|
367114bc87 | ||
|
|
81d45ed3a2 | ||
|
|
7d74e02519 | ||
|
|
7611d30a05 | ||
|
|
3704375292 | ||
|
|
ea1f30e686 | ||
|
|
9732b7cebe | ||
|
|
f39380b1ac | ||
|
|
c8da2980ed | ||
|
|
b19dc0eeb0 | ||
|
|
41de897b6b | ||
|
|
108b414bb8 | ||
|
|
be7af8beaa | ||
|
|
db1281fa9b | ||
|
|
223d848104 | ||
|
|
d8884168e3 | ||
|
|
5dd64e9e4b | ||
|
|
ce6731baf1 | ||
|
|
2c0b65d37b | ||
|
|
a76f4ab7dd | ||
|
|
d68f215f03 | ||
|
|
0a5ac52b49 | ||
|
|
8acb3803e4 | ||
|
|
ac62a94de3 | ||
|
|
0abcb37e3f | ||
|
|
7da5efd55c | ||
|
|
d4ff44d5f6 | ||
|
|
fff706d702 | ||
|
|
eac4310b2e | ||
|
|
e87ee29e32 | ||
|
|
61ebbc01ed | ||
|
|
15f425bdb8 | ||
|
|
861092637b | ||
|
|
3717b7a792 | ||
|
|
950a034895 | ||
|
|
982e655c07 | ||
|
|
308497ffc6 | ||
|
|
b205525d34 | ||
|
|
654b6b6c63 | ||
|
|
3b908ed143 | ||
|
|
265ed24ac0 | ||
|
|
57eeee2ec3 | ||
|
|
6a79b0e859 | ||
|
|
0d9f14f5c1 | ||
|
|
9fced16efb | ||
|
|
f16868d301 | ||
|
|
21af9bf1cd | ||
|
|
b2f4308980 | ||
|
|
6a37135f4d | ||
|
|
b8e1e63379 | ||
|
|
448d2b5f49 | ||
|
|
7867d44251 | ||
|
|
2380ca1714 | ||
|
|
a1cc78d5a1 | ||
|
|
7531ac89d6 | ||
|
|
72acffc66c | ||
|
|
525549f204 | ||
|
|
3f8d3e9c50 | ||
|
|
1951cd1eee | ||
|
|
55aee95f11 | ||
|
|
777134a07b | ||
|
|
4b8ce9423f | ||
|
|
051ab439a9 | ||
|
|
12e60c6d4e | ||
|
|
ff3223259f | ||
|
|
3da1ade4e5 | ||
|
|
ff40c83aa7 | ||
|
|
f49427d364 | ||
|
|
04e8ff84fe | ||
|
|
6f4a5a4612 | ||
|
|
6d4e6cc813 | ||
|
|
86cec97b22 | ||
|
|
e5ee822745 | ||
|
|
167a92810a | ||
|
|
b8b8c3d538 | ||
|
|
21105ab344 | ||
|
|
e49d928ce4 | ||
|
|
5e253785af | ||
|
|
3cbc8d1ba3 | ||
|
|
b4af26a188 | ||
|
|
6daede08cb | ||
|
|
3669ff3c1e | ||
|
|
9afdb05fe8 | ||
|
|
4d9279cb3b | ||
|
|
640e49976f | ||
|
|
f1aa936d2c | ||
|
|
a5ba25a5f6 | ||
|
|
b4e6418aef | ||
|
|
0077a6d51b | ||
|
|
4798f4e652 | ||
|
|
b38e28b6bc | ||
|
|
052dac0d3f | ||
|
|
2eeafcf9a6 | ||
|
|
45e093fc45 | ||
|
|
e593715d72 | ||
|
|
1209f2c014 | ||
|
|
7c821a85f8 | ||
|
|
cf367a62ce | ||
|
|
b233957885 | ||
|
|
492aed1450 | ||
|
|
cd91a1eeca | ||
|
|
5ed274d0b7 | ||
|
|
4271f44a9e | ||
|
|
78d07cb0f9 | ||
|
|
5b11e3883c | ||
|
|
7d22ce5573 | ||
|
|
b64dd3c63d | ||
|
|
0ea6abe7df | ||
|
|
8646cecb78 | ||
|
|
867a0de670 | ||
|
|
4f47fc4e14 | ||
|
|
8d39a31e89 | ||
|
|
66fcebdc9e | ||
|
|
af9ce990f0 | ||
|
|
e3d623f190 | ||
|
|
15be441ad8 | ||
|
|
c7c84e7420 | ||
|
|
37489a855f | ||
|
|
f03130a36e | ||
|
|
a1d18227e5 | ||
|
|
1549605c55 | ||
|
|
14a3f4cd54 | ||
|
|
9448659fc6 | ||
|
|
4002714825 | ||
|
|
61ea058d9f | ||
|
|
0fdb77d643 | ||
|
|
0c90cb7b83 | ||
|
|
ede2ac0ea2 | ||
|
|
d006efebc0 | ||
|
|
f2f45339dc | ||
|
|
be5c815f63 | ||
|
|
31e106ced2 | ||
|
|
250ba99498 | ||
|
|
c2c3a46e3e | ||
|
|
3eee678ab1 | ||
|
|
62ed553054 | ||
|
|
e3049e98d8 | ||
|
|
86f9168797 | ||
|
|
f7690db37d | ||
|
|
7e0b0763fc | ||
|
|
c67c4e7095 | ||
|
|
64a05e540e | ||
|
|
beb0a345ac | ||
|
|
f60cb60fc6 | ||
|
|
4002fbe1f5 | ||
|
|
7ff4b4f2b5 | ||
|
|
945feafe25 | ||
|
|
5389ac0ddf | ||
|
|
5d4a1e245b | ||
|
|
3c199daa95 | ||
|
|
4dd33ac575 | ||
|
|
bb3bbfe56d | ||
|
|
f09de577f5 | ||
|
|
c2ce4e55f0 | ||
|
|
5e3796349a | ||
|
|
56a161e09a | ||
|
|
2786ecaeef | ||
|
|
1486a11839 | ||
|
|
c4c15288d2 | ||
|
|
aaed838872 | ||
|
|
43fba2627a | ||
|
|
7df26a5415 | ||
|
|
f3611c2773 | ||
|
|
d5de849552 | ||
|
|
6569a23890 | ||
|
|
2cf0f80e9f | ||
|
|
223c0b980b | ||
|
|
7ab1139f07 | ||
|
|
d055226949 | ||
|
|
cf910f3097 | ||
|
|
183c9ce1cf | ||
|
|
777168cb77 | ||
|
|
0dd6c329e3 | ||
|
|
7a642c8bf1 | ||
|
|
e47c939822 | ||
|
|
a0bbe25eef | ||
|
|
b96f11f7ec | ||
|
|
7e07da977c | ||
|
|
ddb1fb7535 | ||
|
|
ea2754e028 | ||
|
|
ceda7e98f8 | ||
|
|
2d0aca3b92 | ||
|
|
4e9d3c26ed | ||
|
|
f3bd0c3fc3 | ||
|
|
eb438719f7 | ||
|
|
44e2832b2a | ||
|
|
9539d32298 | ||
|
|
60c0994677 | ||
|
|
e7f81d59b0 | ||
|
|
f1320d6733 | ||
|
|
68f7d5b8d3 | ||
|
|
e8baa332d7 | ||
|
|
39704bec3c | ||
|
|
fad14bca01 | ||
|
|
9e8eec4816 | ||
|
|
fa2ea23c96 | ||
|
|
1a255e0e28 | ||
|
|
1d92cf1dab | ||
|
|
8d1e46bdcc | ||
|
|
b0b2824b58 | ||
|
|
0cb6f3053f | ||
|
|
95c2b205a4 | ||
|
|
6ede4ce79d | ||
|
|
10f2fa9c72 | ||
|
|
8b5102ca83 | ||
|
|
1048043963 | ||
|
|
2c4fcf2ea8 | ||
|
|
681162510a | ||
|
|
5c59ee9488 | ||
|
|
9075195ec4 | ||
|
|
62960f8a42 | ||
|
|
6293fe98a0 | ||
|
|
5c716247aa | ||
|
|
daf688eba6 | ||
|
|
c6712a0c6c | ||
|
|
4d74b52656 | ||
|
|
be2fcbcbf1 | ||
|
|
6247b6d468 | ||
|
|
966cb698e6 | ||
|
|
4b44638f4d | ||
|
|
13afff5752 | ||
|
|
e73fe837a8 | ||
|
|
a9caeb1064 | ||
|
|
171eef68c3 | ||
|
|
33368ebd02 | ||
|
|
501f9f8309 | ||
|
|
9fe787fc1f | ||
|
|
0dec3e5e6a | ||
|
|
66f5baa16e | ||
|
|
1cb921b7f3 | ||
|
|
0cf6721898 | ||
|
|
97c8bc9757 | ||
|
|
2cad095425 | ||
|
|
37d509f04f | ||
|
|
35eb9fc6ad | ||
|
|
df09088a96 | ||
|
|
1a14966577 | ||
|
|
0606b792f0 | ||
|
|
a53525e930 | ||
|
|
3a9c03bef3 | ||
|
|
f0dbdcff9d | ||
|
|
9d03dd7fb8 | ||
|
|
781b82baf5 | ||
|
|
2838362a7b | ||
|
|
0b66efac9c | ||
|
|
47a9660ec1 | ||
|
|
aabf62e7d2 | ||
|
|
6d891d2a3b | ||
|
|
c0e8bed5bf | ||
|
|
0dce2ff8a0 | ||
|
|
2642638fca | ||
|
|
8b0fc9819f | ||
|
|
bf5f91244b | ||
|
|
e8e84cf1da | ||
|
|
0179dbe1c2 | ||
|
|
8978b87728 | ||
|
|
0684128209 | ||
|
|
9b5c00a664 | ||
|
|
b347a7a96e | ||
|
|
240bfaa69e | ||
|
|
7dc48e57a6 | ||
|
|
8570883412 | ||
|
|
1d5627b181 | ||
|
|
038fff6c9f | ||
|
|
21dd9a8021 | ||
|
|
59934c1176 | ||
|
|
2f6ff57d96 | ||
|
|
77eba8727d | ||
|
|
47c392e135 | ||
|
|
9cff716925 | ||
|
|
4c207a004c | ||
|
|
650543a042 | ||
|
|
5f0cae8037 | ||
|
|
95c2ab77e7 | ||
|
|
d7f33b7e4e | ||
|
|
56e6441ceb | ||
|
|
b74b5e0602 | ||
|
|
b4dcbbfabd | ||
|
|
6dd0277c22 | ||
|
|
fb08218a04 | ||
|
|
08d95bff5e | ||
|
|
b476530755 | ||
|
|
a8ea1e9ef4 | ||
|
|
6dade671ad | ||
|
|
38b88b5892 | ||
|
|
340e3b952f | ||
|
|
35c91f6ea9 | ||
|
|
f5f9354093 | ||
|
|
600460ffc6 | ||
|
|
18b3833f90 | ||
|
|
f671d0513c | ||
|
|
100f6b7703 | ||
|
|
4e75c70874 | ||
|
|
bdbfe1f8a9 | ||
|
|
bea9d2cafd | ||
|
|
d709cb2ae3 | ||
|
|
444bb03fab | ||
|
|
966cc10fcc | ||
|
|
0c7087c41f | ||
|
|
c42a06bc1f | ||
|
|
b4c00a8fb0 | ||
|
|
f3403d4c5b | ||
|
|
5cf78472e1 | ||
|
|
2aaff16a87 | ||
|
|
6236198d43 | ||
|
|
83fb285d40 | ||
|
|
3050f10676 | ||
|
|
175fc5096d | ||
|
|
18f238dd53 | ||
|
|
4f551259dd | ||
|
|
9cb68c6e32 | ||
|
|
a9a89c604a | ||
|
|
e96a9190a3 | ||
|
|
1ff4e9008b | ||
|
|
2d716517a8 | ||
|
|
22226a8aec | ||
|
|
9b8e56c97c | ||
|
|
ad1bfc5468 | ||
|
|
2c0c05e96d | ||
|
|
d6d63147b6 | ||
|
|
98f7771d74 | ||
|
|
37eba37019 | ||
|
|
40b2f2553b | ||
|
|
d3e35d49ae | ||
|
|
a0474685c1 | ||
|
|
0b317b72ae | ||
|
|
afe06d1563 | ||
|
|
c40365e9b6 | ||
|
|
4b6d3a2bfd | ||
|
|
7ae624e700 | ||
|
|
c32cf33a16 | ||
|
|
7eb59de7df | ||
|
|
5931cf77f4 | ||
|
|
989aace192 | ||
|
|
65cf30e441 | ||
|
|
d4480c979d | ||
|
|
169e94d68b | ||
|
|
0cc8184057 | ||
|
|
a7c75142fa | ||
|
|
02d3c452e4 | ||
|
|
1c148575ea | ||
|
|
d1a1865650 | ||
|
|
067544abc5 | ||
|
|
77da57057f | ||
|
|
aa1da57c37 | ||
|
|
c2ce2aa4de | ||
|
|
90c9fd55fc | ||
|
|
47e403640b | ||
|
|
4ea513cc38 | ||
|
|
3ca0b9bb47 | ||
|
|
e592da5a59 | ||
|
|
2c93f889fd | ||
|
|
6173ce6463 | ||
|
|
065a51d2e1 | ||
|
|
7edcc22136 | ||
|
|
352177090f | ||
|
|
9d18c0b156 | ||
|
|
ec65a9a364 | ||
|
|
5c4b6a8ef0 | ||
|
|
5d502eb90c | ||
|
|
d6662d8442 | ||
|
|
1d97f13462 | ||
|
|
2c16681225 | ||
|
|
065047dc62 | ||
|
|
eba8d6d5f5 | ||
|
|
744dceaffe | ||
|
|
8740d147c9 | ||
|
|
16ae283fb4 | ||
|
|
312600fe9c | ||
|
|
3e0c067e43 | ||
|
|
f90551ff41 | ||
|
|
9442fc0b52 | ||
|
|
dbb93a2718 | ||
|
|
242cf423f8 | ||
|
|
217faf778b | ||
|
|
01b74950b7 | ||
|
|
420bfbcf40 | ||
|
|
89f6567fda | ||
|
|
efec05d581 | ||
|
|
47198dce5d | ||
|
|
f45500c612 | ||
|
|
6f3e817372 | ||
|
|
cfda5df020 | ||
|
|
2b4f41603d | ||
|
|
448f448d14 | ||
|
|
ee6a618116 | ||
|
|
e08f81c891 | ||
|
|
9324f1c29f | ||
|
|
d71c1514f2 | ||
|
|
2df75e84e7 | ||
|
|
9ab89734de | ||
|
|
960c0319c4 | ||
|
|
439891cb9f | ||
|
|
bdfb3ef11c | ||
|
|
8d581f7fe4 | ||
|
|
262907d0a3 | ||
|
|
15be673054 | ||
|
|
16a5649670 | ||
|
|
6582895b51 | ||
|
|
e3d65389d7 | ||
|
|
027cb376f3 | ||
|
|
f1261bcdd7 | ||
|
|
2e7b36d04f | ||
|
|
ce1a58414a | ||
|
|
1012c5705a | ||
|
|
1c2947581b | ||
|
|
00883822be | ||
|
|
13fdb9d8a5 | ||
|
|
52b2bc4109 | ||
|
|
b59b3a5152 | ||
|
|
fe6c03370e | ||
|
|
e3f128875c | ||
|
|
7bf82a814b | ||
|
|
e1270928a3 | ||
|
|
6fce5b54a8 | ||
|
|
3c38eafd75 | ||
|
|
9dcc1b3370 | ||
|
|
e3c37aac28 | ||
|
|
61a967095d | ||
|
|
c0e004ec1c | ||
|
|
0a1b7296b9 | ||
|
|
cd5e6743f7 | ||
|
|
2091fe530f | ||
|
|
cda8d63d43 | ||
|
|
bef1b140e9 | ||
|
|
c9188e2260 | ||
|
|
15eaf27bc7 | ||
|
|
bf2277e263 | ||
|
|
348ffbc47e | ||
|
|
f13cbcf175 | ||
|
|
9418c56fd3 | ||
|
|
7dbd502931 | ||
|
|
0bf9c1e881 | ||
|
|
bf07d37737 | ||
|
|
eecb713616 | ||
|
|
bf085e2c4b | ||
|
|
ce1a97d6c8 | ||
|
|
34c9ec4e1a | ||
|
|
e73fb6808a | ||
|
|
1c93d9dcfe | ||
|
|
675d6ec5e6 | ||
|
|
1ad43c54c0 | ||
|
|
1cf6c15ab4 | ||
|
|
8fc17ed764 | ||
|
|
26028068e8 | ||
|
|
8519682564 | ||
|
|
5ca0c73e98 | ||
|
|
4c979aa44f | ||
|
|
274dc3ecac | ||
|
|
5e2b5edde5 | ||
|
|
b8b6521659 | ||
|
|
e37b1b0623 | ||
|
|
4a79462c3e | ||
|
|
c328cc9608 | ||
|
|
cf2d39220a | ||
|
|
7dbd649f60 | ||
|
|
4282199bb4 | ||
|
|
7071dd0162 | ||
|
|
e61a687eda | ||
|
|
7e85d2fbd4 | ||
|
|
969ab28261 | ||
|
|
90d36cc630 | ||
|
|
1bb68cbcfa | ||
|
|
de7a14003c | ||
|
|
e3ead9f585 | ||
|
|
a461b0ae44 | ||
|
|
1b28f9fa89 | ||
|
|
dff8076022 | ||
|
|
dd3c187484 | ||
|
|
4677778f85 | ||
|
|
f96204dbe0 | ||
|
|
0427b783e2 | ||
|
|
4650732f4a | ||
|
|
1e138c1401 | ||
|
|
89fb7c85bf | ||
|
|
0e51fc90e3 | ||
|
|
1b6c683ca6 | ||
|
|
501e72c3de | ||
|
|
a450efb483 | ||
|
|
0cf8d4f8e8 | ||
|
|
084447e414 | ||
|
|
4c9c9f0b89 | ||
|
|
13db2916de | ||
|
|
2d64cd55a1 | ||
|
|
60a6af7498 | ||
|
|
3cb06eb2b2 | ||
|
|
b8e73495a5 | ||
|
|
187cfc1594 | ||
|
|
90cd2a4753 | ||
|
|
f3e6a582d4 | ||
|
|
3ae470eedf | ||
|
|
6595592a71 | ||
|
|
199389c94a | ||
|
|
c31438b2f2 | ||
|
|
843f73ecaa | ||
|
|
86f043a66c | ||
|
|
80d2df7789 | ||
|
|
f882a63cba | ||
|
|
611b3584d6 | ||
|
|
a1f13dd31b | ||
|
|
966e7d0e36 | ||
|
|
44103abdb7 | ||
|
|
8f9d4b2b50 | ||
|
|
78c674a685 | ||
|
|
197830a57d | ||
|
|
3d024d5fce | ||
|
|
5763743614 | ||
|
|
54da964a99 | ||
|
|
e25cff9328 | ||
|
|
36b397be9f | ||
|
|
468019e947 | ||
|
|
7e941baa26 | ||
|
|
63270b0665 | ||
|
|
bcdbba05d3 | ||
|
|
51d1f309cd | ||
|
|
f04720afb8 | ||
|
|
e6e6c6e635 | ||
|
|
1f340a262f | ||
|
|
242a17b9e0 | ||
|
|
6e1632c606 | ||
|
|
56dab605f1 | ||
|
|
3aa3d7e629 | ||
|
|
75585f771a | ||
|
|
9a9f35039e | ||
|
|
e6f84b8cc8 | ||
|
|
72f15da2ed | ||
|
|
effbd99384 | ||
|
|
d1ba4324de | ||
|
|
c0b5d378dc | ||
|
|
b8c438f22d | ||
|
|
a85271ce0a | ||
|
|
fd5e69f769 | ||
|
|
ddb0b8d8b8 | ||
|
|
1345226bc9 | ||
|
|
fb202e9de7 | ||
|
|
5dcb5fa862 | ||
|
|
f77f2709a9 | ||
|
|
bc852bca48 | ||
|
|
9314e9e853 | ||
|
|
838ddf8f55 | ||
|
|
619869c639 | ||
|
|
31baaf72b4 | ||
|
|
c92b996942 | ||
|
|
e84c7db049 | ||
|
|
9ef7b6afe2 | ||
|
|
c5c03ac556 | ||
|
|
6ca321ca75 | ||
|
|
9c788a529b | ||
|
|
6159c356c9 | ||
|
|
ac9d92587e | ||
|
|
f32dc6b828 | ||
|
|
7a928b40f3 | ||
|
|
172501e10c | ||
|
|
317e030de0 | ||
|
|
cfda3e6a48 | ||
|
|
4d522b8f31 | ||
|
|
e93c81196f | ||
|
|
7bdd14a994 | ||
|
|
afe06b48d6 | ||
|
|
63c5ed3798 | ||
|
|
77bb536542 | ||
|
|
7c6e0d5981 | ||
|
|
a1708730c3 | ||
|
|
d33ca87e4c | ||
|
|
3c509c5f68 | ||
|
|
a840cc700a | ||
|
|
b40b989523 | ||
|
|
5eba93c4e7 | ||
|
|
915dfb494e | ||
|
|
a16cca7680 | ||
|
|
644482fc99 | ||
|
|
8c08ecfcbf | ||
|
|
b9920bdd0e | ||
|
|
bdf71e2685 | ||
|
|
bd4fd9c28c | ||
|
|
ff3e574187 | ||
|
|
4422f80ae7 | ||
|
|
cc8c2efff2 | ||
|
|
cdaca293d9 | ||
|
|
4dbc7850bd | ||
|
|
8119379d4f | ||
|
|
9b4253fe67 | ||
|
|
b5c599c80c | ||
|
|
9137e717b0 | ||
|
|
80186aa7f4 | ||
|
|
6ac739630f | ||
|
|
80a61616b1 | ||
|
|
589d2ee7b5 | ||
|
|
0a294db912 | ||
|
|
2788aa366c | ||
|
|
0f29fdaf17 | ||
|
|
2912d993c2 | ||
|
|
62ceb118ee | ||
|
|
0569c9c1be | ||
|
|
5a91746b80 | ||
|
|
fdc091a857 | ||
|
|
8469db016d | ||
|
|
f6312b16f1 | ||
|
|
c76e538231 | ||
|
|
96ea49870c | ||
|
|
6e8c73fd38 | ||
|
|
56981a2aaf | ||
|
|
ec16121fb3 | ||
|
|
7bd9988c8e | ||
|
|
068312ecb8 | ||
|
|
d36a86a12c | ||
|
|
c174b13f8b | ||
|
|
6b95c4e358 | ||
|
|
22e2ecb003 | ||
|
|
e08296f70c | ||
|
|
dd50e5bdf2 | ||
|
|
504ecd5f7a | ||
|
|
7d1bb21c19 | ||
|
|
63dc2a843f | ||
|
|
296baeb096 | ||
|
|
01dabb774a | ||
|
|
d0fe4071a9 | ||
|
|
3d491c470b | ||
|
|
06462e8a92 | ||
|
|
dbf371344b | ||
|
|
e2c6e00570 | ||
|
|
e4a0001fc6 | ||
|
|
49400b0c7f | ||
|
|
5957498c6f | ||
|
|
b6282b99cb | ||
|
|
a8483841b5 | ||
|
|
d068001102 | ||
|
|
d576be58dc | ||
|
|
1a2b88964f | ||
|
|
f7a188a642 | ||
|
|
befbf2a206 | ||
|
|
e01b7c1ede | ||
|
|
dd8d472318 | ||
|
|
256489639c | ||
|
|
e323abe5d9 | ||
|
|
afc00b08d7 | ||
|
|
af41fb79b5 | ||
|
|
535b7c5e0f | ||
|
|
217f7a7ea7 | ||
|
|
317d351423 | ||
|
|
d27519c0ca | ||
|
|
255dc45dc9 | ||
|
|
f4d8728df9 | ||
|
|
8611631f5e | ||
|
|
1e5ed4fa33 | ||
|
|
0daeab3b8d | ||
|
|
bd27401311 | ||
|
|
14df44dd3f | ||
|
|
1272621ebc | ||
|
|
0e83482e47 | ||
|
|
c0d929bed9 | ||
|
|
828a26286d | ||
|
|
082b0d822c | ||
|
|
651b4b9efa | ||
|
|
ab1e54375f | ||
|
|
70e2db51e1 | ||
|
|
0145919a9e | ||
|
|
2236a247d9 | ||
|
|
7291f50e8d | ||
|
|
bc5677a47b | ||
|
|
137ef36757 | ||
|
|
33a3753c3f | ||
|
|
9770899a4b | ||
|
|
fe8eeb5641 | ||
|
|
8cd1f1f7f9 | ||
|
|
b84876ba69 | ||
|
|
0f1ca2939a | ||
|
|
4882078469 | ||
|
|
991b120eee | ||
|
|
f278d177f9 | ||
|
|
53b2ff4b04 | ||
|
|
0c89d71aee | ||
|
|
b746bf7814 | ||
|
|
f11969015a | ||
|
|
f1b820e5fc | ||
|
|
7356ff0b18 | ||
|
|
30f7a2ff20 | ||
|
|
f6b55fae79 | ||
|
|
8aa88f4d36 | ||
|
|
ce7b565595 | ||
|
|
41fd08bb0d | ||
|
|
d0a930cd44 | ||
|
|
9bb1854398 | ||
|
|
f7400212fc | ||
|
|
6434b42481 | ||
|
|
dd0b38b32f | ||
|
|
7816db8e8a | ||
|
|
9cc6ab3922 | ||
|
|
2c27e24bb4 | ||
|
|
c382c550e7 | ||
|
|
c663494c69 | ||
|
|
97f27ea585 | ||
|
|
379bfa5a36 | ||
|
|
235c0077b8 | ||
|
|
c621546bd6 | ||
|
|
aa330b8240 | ||
|
|
e43606eb4d | ||
|
|
6a378a28b4 | ||
|
|
95368d9cb4 | ||
|
|
74f9c570ea | ||
|
|
eed4a13b3b | ||
|
|
7e9f7659b3 | ||
|
|
4d396169c8 | ||
|
|
4cd950900b | ||
|
|
2b96c3f5ce | ||
|
|
63fad159e8 | ||
|
|
e5f1480a38 | ||
|
|
020955ebc2 | ||
|
|
3733fa02ee | ||
|
|
7037e4a4b1 | ||
|
|
0e98f938c4 | ||
|
|
55d0c29f4a | ||
|
|
59997ecad5 | ||
|
|
6e2f0833ad | ||
|
|
25f626cc52 | ||
|
|
ece891d6db | ||
|
|
702355da47 | ||
|
|
c4fba310d2 | ||
|
|
e9dd099870 | ||
|
|
070d89a561 | ||
|
|
28cc9dd331 | ||
|
|
7c1fecc94a | ||
|
|
7a9fab52be | ||
|
|
8cb8371011 | ||
|
|
875c55d86b | ||
|
|
b85154f13f | ||
|
|
06047d9103 | ||
|
|
2362637e90 | ||
|
|
edd02607e2 | ||
|
|
0211e420ed | ||
|
|
9a184e0bb1 | ||
|
|
168fb3a8d8 | ||
|
|
4c5307b456 | ||
|
|
626f9bd8c2 | ||
|
|
a06b36dee0 | ||
|
|
18e1bee8d5 | ||
|
|
41f76801eb | ||
|
|
31a7bfc47f | ||
|
|
1b6d18fcb0 | ||
|
|
57c32b709d | ||
|
|
5f19822e37 | ||
|
|
9a0c9cd6e1 | ||
|
|
0ac8e1d80b | ||
|
|
744e55ec74 | ||
|
|
74ba4d7950 | ||
|
|
fa96436661 | ||
|
|
d15b8273d6 | ||
|
|
0a5cf3a928 | ||
|
|
6173e38fdc | ||
|
|
34cd99d1d9 | ||
|
|
0922a0fc3f | ||
|
|
dd53b356ff | ||
|
|
f1db505778 | ||
|
|
662727ca3e | ||
|
|
bdec6f2b20 | ||
|
|
c86c294f55 | ||
|
|
a9a03b9708 | ||
|
|
f4e8c406bb | ||
|
|
12bfcb501c | ||
|
|
0fc1782dd4 | ||
|
|
9274d31690 | ||
|
|
983a539503 | ||
|
|
94bb7fe5cb | ||
|
|
b98e0aa09b | ||
|
|
49c6d7e32d | ||
|
|
ee73fc361b | ||
|
|
e84dbd28db | ||
|
|
02449d9aa5 | ||
|
|
2876329f16 | ||
|
|
a1f455551f | ||
|
|
042cc1f69e | ||
|
|
90b804d3fa | ||
|
|
4bc603a0cc | ||
|
|
6c3f74b946 | ||
|
|
8d78a33e60 | ||
|
|
df07537ccf | ||
|
|
de25ed3f37 | ||
|
|
40edf25866 | ||
|
|
7b7db23633 | ||
|
|
794b4da840 | ||
|
|
e9ea3ba4a2 | ||
|
|
d207ea1652 | ||
|
|
625d06ac79 | ||
|
|
3460225590 | ||
|
|
ea6531cf32 | ||
|
|
2afb88e2ce | ||
|
|
6c9f37d263 | ||
|
|
735955282b | ||
|
|
dd056e54e2 | ||
|
|
f5548973ab | ||
|
|
07dc741e18 | ||
|
|
8b66981ce0 | ||
|
|
3a7e8c9f5f | ||
|
|
fb90b43432 | ||
|
|
0302c21253 | ||
|
|
9182a46233 | ||
|
|
51b46f451f | ||
|
|
11f3690201 | ||
|
|
5784a37f91 | ||
|
|
af91ff0e06 | ||
|
|
be3a78f583 | ||
|
|
7f22da5230 | ||
|
|
5af0629ba5 | ||
|
|
a776e5ad31 | ||
|
|
6e422c447a | ||
|
|
4608d0157e | ||
|
|
a24fe59ee4 | ||
|
|
4ad296c60b | ||
|
|
0517fa153c | ||
|
|
8f81fd6be5 | ||
|
|
1472be4d3e | ||
|
|
8925527fef | ||
|
|
8cdc220bc0 | ||
|
|
d315d41a12 | ||
|
|
4f7687895d | ||
|
|
07d46886df | ||
|
|
b79c8f527f | ||
|
|
0cf10ae4d7 | ||
|
|
debe0b561d | ||
|
|
9ddc7ad038 | ||
|
|
9a4c887c4a | ||
|
|
de41c6ef43 | ||
|
|
002cf105c6 | ||
|
|
fb8fdf9273 | ||
|
|
517b8ed057 | ||
|
|
d3d7ed1766 | ||
|
|
77fd094090 | ||
|
|
c65f9acdc7 | ||
|
|
5c4cdcb2d5 | ||
|
|
b1233c7e4d | ||
|
|
4ebe4b907b | ||
|
|
bf44d0f640 | ||
|
|
73cf99c052 | ||
|
|
44c02227e9 | ||
|
|
77da9a0087 | ||
|
|
42d2353e74 | ||
|
|
4b441ebac5 | ||
|
|
01140217f5 | ||
|
|
71f3877f3a | ||
|
|
83d135f990 | ||
|
|
d4ac3d53fc | ||
|
|
f0332c0b58 | ||
|
|
bdd4294e79 | ||
|
|
dcf92bffd2 | ||
|
|
a2256e899b | ||
|
|
8b6805572a | ||
|
|
607253c2d0 | ||
|
|
09f4a1c5e5 | ||
|
|
5c9fff9c6e | ||
|
|
99b4912688 | ||
|
|
0a6312d66f | ||
|
|
a97f52db20 | ||
|
|
5267be57f7 | ||
|
|
e813bf31d7 | ||
|
|
1bd0be0361 | ||
|
|
996c8ca7c2 | ||
|
|
fec65fbff6 | ||
|
|
de4610a55f | ||
|
|
6e34c2d59a | ||
|
|
34b09398d5 | ||
|
|
0516ce7786 | ||
|
|
bb86462ed7 | ||
|
|
8fa8df95fb | ||
|
|
82ca52713b | ||
|
|
f29e383575 | ||
|
|
5aeef9c1c8 | ||
|
|
ddd3fe5948 | ||
|
|
5591550167 | ||
|
|
6bb9ef8de4 | ||
|
|
14a6788535 | ||
|
|
6f86826516 | ||
|
|
0e6ed13454 | ||
|
|
b914f45e9e | ||
|
|
3ed66094e8 | ||
|
|
718004d9b5 | ||
|
|
1dc54324f4 | ||
|
|
89ecf4ac01 | ||
|
|
d42eac4287 | ||
|
|
3fa6c51bb1 | ||
|
|
37c5250e03 | ||
|
|
0d3bb93ce8 | ||
|
|
5e74c58b73 | ||
|
|
7ac16811cc | ||
|
|
29b6a732f3 | ||
|
|
3dcd6bc597 | ||
|
|
1342f5d592 | ||
|
|
8fbfd5916d | ||
|
|
1225d36188 | ||
|
|
a19e02be5e | ||
|
|
0761e60a4a | ||
|
|
af96c8304f | ||
|
|
0de0e95020 | ||
|
|
35d8fb0501 | ||
|
|
87c71953be | ||
|
|
79a91b8168 | ||
|
|
2f9038bf62 | ||
|
|
4d50ca4e21 | ||
|
|
a1077d0970 | ||
|
|
b9fdc0c251 | ||
|
|
f471b4836f | ||
|
|
32b75d1b69 | ||
|
|
f7e3bd28b4 | ||
|
|
452e52f958 | ||
|
|
0090099565 | ||
|
|
2ed23cb50d | ||
|
|
a97ab4f933 | ||
|
|
bc93011554 | ||
|
|
14b6cc4e22 | ||
|
|
80ffd3581f | ||
|
|
dd058b8de6 | ||
|
|
3c2ad4022c | ||
|
|
1f4b8da60a | ||
|
|
9af4cf219e | ||
|
|
cf4b88fcc4 | ||
|
|
2215a9a181 | ||
|
|
aa32f61ce7 | ||
|
|
8266727062 | ||
|
|
d839230402 | ||
|
|
1cc50d31f9 | ||
|
|
104377d718 | ||
|
|
83640b2ee5 | ||
|
|
9aea3e265d | ||
|
|
59227bf075 | ||
|
|
f61cfc5931 | ||
|
|
27b8a5fd84 | ||
|
|
60ff74140e | ||
|
|
4f0a7170af | ||
|
|
6d2ff9d2a7 | ||
|
|
122b0bfe82 | ||
|
|
3eae7695fc | ||
|
|
6efde61227 | ||
|
|
1c48124db4 | ||
|
|
e9895ea2e7 | ||
|
|
eab8c0d754 | ||
|
|
7ffe62d901 | ||
|
|
d5bfec70af | ||
|
|
2a86817349 | ||
|
|
5be7d88b34 | ||
|
|
8a335ee7fd | ||
|
|
216ad2680b | ||
|
|
e16509d5cf | ||
|
|
19c9b7c803 | ||
|
|
ffd08df863 | ||
|
|
460459e8db | ||
|
|
07416b61e3 | ||
|
|
000a13e21a | ||
|
|
03ca98b0df | ||
|
|
abb74a1203 | ||
|
|
77c1d556bb | ||
|
|
bd55ab05bd | ||
|
|
2025193b7a | ||
|
|
418683f537 | ||
|
|
008b848dcc | ||
|
|
79b7575fd8 | ||
|
|
792279581b | ||
|
|
3ca360391a | ||
|
|
5f0a3797c9 | ||
|
|
2d2c53d20e | ||
|
|
02ca14fd0e | ||
|
|
0f5895faee | ||
|
|
c0dfe6e51d | ||
|
|
1b4af1f8d8 | ||
|
|
8e255534a1 | ||
|
|
4607dfe257 | ||
|
|
6e376532b0 | ||
|
|
4ed64fd5ee | ||
|
|
21700ae515 | ||
|
|
b962ef3154 | ||
|
|
32f78136b2 | ||
|
|
01d6133bd7 | ||
|
|
4b62cd3616 | ||
|
|
df7b1d8e64 | ||
|
|
2449e1f5a5 | ||
|
|
66c0e4ad5f | ||
|
|
18371aaff9 | ||
|
|
f36eab2608 | ||
|
|
66d38261f7 | ||
|
|
553b4cfd0b | ||
|
|
edd63a7920 | ||
|
|
5ce03efc3e | ||
|
|
4645e8b6b1 | ||
|
|
42365aa7ef | ||
|
|
dff4ce92ad | ||
|
|
e5b0533dab | ||
|
|
a2a315a6e8 | ||
|
|
7abdc4b218 | ||
|
|
479ddb1fee | ||
|
|
4ee27b4594 | ||
|
|
58ebde9502 | ||
|
|
04ee89493e | ||
|
|
dd3594c6b3 | ||
|
|
f7ea431516 | ||
|
|
16a153468d | ||
|
|
b062212e55 | ||
|
|
39eb96e9ff | ||
|
|
4c84f6b423 | ||
|
|
0b2ae71f8b | ||
|
|
39d0b57ebf | ||
|
|
c036f6ae2d | ||
|
|
e35e2ea6ec | ||
|
|
f33f8eee26 | ||
|
|
31a3f064c0 | ||
|
|
232518a219 | ||
|
|
bc165078a2 | ||
|
|
e4dabef0c7 | ||
|
|
00142d8443 | ||
|
|
1b0b7fa0e1 | ||
|
|
67fb731ec4 | ||
|
|
a30a6f2f20 | ||
|
|
baeebb2b57 | ||
|
|
ecc6f550eb | ||
|
|
640974fb28 | ||
|
|
3b0c5ae467 | ||
|
|
0fa14c8662 | ||
|
|
d17be0df52 | ||
|
|
53a8a6e5a6 | ||
|
|
dd2fc45c27 | ||
|
|
ba9f8c674c | ||
|
|
c4f4fa4089 | ||
|
|
32634b0771 | ||
|
|
c97b66287c | ||
|
|
cd6fc8a8ef | ||
|
|
3308781376 | ||
|
|
40e8b4e527 | ||
|
|
4741e64c89 | ||
|
|
0b489c7e61 | ||
|
|
22d4db1cf2 | ||
|
|
7383225271 | ||
|
|
4b3ae5e157 | ||
|
|
797bc8504c | ||
|
|
305f4d92ef | ||
|
|
c36f0e71b6 | ||
|
|
a028c69f48 | ||
|
|
4e4b6de5ce | ||
|
|
9aac2328c6 | ||
|
|
e5084c1eca | ||
|
|
9b12f09600 | ||
|
|
a71762e405 | ||
|
|
b8f3e5675a | ||
|
|
820011dedc | ||
|
|
cdd6054e08 | ||
|
|
a15b6a6f86 | ||
|
|
20d3e2b967 | ||
|
|
608fdce0a0 | ||
|
|
ecd3251542 | ||
|
|
999c7126b3 | ||
|
|
3c50ea961f | ||
|
|
acc29ff1d9 | ||
|
|
886bba55ac | ||
|
|
cd440215a5 | ||
|
|
73060b4523 | ||
|
|
c76d939563 | ||
|
|
3c4b69f95d | ||
|
|
3f01d9a043 | ||
|
|
dbc6fe3e84 | ||
|
|
da6c15163b | ||
|
|
9818bf7026 | ||
|
|
73c7acb159 | ||
|
|
ea8fbb5233 | ||
|
|
9b033e1b8a | ||
|
|
a65ce7b107 | ||
|
|
2249c12a3c | ||
|
|
b4ac9cd02c | ||
|
|
3517eba632 | ||
|
|
2cd44abafc | ||
|
|
4b486ebbc1 | ||
|
|
f9f211d2c6 | ||
|
|
77b30f69e4 | ||
|
|
17d2a464ad | ||
|
|
ae6530ee82 | ||
|
|
a6ba9e5ccd | ||
|
|
c4cdab969b | ||
|
|
c331c73ec6 | ||
|
|
d1f063c62d | ||
|
|
b686dc4911 | ||
|
|
78936b2f2a | ||
|
|
b2ed1e2607 | ||
|
|
fb8870297d | ||
|
|
4cbc0f6c2e | ||
|
|
1b9eff64fa | ||
|
|
d07d1a6ef8 | ||
|
|
8bdd60fa71 | ||
|
|
b872086c74 | ||
|
|
e0af4a15d0 | ||
|
|
d31802ed98 | ||
|
|
87c4136bd4 | ||
|
|
09e027bc9d | ||
|
|
707828b71a | ||
|
|
8f44037133 | ||
|
|
9717ccb786 | ||
|
|
6354cbf9d6 | ||
|
|
95a849efc2 | ||
|
|
fe083a94b9 | ||
|
|
6fdcdfa5ea | ||
|
|
4a4885eead | ||
|
|
a0ef686c54 | ||
|
|
2903a5c050 | ||
|
|
4d50b9f1f1 | ||
|
|
5e3c2af236 | ||
|
|
5d791838d2 | ||
|
|
b80c5cff49 | ||
|
|
47b5740bdf | ||
|
|
b8092857d9 | ||
|
|
3cda1a23ce | ||
|
|
215677c10b | ||
|
|
3688cd3fea | ||
|
|
5ca2a8318d | ||
|
|
e27ec862c3 | ||
|
|
d0b8b5a199 | ||
|
|
efe2ce3647 | ||
|
|
71f00188fb | ||
|
|
a1c9cb8860 | ||
|
|
74e9718370 | ||
|
|
2d71c9cdfd | ||
|
|
484d549ece | ||
|
|
d098ab436d | ||
|
|
85ffd33f08 | ||
|
|
c1b8e93083 | ||
|
|
383d4656aa | ||
|
|
3e3d10824f | ||
|
|
128418b214 | ||
|
|
050a39a7a5 | ||
|
|
5f085789b9 | ||
|
|
6a8832d83b | ||
|
|
fcb498b0d5 | ||
|
|
0433252e50 | ||
|
|
5ce6f37e26 | ||
|
|
02fc7bb5f6 | ||
|
|
9e1294e866 | ||
|
|
c2c800d863 | ||
|
|
625c107c25 | ||
|
|
33319f5d2d | ||
|
|
ad3c1c37bb | ||
|
|
005bf19acf | ||
|
|
91c77808c4 | ||
|
|
0ce97f77e0 | ||
|
|
197ad60d21 | ||
|
|
dc31387c6f | ||
|
|
bd64da3785 | ||
|
|
4fef0d4f14 | ||
|
|
89d6f580dc | ||
|
|
23eb74e085 | ||
|
|
9c86097286 | ||
|
|
f0bb9c7d8d | ||
|
|
d4514f9c10 | ||
|
|
c324033ba4 | ||
|
|
74a16db975 | ||
|
|
a10044e110 | ||
|
|
6cdd067faf | ||
|
|
0989cd358a | ||
|
|
6e0739931d | ||
|
|
b17ca44f0b | ||
|
|
fd6e025d61 | ||
|
|
9230708e47 | ||
|
|
92f3b3895e | ||
|
|
fa8a78ff01 | ||
|
|
310d842b70 | ||
|
|
1498de83d6 | ||
|
|
e29f62f0a7 | ||
|
|
39e5fa6ae8 | ||
|
|
dc289aa4fa | ||
|
|
6db8f53445 | ||
|
|
417bac4055 | ||
|
|
e9c94cdd49 | ||
|
|
d104216bbe | ||
|
|
d086fdaf9f | ||
|
|
8693afdfea | ||
|
|
a876161ef9 | ||
|
|
10035c898b | ||
|
|
71edaf4d01 | ||
|
|
2b77d50776 | ||
|
|
6ea91af2f8 | ||
|
|
b767440399 | ||
|
|
4174ec7116 | ||
|
|
068ba17e21 | ||
|
|
4d10c96aa6 | ||
|
|
b701ea36a7 | ||
|
|
198fa5e3c7 | ||
|
|
507cd13793 | ||
|
|
6c14c96e71 | ||
|
|
976963cd21 | ||
|
|
9391d980c3 | ||
|
|
bab5183820 | ||
|
|
0abaf22467 | ||
|
|
463a8134a1 | ||
|
|
d22b2d181f | ||
|
|
5a9bbf639a | ||
|
|
81e48ada47 | ||
|
|
598bc44f67 | ||
|
|
b93f4f623c | ||
|
|
1054dc5ed1 | ||
|
|
7fc4e8af0a | ||
|
|
4198bb88b6 | ||
|
|
db325d1f43 | ||
|
|
7ff38c14a9 | ||
|
|
3f2de3d101 | ||
|
|
6bd91936ff | ||
|
|
035a2e5479 | ||
|
|
6983ba3225 | ||
|
|
77e028d620 | ||
|
|
0bb91218c5 | ||
|
|
231a51fe7a | ||
|
|
8d0cbaf8df | ||
|
|
b843c27322 | ||
|
|
2688cf343b | ||
|
|
b416b87518 | ||
|
|
3f1b9f095a | ||
|
|
8a6eeb82c5 | ||
|
|
5779283a52 | ||
|
|
80d0dcc9a3 | ||
|
|
d51ad518c4 | ||
|
|
29ba1730ca | ||
|
|
183210619d | ||
|
|
feff911fb7 | ||
|
|
8eee5f3253 | ||
|
|
3e55fef5e1 | ||
|
|
63397e380f | ||
|
|
07c3aaeea1 | ||
|
|
8254bbae56 | ||
|
|
e7886aa9b4 | ||
|
|
fb08868e54 | ||
|
|
c141d99059 | ||
|
|
f66e1c49b0 | ||
|
|
4acbe8f20c | ||
|
|
2ea70a5c73 | ||
|
|
eb612bfdfc | ||
|
|
5e826c78a7 | ||
|
|
a0d906739d | ||
|
|
98b13037e7 | ||
|
|
29f09f71b4 | ||
|
|
a00b6e258d | ||
|
|
7ded272b94 | ||
|
|
1d12b1fa1e | ||
|
|
54582bdce9 | ||
|
|
a9a4300a36 | ||
|
|
f720e0ac0f | ||
|
|
a8245df745 | ||
|
|
86c5d02a5e | ||
|
|
5af597c2fb | ||
|
|
dd9e0164d5 | ||
|
|
9d16b4081e | ||
|
|
545cafce9b | ||
|
|
fb66d51796 | ||
|
|
5175664174 | ||
|
|
a579d67064 | ||
|
|
be760bed7e | ||
|
|
357383159e | ||
|
|
0ea1c28135 | ||
|
|
36e56f36ad | ||
|
|
0a9984c27e | ||
|
|
0ecdcc253b | ||
|
|
1667890172 | ||
|
|
9b3f863cf5 | ||
|
|
2f2ed4e40e | ||
|
|
3d582304b6 | ||
|
|
996d45df0a | ||
|
|
6047635406 | ||
|
|
e16bccbb91 | ||
|
|
9786e7faeb | ||
|
|
fde4b823f1 | ||
|
|
b7e71a249e | ||
|
|
bf8d642607 | ||
|
|
1fab40bb69 | ||
|
|
ad61b58036 | ||
|
|
b7722e7037 | ||
|
|
6c2167b65f | ||
|
|
18be9882f7 | ||
|
|
a102c2c22b | ||
|
|
ae75462254 | ||
|
|
3ad956e73f | ||
|
|
d6114165d3 | ||
|
|
c3a959cc37 | ||
|
|
ca70beec47 | ||
|
|
758939215d | ||
|
|
ab861e56f1 | ||
|
|
8eb64ad600 | ||
|
|
d74d3fe851 | ||
|
|
fefc6a7e6b | ||
|
|
a119114ad7 | ||
|
|
430b1a22db | ||
|
|
a754ea1326 | ||
|
|
2ecf22e37e | ||
|
|
9dcd0756ba | ||
|
|
c455254fd1 | ||
|
|
bb1f6e6818 | ||
|
|
0722e91eb9 | ||
|
|
c859a6f365 | ||
|
|
ef49850789 | ||
|
|
4f6f334f41 | ||
|
|
8cd76d3921 | ||
|
|
885805b5df | ||
|
|
d61f260372 | ||
|
|
d0a48627b2 | ||
|
|
4b8f13e902 | ||
|
|
5b9a57f536 | ||
|
|
ba9963b8fa | ||
|
|
6887106ff7 | ||
|
|
98416a4fab | ||
|
|
fad3288d20 | ||
|
|
5ecff1e4c3 | ||
|
|
bfeae0b5f5 | ||
|
|
1c5336cd57 | ||
|
|
43c2cf4edb | ||
|
|
f6d80d66a2 | ||
|
|
b2ca0babeb | ||
|
|
ed4ae322f5 | ||
|
|
4f924ab07e | ||
|
|
ebadeff0ca | ||
|
|
830018aa38 | ||
|
|
8dfddd279b | ||
|
|
544f2f74df | ||
|
|
450348d6bd | ||
|
|
5928ea9c7a | ||
|
|
4754880099 | ||
|
|
1fea66e527 | ||
|
|
806a3163ba | ||
|
|
08cf6780ba | ||
|
|
6814907a2c | ||
|
|
11a8a25528 | ||
|
|
1b246eecfe | ||
|
|
95456b8e78 | ||
|
|
79fc481a2b | ||
|
|
b9ce871463 | ||
|
|
0bd78e1cd8 | ||
|
|
d27f2d8168 | ||
|
|
407f3f142a | ||
|
|
61cfbecc74 | ||
|
|
feeabd08ab | ||
|
|
31a3432a8e | ||
|
|
27db045095 | ||
|
|
db8c75f08d | ||
|
|
beaada77e6 | ||
|
|
aefab9293a | ||
|
|
a6d9310888 | ||
|
|
bfc09ac211 | ||
|
|
d930280af5 | ||
|
|
445e4a9792 | ||
|
|
aec761916e | ||
|
|
7d750d2b92 | ||
|
|
bdf1724412 | ||
|
|
9cea2dfb8f | ||
|
|
00dec36c72 | ||
|
|
26a651f7ae | ||
|
|
b64f0dace3 | ||
|
|
a7b95cacb6 | ||
|
|
ac0e0351a0 | ||
|
|
2245ac2f88 | ||
|
|
1bfaf76dd0 | ||
|
|
88513d2d1a | ||
|
|
91bc396178 | ||
|
|
d3fdbe48ae | ||
|
|
2c086105b1 | ||
|
|
aed98c5125 | ||
|
|
2d77f7cd48 | ||
|
|
d5affe1ada | ||
|
|
d61688923d | ||
|
|
4aee6822ca | ||
|
|
038542ea3e | ||
|
|
beb14ca6d6 | ||
|
|
4114129ac0 | ||
|
|
6d24719167 | ||
|
|
2393c94363 | ||
|
|
372203f1fa | ||
|
|
691468174b | ||
|
|
6f8d439717 | ||
|
|
f3ab5d5500 | ||
|
|
8f467b4288 | ||
|
|
4adcf7e9ed | ||
|
|
9f8c40ed78 | ||
|
|
cda9d7e579 | ||
|
|
c27d2d4b93 | ||
|
|
003afef541 | ||
|
|
09bbca2f61 | ||
|
|
0a305eb79f | ||
|
|
aff5408633 | ||
|
|
31626d4c6f | ||
|
|
426ec2d399 | ||
|
|
a632f6d5b1 | ||
|
|
83c199bb00 | ||
|
|
2ec6d08613 | ||
|
|
42271ad463 | ||
|
|
57ee847ce7 | ||
|
|
985bd18904 | ||
|
|
2d1f798d14 | ||
|
|
9e9f70a693 | ||
|
|
1b9d311b5c | ||
|
|
4d437416da | ||
|
|
267b942383 | ||
|
|
142cb601f8 | ||
|
|
21b523fcd3 | ||
|
|
006cab3e9e | ||
|
|
4e909ee8b1 | ||
|
|
95df5d042c | ||
|
|
22059858fe | ||
|
|
82107a02f5 | ||
|
|
515893595d | ||
|
|
3800be3898 | ||
|
|
c9ad952604 | ||
|
|
2a09ffc648 | ||
|
|
821d8fee3b | ||
|
|
42224594b6 | ||
|
|
d369a2b775 | ||
|
|
a5f4cfc612 | ||
|
|
23e5402bec | ||
|
|
391e8afd1f | ||
|
|
eff2c3a621 | ||
|
|
de48e4e4df | ||
|
|
c4a694862c | ||
|
|
1e076a4ae0 | ||
|
|
188311863a | ||
|
|
0eb083e979 | ||
|
|
abe61b9926 | ||
|
|
54e49d10d2 | ||
|
|
ef75829878 | ||
|
|
a19341b57a | ||
|
|
c9549391d1 | ||
|
|
2b767161da | ||
|
|
7c9631081d | ||
|
|
b6f29bef06 | ||
|
|
6abbbaad1b | ||
|
|
fe5f448015 | ||
|
|
7beb473a3d | ||
|
|
19bc92289d | ||
|
|
4e4f6c1ec8 | ||
|
|
459e67b2a7 | ||
|
|
51ba24991c | ||
|
|
dfa0fd5b33 | ||
|
|
f7ef60c13f | ||
|
|
8b2bfa4212 | ||
|
|
a6c915aab9 | ||
|
|
a8323cc3f5 | ||
|
|
aa29735868 | ||
|
|
a059e9241e | ||
|
|
acd637160f | ||
|
|
ddb2783f9a | ||
|
|
8fa895d65e | ||
|
|
33b658a341 | ||
|
|
df725aade2 | ||
|
|
d84440d53b | ||
|
|
0c1ae21c11 | ||
|
|
f30959c6bd | ||
|
|
d7e406e020 | ||
|
|
638e3c070c | ||
|
|
07aeac37fd | ||
|
|
6ec76e7f9a | ||
|
|
cb9951dcad | ||
|
|
0776701396 | ||
|
|
39de6c784c | ||
|
|
e5c4482088 | ||
|
|
975c171d5a | ||
|
|
7d7f63059a | ||
|
|
8c6c0a7bcc | ||
|
|
aa41743ebd | ||
|
|
ee5f13cb6b | ||
|
|
974145f61c | ||
|
|
849318138e | ||
|
|
6a04c0878b | ||
|
|
db80e18308 | ||
|
|
3081207a4c | ||
|
|
8085c7a450 | ||
|
|
842de91168 | ||
|
|
4c621bc697 | ||
|
|
938458b330 | ||
|
|
651dad0cc1 | ||
|
|
f591ab3ba0 | ||
|
|
09aa4cf2ca | ||
|
|
61c0bdb09c | ||
|
|
89367d47a8 | ||
|
|
7fdfd938e0 | ||
|
|
e526b5ffeb | ||
|
|
adb974960d | ||
|
|
2acc92828f | ||
|
|
a1d1f43e6a | ||
|
|
aac739ccd2 | ||
|
|
c3d1b07c45 | ||
|
|
77bafd823b | ||
|
|
624b5f228b | ||
|
|
6d233becf0 | ||
|
|
2bcd13aaee | ||
|
|
20723cb792 | ||
|
|
b93ad10fa5 | ||
|
|
28e2007767 | ||
|
|
802f1e4406 | ||
|
|
a37cc6cb08 | ||
|
|
6cea51585f | ||
|
|
fce9c3a9f1 | ||
|
|
969903ebf2 | ||
|
|
7b3f86152a | ||
|
|
ea1362a936 | ||
|
|
f62a5b83a9 | ||
|
|
a834b98232 | ||
|
|
152cf6325d | ||
|
|
c98ab69cc7 | ||
|
|
f7cce15156 | ||
|
|
3072c5b8a1 | ||
|
|
ac1ab03cb0 | ||
|
|
2ef72f7abb | ||
|
|
eae27d1788 | ||
|
|
a3787eff19 | ||
|
|
836d945ece | ||
|
|
2816902f0e | ||
|
|
f72a26d340 | ||
|
|
387521bb6d | ||
|
|
a4da82a43b | ||
|
|
bc90fefb5b | ||
|
|
c3d871aef4 | ||
|
|
59e378f48f | ||
|
|
a622fd90b4 | ||
|
|
861b647e7b | ||
|
|
70e57dad88 | ||
|
|
91ff938035 | ||
|
|
3acd1146f9 | ||
|
|
45d3bfff28 | ||
|
|
18110b519c | ||
|
|
4c9768565e | ||
|
|
873e734c39 | ||
|
|
747e0c657d | ||
|
|
780f13db30 | ||
|
|
62519bfe05 | ||
|
|
29f7f468ce | ||
|
|
9c36a5fd06 | ||
|
|
4558c8f37a | ||
|
|
bb67388bbe | ||
|
|
3dcd2b82c4 | ||
|
|
c0f3e32447 | ||
|
|
8733e087d7 | ||
|
|
9f9e577640 | ||
|
|
9813cea1d0 | ||
|
|
304537c24f | ||
|
|
cc0054a4d5 | ||
|
|
29ec219b82 | ||
|
|
0994d7811f | ||
|
|
934708d950 | ||
|
|
bbc002a505 | ||
|
|
c8d4e8b5d0 | ||
|
|
18a21d5802 | ||
|
|
fcb63f3039 | ||
|
|
91d7a6f8a9 | ||
|
|
238db14002 | ||
|
|
d0995204da | ||
|
|
6ebc2b2561 | ||
|
|
95b817e8d7 | ||
|
|
558f034007 | ||
|
|
72ea805298 | ||
|
|
79ffbf7fe1 | ||
|
|
4f0d286d2c | ||
|
|
6fb5888e55 | ||
|
|
b5810dfe9d | ||
|
|
85a79f9d67 | ||
|
|
d24465b79a | ||
|
|
c67a99ff27 | ||
|
|
bae4e12302 | ||
|
|
09df1cdb5c | ||
|
|
2946d87e48 | ||
|
|
6a2d7bff1a | ||
|
|
9b7b2b347f | ||
|
|
33638d5347 | ||
|
|
2ae7d2e6ea | ||
|
|
ffc490ef89 | ||
|
|
29b75ca46f | ||
|
|
004dde18a7 | ||
|
|
3440e8d208 | ||
|
|
e138ae5ec9 | ||
|
|
bf8ba229e0 | ||
|
|
19d0a7495e | ||
|
|
099b62f124 | ||
|
|
8ce78ca488 | ||
|
|
fc9610919c | ||
|
|
e082d2403c | ||
|
|
370c3afc71 | ||
|
|
93357ef017 | ||
|
|
753592cc70 | ||
|
|
b150e6866d | ||
|
|
2f475fa9ea | ||
|
|
ecff50c2b4 | ||
|
|
6f53cf9cc6 | ||
|
|
1056202b48 | ||
|
|
709de3d621 | ||
|
|
f9894f4ebc | ||
|
|
74d3b80d70 | ||
|
|
4b01dfe369 | ||
|
|
fc09d10560 | ||
|
|
59b2e3ea4a | ||
|
|
243cf29793 | ||
|
|
9ded8fbe58 | ||
|
|
9258928c2d | ||
|
|
132cd3aa2c | ||
|
|
fef60d9d41 | ||
|
|
2fdd24c724 | ||
|
|
852a02daff | ||
|
|
2a6148716c | ||
|
|
5ca692fc89 | ||
|
|
3e2487493e | ||
|
|
fdcb0cd2bc | ||
|
|
4962e1772d | ||
|
|
d7d5618498 | ||
|
|
3f3d6ebe66 | ||
|
|
ec28988bfa | ||
|
|
db23538898 | ||
|
|
423a18cecc | ||
|
|
f164260eee | ||
|
|
a091121293 | ||
|
|
d744c85310 | ||
|
|
c9f2c54c49 | ||
|
|
f29d223ed5 | ||
|
|
8dabd34432 | ||
|
|
a104a365e3 | ||
|
|
62d94ff342 | ||
|
|
cbc04a7d40 | ||
|
|
71d3c5bf41 | ||
|
|
bc69e46ad1 | ||
|
|
13f035b905 | ||
|
|
79cbe50894 | ||
|
|
1c04aa54a7 | ||
|
|
b718283327 | ||
|
|
b34390017b | ||
|
|
8980f89370 | ||
|
|
f46d47239f | ||
|
|
13dc82b9d4 | ||
|
|
a243dd4587 | ||
|
|
9d5d6c557b | ||
|
|
a604682805 | ||
|
|
70b1cd798f | ||
|
|
578f42d588 | ||
|
|
e3ad6d2bd1 | ||
|
|
4b64a8d20d | ||
|
|
fcc8700218 | ||
|
|
e5b713ee63 | ||
|
|
9849c6b847 | ||
|
|
9bb5da968c | ||
|
|
d5a71fd567 | ||
|
|
0f98ba4729 | ||
|
|
a6a2174bf7 | ||
|
|
f07c3171e3 | ||
|
|
6cb1e3f3fa | ||
|
|
81b64f69a5 | ||
|
|
17e1f58fd6 | ||
|
|
582833b338 | ||
|
|
48be4fa069 | ||
|
|
2af05bdd3c | ||
|
|
4dbfc91e2b | ||
|
|
95cef39def | ||
|
|
00fb5bcf35 | ||
|
|
42eeb93d99 | ||
|
|
afe7bb4b33 | ||
|
|
0f5f91df0b | ||
|
|
f209a4804b | ||
|
|
5794ffe4bd | ||
|
|
ceb49d3742 | ||
|
|
44142f8234 | ||
|
|
347213d124 | ||
|
|
8ca51bc68a | ||
|
|
56f852a64f | ||
|
|
1c68e79091 | ||
|
|
473a050f0b | ||
|
|
6768e81d5d | ||
|
|
3743f515cf | ||
|
|
3e0b6a7d1f | ||
|
|
ef72f7d513 | ||
|
|
2f71461b29 | ||
|
|
d8cab4c133 | ||
|
|
95a093e97b | ||
|
|
68bb51c55b | ||
|
|
fb8fe6f2b3 | ||
|
|
3e61c90dbe | ||
|
|
ac18b471d2 | ||
|
|
bbe2386bff | ||
|
|
2f47248e3c | ||
|
|
315bb970a5 | ||
|
|
65b0f6049d | ||
|
|
0033535e21 | ||
|
|
3e4a8cb800 | ||
|
|
ad638da2c2 | ||
|
|
a923d8541c | ||
|
|
66fb9ca5f6 | ||
|
|
11cb78c5f8 | ||
|
|
527a5f0980 | ||
|
|
6e878d2ca4 | ||
|
|
cf30b24706 | ||
|
|
709a2ed474 | ||
|
|
ecd30cc8bb | ||
|
|
0105ad5e39 | ||
|
|
cebaab8ee5 | ||
|
|
34281925d6 | ||
|
|
e90c4fa770 | ||
|
|
a06e077938 | ||
|
|
7bdae7be4f | ||
|
|
c125d83e9e | ||
|
|
2abf9221e3 | ||
|
|
6f1e89085c | ||
|
|
5303cdc4af | ||
|
|
feb03e4717 | ||
|
|
64e3a091c3 | ||
|
|
a2c50a980c | ||
|
|
23478b891f | ||
|
|
aab2d52b25 | ||
|
|
9a9041f1ce | ||
|
|
0aa704935b | ||
|
|
ede7f8f5de | ||
|
|
3c317d2fac | ||
|
|
b55b0258e0 | ||
|
|
55a8098d48 | ||
|
|
389e50ff1e | ||
|
|
1df4043ad7 | ||
|
|
b000b8a736 | ||
|
|
7eab7fa353 | ||
|
|
58f7c82d52 | ||
|
|
4d1cd0da93 | ||
|
|
9ee7a014c9 | ||
|
|
e1ab7db87d | ||
|
|
14a5596346 | ||
|
|
2eba5f33b9 | ||
|
|
60a3773c50 | ||
|
|
e8e8177e9d | ||
|
|
f1fe04245a | ||
|
|
8bb208e8f8 | ||
|
|
f8a3aa91cd | ||
|
|
019bde82ce | ||
|
|
ca5e38751c | ||
|
|
b5b25b39e9 | ||
|
|
1784523cc6 | ||
|
|
d71d10adbc | ||
|
|
40fb750589 | ||
|
|
62a6b8d4a6 | ||
|
|
24b1890710 | ||
|
|
3a1d28379a | ||
|
|
c57285d199 | ||
|
|
68cfe929c4 | ||
|
|
6237fd2c16 | ||
|
|
b023f9bd2a | ||
|
|
b7ac885d38 | ||
|
|
cbd9dcbe41 | ||
|
|
4594187732 | ||
|
|
63818f8488 | ||
|
|
8af61cdb66 | ||
|
|
ab83c0fd5b | ||
|
|
3cc40a2584 | ||
|
|
c11933b3fd | ||
|
|
4687699726 | ||
|
|
012dcb4893 | ||
|
|
f01d18e4b9 | ||
|
|
dabd3cd355 | ||
|
|
fa001f27a5 | ||
|
|
40b2e06a7f | ||
|
|
8008499028 | ||
|
|
3ac6929919 | ||
|
|
8d36acd29b | ||
|
|
e54209d643 | ||
|
|
f6a958dc3a | ||
|
|
2548e7b23f | ||
|
|
97046a3548 | ||
|
|
a7d52c414f | ||
|
|
479466a495 | ||
|
|
fa2a8f6fb8 | ||
|
|
ddfa33be79 | ||
|
|
25c76a760e | ||
|
|
14240e9e10 | ||
|
|
a3045b4e49 | ||
|
|
b0685b3576 | ||
|
|
138c57c76a | ||
|
|
182a415555 | ||
|
|
6e789fc516 | ||
|
|
09f278121e | ||
|
|
ed50e3f1b4 | ||
|
|
3a499099af | ||
|
|
931fc45f05 | ||
|
|
6076c74041 | ||
|
|
b4fdccf87a | ||
|
|
8d012181b0 | ||
|
|
d6344d9b5f | ||
|
|
cb9410ded2 | ||
|
|
6838fb32af | ||
|
|
74d77cb140 | ||
|
|
7ad3abfd05 | ||
|
|
7c6df7132e | ||
|
|
f27299dc3b | ||
|
|
47724ef238 | ||
|
|
357389a905 | ||
|
|
42cabc14d4 | ||
|
|
a948ca1669 | ||
|
|
9cef14dfb2 | ||
|
|
2d15d84a01 | ||
|
|
1035469662 | ||
|
|
296a6f7749 | ||
|
|
5cff8124b0 | ||
|
|
90e2510e2f | ||
|
|
9251dd7b24 | ||
|
|
3615063fbc | ||
|
|
09664f1ab8 | ||
|
|
bdf1157d55 | ||
|
|
b4a5ce89c2 | ||
|
|
660516914e | ||
|
|
4c1c479fcf | ||
|
|
309651dc82 | ||
|
|
b13b9f3331 | ||
|
|
108e584983 | ||
|
|
f3b4071209 | ||
|
|
fe1d024351 | ||
|
|
0de08d418f | ||
|
|
109edaae6d | ||
|
|
d69a630989 | ||
|
|
987b67bd2e | ||
|
|
f4d56802f9 | ||
|
|
9dfd6eacf4 | ||
|
|
5aed78e183 | ||
|
|
011e5dd864 | ||
|
|
ae654266df | ||
|
|
03986f1b8b | ||
|
|
bc649593e4 | ||
|
|
cc0285da7f | ||
|
|
f3bc16f4f5 | ||
|
|
15f94858f2 | ||
|
|
5febd06c25 | ||
|
|
9eb7fe8ac0 | ||
|
|
1f26ea4a85 | ||
|
|
912c29fd8c | ||
|
|
eea468918e | ||
|
|
537490e391 | ||
|
|
de8e362d4a | ||
|
|
7a588144b7 | ||
|
|
7f2999aa43 | ||
|
|
a3498f96ef | ||
|
|
637bfa0252 | ||
|
|
1c8f689ecb | ||
|
|
7a8b11d716 | ||
|
|
a67e207866 | ||
|
|
5817209158 | ||
|
|
b39d409aa2 | ||
|
|
a18fb9448b | ||
|
|
1f3007dbb4 | ||
|
|
5dafa4a270 | ||
|
|
e93bcbeee1 | ||
|
|
adc032e7d8 | ||
|
|
248c2b9bf5 | ||
|
|
a8baa05023 | ||
|
|
7066a79466 | ||
|
|
4a623f7ed2 | ||
|
|
f18700ef64 | ||
|
|
52d9a3c34f | ||
|
|
d785ed2588 | ||
|
|
4ff37a4ed1 | ||
|
|
fe167b6ba2 | ||
|
|
f042a7419d | ||
|
|
bc0ebfcdeb | ||
|
|
57d13c770a | ||
|
|
1692384636 | ||
|
|
7634091325 | ||
|
|
bdc8f59c17 | ||
|
|
817efbc29c | ||
|
|
d2661cb4b2 | ||
|
|
9b0110f50c | ||
|
|
5876381f86 | ||
|
|
c4edc25d01 | ||
|
|
36361d14cf | ||
|
|
c8fe5f485c | ||
|
|
1ac1212925 | ||
|
|
3d4fb5136d | ||
|
|
b6b03c8ab9 | ||
|
|
432945e422 | ||
|
|
052f9ddedb | ||
|
|
a96784b98e | ||
|
|
e06944438a | ||
|
|
fa1009b6fc | ||
|
|
b377e857bd | ||
|
|
9a806f667b | ||
|
|
979c9ce8e3 | ||
|
|
b217e6eed7 | ||
|
|
6b7e74a030 | ||
|
|
7fdeb14e6d | ||
|
|
8a323f8354 | ||
|
|
a7abd5bf70 | ||
|
|
932b589780 | ||
|
|
27c282a6ee | ||
|
|
5373289574 | ||
|
|
7d0eabaa80 | ||
|
|
e7f5d12cb6 | ||
|
|
f14e020370 | ||
|
|
e933b28aaf | ||
|
|
1bc490077a | ||
|
|
7d773abe50 | ||
|
|
f22114aeed | ||
|
|
0919de4511 | ||
|
|
3e5292a052 | ||
|
|
2066d60b16 | ||
|
|
51e84c77e7 | ||
|
|
775d9e0615 | ||
|
|
a20d55fb64 | ||
|
|
1b37baf656 | ||
|
|
bffe69a151 | ||
|
|
71525352f0 | ||
|
|
facc5f7ec5 | ||
|
|
184229b1e5 | ||
|
|
3e488c4f19 | ||
|
|
3f84e373ac | ||
|
|
ac6d6ec2f1 | ||
|
|
f11d5d9de8 | ||
|
|
ed2dbefa73 | ||
|
|
39f23aec6b | ||
|
|
362422641e | ||
|
|
a9dc900515 | ||
|
|
3a705696af | ||
|
|
2cfb8a2bf0 | ||
|
|
21ee1c2d01 | ||
|
|
a00febe1a0 | ||
|
|
1e7125ae7b | ||
|
|
aa4a7471dd | ||
|
|
69a03ce23c | ||
|
|
0f50cd7623 | ||
|
|
669c555874 | ||
|
|
1cfb73a129 | ||
|
|
2a585c2fba | ||
|
|
32a83128e6 | ||
|
|
fe7bb33af8 | ||
|
|
da6fa34f02 | ||
|
|
37a358ab93 | ||
|
|
3452c8d693 | ||
|
|
336992cc54 | ||
|
|
13afcbd1eb | ||
|
|
e58a3fd0aa | ||
|
|
57625b6c4c | ||
|
|
0d058d2174 | ||
|
|
8d49a8f278 | ||
|
|
b4b6cfdb1c | ||
|
|
6b7ccde156 | ||
|
|
9b0fd007fd | ||
|
|
6f3ef94836 | ||
|
|
08ac9866e0 | ||
|
|
a17fadea3a | ||
|
|
e30bbfd85d | ||
|
|
120f9d81b2 | ||
|
|
fa38839a80 | ||
|
|
d8f109176c | ||
|
|
bbb1b99ce1 | ||
|
|
0cd8840dba | ||
|
|
d4b253ba3e | ||
|
|
aee7fc118b | ||
|
|
60f0b4fffe | ||
|
|
a95e600eb0 | ||
|
|
a25959184e | ||
|
|
0e5da5b8bc | ||
|
|
ddfa4b8896 | ||
|
|
d816a11bca | ||
|
|
7820391cb9 | ||
|
|
148866bc73 | ||
|
|
0b57c47547 | ||
|
|
02db4450df | ||
|
|
ed7af82bdf | ||
|
|
e3b5673e98 | ||
|
|
82412f218f | ||
|
|
7c648782bc | ||
|
|
ee64d14733 | ||
|
|
bfaab6ed6b | ||
|
|
97333deb3f | ||
|
|
400d9d4205 | ||
|
|
ad1145a201 | ||
|
|
513c22df3b | ||
|
|
b5afd53138 | ||
|
|
72b4b3c7f8 | ||
|
|
eb60ba23f5 | ||
|
|
69aac49f79 | ||
|
|
67f139e016 | ||
|
|
654f047302 | ||
|
|
e6c23672b2 | ||
|
|
1058e5fdde | ||
|
|
6929d9355f | ||
|
|
8c377ad965 | ||
|
|
a81a16beac | ||
|
|
d92945bb8a | ||
|
|
90a6a59a2f | ||
|
|
8bae3d9007 | ||
|
|
98042b858d | ||
|
|
a837bd08b0 | ||
|
|
2c61e9c76a | ||
|
|
da97f78ae0 | ||
|
|
2e1a9da5e2 | ||
|
|
422fd933f5 | ||
|
|
2594124825 | ||
|
|
d09b6ecaa5 | ||
|
|
fb2e71b9bd | ||
|
|
68b67e24f2 | ||
|
|
c1e2341f0a | ||
|
|
70d834c512 | ||
|
|
65ee4e4555 | ||
|
|
5304b13365 | ||
|
|
e547bfa933 | ||
|
|
36ddb13d1f | ||
|
|
74e3def5b3 | ||
|
|
24d41452b0 | ||
|
|
2597020d22 | ||
|
|
2d0fea2650 | ||
|
|
c1a71ad14f | ||
|
|
024c7641a9 | ||
|
|
5c56bdf229 | ||
|
|
af779fa57c | ||
|
|
9918541795 | ||
|
|
04d5c8fb77 | ||
|
|
5980b3cbb0 | ||
|
|
10074bfcc6 | ||
|
|
3940e69c91 | ||
|
|
0ace5f6553 | ||
|
|
b8a9f19515 | ||
|
|
6cd007838d | ||
|
|
72870e2c57 | ||
|
|
9c8997cbe4 | ||
|
|
c6efb82526 | ||
|
|
5abfdc0140 | ||
|
|
d8bc4a0e9a | ||
|
|
8ad2fdd71e | ||
|
|
a2e45a2211 | ||
|
|
621c2b9015 | ||
|
|
b39d1e9b9d | ||
|
|
e1c456407e | ||
|
|
3fe8251dfb | ||
|
|
930a45e7a9 | ||
|
|
afc66554d7 | ||
|
|
998ab15570 | ||
|
|
c0d258ca17 | ||
|
|
230e4547e8 | ||
|
|
4cf33909ee | ||
|
|
323273382c | ||
|
|
6f0a2608b4 | ||
|
|
ea86edbd82 | ||
|
|
e7b5a8e6cb | ||
|
|
27eaf0cf02 | ||
|
|
c84904d8c8 | ||
|
|
01e1c85304 | ||
|
|
4774582dfb | ||
|
|
1ed09ff7a4 | ||
|
|
d89cf27d65 | ||
|
|
35d5ba2626 | ||
|
|
e5f0c38fa9 | ||
|
|
47925f3dd7 | ||
|
|
82c5950c7e | ||
|
|
1806879bb2 | ||
|
|
998b046d70 | ||
|
|
ec4f6e93c2 | ||
|
|
b49dcfb52b | ||
|
|
c62d55342d | ||
|
|
f7815fa93c | ||
|
|
6e305e11e3 | ||
|
|
b97606f0b0 | ||
|
|
f26154bfa9 | ||
|
|
d220ac8582 | ||
|
|
c57e748107 | ||
|
|
d6f8f16068 | ||
|
|
466429efb0 | ||
|
|
89977c73d1 | ||
|
|
a9a05a32bd | ||
|
|
2045c79e37 | ||
|
|
e60b5245d3 | ||
|
|
90bbabce56 | ||
|
|
ddfbe8b649 | ||
|
|
d001f6a396 | ||
|
|
d31da176eb | ||
|
|
e664cd5826 | ||
|
|
b8abeab6d3 | ||
|
|
4aa176c127 | ||
|
|
498e939f0e | ||
|
|
9a22b893b6 | ||
|
|
76d0d40946 | ||
|
|
791ad1210e | ||
|
|
100945694a | ||
|
|
abe2e6ecf7 | ||
|
|
d8efc99217 | ||
|
|
0163b5b8be | ||
|
|
baee3996ab | ||
|
|
8ad1928d93 | ||
|
|
24bf52bc69 | ||
|
|
862049c490 | ||
|
|
a8fc98aa30 | ||
|
|
d70f33748c | ||
|
|
b006c31b7b | ||
|
|
ae45a462e0 | ||
|
|
3cb0dd6685 | ||
|
|
c2a84aa6f0 | ||
|
|
9346e55d5a | ||
|
|
8fc2f8ef62 | ||
|
|
512b9ac194 | ||
|
|
560a82aeaf | ||
|
|
7358db5c27 | ||
|
|
e059efda1b | ||
|
|
164a985115 | ||
|
|
ade57a781c | ||
|
|
9f12ed83f2 | ||
|
|
8aabd9839b | ||
|
|
882fbb0433 | ||
|
|
15eee5dbbb | ||
|
|
cfc1d037ff | ||
|
|
c24ed07596 | ||
|
|
08aab6a620 | ||
|
|
2748c64d60 | ||
|
|
c4f1ab3cc5 | ||
|
|
5e06ec8409 | ||
|
|
04d0a84ae5 | ||
|
|
c1dfe2c529 | ||
|
|
7f88e8badb | ||
|
|
2f66ff2e4f | ||
|
|
76c251513e | ||
|
|
80afddacc8 | ||
|
|
7543c9df50 | ||
|
|
83fb13329d | ||
|
|
e06c923605 | ||
|
|
ab1169895f | ||
|
|
01e81c7e10 | ||
|
|
7bf1142ae0 | ||
|
|
af9f7a952b | ||
|
|
514592b892 | ||
|
|
d72efff878 | ||
|
|
e4c60e2030 | ||
|
|
ed80eb5b0f | ||
|
|
60dd765b3d | ||
|
|
b380dd030f | ||
|
|
19479ea021 | ||
|
|
d708ef6731 | ||
|
|
d1238baecb | ||
|
|
0510759bc4 | ||
|
|
6d5cca5ed0 | ||
|
|
e2b82b4325 | ||
|
|
cf4570a06f | ||
|
|
6df5dddd90 | ||
|
|
d4e9b141db | ||
|
|
ec0665a931 | ||
|
|
836fa69e2e | ||
|
|
9026dc2da4 | ||
|
|
98c9af4c59 | ||
|
|
e481d679b2 | ||
|
|
eb68aa38e3 | ||
|
|
082237e2b5 | ||
|
|
dd08a7a4f6 | ||
|
|
a60c9ef88e | ||
|
|
4e3d235e04 | ||
|
|
19da3606f9 | ||
|
|
fc9e0d2249 | ||
|
|
21a0f09081 | ||
|
|
b84b71f524 | ||
|
|
3d29bda9f8 | ||
|
|
459c664043 | ||
|
|
45edad84cb | ||
|
|
fd31f7e7e5 | ||
|
|
7b2531da24 | ||
|
|
848a13654d | ||
|
|
1cca8f5a30 | ||
|
|
12ffcf0b45 | ||
|
|
852989856d | ||
|
|
7dfdbf8fbe | ||
|
|
1eebb90030 | ||
|
|
ab71654078 | ||
|
|
7a6cff4b3a | ||
|
|
c3ba2198b1 | ||
|
|
ff748f1a41 | ||
|
|
b8193b6321 | ||
|
|
113d0937de | ||
|
|
d0a506661f | ||
|
|
4e71173928 | ||
|
|
e0f0a2ccee | ||
|
|
96edebf4d9 | ||
|
|
3783b455c0 | ||
|
|
7ee5238f5e | ||
|
|
b398169567 | ||
|
|
1960eebc2d | ||
|
|
ad1dd08693 | ||
|
|
95fd093c4a | ||
|
|
ed1ad28e29 | ||
|
|
7076505c24 | ||
|
|
5825cf9457 | ||
|
|
ff40415aee | ||
|
|
f48eb36f75 | ||
|
|
768e3e796e | ||
|
|
3869d4a3a7 | ||
|
|
a87c468c5c | ||
|
|
7abf50a5c0 | ||
|
|
d3f46eb61b | ||
|
|
72c58b0d1d | ||
|
|
6c89e1b311 | ||
|
|
09777a4fc2 | ||
|
|
0331071346 | ||
|
|
614ae7b2bc | ||
|
|
af41ada7aa | ||
|
|
6a33a4456e | ||
|
|
e0c2a39ad4 | ||
|
|
cda1f2be58 | ||
|
|
79e06c4147 | ||
|
|
ead2618c31 | ||
|
|
84eb9fee76 | ||
|
|
79300cdcd9 | ||
|
|
a9591ad1b7 | ||
|
|
098106b54c | ||
|
|
74bb59fa57 | ||
|
|
c97d112b30 | ||
|
|
2dc20b84c1 | ||
|
|
39b689f966 | ||
|
|
6fd3ff4032 | ||
|
|
ab8d1464a7 | ||
|
|
bf90d11a31 | ||
|
|
a08b6ae813 | ||
|
|
74c500b6ec | ||
|
|
26aeadbc3e | ||
|
|
d0a4b50e19 | ||
|
|
ebaf06a741 | ||
|
|
34d837c2dd | ||
|
|
7607d5145b | ||
|
|
12a90289ed | ||
|
|
592697583d | ||
|
|
b50a96982e | ||
|
|
aa2a54c10a | ||
|
|
532d4b5106 | ||
|
|
5788719988 | ||
|
|
ac0b911eda | ||
|
|
10232bfe9e | ||
|
|
a9c1ca9fc5 | ||
|
|
d051dd8087 | ||
|
|
bf52cef16f | ||
|
|
16a9c5e02b | ||
|
|
fef1a90938 | ||
|
|
27870d48ff | ||
|
|
2f66f3ce08 | ||
|
|
369df58a0d | ||
|
|
3d08b352a2 | ||
|
|
d13be06aaa | ||
|
|
f1c69192da | ||
|
|
a2314225e0 | ||
|
|
1e482fe6a8 | ||
|
|
80e7f9b9de | ||
|
|
d219269f1b | ||
|
|
0ff0512aff | ||
|
|
bdd731177e | ||
|
|
abd1c526f0 | ||
|
|
a050a5fa9b | ||
|
|
7f7b643c0d | ||
|
|
cd2814725a | ||
|
|
342fa1cf06 | ||
|
|
b425e851fb | ||
|
|
7c6a026230 | ||
|
|
2c9763da3e | ||
|
|
a782c3e368 | ||
|
|
95bd901efe | ||
|
|
98c9a5b7f6 | ||
|
|
516192e7f2 | ||
|
|
c37cdbe2cf | ||
|
|
c0a30b04c2 | ||
|
|
86cbb23282 | ||
|
|
e9a460411f | ||
|
|
a57098ea9b | ||
|
|
6f3166c15b | ||
|
|
1380c9af9f | ||
|
|
942daece00 | ||
|
|
040a4443a1 | ||
|
|
641d5c4111 | ||
|
|
ad4a9955c5 | ||
|
|
553ed99e3b | ||
|
|
b74cdee6ab | ||
|
|
f3c0afa5b8 | ||
|
|
a69ba639ba | ||
|
|
fc9ad03e66 | ||
|
|
b9d66dca51 | ||
|
|
ecf1c6ca5d | ||
|
|
9b48991ebd | ||
|
|
7a8a20416f | ||
|
|
458925ae0b | ||
|
|
e44dc92197 | ||
|
|
9bb51d767e | ||
|
|
82e095a275 | ||
|
|
0e40261a11 | ||
|
|
8e9e33ae52 | ||
|
|
40e1a016f9 | ||
|
|
1cf559492a | ||
|
|
4957a838ef | ||
|
|
91aeebed26 | ||
|
|
b16ea66cec | ||
|
|
80cec5a62a | ||
|
|
6c2c281a7e | ||
|
|
0836893335 | ||
|
|
590f0358d8 | ||
|
|
115446be37 | ||
|
|
d83606ee3a | ||
|
|
8f4fda1d6f | ||
|
|
18cbb4d7d6 | ||
|
|
22e84d92b7 | ||
|
|
3d74649908 | ||
|
|
ed63d9d4de | ||
|
|
8adc7038fe | ||
|
|
b12fef3f31 | ||
|
|
6cc8df95dd | ||
|
|
f105e23444 | ||
|
|
7513d29a48 | ||
|
|
97a41f3646 | ||
|
|
84de433e62 | ||
|
|
724ad15dad | ||
|
|
79aa6c841e | ||
|
|
058e764af8 | ||
|
|
0d09f342c4 | ||
|
|
9682c2037e | ||
|
|
74241e7d85 | ||
|
|
3154f04fb9 | ||
|
|
6982ed4db7 | ||
|
|
9dd3e4d481 | ||
|
|
1d95109ffa | ||
|
|
e9bb7b7712 | ||
|
|
5e9c564883 | ||
|
|
3bb4602227 | ||
|
|
064eebeaf1 | ||
|
|
4ae644e427 | ||
|
|
d208e56b16 | ||
|
|
e6170eb20d | ||
|
|
2c80bcbc81 | ||
|
|
b60dbfa9e9 | ||
|
|
9019fc5671 | ||
|
|
5db0f70491 | ||
|
|
53a549000c | ||
|
|
55700cb01f | ||
|
|
f9a6062081 | ||
|
|
0cae201044 | ||
|
|
9df37b93df | ||
|
|
7b5c86033a | ||
|
|
ade0890746 | ||
|
|
7a5596bf02 | ||
|
|
d2125cf501 | ||
|
|
c9eb41c056 | ||
|
|
0d722204c3 | ||
|
|
e829d5643f | ||
|
|
1093287494 | ||
|
|
6398f71cc4 | ||
|
|
e2b50b203d | ||
|
|
ab0de23d83 | ||
|
|
ec54fbd9ed | ||
|
|
074bd2a19b | ||
|
|
fb23b85770 | ||
|
|
3458ce9ae5 | ||
|
|
ba3e7a8656 | ||
|
|
240bae4eb2 | ||
|
|
4180ca7638 | ||
|
|
0e73361a06 | ||
|
|
23547fa2a0 | ||
|
|
550d6f74b9 | ||
|
|
f7b71c2abe | ||
|
|
0da90b5d91 | ||
|
|
f20c94ced9 | ||
|
|
3e635a2334 | ||
|
|
e78652d850 | ||
|
|
48918c3047 | ||
|
|
dc42d6fb8d | ||
|
|
d2ad98d8c5 | ||
|
|
d25aab2704 | ||
|
|
cfaf88aab4 | ||
|
|
ecc75be6f3 | ||
|
|
13ebf61850 | ||
|
|
b3fafe9b3a | ||
|
|
c66943bd89 | ||
|
|
11fae450fa | ||
|
|
cf9259dd92 | ||
|
|
6634e3c3a3 | ||
|
|
533ae704a1 | ||
|
|
fcc320ee40 | ||
|
|
dc9fe9c361 | ||
|
|
75c369dcca | ||
|
|
019f6a1926 | ||
|
|
44fba11b34 | ||
|
|
df07c87b89 | ||
|
|
8f9e0357dd | ||
|
|
736af32b49 | ||
|
|
6942d313ff | ||
|
|
940c075bd8 | ||
|
|
08e5c0812f | ||
|
|
a8c71961e0 | ||
|
|
d6f47cc60c | ||
|
|
63d595a047 | ||
|
|
15e56c3284 | ||
|
|
fc1443dcfc | ||
|
|
59e3651af3 | ||
|
|
4c841a1f0c | ||
|
|
339ebdf08b | ||
|
|
f01d324c83 | ||
|
|
405e192b8c | ||
|
|
1a340de0e5 | ||
|
|
05c191199d | ||
|
|
1fd7085ef1 | ||
|
|
c3a7a757f7 | ||
|
|
dca46e6470 | ||
|
|
7edd13822c | ||
|
|
a2bff51ede | ||
|
|
5dc1240c49 | ||
|
|
c764331dd9 | ||
|
|
586444b6b8 | ||
|
|
ce1649564c | ||
|
|
d76a74cc5e | ||
|
|
1b701c746f | ||
|
|
15bf168527 | ||
|
|
20e9fc73e2 | ||
|
|
bad6410d08 | ||
|
|
fecb67b246 | ||
|
|
2c0956200f | ||
|
|
acd9d72466 | ||
|
|
cd63a461d7 | ||
|
|
7bd098f670 | ||
|
|
4b5c504bd4 | ||
|
|
ffae4f6b48 | ||
|
|
454e840590 | ||
|
|
ed0a413711 | ||
|
|
ff812ccdc9 | ||
|
|
03bbf4de48 | ||
|
|
a62e155ca4 | ||
|
|
b620e62f0f | ||
|
|
b3186dee17 | ||
|
|
ea3f63281c | ||
|
|
7b9435890d | ||
|
|
1bfbd25027 | ||
|
|
ceb5a8ca7b | ||
|
|
ddc98c6fc9 | ||
|
|
ff6ff66e50 | ||
|
|
a7b98f5f6b | ||
|
|
6bae091c1b | ||
|
|
33d68653f0 | ||
|
|
267836e83c | ||
|
|
87fdfe770d | ||
|
|
8fca5c2e69 | ||
|
|
5f2055729e | ||
|
|
c6df788866 | ||
|
|
e67b2524d1 | ||
|
|
d7bcc26179 | ||
|
|
69e540dfa6 | ||
|
|
2198869eb1 | ||
|
|
fb07259e0d | ||
|
|
9d28a0252c | ||
|
|
d54c14ccf9 | ||
|
|
41def4be6e | ||
|
|
2d38d0d515 | ||
|
|
e796c79d18 | ||
|
|
c93ba48da2 | ||
|
|
e322513698 | ||
|
|
6fa72e6417 | ||
|
|
c914e6ea5d | ||
|
|
79cb74f03a | ||
|
|
34cf35051a | ||
|
|
9bd28a021f | ||
|
|
5ee3f41e0d | ||
|
|
64e88ff6a7 | ||
|
|
acd7c94598 | ||
|
|
bdb2beb8e4 | ||
|
|
727e23322f | ||
|
|
ef0ed9b720 | ||
|
|
a674654f83 | ||
|
|
3caeb0a91f | ||
|
|
a4eddf0d0d | ||
|
|
fcf9029179 | ||
|
|
e40327ba00 | ||
|
|
bdd0e3d3f5 | ||
|
|
e9490fdbd9 | ||
|
|
bd40b3ff3f | ||
|
|
8c66811e09 | ||
|
|
daadcfd1de | ||
|
|
62df0ff025 | ||
|
|
01d95b56a0 | ||
|
|
f6adae8d35 | ||
|
|
bcaadb4284 | ||
|
|
8d963aa0e2 | ||
|
|
0530b0a5ca | ||
|
|
5396121595 | ||
|
|
bcfc7d90d1 | ||
|
|
47246eb401 | ||
|
|
3620e71010 | ||
|
|
c522f349fe | ||
|
|
6893fcaa9b | ||
|
|
301ae1ae1b | ||
|
|
ddaa78f08b | ||
|
|
3d55877764 | ||
|
|
3ee32d7920 | ||
|
|
b3de497d83 | ||
|
|
ed6466d176 | ||
|
|
991505e077 | ||
|
|
56f17d2c9f | ||
|
|
19ae96f4d0 | ||
|
|
53108806af | ||
|
|
1d620a3df4 | ||
|
|
69f685056d | ||
|
|
9c7d4394f9 | ||
|
|
bcc3c9279a | ||
|
|
5d63404966 | ||
|
|
a8ae8087c4 | ||
|
|
502da27d65 | ||
|
|
4ab8ebb232 | ||
|
|
f866af912d | ||
|
|
4f00a8db73 | ||
|
|
5004529685 | ||
|
|
2b63eb8511 | ||
|
|
f09fe4b49f | ||
|
|
22c76df44d | ||
|
|
35be09cf58 | ||
|
|
3564aec388 | ||
|
|
a042090467 | ||
|
|
148d727525 | ||
|
|
08adf67969 | ||
|
|
e2c817731a | ||
|
|
8df7e0bdba | ||
|
|
14ff7e75e0 | ||
|
|
d270d6518a | ||
|
|
18faa50940 | ||
|
|
0ce484eed9 | ||
|
|
bce5ae9a07 | ||
|
|
15f832d1c2 | ||
|
|
c249a8aa1b | ||
|
|
fc794ae012 | ||
|
|
07227e8089 | ||
|
|
32cc75d6cb | ||
|
|
1c0a19ad53 | ||
|
|
de23b98522 | ||
|
|
5e1c9e90d9 | ||
|
|
59b4bdf78d | ||
|
|
34d02d1969 | ||
|
|
2408b236ca | ||
|
|
4acd437952 | ||
|
|
314f62958d | ||
|
|
c616d56e96 | ||
|
|
f111c9edae | ||
|
|
7138296633 | ||
|
|
195e94c0fa | ||
|
|
cadd08f36a | ||
|
|
7306b7829b | ||
|
|
423309541a | ||
|
|
9c6533d287 | ||
|
|
b430576436 | ||
|
|
65008a4e55 | ||
|
|
3df484088f | ||
|
|
2912189875 | ||
|
|
fcb2595ed6 | ||
|
|
0878af3ec0 | ||
|
|
fe0d7aee49 | ||
|
|
2e42b0a252 | ||
|
|
fcc485092a | ||
|
|
a4945fe687 | ||
|
|
88d89b2177 | ||
|
|
61a2d5ea75 | ||
|
|
c479c64333 | ||
|
|
7a2177dc42 | ||
|
|
bf6e2f28ba | ||
|
|
f5da1e5484 | ||
|
|
fd8d862c37 | ||
|
|
083d3190e5 | ||
|
|
6787d1ed35 | ||
|
|
d9023c16ab | ||
|
|
193d33fd4a | ||
|
|
a46b40b7fd | ||
|
|
0b9b8acb08 | ||
|
|
bf98b635cd | ||
|
|
7795eb6db8 | ||
|
|
31674559d3 | ||
|
|
04e4d9a0b3 | ||
|
|
f277124a0f | ||
|
|
6adf5880f5 | ||
|
|
4e8c4fc80b | ||
|
|
fc1d1ea934 | ||
|
|
9cd30c2012 | ||
|
|
d639ed1aaf | ||
|
|
c3a02f5407 | ||
|
|
674845f239 | ||
|
|
07a1857d59 | ||
|
|
f4ffa85f60 | ||
|
|
bcd7d03b3b | ||
|
|
82c9379b6c | ||
|
|
c1730dc50a | ||
|
|
20695098c8 | ||
|
|
ee52ae001c | ||
|
|
26115aac5d | ||
|
|
ca6b27aed2 | ||
|
|
4fabe22173 | ||
|
|
7b1a22147e | ||
|
|
dc24540ed1 | ||
|
|
92eae30f4d | ||
|
|
79ef08f631 | ||
|
|
e3c5f8374b | ||
|
|
6dc68b4193 | ||
|
|
afab4d888f | ||
|
|
c751dfd65d | ||
|
|
dbca1347f1 | ||
|
|
3b6315ce1f | ||
|
|
3c1db5f250 | ||
|
|
562e9b7bf3 | ||
|
|
a83e72692f | ||
|
|
bd99a7dc8c | ||
|
|
db2d52a792 | ||
|
|
24602edc17 | ||
|
|
b0b40d9a00 | ||
|
|
71b105ceb1 | ||
|
|
ccb4956145 | ||
|
|
3d09cb0a88 | ||
|
|
a03c2d825b | ||
|
|
06fb242e23 | ||
|
|
a086952244 | ||
|
|
2b314064ae | ||
|
|
439990be88 | ||
|
|
41d8186c7e | ||
|
|
6e9276229f | ||
|
|
636f5eb882 | ||
|
|
963ef5414c | ||
|
|
975812d246 | ||
|
|
089668ec73 | ||
|
|
cc0ce38acc | ||
|
|
8cdff55b80 | ||
|
|
662bee7193 | ||
|
|
f8172f85b1 | ||
|
|
7d3ea12b62 | ||
|
|
59dc9085d1 | ||
|
|
4e4f33a297 | ||
|
|
8fa599215b | ||
|
|
31e2409d6b | ||
|
|
15c304225f | ||
|
|
e1998e3b58 | ||
|
|
5c447f2499 | ||
|
|
9d0ffb9cc6 | ||
|
|
2be50baf97 | ||
|
|
a1772ca406 | ||
|
|
30eda92a53 | ||
|
|
1f058f1014 | ||
|
|
84d0477cb9 | ||
|
|
1c93e75375 | ||
|
|
380ed8bebf | ||
|
|
98e8978857 | ||
|
|
56ddfbea6e | ||
|
|
45a2240ead | ||
|
|
f75ba55b51 | ||
|
|
46e6115d72 | ||
|
|
800a72878a | ||
|
|
649f7b7fd3 | ||
|
|
c1b734a3e1 | ||
|
|
cf806748ec | ||
|
|
b28dc011e0 | ||
|
|
ee4fef3768 | ||
|
|
058a023fae | ||
|
|
0c367fef94 | ||
|
|
a418d290f1 | ||
|
|
08cb30801c | ||
|
|
788de4f7ba | ||
|
|
ebce0a16f6 | ||
|
|
df546bd58c | ||
|
|
05221e9056 | ||
|
|
e963714de6 | ||
|
|
dc11239ff1 | ||
|
|
d59841618d | ||
|
|
8d3964782a | ||
|
|
162c039e9d | ||
|
|
13648f8ccd | ||
|
|
5b809a3104 | ||
|
|
3daa54d636 | ||
|
|
8f1829d1d2 | ||
|
|
6efb6addf2 | ||
|
|
d789097af0 | ||
|
|
4bd2d49ca1 | ||
|
|
ecfede9b3c | ||
|
|
cb04619de2 | ||
|
|
61e2e86aef | ||
|
|
9b86eecb94 | ||
|
|
35212da048 | ||
|
|
755e743cdd | ||
|
|
1a323390ec | ||
|
|
23559fd118 | ||
|
|
d994a873a4 | ||
|
|
b6575ce0b0 | ||
|
|
e2b2a84497 | ||
|
|
86956c2261 | ||
|
|
ef6dfdc7fd | ||
|
|
f3b85ef79d | ||
|
|
1d7e42ee9f | ||
|
|
6dfb5b4e1f | ||
|
|
930085751c | ||
|
|
258c4686b2 | ||
|
|
600d0b1303 | ||
|
|
2f928797cf | ||
|
|
f3f06e823c | ||
|
|
58292f49c5 | ||
|
|
5376d1047c | ||
|
|
1746b57161 | ||
|
|
0561bffab3 | ||
|
|
968e943eac | ||
|
|
5be00c95a7 | ||
|
|
c80b9c3778 | ||
|
|
536f98a766 | ||
|
|
c4e5613a7d | ||
|
|
bff962398d | ||
|
|
2b15823dab | ||
|
|
59dcc7e191 | ||
|
|
ea3fe98867 | ||
|
|
4f05613fbb | ||
|
|
22e52ddd6e | ||
|
|
1125d45397 | ||
|
|
44d408204a | ||
|
|
50feea3eef | ||
|
|
ca95f58ac0 | ||
|
|
ed636cbe44 | ||
|
|
738e4f410c | ||
|
|
4e731a0189 | ||
|
|
5cf6a539fe | ||
|
|
17fde12fb8 | ||
|
|
5c8b973d4f | ||
|
|
b22e03b2b2 | ||
|
|
a2926ebe7c | ||
|
|
c508d70258 | ||
|
|
f5971f54ff | ||
|
|
c5b16d4468 | ||
|
|
3c71a1bab7 | ||
|
|
3ec322685b | ||
|
|
9a39839a43 | ||
|
|
e87c996fe0 | ||
|
|
32195c673d | ||
|
|
b99a61c5b0 | ||
|
|
c960cd41e8 | ||
|
|
a29471d0f7 | ||
|
|
ba6f20a244 | ||
|
|
61572a1f97 | ||
|
|
dee3844f13 | ||
|
|
cbd1a77ec2 | ||
|
|
33f7ac06c3 | ||
|
|
70f10f1ac9 | ||
|
|
775b60fa09 | ||
|
|
66e4d391d3 | ||
|
|
caf880be18 | ||
|
|
c8355c27e9 | ||
|
|
c2d7e2ae17 | ||
|
|
98ecad0da6 | ||
|
|
bbc4e05434 | ||
|
|
ad6e28073c | ||
|
|
af29dcbafb | ||
|
|
b9a7f4e502 | ||
|
|
51009a40b4 | ||
|
|
2ec8f77f21 | ||
|
|
7f62028d66 | ||
|
|
d34fe06fb0 | ||
|
|
2f3d520571 | ||
|
|
48dd0c5673 | ||
|
|
8be493296d | ||
|
|
6f33531861 | ||
|
|
16897354bc | ||
|
|
823a0454a6 | ||
|
|
6790c559af | ||
|
|
c56c4a0a47 | ||
|
|
45064c5778 | ||
|
|
7aba59f577 | ||
|
|
59b05ac383 | ||
|
|
9b15f1be26 | ||
|
|
38cd2d781f | ||
|
|
2f285b3f16 | ||
|
|
57d2fb41d0 | ||
|
|
0f77fe55b6 | ||
|
|
68ee002ad0 | ||
|
|
1fc3b18592 | ||
|
|
5a5287ef2a | ||
|
|
30c85c327b | ||
|
|
ed3cc86390 | ||
|
|
e5f1499f62 | ||
|
|
848f40fd65 | ||
|
|
5adf53dc01 | ||
|
|
15feb8217f | ||
|
|
59dccb34b0 | ||
|
|
e8057241c6 | ||
|
|
d3ee83747c | ||
|
|
3f55ed0ef7 | ||
|
|
f9cfef3599 | ||
|
|
07dbfa25a0 | ||
|
|
1d49c04545 | ||
|
|
faaaf62655 | ||
|
|
43885493ea | ||
|
|
1230422181 | ||
|
|
6a17cae4f6 | ||
|
|
1eac702c1a | ||
|
|
4b96ac504c | ||
|
|
0678a51d3b | ||
|
|
b7dd186d36 | ||
|
|
26c1c8b2ad | ||
|
|
824aa5f918 | ||
|
|
ca67dcbc05 | ||
|
|
9dbc2c827d | ||
|
|
91e27ce755 | ||
|
|
65ed696625 | ||
|
|
3e3eaaada7 | ||
|
|
8997d258f7 | ||
|
|
a3f958aaaa | ||
|
|
38649d1362 | ||
|
|
4f00a02ba3 | ||
|
|
edef367e9c | ||
|
|
08c5e2a194 | ||
|
|
c67c54d4b3 | ||
|
|
23b05e8473 | ||
|
|
949ff9715a | ||
|
|
b9a305983f | ||
|
|
8e7da9464a | ||
|
|
e550df675a | ||
|
|
f614fe4946 | ||
|
|
e6ad066ed1 | ||
|
|
5b358603bd | ||
|
|
3910a61b61 | ||
|
|
45d9772667 | ||
|
|
268eebca01 | ||
|
|
1056dc9a26 | ||
|
|
053654dc4d | ||
|
|
7fe89c5d29 | ||
|
|
5c8fc7dce9 | ||
|
|
e8d3710aff | ||
|
|
d0fe681a28 | ||
|
|
9a70a6d0c0 | ||
|
|
ee19b44fe0 | ||
|
|
8f0bef2fa0 | ||
|
|
33ddeb6dcc | ||
|
|
e0dc7d6fc8 | ||
|
|
8f5909b664 | ||
|
|
bef2e7f2ff | ||
|
|
8cfb0e26bb | ||
|
|
0164f0cf81 | ||
|
|
420ea83ef3 | ||
|
|
223e470e93 | ||
|
|
e7387f7557 | ||
|
|
582bad89ef | ||
|
|
92433e596b | ||
|
|
5360f88393 | ||
|
|
949073d448 | ||
|
|
85877dae9a | ||
|
|
c6ef31955a | ||
|
|
92aaff009d | ||
|
|
65ba6e3337 | ||
|
|
fbb5518ab6 | ||
|
|
a83b5d1b67 | ||
|
|
add90abfa4 | ||
|
|
a005243908 | ||
|
|
001a2d9b67 | ||
|
|
95446f694b | ||
|
|
4db954f802 | ||
|
|
a171f60bf7 | ||
|
|
887e8f9265 | ||
|
|
07625fe243 | ||
|
|
61ffcd7815 | ||
|
|
a9f47b9364 | ||
|
|
7831c1ae44 | ||
|
|
5ce3eb066e | ||
|
|
07b6e7363d | ||
|
|
2741f97a69 | ||
|
|
d7fbe07ee2 | ||
|
|
2fce1f3e97 | ||
|
|
d09bac137a | ||
|
|
43e8f00861 | ||
|
|
3337be81c8 | ||
|
|
0cc9122093 | ||
|
|
54bcde0a14 | ||
|
|
660c86ce95 | ||
|
|
50b3545ada | ||
|
|
baac8065cf | ||
|
|
257e38d5c5 | ||
|
|
fc70b2f916 | ||
|
|
33a8e6c30c | ||
|
|
3c875e0112 | ||
|
|
59136ece19 | ||
|
|
08fd1829e0 | ||
|
|
43a4604639 | ||
|
|
83f385acf3 | ||
|
|
606af3024b | ||
|
|
4449bd9b4d | ||
|
|
bffa835573 | ||
|
|
6dd6b4d1fa | ||
|
|
67d94514b0 | ||
|
|
91b38857ef | ||
|
|
6d5f899761 | ||
|
|
77a3e3c7f7 | ||
|
|
81249965f7 | ||
|
|
45c6db9ac4 | ||
|
|
06be8bc389 | ||
|
|
0ac5fd354b | ||
|
|
a11c8a6ea0 | ||
|
|
2858935187 | ||
|
|
43b10339ab | ||
|
|
3f3a38f9c6 | ||
|
|
4bf28cb904 | ||
|
|
1abde9009a | ||
|
|
db85a941d0 | ||
|
|
1bfb0fc5da | ||
|
|
ce1cfcb7a6 | ||
|
|
ce81cd21d3 | ||
|
|
51c6a5d43b | ||
|
|
15b8da1980 | ||
|
|
c1c257d19a | ||
|
|
08b9f73219 | ||
|
|
94162d62ac | ||
|
|
059707be32 | ||
|
|
048bfeaaef | ||
|
|
a137109a0c | ||
|
|
17c01d21a9 | ||
|
|
f5cad68d22 | ||
|
|
119364741e | ||
|
|
8d1239c091 | ||
|
|
30a39fe877 | ||
|
|
0489081d3f | ||
|
|
19c8da85d8 | ||
|
|
b03abddb28 | ||
|
|
ccf083e26d | ||
|
|
dbd4abf0ff | ||
|
|
9ca2644429 | ||
|
|
ec08e2f9f2 | ||
|
|
38dd0ede9d | ||
|
|
62c264bcdb | ||
|
|
b108c664ac | ||
|
|
64db60397b | ||
|
|
d243908a01 | ||
|
|
c145fbea49 | ||
|
|
84fcff79f4 | ||
|
|
f58ba5ab1c | ||
|
|
2694b970e8 | ||
|
|
23f5d145ec | ||
|
|
b01ab65225 | ||
|
|
7a7f490efa | ||
|
|
95c15fce0c | ||
|
|
c788efffd4 | ||
|
|
c1a475e708 | ||
|
|
d0de9663e2 | ||
|
|
d6dd848523 | ||
|
|
9fc66e4dd9 | ||
|
|
6ecea9453b | ||
|
|
2c105af910 | ||
|
|
bb667c8ac6 | ||
|
|
8179743cee | ||
|
|
3d59a3855a | ||
|
|
8388366849 | ||
|
|
ef3b425b11 | ||
|
|
026d93b4f6 | ||
|
|
36710c4586 | ||
|
|
63ac6156aa | ||
|
|
08a70d117c | ||
|
|
6ce589c3ee | ||
|
|
d426c20c0a | ||
|
|
54ca7d8cb2 | ||
|
|
0819c3a8cf | ||
|
|
ad05b22de3 | ||
|
|
9fc8800b6d | ||
|
|
a4d6611d26 | ||
|
|
015fc6aa17 | ||
|
|
a739b9bc45 | ||
|
|
0bd2d54814 | ||
|
|
16b95fc773 | ||
|
|
9c5cd6c413 | ||
|
|
9b55056423 | ||
|
|
fd4cf78f36 | ||
|
|
a6315359d7 | ||
|
|
966130132f | ||
|
|
a19de6e9ac | ||
|
|
bdfeaa0f95 | ||
|
|
c478200766 | ||
|
|
775f86cb5a | ||
|
|
db1c92ceac | ||
|
|
0f4664d27f | ||
|
|
0f89a2e639 | ||
|
|
05b26e7566 | ||
|
|
6c511abf43 | ||
|
|
bb6d0771c2 | ||
|
|
75f6c36e51 | ||
|
|
015d5869d7 | ||
|
|
4686adb433 | ||
|
|
785a4899f5 | ||
|
|
da62aff6bb | ||
|
|
322308e298 | ||
|
|
b53e326828 | ||
|
|
0885d787ab | ||
|
|
2620d78e94 | ||
|
|
8c3f40ee32 | ||
|
|
b1aafbd957 | ||
|
|
45fd6685bd | ||
|
|
0159636373 | ||
|
|
7ac7c119be | ||
|
|
4f067b1d1c | ||
|
|
ae60745e3e | ||
|
|
7f496d8c3f | ||
|
|
048c74f2fa | ||
|
|
0ed57d370d | ||
|
|
551abba277 | ||
|
|
9b11a84e74 | ||
|
|
26f8de459a | ||
|
|
ceff98fd49 | ||
|
|
e04151ed76 | ||
|
|
cdb2552424 | ||
|
|
b41e65a8e3 | ||
|
|
be8c219ec2 | ||
|
|
099c011059 | ||
|
|
245a780711 | ||
|
|
05e4a3026d | ||
|
|
39a416f12a | ||
|
|
9b23b31071 | ||
|
|
8412d1e493 | ||
|
|
2ee41a5ffc | ||
|
|
a18f599482 | ||
|
|
6d27647b61 | ||
|
|
3bc11344de | ||
|
|
3dbe708308 | ||
|
|
621709c623 | ||
|
|
9e241864e3 | ||
|
|
cf613fdba4 | ||
|
|
e6addcf624 | ||
|
|
9e88343a17 | ||
|
|
1ce732e9d6 | ||
|
|
cc618e761c | ||
|
|
24db40de7c | ||
|
|
7350f9851a | ||
|
|
d030dfa6e2 | ||
|
|
14d6db0873 | ||
|
|
0ff311aa1a | ||
|
|
8147c3659d | ||
|
|
73e91ce20c | ||
|
|
8780ff879c | ||
|
|
6fd1cfeab1 | ||
|
|
9d0533056c | ||
|
|
6c4f317f7f | ||
|
|
21ed69b51e | ||
|
|
3b819b3064 | ||
|
|
3fa60164af | ||
|
|
ac6e0501c6 | ||
|
|
4f17c58315 | ||
|
|
f6251734fc | ||
|
|
9f44a95522 | ||
|
|
4b60c3e9d3 | ||
|
|
5d4c981e13 | ||
|
|
da4a776758 | ||
|
|
1b66c1da6c | ||
|
|
5cb2ee878c | ||
|
|
8cf0814a14 | ||
|
|
523767660c | ||
|
|
327c0d6b1c | ||
|
|
870842ccee | ||
|
|
68b215157f | ||
|
|
a892cf2c12 | ||
|
|
7cba40b218 | ||
|
|
d994fcf2b1 | ||
|
|
975fafdc49 | ||
|
|
9537580ba2 | ||
|
|
bc0adcef1f | ||
|
|
7ffae92daf | ||
|
|
abca03cf36 | ||
|
|
374f0214b6 | ||
|
|
4945b2454d | ||
|
|
a5cb022407 | ||
|
|
feb63efc31 | ||
|
|
4cf3ad07e5 | ||
|
|
557cc55f6f | ||
|
|
2d8dba388b | ||
|
|
91fd2c3bcd | ||
|
|
d38891c950 | ||
|
|
381e372939 | ||
|
|
c347db2e0a | ||
|
|
232a4553b8 | ||
|
|
014f1bea9a | ||
|
|
5b4f50857a | ||
|
|
6f10a718e4 | ||
|
|
658de40930 | ||
|
|
2c06e7f8ef | ||
|
|
fa1c916943 | ||
|
|
b132e865b9 | ||
|
|
77431568d2 | ||
|
|
e16c1b8e28 | ||
|
|
1a8d8aa227 | ||
|
|
d4c4fd6272 | ||
|
|
acb905231d | ||
|
|
c915eac93c | ||
|
|
72e675caee | ||
|
|
e347cff0e4 | ||
|
|
d79fdbc46e | ||
|
|
ab13c2f814 | ||
|
|
138ca334f9 | ||
|
|
1aa82decea | ||
|
|
014fe6971e | ||
|
|
3217809294 | ||
|
|
f3c7adcb54 | ||
|
|
dcf698dc74 | ||
|
|
54117be639 | ||
|
|
5a79532aee | ||
|
|
29ac001aa6 | ||
|
|
ccba0d10b6 | ||
|
|
7f7e42732d | ||
|
|
ca410ec2ca | ||
|
|
e5d8693865 | ||
|
|
46c92c0b80 | ||
|
|
7b5d148b1f | ||
|
|
f4bc326670 | ||
|
|
327598e7b4 | ||
|
|
11caaad5f9 | ||
|
|
3e0845e182 | ||
|
|
a2c7abea6c | ||
|
|
2f8f12e82e | ||
|
|
5cdcc2b3aa | ||
|
|
652e2cf57c | ||
|
|
8ee5e95ab1 | ||
|
|
22c61d8da6 | ||
|
|
1b88990cbb | ||
|
|
df3e8e19c1 | ||
|
|
44dc36cc8f | ||
|
|
6d3701318d | ||
|
|
d0edb47896 | ||
|
|
b238e0b1b4 | ||
|
|
3f62bfb61d | ||
|
|
c7a66d5af4 | ||
|
|
1866b95b7f | ||
|
|
668c204970 | ||
|
|
af2d899d6b | ||
|
|
d5ed9f787f | ||
|
|
259f27b09f | ||
|
|
c1b9356081 | ||
|
|
c669e1ae45 | ||
|
|
10203cada9 | ||
|
|
58b0415d36 | ||
|
|
ad9cb40b6f | ||
|
|
2e60ca382d | ||
|
|
25920f4a14 | ||
|
|
160c302933 | ||
|
|
dddc8e3374 | ||
|
|
bccb1ee7cd | ||
|
|
26af759732 | ||
|
|
87fc4ad919 | ||
|
|
b214298960 | ||
|
|
1926f4573d | ||
|
|
7fe65aaf5b | ||
|
|
0d3d84e3ff | ||
|
|
e789a3802c | ||
|
|
4aabbc5ac2 | ||
|
|
e7a50e37d6 | ||
|
|
9fa05db83b | ||
|
|
7ed58c4636 | ||
|
|
f2f7c18245 | ||
|
|
efaab37698 | ||
|
|
869319ce4a | ||
|
|
252f16db02 | ||
|
|
72f5d6ba46 | ||
|
|
5ec786b02e | ||
|
|
035ee257c8 | ||
|
|
188b08ca55 | ||
|
|
6f750f3b57 | ||
|
|
5a6dcdc36c | ||
|
|
59c16a570f | ||
|
|
50c10aa5bf | ||
|
|
006878686c | ||
|
|
bd100b2a51 | ||
|
|
5b1bbffdff | ||
|
|
16710a1c9b | ||
|
|
ba5c71b79b | ||
|
|
f3799462c2 | ||
|
|
f01c6e51f4 | ||
|
|
21d62118dc | ||
|
|
de55038e33 | ||
|
|
ea908c23ae | ||
|
|
844cbc701a | ||
|
|
f1fa7b8ba4 | ||
|
|
86ff3194fa | ||
|
|
d460b601f9 | ||
|
|
48a06d1a7b | ||
|
|
813a1107f4 | ||
|
|
b3461bab1d | ||
|
|
5ecd56d964 | ||
|
|
cc44fb1dc8 | ||
|
|
77b0efdbc2 | ||
|
|
68653bcbdd | ||
|
|
9af807a5ce | ||
|
|
4bbcc47f3f | ||
|
|
8ab495a088 | ||
|
|
84e7bb85b1 | ||
|
|
4fc7e13a98 | ||
|
|
b465750041 | ||
|
|
37dc0fa519 | ||
|
|
000fdc6b99 | ||
|
|
594fc0411e | ||
|
|
94fcb4b09d | ||
|
|
1a0034ac34 | ||
|
|
e3377e637a | ||
|
|
2ab854cafd | ||
|
|
4a2f0fb2be | ||
|
|
dca3564cfb | ||
|
|
9d183bb7b1 | ||
|
|
c7db74fe73 | ||
|
|
5251c45187 | ||
|
|
d9b5f327bf | ||
|
|
ca1356702a | ||
|
|
89d119646d | ||
|
|
989dd9c34a | ||
|
|
1d728aae2a | ||
|
|
98b9349be7 | ||
|
|
4706a93341 | ||
|
|
b85b56a73d | ||
|
|
1da3d402f6 | ||
|
|
1da3192d2d | ||
|
|
dab569d76c | ||
|
|
598c589359 | ||
|
|
15c8219340 | ||
|
|
5ae21ebde9 | ||
|
|
c7e0d8c30b | ||
|
|
fee4f8c86d | ||
|
|
1261c3feba | ||
|
|
7fc300d5dc | ||
|
|
88ce03e945 | ||
|
|
5bed99c97d | ||
|
|
46c699c483 | ||
|
|
f7d6e147f1 | ||
|
|
aad1d3ce14 | ||
|
|
cf5378b366 | ||
|
|
fea938cbcb | ||
|
|
a67c8b4698 | ||
|
|
49ce3e5160 | ||
|
|
4a728747e6 | ||
|
|
f5a6355172 | ||
|
|
ffff8ddbef | ||
|
|
cf86f8cb78 | ||
|
|
a53ba060c8 | ||
|
|
72bb5854f7 | ||
|
|
0de56e5535 | ||
|
|
0878b14f79 | ||
|
|
7d56f35388 | ||
|
|
d12759c73e | ||
|
|
c0095d6dd9 | ||
|
|
6a88eab067 | ||
|
|
a4f36558fc | ||
|
|
5e1cd407a3 | ||
|
|
2a1345ae9f | ||
|
|
cf61c8d659 | ||
|
|
c39690486c | ||
|
|
814b471d55 | ||
|
|
5119fb16d6 | ||
|
|
dc2c70be07 | ||
|
|
19631f5d5f | ||
|
|
a8d6b40736 | ||
|
|
8026d94c07 | ||
|
|
93bd512357 | ||
|
|
04d3a8c714 | ||
|
|
4b1782c371 | ||
|
|
f84642197f | ||
|
|
ec1b7a0eea | ||
|
|
4b0e48cb4e | ||
|
|
41df67fc2c | ||
|
|
932d38323f | ||
|
|
74ad8516d7 | ||
|
|
ed4a16dbd1 | ||
|
|
e2bac4fe6f | ||
|
|
836ffbfc22 | ||
|
|
7fd4f82a45 | ||
|
|
598bc3968e | ||
|
|
29357151af | ||
|
|
6606ae6fe0 | ||
|
|
9f21f74fbd | ||
|
|
3760180320 | ||
|
|
056af4c9ac | ||
|
|
07bf3c86b6 | ||
|
|
4182803bc2 | ||
|
|
7509ef6b4e | ||
|
|
70f8068d4d | ||
|
|
a7513a8521 | ||
|
|
3f7e541415 | ||
|
|
f7e9a21c53 | ||
|
|
f1537d45ca | ||
|
|
5a051617f3 | ||
|
|
55cd28283c | ||
|
|
924665c84c | ||
|
|
fcfffbe2f2 | ||
|
|
54967d2a3a | ||
|
|
667fd9a60b | ||
|
|
892a24f4c4 | ||
|
|
f7676e9667 | ||
|
|
8727803cf8 | ||
|
|
73e13ef19d | ||
|
|
e983cd5cd3 | ||
|
|
ca3e5a6322 | ||
|
|
c4931601c6 | ||
|
|
857492ac9e | ||
|
|
afdfa4bed2 | ||
|
|
3fc6faf1ae | ||
|
|
c8a47bf662 | ||
|
|
aed0cc6f2a | ||
|
|
d500c468fc | ||
|
|
5df5a2aa54 | ||
|
|
9ca688c8e7 | ||
|
|
8edbe262d9 | ||
|
|
4cd7f85410 | ||
|
|
edd35cab5c | ||
|
|
a2060effed | ||
|
|
33b9daaa4c | ||
|
|
62f0f5571d | ||
|
|
7a360de49d | ||
|
|
1be4557694 | ||
|
|
6a21738704 | ||
|
|
974fa1242a | ||
|
|
3dff58b3aa | ||
|
|
abf8589f0d | ||
|
|
b8d006b9d7 | ||
|
|
af4edf10f5 | ||
|
|
0f9e209534 | ||
|
|
2aed8946b0 | ||
|
|
03b03f7b60 | ||
|
|
a1b650ad7b | ||
|
|
d978f85d55 | ||
|
|
6e7f47da5b | ||
|
|
277bab0c7b | ||
|
|
fc3c5dae87 | ||
|
|
891dffb528 | ||
|
|
f0b361ecc1 | ||
|
|
df7eed16dd | ||
|
|
61db4f3e2a | ||
|
|
fe85ae15f3 | ||
|
|
cc26cc5dcd | ||
|
|
eb965e2a13 | ||
|
|
4e35395d0e | ||
|
|
b61b420cb8 | ||
|
|
b0aa11fde7 | ||
|
|
b691102ec7 | ||
|
|
2785fe7f61 | ||
|
|
db5d4bd811 | ||
|
|
dc3b3c6916 | ||
|
|
82d3f97659 | ||
|
|
235632ed2c | ||
|
|
68330c86e7 | ||
|
|
f37dc9168a | ||
|
|
17798ed740 | ||
|
|
05ba9f9fcd | ||
|
|
96f4af4db9 | ||
|
|
3ec7f8a25a | ||
|
|
375cdf89ad | ||
|
|
ab7e7144ef | ||
|
|
6f59e19b91 | ||
|
|
7800b56dc8 | ||
|
|
73c13220ee | ||
|
|
99e0597c7b | ||
|
|
3247ac1918 | ||
|
|
c45d44fee9 | ||
|
|
1e718a515a | ||
|
|
d23d686de2 | ||
|
|
c8677e9d3f | ||
|
|
a32eaffa77 | ||
|
|
1dcb99f0f7 | ||
|
|
03bc2d34da | ||
|
|
477e27f99d | ||
|
|
6a84d492f1 | ||
|
|
873d95a34c | ||
|
|
1500e95839 | ||
|
|
4f8ebd1673 | ||
|
|
cd4e6fbcac | ||
|
|
2fd2ca9dac | ||
|
|
82d6240e7d | ||
|
|
ad80490711 | ||
|
|
38b490a310 | ||
|
|
2ea052336f | ||
|
|
3b9eefca89 | ||
|
|
073a6cea45 | ||
|
|
345ffd1163 | ||
|
|
f0ffb35d55 | ||
|
|
b4d2fbae6d | ||
|
|
42a2138d11 | ||
|
|
e86dfd9688 | ||
|
|
a466b31574 | ||
|
|
48064f8dee | ||
|
|
e71378d3c8 | ||
|
|
90d40aff72 | ||
|
|
30808dca40 | ||
|
|
8629620b1c | ||
|
|
25d2a27c64 | ||
|
|
b084dc8760 | ||
|
|
2ae9536d32 | ||
|
|
f5713dbb2e | ||
|
|
b10ff9791b | ||
|
|
86a25239ec | ||
|
|
4c663ba9a8 | ||
|
|
713c9f8602 | ||
|
|
14b9b823e6 | ||
|
|
6a674ded0e | ||
|
|
2faba57c85 | ||
|
|
79d59ec97b | ||
|
|
a49e78d9b7 | ||
|
|
9583b51d80 | ||
|
|
670273968c | ||
|
|
b6820b2674 | ||
|
|
b9a6dfab03 | ||
|
|
8bd7197a8f | ||
|
|
ebb5e1db4b | ||
|
|
4702807da8 | ||
|
|
fe1fe64fd4 | ||
|
|
9d904ee41b | ||
|
|
fcc3e2ca34 | ||
|
|
c25da51913 | ||
|
|
05ab8d291c | ||
|
|
70b1900dd1 | ||
|
|
380e132da3 | ||
|
|
f2eb3c1f79 | ||
|
|
96c093f27c | ||
|
|
a9d49769ff | ||
|
|
d7616d8a0a | ||
|
|
826bbfc01c | ||
|
|
250f9670b7 | ||
|
|
ed4936fd30 | ||
|
|
4dd2628093 | ||
|
|
8479785620 | ||
|
|
0427e94465 | ||
|
|
09fd3b4935 | ||
|
|
3fef839f75 | ||
|
|
ea43bb013b | ||
|
|
b0a4c992e7 | ||
|
|
85707460e5 | ||
|
|
41ba7666f0 | ||
|
|
4367e0513a | ||
|
|
ed998270aa | ||
|
|
1b7f00b2a6 | ||
|
|
ad19f95f15 | ||
|
|
bcfe3cb231 | ||
|
|
805a5dcac8 | ||
|
|
0b67ee7bad | ||
|
|
9298037639 | ||
|
|
f7472075d7 | ||
|
|
9f72db13c4 | ||
|
|
acc4868b78 | ||
|
|
1afb67e31b | ||
|
|
2f0539d880 | ||
|
|
6f7d0a7cbd | ||
|
|
3d513f7ab1 | ||
|
|
6c8e6549d0 | ||
|
|
eec105daba | ||
|
|
19a80add95 | ||
|
|
93844f64ef | ||
|
|
60588b2455 | ||
|
|
5187faeeb9 | ||
|
|
1228ec9fbb | ||
|
|
717adfeb96 | ||
|
|
503557e5ce | ||
|
|
f611f42dcf | ||
|
|
7a0e0c36c5 | ||
|
|
61edee979f | ||
|
|
7a343a3f60 | ||
|
|
b4d3c4a76c | ||
|
|
f213d0db98 | ||
|
|
6e835ef3aa | ||
|
|
ed8cb57151 | ||
|
|
9bdb05b4d6 | ||
|
|
94b253fde7 | ||
|
|
61d7e720a5 | ||
|
|
17507eac85 | ||
|
|
bc1ae973da | ||
|
|
6a35841b2e | ||
|
|
28dde78dde | ||
|
|
37171809f6 | ||
|
|
3398eca7c3 | ||
|
|
3616912d22 | ||
|
|
0abccc676d | ||
|
|
a93af43974 | ||
|
|
0bbc759c0c | ||
|
|
56a5c49ac0 | ||
|
|
02267eba4c | ||
|
|
cea9695bcf | ||
|
|
92039629c7 | ||
|
|
c8d3327e92 | ||
|
|
043070f90e | ||
|
|
36626c4b6e | ||
|
|
7f33aae067 | ||
|
|
61022f3817 | ||
|
|
bf648fcfc3 | ||
|
|
b0e909329e | ||
|
|
ae3d5949b8 | ||
|
|
c234b9d04b | ||
|
|
7a86740afd | ||
|
|
8e719e3ef5 | ||
|
|
66fc5498d2 | ||
|
|
f30ae93a1f | ||
|
|
365e8eb78e | ||
|
|
76627b322e | ||
|
|
827228bd69 | ||
|
|
69c5506b69 | ||
|
|
3a2e623fc8 | ||
|
|
8aa9f01ed8 | ||
|
|
b0b6a853f6 | ||
|
|
0563a7a923 | ||
|
|
945ba7cb7e | ||
|
|
e3dab1bea2 | ||
|
|
9c369c695d | ||
|
|
011ccbc31a | ||
|
|
f1596698ae | ||
|
|
c60b52ab43 | ||
|
|
71a0d50f48 | ||
|
|
8d2a0fe85b | ||
|
|
b039d883e5 | ||
|
|
b3401ddbad | ||
|
|
038fe54e21 | ||
|
|
4b5a65455e | ||
|
|
2566a5d4da | ||
|
|
c38c339480 | ||
|
|
ea74b4b8e1 | ||
|
|
2364066be0 | ||
|
|
b36376e12d | ||
|
|
8aae15b630 | ||
|
|
88bf2a2dc7 | ||
|
|
45847c5324 | ||
|
|
70cce4cddd | ||
|
|
42c0ac2008 | ||
|
|
70ddabbfb0 | ||
|
|
e3716938bd | ||
|
|
b122959c8b | ||
|
|
84c5e846b3 | ||
|
|
47f044265e | ||
|
|
d46d995766 | ||
|
|
1a0cc60741 | ||
|
|
7cbbd1b56b | ||
|
|
5daa6b9367 | ||
|
|
a7aca2e8af | ||
|
|
d8d3dc9302 | ||
|
|
5be7b543d8 | ||
|
|
910ee13b20 | ||
|
|
35935d71d2 | ||
|
|
de17f4436e | ||
|
|
be5ade5c7a | ||
|
|
0e05a6329a | ||
|
|
c518c52aba | ||
|
|
e4c28abdc1 | ||
|
|
a11374d994 | ||
|
|
d9e89e170f | ||
|
|
47594be5c0 | ||
|
|
0d635a1119 | ||
|
|
e9ffa9a3b8 | ||
|
|
248a5381d4 | ||
|
|
c1ab3e2d59 | ||
|
|
c895dc8a19 | ||
|
|
a0a79ce853 | ||
|
|
70f9a13ecb | ||
|
|
c321b9f704 | ||
|
|
7e74349b86 | ||
|
|
fd016fb3ee | ||
|
|
09dd2d3856 | ||
|
|
5625e5d5b8 | ||
|
|
8a529bd987 | ||
|
|
8fe9376d54 | ||
|
|
a1f72943e9 | ||
|
|
0969a96732 | ||
|
|
ec8019b2a8 | ||
|
|
27d2d78059 | ||
|
|
7d48d851a2 | ||
|
|
6a2cecf153 | ||
|
|
990b15e402 | ||
|
|
584f3639e3 | ||
|
|
2886ce96b0 | ||
|
|
3344142b87 | ||
|
|
f1b4f5e2ae | ||
|
|
bcf0af9ddb | ||
|
|
70550a0572 | ||
|
|
d7088d1032 | ||
|
|
d07a874899 | ||
|
|
c420113795 | ||
|
|
5c850b825b | ||
|
|
7bbad0b534 | ||
|
|
305e03905f | ||
|
|
161be66c89 | ||
|
|
4095c9de37 | ||
|
|
20d33ad7e5 | ||
|
|
b8c12fe658 | ||
|
|
e4d4ee8db5 | ||
|
|
8a7d58378b | ||
|
|
bdbaedc452 | ||
|
|
0839621f47 | ||
|
|
bf2c1e099c | ||
|
|
6c6e4710b5 | ||
|
|
5e7164f87a | ||
|
|
ef10eaeb29 | ||
|
|
fce4dcccd8 | ||
|
|
f2beee209b | ||
|
|
9d8b22d3de | ||
|
|
5796c7b132 | ||
|
|
dc2ea33e32 | ||
|
|
c1f117700a | ||
|
|
7ea90c46eb | ||
|
|
4d9e24d1e4 | ||
|
|
1f236ba108 | ||
|
|
d27813c2dd | ||
|
|
453e9b0dce | ||
|
|
b8626c3df8 | ||
|
|
f8d78d57a7 | ||
|
|
371a25eee9 | ||
|
|
e535a71c71 | ||
|
|
b9e5fecf5f | ||
|
|
3af08472ad | ||
|
|
fdc1b61507 | ||
|
|
7fd154f094 | ||
|
|
a209c32bf3 | ||
|
|
75db459f0a | ||
|
|
74e54c5a49 | ||
|
|
6fc151577e | ||
|
|
3dcc7202d5 | ||
|
|
40981286ea | ||
|
|
f55a1c3a6c | ||
|
|
c5586a65c2 | ||
|
|
ffb11ad5c6 | ||
|
|
fbb1e49215 | ||
|
|
c26320d94f | ||
|
|
f6e892b1b6 | ||
|
|
59302d4ba0 | ||
|
|
c563a53c16 | ||
|
|
7763bb9172 | ||
|
|
e37a49086e | ||
|
|
a1e5c621c0 | ||
|
|
f776c1d2eb | ||
|
|
3d5a8515a6 | ||
|
|
42a7905205 | ||
|
|
bfa0f8c6c2 | ||
|
|
869d192ffc | ||
|
|
60bc103a78 | ||
|
|
8a0a7ce3a8 | ||
|
|
31b1e988f4 | ||
|
|
25c064c888 | ||
|
|
884171aecf | ||
|
|
45b2577974 | ||
|
|
d58c7a8bdd | ||
|
|
eed47311f8 | ||
|
|
59eaae42b8 | ||
|
|
59c620bfa5 | ||
|
|
4294cac701 | ||
|
|
282127fbff | ||
|
|
d49e9fad19 | ||
|
|
fba4cd0e62 | ||
|
|
2166645ce4 | ||
|
|
844f5b6b45 | ||
|
|
424063235b | ||
|
|
8272abef28 | ||
|
|
5fbc93c3eb | ||
|
|
8851df41c5 | ||
|
|
a6f4612154 | ||
|
|
52e5e869e6 | ||
|
|
12ef1035bb | ||
|
|
6c56b5301f | ||
|
|
07b6625573 | ||
|
|
fa0780bb91 | ||
|
|
f08ac86834 | ||
|
|
d6eca89229 | ||
|
|
2bd1d7e996 | ||
|
|
3b355421ec | ||
|
|
0dd1219668 | ||
|
|
b7131009fb | ||
|
|
3d528e1b15 | ||
|
|
f9a339a225 | ||
|
|
0043e87014 | ||
|
|
0f634a0c89 | ||
|
|
047cd1a533 | ||
|
|
f9eb61e90a | ||
|
|
34afb0b257 | ||
|
|
6bb9bd8b69 | ||
|
|
72175c738f | ||
|
|
2288094b26 | ||
|
|
273b2b230b | ||
|
|
3229a80c9f | ||
|
|
5eba84eed3 | ||
|
|
4fb483012c | ||
|
|
f1a8fd843f | ||
|
|
8920606b8b | ||
|
|
90ce18019c | ||
|
|
fe10cb2ef5 | ||
|
|
842be6c52f | ||
|
|
e4b754f64e | ||
|
|
34ed4642ec | ||
|
|
248f057137 | ||
|
|
2b6a0c0a7c | ||
|
|
072a8b2955 | ||
|
|
0c817b6614 | ||
|
|
e9cbd0c366 | ||
|
|
ff314d7600 | ||
|
|
d052e545af | ||
|
|
da2b75a026 | ||
|
|
0e2d3b7b6c | ||
|
|
46a50aa001 | ||
|
|
605a391178 | ||
|
|
de6f82d094 | ||
|
|
c1f3edbdd1 | ||
|
|
a20a6f67c5 | ||
|
|
75931492c3 | ||
|
|
800b55c702 | ||
|
|
a53411c0dd | ||
|
|
b169aa2992 | ||
|
|
9189ac1141 | ||
|
|
5c7c79bd08 | ||
|
|
8605321d06 | ||
|
|
d314453037 | ||
|
|
9cb69f77f1 | ||
|
|
ee332e0c8e | ||
|
|
0188493d54 | ||
|
|
ae07fd2ba8 | ||
|
|
d76a734043 | ||
|
|
b66def2b4c | ||
|
|
20b9ab49a7 | ||
|
|
c8cd13337e | ||
|
|
40e9e40cb4 | ||
|
|
09c70dec08 | ||
|
|
0dc570862a | ||
|
|
dbaf4f9361 | ||
|
|
433575068c | ||
|
|
40087ce7c0 | ||
|
|
e12d46ac50 | ||
|
|
1e55ed5c7d | ||
|
|
6dd4fe0740 | ||
|
|
3789e2e6ce | ||
|
|
1962ebf8e7 | ||
|
|
7c144d5a7e | ||
|
|
0f0540d00b | ||
|
|
3f29ed6d44 | ||
|
|
1bfa7dfe39 | ||
|
|
85daec253c | ||
|
|
389a15a867 | ||
|
|
74befdfbe0 | ||
|
|
d31feb8ff9 | ||
|
|
4c3568bfd6 | ||
|
|
b4ef5e22e0 | ||
|
|
23786eae32 | ||
|
|
c84f84c70d | ||
|
|
e5f8e5e57a | ||
|
|
53a3abc76b | ||
|
|
bfd6474f6b | ||
|
|
d3b89e114a | ||
|
|
aeddea2b71 | ||
|
|
cef5b14baa | ||
|
|
82d310d0d9 | ||
|
|
4fdb42377b | ||
|
|
be8a5d0aef | ||
|
|
dd433679e6 | ||
|
|
99dcd33f04 | ||
|
|
e817eb6cec | ||
|
|
060f7ca2d2 | ||
|
|
638c715a51 | ||
|
|
af9a63287e | ||
|
|
00f36c5f45 | ||
|
|
e69d82a5fb | ||
|
|
d165da07fe | ||
|
|
15363cd6dc | ||
|
|
b3272fd799 | ||
|
|
fa31335926 | ||
|
|
acc4cf87cd | ||
|
|
7444342675 | ||
|
|
ee1235a7cd | ||
|
|
c514a2a89a | ||
|
|
e2f0580dfe | ||
|
|
d165bed2d6 | ||
|
|
802a5b618e | ||
|
|
1ca763d1d1 | ||
|
|
8b26c93a59 | ||
|
|
b819c72700 | ||
|
|
d2cfb7fd13 | ||
|
|
e37973913d | ||
|
|
8b5295d003 | ||
|
|
fe0afb211e | ||
|
|
141b3d0c2f | ||
|
|
2a6a22a3b0 | ||
|
|
4937281ddc | ||
|
|
8e27ed2fdd | ||
|
|
9bf9617ad6 | ||
|
|
69565afab0 | ||
|
|
39aac63521 | ||
|
|
f19d333ef6 | ||
|
|
3a634a273a | ||
|
|
06d1b029f6 | ||
|
|
45bf417301 | ||
|
|
48029d7e74 | ||
|
|
83e078256c | ||
|
|
2f5e99ca02 | ||
|
|
6014c21bc9 | ||
|
|
8c0b1dc3c5 | ||
|
|
be3c5f0b94 | ||
|
|
e268e8559e | ||
|
|
29bb6f65f1 | ||
|
|
37f07a54bd | ||
|
|
da8c666e4f | ||
|
|
c11681becd | ||
|
|
78a1e5d1a6 | ||
|
|
116f60e063 | ||
|
|
7725853446 | ||
|
|
9993e2121d | ||
|
|
9a70ce4245 | ||
|
|
7ba53a4f41 | ||
|
|
1297c54b26 | ||
|
|
1045b8d382 | ||
|
|
d2bdad5945 | ||
|
|
17e8d60c01 | ||
|
|
ec1b351317 | ||
|
|
75fca27f8e | ||
|
|
f2cd2882a0 | ||
|
|
07d8a14ec0 | ||
|
|
31e598d2f3 | ||
|
|
cbf58d88d0 | ||
|
|
300cbc2e21 | ||
|
|
ec9e399668 | ||
|
|
2691f1efc8 | ||
|
|
d9bf55570b | ||
|
|
b54a8531a9 | ||
|
|
789fd0b74a | ||
|
|
8103915797 | ||
|
|
c461254dea | ||
|
|
3f140a6008 | ||
|
|
a0a47f2767 | ||
|
|
213017e9cf | ||
|
|
69f2f5cb6f | ||
|
|
d46cab4a94 | ||
|
|
4dc453c087 | ||
|
|
a1d5983991 | ||
|
|
4894ce16fc | ||
|
|
aa4435c23b | ||
|
|
dca8f962e0 | ||
|
|
059b57677c | ||
|
|
9896421586 | ||
|
|
6663608d15 | ||
|
|
d21e4eb8ae | ||
|
|
d381dd68cf | ||
|
|
7a97e66fb3 | ||
|
|
d86e6d3ed2 | ||
|
|
f99ca90540 | ||
|
|
e24cb6cb90 | ||
|
|
b05f408348 | ||
|
|
c5e7d839d5 | ||
|
|
e3ade3ccb5 | ||
|
|
71afe05b9f | ||
|
|
5a267c4312 | ||
|
|
fbcf86b83e | ||
|
|
5c3f36b4b4 | ||
|
|
9de4e5ebe4 | ||
|
|
7033a1c072 | ||
|
|
4efa0d9f68 | ||
|
|
e021fe9444 | ||
|
|
23d1041bd8 | ||
|
|
be71ccbce3 | ||
|
|
0db485a448 | ||
|
|
6d05a33ed9 | ||
|
|
569c169559 | ||
|
|
ecbc7f89c0 | ||
|
|
5649b738be | ||
|
|
0f9f6cf180 | ||
|
|
7f70dbcad5 | ||
|
|
28b932fb4e | ||
|
|
a631741141 | ||
|
|
c7d0966201 | ||
|
|
cf491357b6 | ||
|
|
02c17651bf | ||
|
|
890b34d22e | ||
|
|
e89fb10736 | ||
|
|
48e8b52fbb | ||
|
|
61f19c6ca3 | ||
|
|
8c9233f6b2 | ||
|
|
6fcf98f617 | ||
|
|
2f4fe0175b | ||
|
|
9f62ff5df6 | ||
|
|
4e3f3e751e | ||
|
|
04e6568a7e | ||
|
|
7a39b98471 | ||
|
|
4ab91a93e8 | ||
|
|
6647ca6ec5 | ||
|
|
529e01736c | ||
|
|
078fc4186b | ||
|
|
fabbb3fc34 | ||
|
|
1db063e705 | ||
|
|
1fa9ef246a | ||
|
|
e12220cc4c | ||
|
|
77fcad041f | ||
|
|
e213555c98 | ||
|
|
3a813b3c3b | ||
|
|
028a9d6785 | ||
|
|
d0aca8017f | ||
|
|
91386937ff | ||
|
|
0fc51ac5a6 | ||
|
|
bc2183b440 | ||
|
|
01c4fba15c | ||
|
|
9b6474378a | ||
|
|
5446ed4733 | ||
|
|
a50414f594 | ||
|
|
fe7fa8e794 | ||
|
|
6a175b42db | ||
|
|
a7748c2024 | ||
|
|
8f87c15bda | ||
|
|
82f52e5a6f | ||
|
|
67d2dd62f9 | ||
|
|
138b4f27b4 | ||
|
|
c26ec47e90 | ||
|
|
8337a375dd | ||
|
|
8260243be1 | ||
|
|
ef6f24a7ce | ||
|
|
abe90019d3 | ||
|
|
c185cdf2b4 | ||
|
|
f71c8c7d84 | ||
|
|
d32f1390b3 | ||
|
|
68f3c2adca | ||
|
|
2a8e2edf83 | ||
|
|
401598c2fe | ||
|
|
d60848d04b | ||
|
|
d2dd3d7e16 | ||
|
|
1c63ceb317 | ||
|
|
c25283185a | ||
|
|
54db98c220 | ||
|
|
5565f45f5e | ||
|
|
49c4d9c9cd | ||
|
|
c2639e0738 | ||
|
|
e485a23a3e | ||
|
|
d7d5baa0e2 | ||
|
|
e1e55e4d04 | ||
|
|
1eb530d8dc | ||
|
|
bad67830b3 | ||
|
|
db22c83031 | ||
|
|
a4b39c6ab8 | ||
|
|
d10e174fd1 | ||
|
|
e994c6af75 | ||
|
|
ef442d5803 | ||
|
|
8680e010c2 | ||
|
|
4d8dcf7b77 | ||
|
|
abdbd3100f | ||
|
|
ddace02efe | ||
|
|
1f4c8c4f09 | ||
|
|
8162b32bad | ||
|
|
daf527b276 | ||
|
|
ee51c07be6 | ||
|
|
856ba4c6c6 | ||
|
|
b3e23373bd | ||
|
|
e5adab39b1 | ||
|
|
d31153584e | ||
|
|
823d296e12 | ||
|
|
e09450103b | ||
|
|
fbc4407583 | ||
|
|
a79e5d7925 | ||
|
|
82491d5c06 | ||
|
|
b6f889085d | ||
|
|
cdbbb7d900 | ||
|
|
2bf4d9a22c | ||
|
|
f1918aa343 | ||
|
|
56580fc6f8 | ||
|
|
2e6600425e | ||
|
|
cc021fc200 | ||
|
|
e6aed92742 | ||
|
|
02fb4d96d1 | ||
|
|
43e3c5e5fa | ||
|
|
4f496f2f70 | ||
|
|
d681bc7520 | ||
|
|
f21a2b3270 | ||
|
|
5f5a28d20e | ||
|
|
89f9cb4041 | ||
|
|
2b280bcc69 | ||
|
|
1c0224be42 | ||
|
|
dbdb7fa55a | ||
|
|
83a43bea8a | ||
|
|
abb4cdafe9 | ||
|
|
2b7bcf2505 | ||
|
|
5aefdd93cb | ||
|
|
4b27fae069 | ||
|
|
10a13eba72 | ||
|
|
44ac2776ae | ||
|
|
36e3e6ed16 | ||
|
|
5f9cbc4209 | ||
|
|
3239f059b8 | ||
|
|
45bac25d90 | ||
|
|
354c8dcd82 | ||
|
|
b1e4cc370d | ||
|
|
2293474b90 | ||
|
|
9e1aef7183 | ||
|
|
f68323da7d | ||
|
|
a61aafa325 | ||
|
|
33bea767eb | ||
|
|
9ab7cda010 | ||
|
|
6da70628c6 | ||
|
|
3bae748256 | ||
|
|
521c4b303d | ||
|
|
a2effd123a | ||
|
|
7b704e173c | ||
|
|
6045d051d7 | ||
|
|
cfe00ed4ad | ||
|
|
0b4bdcf18f | ||
|
|
8cade952bf | ||
|
|
385e612fa5 | ||
|
|
1886388791 | ||
|
|
32fe5b14ec | ||
|
|
bbdc483671 | ||
|
|
f11d3c329c | ||
|
|
b0d13fa4cb | ||
|
|
0fb5a65a58 | ||
|
|
c8afb02b4c | ||
|
|
869d65337e | ||
|
|
277df1c6b1 | ||
|
|
5ec5b95f54 | ||
|
|
9e61c904ac | ||
|
|
7efb955fd0 | ||
|
|
75899741b9 | ||
|
|
d465199411 | ||
|
|
55123424c8 | ||
|
|
f5e4a78b59 | ||
|
|
7515a75206 | ||
|
|
4750e6f3c5 | ||
|
|
b7aaa4d907 | ||
|
|
e61e09f658 | ||
|
|
058e993acb | ||
|
|
359d500908 | ||
|
|
cb42855445 | ||
|
|
d8ff0336a5 | ||
|
|
0682d25da5 | ||
|
|
d86d14074d | ||
|
|
8500397cf1 | ||
|
|
bd600fbebe | ||
|
|
064bbb999f | ||
|
|
bedc61ac45 | ||
|
|
61a6992559 | ||
|
|
ebee2e323d | ||
|
|
b2f8de571f | ||
|
|
cb4a5f5a2b | ||
|
|
1beb7de7e0 | ||
|
|
89ab5f4380 | ||
|
|
439b84c782 | ||
|
|
0e899d7728 | ||
|
|
1a85fb2bd0 | ||
|
|
8d11767048 | ||
|
|
fcccf9aa0d | ||
|
|
72bd027537 | ||
|
|
1d44c9ccc1 | ||
|
|
33831759b5 | ||
|
|
6fe932b255 | ||
|
|
8da02df8e0 | ||
|
|
587c99351d | ||
|
|
88c8d72a21 | ||
|
|
cf99fed17a | ||
|
|
ca48b6bf35 | ||
|
|
4dcd606b47 | ||
|
|
393ddd6e1f | ||
|
|
840e796aa9 | ||
|
|
5fd096da8d | ||
|
|
eb29c5c285 | ||
|
|
1eb286e43e | ||
|
|
ae76ebe2d1 | ||
|
|
e4505aefd9 | ||
|
|
d6b0612882 | ||
|
|
4c65eb0af8 | ||
|
|
318a8258fd | ||
|
|
17ae28e0fe | ||
|
|
3c4f622479 | ||
|
|
3ce43764be | ||
|
|
b555c60e49 | ||
|
|
2336d010ef | ||
|
|
b9af0d89d5 | ||
|
|
6f2afe0c30 | ||
|
|
d8c61d459e | ||
|
|
7ae5ebbeb2 | ||
|
|
7335b71dfb | ||
|
|
9583b03074 | ||
|
|
3c81d5f125 | ||
|
|
688699a046 | ||
|
|
090f5a9a45 | ||
|
|
da58d03ff7 | ||
|
|
9ea3831c08 | ||
|
|
a46f55b9de | ||
|
|
a634f64400 | ||
|
|
bcd8a3b240 | ||
|
|
04d5d1895c | ||
|
|
abd2775a70 | ||
|
|
73226415fc | ||
|
|
ab160ef445 | ||
|
|
268fe09322 | ||
|
|
7a557e984a | ||
|
|
f1a55cbe6d | ||
|
|
1e35d95df8 | ||
|
|
d8387b418d | ||
|
|
adea16a294 | ||
|
|
7f2d5cab2d | ||
|
|
c6ff612f6e | ||
|
|
8db353e1d7 | ||
|
|
e6978117a7 | ||
|
|
5dcb055077 | ||
|
|
0b5e1a9b2f | ||
|
|
2e17a97474 | ||
|
|
74ddbd8a3b | ||
|
|
b8039a821b | ||
|
|
438312f00e | ||
|
|
381ccaa391 | ||
|
|
3204494883 | ||
|
|
e264f699d4 | ||
|
|
68d4b77d44 | ||
|
|
e1ac99af1f | ||
|
|
be0d17e812 | ||
|
|
4eb35406f4 | ||
|
|
624745ab20 | ||
|
|
9354822e09 | ||
|
|
17d4f9513e | ||
|
|
f830d77307 | ||
|
|
a03c76b228 | ||
|
|
35ad61429d | ||
|
|
b5b3d9e5c7 | ||
|
|
6e682c2b01 | ||
|
|
7e2ea2ece0 | ||
|
|
01926d66d7 | ||
|
|
69f7d0a0ce | ||
|
|
d1c84705ec | ||
|
|
3274908551 | ||
|
|
c730934498 | ||
|
|
471a8b223b | ||
|
|
47ee9202c3 | ||
|
|
1bcbe89802 | ||
|
|
bf57e9bb12 | ||
|
|
318a7584f3 | ||
|
|
961ec228d4 | ||
|
|
a777eb3d81 | ||
|
|
7f79b52dae | ||
|
|
db680edc26 | ||
|
|
e6ce80458f | ||
|
|
cdcb123aa8 | ||
|
|
78081a1652 | ||
|
|
7408976b15 | ||
|
|
763bb73cc3 | ||
|
|
1dee2cd55e | ||
|
|
426ecfd136 | ||
|
|
4913baed16 | ||
|
|
675f6a8901 | ||
|
|
2147284cad | ||
|
|
7f1870da5f | ||
|
|
2149a095f7 | ||
|
|
e8d21adbaa | ||
|
|
fa28531322 | ||
|
|
deef85ca9a | ||
|
|
4f4427ff41 | ||
|
|
0ed285e84d | ||
|
|
905ca77c9e | ||
|
|
61043c7e74 | ||
|
|
4545c9f22f | ||
|
|
ad772d7b48 | ||
|
|
a56ef92729 | ||
|
|
561d01c450 | ||
|
|
c6c8a30da1 | ||
|
|
914dbeb12c | ||
|
|
56dc90eaab | ||
|
|
f51c567de3 | ||
|
|
9b2acca63e | ||
|
|
afcd9f1b1c | ||
|
|
755ccbc468 | ||
|
|
0af7aec211 | ||
|
|
ee085ad6bd | ||
|
|
719bec2606 | ||
|
|
b1db9dbb16 | ||
|
|
609044aea2 | ||
|
|
ba481718a4 | ||
|
|
1be60dde7f | ||
|
|
e92e811a61 | ||
|
|
5aa0db8681 | ||
|
|
d5691211dd | ||
|
|
a93695a70e | ||
|
|
ce935a2697 | ||
|
|
812ce0d93f | ||
|
|
bbae5b49f9 | ||
|
|
772a985dc3 | ||
|
|
8a7514de8a | ||
|
|
32ad212ac9 | ||
|
|
8a8d5c784c | ||
|
|
125830ab4b | ||
|
|
5b75b423e6 | ||
|
|
012d7e2878 | ||
|
|
cd3029f36f | ||
|
|
6adaac7e18 | ||
|
|
cde5e35d9b | ||
|
|
ee17fba72e | ||
|
|
6296b89319 | ||
|
|
5450db9151 | ||
|
|
b4700f026b | ||
|
|
d771fa7c48 | ||
|
|
b2c378267b | ||
|
|
384c8f3560 | ||
|
|
f44ef427a2 | ||
|
|
c54a4301ee | ||
|
|
36a3514225 | ||
|
|
e1edd41e1b | ||
|
|
13e60c55a1 | ||
|
|
9b8b1a68f0 | ||
|
|
4ec9316155 | ||
|
|
ef769500d4 | ||
|
|
23692574a2 | ||
|
|
5f6fd682a5 | ||
|
|
db24518a30 | ||
|
|
90933ac660 | ||
|
|
087579a6f4 | ||
|
|
de59cde155 | ||
|
|
3cd95eacdf | ||
|
|
deb81b2ad4 | ||
|
|
4e717cdb30 | ||
|
|
33acd6f041 | ||
|
|
7575e6afc4 | ||
|
|
316a9f6480 | ||
|
|
c6de584cad | ||
|
|
d997ff6aa8 | ||
|
|
b9ccecf86e | ||
|
|
bd5d21aaf2 | ||
|
|
19e07771d1 | ||
|
|
ef267ab449 | ||
|
|
4f6ed683e8 | ||
|
|
c818e7064f | ||
|
|
ead6ab2ef7 | ||
|
|
5c3dc49f44 | ||
|
|
83884180ac | ||
|
|
4cac96c33a | ||
|
|
5df4be1165 | ||
|
|
96445f1b7d | ||
|
|
4bdd7596d3 | ||
|
|
18aae32015 | ||
|
|
a8996b9e52 | ||
|
|
94095c61d8 | ||
|
|
1cddd744ad | ||
|
|
786738dd00 | ||
|
|
5b8d5fdf2f | ||
|
|
694f31ca37 | ||
|
|
9c1ad0f9f7 | ||
|
|
71c6335293 | ||
|
|
8c38ea4ebc | ||
|
|
44d84ac164 | ||
|
|
930f9bd534 | ||
|
|
b61fbbde46 | ||
|
|
ec956b0334 | ||
|
|
44ffe0dc79 | ||
|
|
e3a61fba52 | ||
|
|
65794f60ec | ||
|
|
7a710b4970 | ||
|
|
0bb20cc611 | ||
|
|
433c0c895e | ||
|
|
67e8d22958 | ||
|
|
10d1fc0e73 | ||
|
|
2260c8aa11 | ||
|
|
97eb62aff8 | ||
|
|
1855fc35f2 | ||
|
|
dc3ed35313 | ||
|
|
6b868df554 | ||
|
|
5ccbbe40c2 | ||
|
|
86f93a53d6 | ||
|
|
f53347631e | ||
|
|
efe3cb6e1a | ||
|
|
32ac4edeed | ||
|
|
4c04c09138 | ||
|
|
47ea80baee | ||
|
|
95c3fa836b | ||
|
|
ab60a12465 | ||
|
|
2d38e51867 | ||
|
|
a5dda669e3 | ||
|
|
3c4f3a680a | ||
|
|
b61c06384a | ||
|
|
e7742bfb7c | ||
|
|
22307ae0ee | ||
|
|
e150150d9f | ||
|
|
943f0733bb | ||
|
|
8274447dd9 | ||
|
|
083a84e5d0 | ||
|
|
d5eb386d00 | ||
|
|
1ce7b48057 | ||
|
|
cbcdd337aa | ||
|
|
c144adf77c | ||
|
|
d390039873 | ||
|
|
7d0c58a285 | ||
|
|
9263001b21 | ||
|
|
66ee6d07f8 | ||
|
|
a40dcca794 | ||
|
|
15e3dfe1d3 | ||
|
|
a1de9367ec | ||
|
|
eceb37bde2 | ||
|
|
56fcf85ab6 | ||
|
|
77db81d661 | ||
|
|
2ad7fcbc2f | ||
|
|
2c62dfd124 | ||
|
|
ef66497a0d | ||
|
|
1128029599 | ||
|
|
befc30bc55 | ||
|
|
ca5846cde9 | ||
|
|
8547ab1663 | ||
|
|
9c0e6ac365 | ||
|
|
552b963e6d | ||
|
|
e2b48366d3 | ||
|
|
5e0d9aea32 | ||
|
|
ae13c93b7d | ||
|
|
b9f8a4a477 | ||
|
|
68e9f75708 | ||
|
|
d569693f24 | ||
|
|
15d8bb2105 | ||
|
|
b2ca777a08 | ||
|
|
ba01198e6c | ||
|
|
6ebd5e1761 | ||
|
|
2723eda1e4 | ||
|
|
1fa3a5cce9 | ||
|
|
fe8aee6b08 | ||
|
|
0639e2a6e2 | ||
|
|
f1d707705e | ||
|
|
296a7db960 | ||
|
|
4c0936e72f | ||
|
|
0992e391ba | ||
|
|
b22aaeef6a | ||
|
|
8090ee0e5d | ||
|
|
f7d31bb3e3 | ||
|
|
9cd928674f | ||
|
|
3ea8a4d220 | ||
|
|
b0d3ba76a0 | ||
|
|
ab798fe5ba | ||
|
|
e7d90e08b9 | ||
|
|
c2404f77e9 | ||
|
|
ec4a16f2e0 | ||
|
|
ca5de26f50 | ||
|
|
71920d61e6 | ||
|
|
5de75eee56 | ||
|
|
2d5fc39d35 | ||
|
|
c001ed53fa | ||
|
|
39e01e9349 | ||
|
|
9e54d4c7d2 | ||
|
|
56bf97ffc9 | ||
|
|
7d3e719a2c | ||
|
|
e55d4fd5c1 | ||
|
|
5ee231415f | ||
|
|
c866771cd2 | ||
|
|
4a24219a1a | ||
|
|
733a184ce0 | ||
|
|
eee09e79e8 | ||
|
|
6df85adf3e | ||
|
|
3ee6036551 | ||
|
|
fb65080548 | ||
|
|
3a5f21b0d1 | ||
|
|
13a5598dc3 | ||
|
|
5a6c89661a | ||
|
|
7c5745720a | ||
|
|
00ae13f966 | ||
|
|
29dc39fce1 | ||
|
|
5c184cfc0d | ||
|
|
055022a55f | ||
|
|
c30e908034 | ||
|
|
8d24c0212e | ||
|
|
8240cea628 | ||
|
|
f2a33eb372 | ||
|
|
e134a40208 | ||
|
|
690888cfc1 | ||
|
|
fb8d9b6645 | ||
|
|
f7ddb39ee1 | ||
|
|
145084b699 | ||
|
|
f1ba12607a | ||
|
|
bb87b65f08 | ||
|
|
b0f6e7cee4 | ||
|
|
ed72d4e104 | ||
|
|
8ec1bfe897 | ||
|
|
1dec17562f | ||
|
|
9cc3795f1a | ||
|
|
be1306a6c2 | ||
|
|
e9160a31e0 | ||
|
|
0a670c578f | ||
|
|
e3c15fc4b9 | ||
|
|
dc7c915553 | ||
|
|
b7eeb6e67f | ||
|
|
7e4193b538 | ||
|
|
a932803eac | ||
|
|
52560142bf | ||
|
|
874a4ef8c7 | ||
|
|
0bb3ac7c31 | ||
|
|
1e9f5845ab | ||
|
|
c41dfc2501 | ||
|
|
30ac7eced1 | ||
|
|
466d093a92 | ||
|
|
1e9be353c2 | ||
|
|
4f4277d9c7 | ||
|
|
6728bda5c5 | ||
|
|
dc9f154823 | ||
|
|
d7168a82e2 | ||
|
|
c9c8ee3796 | ||
|
|
c7aae10300 | ||
|
|
909941405f | ||
|
|
4031eb1d91 | ||
|
|
59cf6fd4f0 | ||
|
|
6de9732a88 | ||
|
|
1f7f500922 | ||
|
|
4b1462ec65 | ||
|
|
6ed47f0aad | ||
|
|
2d8c7ba9fc | ||
|
|
3b342d18bc | ||
|
|
f24ad3800c | ||
|
|
e2ff369eba | ||
|
|
9691a78f6b | ||
|
|
7ff6b6fafd | ||
|
|
7c621cfbdf | ||
|
|
5acadc9cd7 | ||
|
|
2ff609dd43 | ||
|
|
da48a6ba87 | ||
|
|
cd6c58216a | ||
|
|
bdbd0cf27a | ||
|
|
d792937686 | ||
|
|
bac66ec26b | ||
|
|
77516822f6 | ||
|
|
37d8c67530 | ||
|
|
cfdcae4bc7 | ||
|
|
74a6921bc4 | ||
|
|
490cccba3c | ||
|
|
839441e236 | ||
|
|
ba9ea943e2 | ||
|
|
455087faae | ||
|
|
31def9e217 | ||
|
|
ee3514ccdc | ||
|
|
cf606d7da0 | ||
|
|
eb26a581f9 | ||
|
|
b04cbebf86 | ||
|
|
4272af801f | ||
|
|
0b633027cb | ||
|
|
93943ef949 | ||
|
|
b184b87714 | ||
|
|
a11473f85d | ||
|
|
1eedad27a2 | ||
|
|
ac02d379ba | ||
|
|
a4ebf5b507 | ||
|
|
c410769588 | ||
|
|
997a987943 | ||
|
|
6201dc083a | ||
|
|
b33f47804d | ||
|
|
7ba5e098a3 | ||
|
|
824b78021c | ||
|
|
31657c85e5 | ||
|
|
7010e5ea84 | ||
|
|
2cba6b246d | ||
|
|
52cc2a7a0c | ||
|
|
c012e2b408 | ||
|
|
646a6b604f | ||
|
|
cca00a6378 | ||
|
|
10b7fc7e51 | ||
|
|
43e4544d51 | ||
|
|
21aa8f0b45 | ||
|
|
b708fa51ad | ||
|
|
8709f6c4b3 | ||
|
|
2ac560e58b | ||
|
|
8f8ba9486d | ||
|
|
f55924b3e0 | ||
|
|
7240acdebc | ||
|
|
b9b06b00bf | ||
|
|
51f258d103 | ||
|
|
4c75f1c7b7 | ||
|
|
ed7bff1fec | ||
|
|
01a79be2c9 | ||
|
|
d211fcd34f | ||
|
|
159834171e | ||
|
|
8a38c72c48 | ||
|
|
fbcdc192d5 | ||
|
|
ee642859ef | ||
|
|
9f579f12fc | ||
|
|
825a526789 | ||
|
|
ae8a01ead6 | ||
|
|
9dde0b54a3 | ||
|
|
f1343b2f55 | ||
|
|
962b7985e6 | ||
|
|
5a1c64d316 | ||
|
|
01b2cf82ec | ||
|
|
c033c4c71c | ||
|
|
aa791ee5cf | ||
|
|
305671e2ab | ||
|
|
d654736834 | ||
|
|
2c81bfead5 | ||
|
|
77b3bc239d | ||
|
|
c10d15aa0f | ||
|
|
a88deadd6f | ||
|
|
e6ea8f1199 | ||
|
|
4d4151f6c1 | ||
|
|
518becfe2e | ||
|
|
6f6b93da02 | ||
|
|
45b1843dc9 | ||
|
|
cb86a302d8 | ||
|
|
d15ed439ae | ||
|
|
b765e1f3b7 | ||
|
|
2527b53019 | ||
|
|
78a47826b2 | ||
|
|
ecfaa4f869 | ||
|
|
f36adcdb73 | ||
|
|
13616f8f96 | ||
|
|
ab486d1e27 | ||
|
|
9111909c1d | ||
|
|
4a1a1a75fb | ||
|
|
e4d6ade4b3 | ||
|
|
c82e880f5b | ||
|
|
f2aa3b21e0 | ||
|
|
385db0e97d | ||
|
|
4e58da5222 | ||
|
|
1c6ebb0782 | ||
|
|
7e8b84c3e7 | ||
|
|
132067b081 | ||
|
|
8c36fc8f31 | ||
|
|
93858efe73 | ||
|
|
ba7f27a3f6 | ||
|
|
2f70fb7015 | ||
|
|
655ec6bf8e | ||
|
|
c4ad533300 | ||
|
|
5cdbd0cf4a | ||
|
|
a55c70d4ae | ||
|
|
02938a010d | ||
|
|
e40641bf7c | ||
|
|
27c0b43897 | ||
|
|
d46de5ab8b | ||
|
|
73ebb0edde | ||
|
|
684245d6ce | ||
|
|
d157c29269 | ||
|
|
4d2e81661b | ||
|
|
483a586d55 | ||
|
|
4ac54f8c2c | ||
|
|
840aacf7dd | ||
|
|
ab4256d53a | ||
|
|
46c5e562bf | ||
|
|
42f5a90d09 | ||
|
|
ef82da93fb | ||
|
|
06d05b18b2 | ||
|
|
431c4bd6e3 | ||
|
|
f72c4e82fd | ||
|
|
9c83a20a27 | ||
|
|
773bec5ae5 | ||
|
|
f3c508f6e8 | ||
|
|
2aa4710745 | ||
|
|
3b0a920fad | ||
|
|
daef1cf34d | ||
|
|
bd8d4637a3 | ||
|
|
d2cefc140a | ||
|
|
ccfce89423 | ||
|
|
700cd5805c | ||
|
|
498aad8587 | ||
|
|
73f407b7ae | ||
|
|
4be7dcba48 | ||
|
|
f0694c582e | ||
|
|
f90f0c98d9 | ||
|
|
95aecc5dbb | ||
|
|
f975fd03a1 | ||
|
|
8272874704 | ||
|
|
86f4cead16 | ||
|
|
88a1a10e6f | ||
|
|
624e657210 | ||
|
|
2278e8f1ba | ||
|
|
58176d1484 | ||
|
|
10489879f7 | ||
|
|
fe22872d14 | ||
|
|
4d95d23d99 | ||
|
|
c6fc5a1a26 | ||
|
|
012d75442a | ||
|
|
dcc7900e7c | ||
|
|
34f5e8ad0e | ||
|
|
c2fee9894a | ||
|
|
abd983e851 | ||
|
|
28611704d9 | ||
|
|
305dddeab0 | ||
|
|
ee8112b42f | ||
|
|
ca319f63ad | ||
|
|
a09a8164db | ||
|
|
e5cf6a20a7 | ||
|
|
af5e6e7e6d | ||
|
|
70f2b5e877 | ||
|
|
8ef454dcbe | ||
|
|
551a041283 | ||
|
|
03288943af | ||
|
|
725f734bae | ||
|
|
0f32460656 | ||
|
|
25180cc850 | ||
|
|
2a0e41cab9 | ||
|
|
05edd48ad0 | ||
|
|
266ab95557 | ||
|
|
0a4bba565c | ||
|
|
2ddb9d57aa | ||
|
|
4f012ad703 | ||
|
|
a1cd180082 | ||
|
|
bc2f0c7dcb | ||
|
|
c6ae0ebcbf | ||
|
|
c6ec576cbb | ||
|
|
55329b56cb | ||
|
|
7e43d06b60 | ||
|
|
89f54f3739 | ||
|
|
01fa02d0b5 | ||
|
|
8bed45340a | ||
|
|
55138753c6 | ||
|
|
43369b8096 | ||
|
|
bec1977137 | ||
|
|
4c08eb4b11 | ||
|
|
0163730437 | ||
|
|
39745ac38e | ||
|
|
cacf8bbb58 | ||
|
|
a1c6d5861a | ||
|
|
589c4596d8 | ||
|
|
7a6d7fca42 | ||
|
|
5305c9f1e8 | ||
|
|
b1022ea4c1 | ||
|
|
380a74a4ed | ||
|
|
ff709848a6 | ||
|
|
279dd6d878 | ||
|
|
2e0ad842d0 | ||
|
|
a3949c7786 | ||
|
|
2320606262 | ||
|
|
b01286d280 | ||
|
|
64f72c22b9 | ||
|
|
856114d05c | ||
|
|
98b8c4b0c9 | ||
|
|
01f5f0be5a | ||
|
|
eb6d404753 | ||
|
|
c508ab1aef | ||
|
|
0793dc922c | ||
|
|
00a41ab296 | ||
|
|
37f4877e56 | ||
|
|
a6fc45c02f | ||
|
|
25411e01db | ||
|
|
a8ac6f1dc1 | ||
|
|
dfe1884c25 | ||
|
|
3e5dcc8bcd | ||
|
|
ff81900784 | ||
|
|
4cb30a3057 | ||
|
|
72f80b88f7 | ||
|
|
3008d8133c | ||
|
|
4524618bf2 | ||
|
|
55d22ba10c | ||
|
|
76cf020750 | ||
|
|
f13ac35edf | ||
|
|
59582a9d9d | ||
|
|
6246bbc656 | ||
|
|
1b028b419b | ||
|
|
4c6c768422 | ||
|
|
1d3969b215 | ||
|
|
94116d9ebc | ||
|
|
cc5174a89a | ||
|
|
31552100c5 | ||
|
|
8df5dcb193 | ||
|
|
7929600798 | ||
|
|
a05ea124b9 | ||
|
|
6a03ab3ad4 | ||
|
|
6a151c1312 | ||
|
|
990e56fb13 | ||
|
|
2bd3033f68 | ||
|
|
fe105a07e3 | ||
|
|
a5782defd3 | ||
|
|
bcccd2fe74 | ||
|
|
404e23734b | ||
|
|
973d63f4f2 | ||
|
|
405d98ee63 | ||
|
|
f81724969d | ||
|
|
edb5444fa3 | ||
|
|
e877cb7bd7 | ||
|
|
482b3ba702 | ||
|
|
752acedc0b | ||
|
|
fb88723afc | ||
|
|
3718737091 | ||
|
|
3d3f056f7e | ||
|
|
c60621c367 | ||
|
|
606562aa7e | ||
|
|
f689d06ca9 | ||
|
|
7cfd7f3fb1 | ||
|
|
4a8dfb3461 | ||
|
|
3752b3aead | ||
|
|
b81d41df22 | ||
|
|
dadf3f06ee | ||
|
|
8ed0d5675f | ||
|
|
d5e9041344 | ||
|
|
d99c20f628 | ||
|
|
973ed24dc8 | ||
|
|
5d5f5e3be8 | ||
|
|
d9e14408f0 | ||
|
|
c9c5ce2365 | ||
|
|
975534370f | ||
|
|
28605f6bd3 | ||
|
|
3c6d3b69c2 | ||
|
|
00312e95fe | ||
|
|
4223130bb0 | ||
|
|
c811e1ce70 | ||
|
|
77475f2ad0 | ||
|
|
3680a2f6f5 | ||
|
|
1946058e7b | ||
|
|
73daf8ce33 | ||
|
|
094ceeba14 | ||
|
|
3b7359a27a | ||
|
|
df9108e19b | ||
|
|
6307e783d8 | ||
|
|
b9cd73c76d | ||
|
|
b62c230ca2 | ||
|
|
800193da9b | ||
|
|
577ba5783c | ||
|
|
9bece2b313 | ||
|
|
e85e30546c | ||
|
|
758f6eed51 | ||
|
|
80ee5d3bd8 | ||
|
|
dd06c60ada | ||
|
|
6ca627ae74 | ||
|
|
80a0b81c2a | ||
|
|
06a7b0561b | ||
|
|
12db20be4e | ||
|
|
3cbb1b2b64 | ||
|
|
d75e587613 | ||
|
|
414c57d138 | ||
|
|
c14a84e6f2 | ||
|
|
def0db30e7 | ||
|
|
6ef7a81a3b | ||
|
|
95152aec68 | ||
|
|
8ed6762363 | ||
|
|
87c5ed8bec | ||
|
|
ecc6c1f501 | ||
|
|
3d8338b0d4 | ||
|
|
c91e25518f | ||
|
|
a8dddeab61 | ||
|
|
8f0a5ab660 | ||
|
|
db03d4bdd0 | ||
|
|
0ec96e4279 | ||
|
|
6e520c4cdc | ||
|
|
1e8683d72d | ||
|
|
2df622fd14 | ||
|
|
fede784fa2 | ||
|
|
f191b143e9 | ||
|
|
59212553b5 | ||
|
|
e532b196cc | ||
|
|
0f5232280c | ||
|
|
38898ba4af | ||
|
|
48f56d9600 | ||
|
|
17bf5ac2fc | ||
|
|
343b882d80 | ||
|
|
db06d21339 | ||
|
|
19240f08bb | ||
|
|
d774730f83 | ||
|
|
c2edf42567 | ||
|
|
08f0e55b4f | ||
|
|
deeb74b7e4 | ||
|
|
0542002d7a | ||
|
|
c1e307f585 | ||
|
|
7b4ba43dcf | ||
|
|
b0e4debaab | ||
|
|
676597e961 | ||
|
|
686d90745b | ||
|
|
5dc02d53c3 | ||
|
|
0598547b58 | ||
|
|
67c7745f5d | ||
|
|
a2c289646d | ||
|
|
e6efecd054 | ||
|
|
778b6a86c0 | ||
|
|
e5babd086d | ||
|
|
c212ebbdda | ||
|
|
83b8de3d43 | ||
|
|
e174d374f2 | ||
|
|
4edb93508d | ||
|
|
38c994b83b | ||
|
|
1b8643d4c9 | ||
|
|
d3c796f5b0 | ||
|
|
83d8a6a450 | ||
|
|
a21a77d230 | ||
|
|
260b88c197 | ||
|
|
655331a91b | ||
|
|
09e569f83d | ||
|
|
e4a4b562c4 | ||
|
|
35b4a755f9 | ||
|
|
5a4b43848a | ||
|
|
d98869a088 | ||
|
|
4d33cf739d | ||
|
|
34e7daf989 | ||
|
|
b0adcd6a46 | ||
|
|
be285cde3f | ||
|
|
0ff1faf7f2 | ||
|
|
bcc62cc9e3 | ||
|
|
97b466d409 | ||
|
|
f17d9bba14 | ||
|
|
d74725ce67 | ||
|
|
3dad55d7a8 | ||
|
|
598ffeea89 | ||
|
|
83367f67de | ||
|
|
15f2647d71 | ||
|
|
6421d69bff | ||
|
|
18081e30e1 | ||
|
|
97181b5c0d | ||
|
|
a63f9887b9 | ||
|
|
1282aad4a5 | ||
|
|
b8fad99f09 | ||
|
|
c7e9e60b05 | ||
|
|
47f2e1da73 | ||
|
|
5975229919 | ||
|
|
38295e8a75 | ||
|
|
f9612b5eaf | ||
|
|
5cf2ef2ef7 | ||
|
|
938b5c886e | ||
|
|
0618e68200 | ||
|
|
bac52f3969 | ||
|
|
d494d62953 | ||
|
|
7206181385 | ||
|
|
3f22901a43 | ||
|
|
f70f11fc70 | ||
|
|
cffebd7fd6 | ||
|
|
b8c8e7349f | ||
|
|
8bba99ae56 | ||
|
|
b5c5f57613 | ||
|
|
33df856925 | ||
|
|
ce09cedd2e | ||
|
|
7d68101f83 | ||
|
|
aa50a00898 | ||
|
|
26f112ba55 | ||
|
|
159b9162f8 | ||
|
|
d7999f9fcb | ||
|
|
f13eba4c78 | ||
|
|
050e82e088 | ||
|
|
88377e5b61 | ||
|
|
241af465fd | ||
|
|
59510a554d | ||
|
|
b10aa95d28 | ||
|
|
097bee681a | ||
|
|
8548c2fc61 | ||
|
|
dc4fbd2e97 | ||
|
|
60b029869f | ||
|
|
f592ea6c30 | ||
|
|
a39ac3d94a | ||
|
|
4b23ddc002 | ||
|
|
4486d336a6 | ||
|
|
45e4b811b0 | ||
|
|
0e6a1a4420 | ||
|
|
b8bf708db9 | ||
|
|
6fdbb01194 | ||
|
|
d29147565c | ||
|
|
75c9430559 | ||
|
|
9ac99a80c3 | ||
|
|
a15d107dde | ||
|
|
09897b8146 | ||
|
|
29e446e508 | ||
|
|
10beb36b1c | ||
|
|
a65a888866 | ||
|
|
98180b5cc7 | ||
|
|
92009181af | ||
|
|
831bdb9f63 | ||
|
|
50a4dbbb5e | ||
|
|
ad6511c313 | ||
|
|
7a37fa4aef | ||
|
|
dcee24191f | ||
|
|
87bcb6f377 | ||
|
|
b0bc2f00d2 | ||
|
|
3b19c7d0d9 | ||
|
|
12f5c67bf5 | ||
|
|
d7a83d8995 | ||
|
|
7725729d90 | ||
|
|
e96445bd02 | ||
|
|
da2c124675 | ||
|
|
8cb695a963 | ||
|
|
54cbd7e154 | ||
|
|
5994b62930 | ||
|
|
2fbf94b0f3 | ||
|
|
32bc30e210 | ||
|
|
f3bc8e6ce1 | ||
|
|
16f3a32bec | ||
|
|
c44d2498e3 | ||
|
|
2aed209efa | ||
|
|
b55b780d7b | ||
|
|
8d4eb2bc1f | ||
|
|
67bf4f28ff | ||
|
|
803582f8ac | ||
|
|
03603f392a | ||
|
|
fcfd6d9504 | ||
|
|
c31451cf13 | ||
|
|
5deff1a179 | ||
|
|
e236a1c99b | ||
|
|
a2f3094eb0 | ||
|
|
65afc576ea | ||
|
|
8971f656b4 | ||
|
|
394ce9ee39 | ||
|
|
67a83c1b34 | ||
|
|
1e8d094274 | ||
|
|
4c35a40858 | ||
|
|
802b2aaf6a | ||
|
|
0e79a8944b | ||
|
|
bebf70667d | ||
|
|
d9bd5de0b1 | ||
|
|
31c7aa0ba4 | ||
|
|
fc2388189f | ||
|
|
4431338691 | ||
|
|
bda1e9aeab | ||
|
|
4969ca768d | ||
|
|
2acd1c1642 | ||
|
|
e1e753179a | ||
|
|
f4cc8153ae | ||
|
|
e4d8cb4ee0 | ||
|
|
723a78ae3f | ||
|
|
cd9d0d7dec | ||
|
|
665d4f08c8 | ||
|
|
00c7780fcb | ||
|
|
15ab13dc42 | ||
|
|
8a0ca3066e | ||
|
|
ea01755bb4 | ||
|
|
69c2084a18 | ||
|
|
99c0a1a7d0 | ||
|
|
5acf997e69 | ||
|
|
dd87e4ed39 | ||
|
|
2f8c26ba8a | ||
|
|
81b9793807 | ||
|
|
7278f17e8f | ||
|
|
66c7427df0 | ||
|
|
c1a06d858d | ||
|
|
53b5fdbe9e | ||
|
|
687cf0235e | ||
|
|
b6e9229cf0 | ||
|
|
089e4848d8 | ||
|
|
58d2e7c6d1 | ||
|
|
fa18d6fb76 | ||
|
|
4dcb930247 | ||
|
|
74a299fd08 | ||
|
|
532a560d87 | ||
|
|
0040a60559 | ||
|
|
cc34342790 | ||
|
|
bdbf6e9d19 | ||
|
|
db86f765eb | ||
|
|
b11dec5dd5 | ||
|
|
86becc7591 | ||
|
|
8922bc038b | ||
|
|
009f5790a4 | ||
|
|
0536b6c459 | ||
|
|
0e3ebd9841 | ||
|
|
598965a606 | ||
|
|
d7a2938849 | ||
|
|
a683658675 | ||
|
|
25169f68b7 | ||
|
|
e5247ae65d | ||
|
|
a718cb05ff | ||
|
|
b466ef2581 | ||
|
|
c7a634641f | ||
|
|
e4388643f1 | ||
|
|
bc4208201c | ||
|
|
a0d69d52a1 | ||
|
|
c23a1be139 | ||
|
|
9799f7afb0 | ||
|
|
6358b24fac | ||
|
|
b58634316f | ||
|
|
e3657644d6 | ||
|
|
7d1e3ebeed | ||
|
|
9e61dfe85e | ||
|
|
7b51aafa86 | ||
|
|
5f487123df | ||
|
|
f1f32477e3 | ||
|
|
df2b1251a0 | ||
|
|
02c7cf6fa5 | ||
|
|
60006ff993 | ||
|
|
f3af5d7b8e | ||
|
|
d551412a32 | ||
|
|
6de67a134e | ||
|
|
8ec31398e0 | ||
|
|
fd0d560b47 | ||
|
|
cc542269a1 | ||
|
|
7b488a3bef | ||
|
|
f448168501 | ||
|
|
80a8fb98db | ||
|
|
898bb397b1 | ||
|
|
74ed5b5ebd | ||
|
|
178afd81a9 | ||
|
|
d6eb1a7b98 | ||
|
|
4ff56b15e9 | ||
|
|
e6b98d3152 | ||
|
|
5fd8dd2dce | ||
|
|
0ad3e046a4 | ||
|
|
d6c5d24af3 | ||
|
|
8a3280a2de | ||
|
|
450a0a647a | ||
|
|
676c0cf123 | ||
|
|
a731319321 | ||
|
|
81b06a09b7 | ||
|
|
23b34744d9 | ||
|
|
bc8590aa12 | ||
|
|
939d368d5f | ||
|
|
336e3b8baf | ||
|
|
47c06fa308 | ||
|
|
b7f447f8d8 | ||
|
|
03af76b631 | ||
|
|
e105d5c28f | ||
|
|
d6ffb4c177 | ||
|
|
6dbfce1031 | ||
|
|
fea5ddf585 | ||
|
|
b9f39c2711 | ||
|
|
5acac0309a | ||
|
|
78febad718 | ||
|
|
a6a5bba0a9 | ||
|
|
51581c034d | ||
|
|
8f25a95b47 | ||
|
|
7f5d092223 | ||
|
|
2e5cccd1b6 | ||
|
|
2645782f89 | ||
|
|
9533092511 | ||
|
|
6005a461bb | ||
|
|
e2df946eee | ||
|
|
d14588120f | ||
|
|
ab31cfa664 | ||
|
|
af1c397969 | ||
|
|
947f9deed5 | ||
|
|
ce95eee903 | ||
|
|
b15f3bb969 | ||
|
|
998e8cba19 | ||
|
|
e3f523ab2a | ||
|
|
36485e56ed | ||
|
|
b4113360f6 | ||
|
|
2d71e22f08 | ||
|
|
2ae67c431c | ||
|
|
4b1a91b64f | ||
|
|
4f69318e12 | ||
|
|
1cc98ab50f | ||
|
|
a6494602fd | ||
|
|
50ec78b488 | ||
|
|
7d044d14f9 | ||
|
|
df03d5a8b2 | ||
|
|
6a0ed81e67 | ||
|
|
c94f3e8188 | ||
|
|
1e5f6cc1dc | ||
|
|
b1fece74e3 | ||
|
|
fdbe0df6e7 | ||
|
|
93d59520e4 | ||
|
|
b68d3a073b | ||
|
|
2100311f41 | ||
|
|
e1269e3156 | ||
|
|
c88d61b044 | ||
|
|
f49df54a36 | ||
|
|
952bbc4410 | ||
|
|
1eb4b85d72 | ||
|
|
59b6cb9e91 | ||
|
|
e06afaeb7a | ||
|
|
8c6f654b26 | ||
|
|
1d8212e53a | ||
|
|
083c5e17e1 | ||
|
|
272231fb09 | ||
|
|
67b4d9b232 | ||
|
|
21709e1557 | ||
|
|
9c312637d1 | ||
|
|
feacad7f68 | ||
|
|
6513303498 | ||
|
|
3e2a52b034 | ||
|
|
176d4e85e9 | ||
|
|
84d30dffb6 | ||
|
|
0fd282b078 | ||
|
|
cdf4afbe50 | ||
|
|
b222b2304e | ||
|
|
fdf9900114 | ||
|
|
5867eb2dd2 | ||
|
|
61f145e3de | ||
|
|
b97e7fc730 | ||
|
|
01cbf08064 | ||
|
|
fec632e948 | ||
|
|
6aab5b57e1 | ||
|
|
d2a27e02ce | ||
|
|
b55506a76d | ||
|
|
afc2aa2b3f | ||
|
|
d055b269ed | ||
|
|
8a246a4a9f | ||
|
|
2f684351bf | ||
|
|
74e5beab9d | ||
|
|
b41765f441 | ||
|
|
05a6013f42 | ||
|
|
cfff544d67 | ||
|
|
599d9642ca | ||
|
|
0264faaa4e | ||
|
|
4022a60ea7 | ||
|
|
39e366fc11 | ||
|
|
096675824f | ||
|
|
80bfa76ac9 | ||
|
|
b2e553a82e | ||
|
|
772b64d9d3 | ||
|
|
92c0de518e | ||
|
|
ff96456513 | ||
|
|
e89adbef51 | ||
|
|
22a6a6cf81 | ||
|
|
fd870e4e8a | ||
|
|
d52ed3fff2 | ||
|
|
bac17ab7d8 | ||
|
|
9ace303528 | ||
|
|
7e81c35cdc | ||
|
|
0f125d9bcf | ||
|
|
d4714517c0 | ||
|
|
280e4bf4c3 | ||
|
|
adf462fe05 | ||
|
|
c2862742ab | ||
|
|
8a712eb5af | ||
|
|
d58790af17 | ||
|
|
9ef7a13403 | ||
|
|
a5da1219bb | ||
|
|
be524fed38 | ||
|
|
042016b85e | ||
|
|
f6da574324 | ||
|
|
b09d5c3135 | ||
|
|
ec65c3fd53 | ||
|
|
7ca2f31c8d | ||
|
|
2275737a5d | ||
|
|
5e3836055f | ||
|
|
37a6a0bb3e | ||
|
|
6bcca3eca9 | ||
|
|
ce40b8d531 | ||
|
|
9f109b94b8 | ||
|
|
89024febde | ||
|
|
b7a673c6e2 | ||
|
|
7f68be770d | ||
|
|
4f173f35db | ||
|
|
ae9fbe573e | ||
|
|
29676f473d | ||
|
|
a5fcb26ab1 | ||
|
|
d68b1a1e8c | ||
|
|
bd8baed138 | ||
|
|
00a7dda273 | ||
|
|
4dba07c384 | ||
|
|
4d39c6b7cc | ||
|
|
7d6f6158c9 | ||
|
|
6863dbbc0c | ||
|
|
28b96efd8b | ||
|
|
0f82af0f49 | ||
|
|
f0d839436f | ||
|
|
f1aa4b4127 | ||
|
|
ccdb43f7f1 | ||
|
|
72900f0f90 | ||
|
|
3ad958ddb1 | ||
|
|
2c77cc90f4 | ||
|
|
db4c33b4fb | ||
|
|
3fb04115fc | ||
|
|
4faaa32aef | ||
|
|
cab59b4c32 | ||
|
|
931eff89f5 | ||
|
|
175335808b | ||
|
|
e00216581e | ||
|
|
23951ec00c | ||
|
|
a8fc5d0f9f | ||
|
|
f5e85bab1c | ||
|
|
9a44fa83dc | ||
|
|
6b1e54da62 | ||
|
|
b91421b107 | ||
|
|
43b3954fa5 | ||
|
|
80f2e3f263 | ||
|
|
9ea423b4c1 | ||
|
|
b259c9c535 | ||
|
|
80f481a5f7 | ||
|
|
115fe1b577 | ||
|
|
06d6ea651e | ||
|
|
966fa848a0 | ||
|
|
6f8fe67ace | ||
|
|
d49edc8e09 | ||
|
|
3b9c20fe31 | ||
|
|
bd72c5eacf | ||
|
|
9d152a77fd | ||
|
|
33dc28b905 | ||
|
|
43ce64dcca | ||
|
|
9e0882ba98 | ||
|
|
c890149c8c | ||
|
|
1a1ab2e2e8 | ||
|
|
715b706caa | ||
|
|
bfa9c42c25 | ||
|
|
9d98f97e1b | ||
|
|
5eb5ce6ff3 | ||
|
|
be9c873a6e | ||
|
|
034d80f6cd | ||
|
|
021e786c71 | ||
|
|
0c6bb8cb66 | ||
|
|
4d7f08a99e | ||
|
|
fdef584681 | ||
|
|
f335bac8a3 | ||
|
|
51369753bb | ||
|
|
82a4c2bce3 | ||
|
|
e73c6e039e | ||
|
|
19bad0844f | ||
|
|
96cec4dfd7 | ||
|
|
943aea6267 | ||
|
|
b433e4a1e7 | ||
|
|
20f1966c0e | ||
|
|
ab1f5c3edd | ||
|
|
b2be6799f2 | ||
|
|
ea2618fc6f | ||
|
|
62fdf8eaed | ||
|
|
d3569a3572 | ||
|
|
89df76e449 | ||
|
|
e5b2f33b4f | ||
|
|
934d312f50 | ||
|
|
68917eb517 | ||
|
|
3beb2f6b5d | ||
|
|
b29017f15b | ||
|
|
db83a0ebbc | ||
|
|
6d9fddb95d | ||
|
|
4284190cc4 | ||
|
|
5e4cbd2d24 | ||
|
|
06c3bec65d | ||
|
|
e8c3bb45ba | ||
|
|
4ec55a964d | ||
|
|
b9420864c0 | ||
|
|
bf6588b6a7 | ||
|
|
e43217e664 | ||
|
|
e19ee2d102 | ||
|
|
b4c53e2cfd | ||
|
|
a2902de67c | ||
|
|
da192f7955 | ||
|
|
a2210d23c3 | ||
|
|
bd5a622400 | ||
|
|
b9494cb0d6 | ||
|
|
0f73af4470 | ||
|
|
45e26b5c02 | ||
|
|
6af5ea38ce | ||
|
|
b6f0aa4394 | ||
|
|
774dab58f6 | ||
|
|
e3bdb98f7a | ||
|
|
58d628c9f8 | ||
|
|
1e69394545 | ||
|
|
1cf798ad14 | ||
|
|
da3992d2e9 | ||
|
|
48908e4633 | ||
|
|
f5ae149338 | ||
|
|
3fe5311967 | ||
|
|
6a48639c68 | ||
|
|
e7093b3ca8 | ||
|
|
d0a4104c0c | ||
|
|
90559bed53 | ||
|
|
973a18cf03 | ||
|
|
3c666ce57a | ||
|
|
a1287ec64f | ||
|
|
5fbfa1bfa8 | ||
|
|
da3ecc91f8 | ||
|
|
09c8f558f7 | ||
|
|
528a149def | ||
|
|
29e36afb6b | ||
|
|
0e39543d35 | ||
|
|
0de20d8ee6 | ||
|
|
cd5de5c0e5 | ||
|
|
bd5afc26bd | ||
|
|
9542dfdcdc | ||
|
|
97a6d7b1a8 | ||
|
|
209b9d4374 | ||
|
|
0b8ccd0ae7 | ||
|
|
0b7f5ad508 | ||
|
|
8a38805e82 | ||
|
|
836d88a4b8 | ||
|
|
d5268ed511 | ||
|
|
0e7d93858d | ||
|
|
2164d760b7 | ||
|
|
b9c8de598b | ||
|
|
9889a811db | ||
|
|
9e38d882b9 | ||
|
|
e8635044b5 | ||
|
|
56dea0ac9a | ||
|
|
e8b77477c7 | ||
|
|
64298e528d | ||
|
|
4f1465e7c7 | ||
|
|
6120041b69 | ||
|
|
8c1213627d | ||
|
|
3e6ae6eeb8 | ||
|
|
291e9aeabd | ||
|
|
a3d776187a | ||
|
|
e55f502e2f | ||
|
|
e369270f88 | ||
|
|
7e845e7cfd | ||
|
|
56d9624b56 | ||
|
|
911d135deb | ||
|
|
8107b90678 | ||
|
|
7722452b98 | ||
|
|
6e1a986e0f | ||
|
|
e0785ade35 | ||
|
|
0177ed6f03 | ||
|
|
c62635a3b5 | ||
|
|
0177476fd2 | ||
|
|
76d7dface7 | ||
|
|
982ba21460 | ||
|
|
6081c60556 | ||
|
|
2fe3c22108 | ||
|
|
75dbb3189a | ||
|
|
32330300a9 | ||
|
|
64414df27e | ||
|
|
f98ec86798 | ||
|
|
87bbd13899 | ||
|
|
51a4493add | ||
|
|
5effe8f336 | ||
|
|
296eb2bd61 | ||
|
|
9853acba66 | ||
|
|
09cb9c782d | ||
|
|
575ce905b2 | ||
|
|
54887af471 | ||
|
|
573350637e | ||
|
|
49a16f7121 | ||
|
|
a4773fcbbb | ||
|
|
1e038c4bc6 | ||
|
|
6ba19692a3 | ||
|
|
432dfe2b8f | ||
|
|
a142372750 | ||
|
|
f14195f786 | ||
|
|
9d54f9a6b7 | ||
|
|
ebb91191bf | ||
|
|
8742e294d4 | ||
|
|
8882d1fa1b | ||
|
|
0c37ab5255 | ||
|
|
747a05844d | ||
|
|
c7b7bf32f8 | ||
|
|
710ee3b0e0 | ||
|
|
7a8993892d | ||
|
|
5e16a77fa9 | ||
|
|
ef35519696 | ||
|
|
d5baaf7756 | ||
|
|
2a94387fc3 | ||
|
|
6a5c2b0fc3 | ||
|
|
fc281d6440 | ||
|
|
e22ac39da4 | ||
|
|
34cadb1e54 | ||
|
|
94692b904e | ||
|
|
18f3087afd | ||
|
|
15bc228ae9 | ||
|
|
2b7a38d032 | ||
|
|
90e1a6905a | ||
|
|
c36af24cbd | ||
|
|
a676c18502 | ||
|
|
362912ff83 | ||
|
|
46ff13f243 | ||
|
|
340a67a6f8 | ||
|
|
9294c1e76c | ||
|
|
fd704f8de0 | ||
|
|
d9ca9154d1 | ||
|
|
35110eca73 | ||
|
|
9ad92b3007 | ||
|
|
2f78c96330 | ||
|
|
639857ceb2 | ||
|
|
162f58c53c | ||
|
|
84c4d96e71 | ||
|
|
c0d343d56d | ||
|
|
6d14a80608 | ||
|
|
f451bb7c49 | ||
|
|
20b17d6b04 | ||
|
|
bb2317b63c | ||
|
|
189461dc98 | ||
|
|
69af552bc1 | ||
|
|
0ae6ff9f72 | ||
|
|
8b571fbbb1 | ||
|
|
f3fcd409d5 | ||
|
|
a47532f88a | ||
|
|
6c157a404b | ||
|
|
4f8a49143d | ||
|
|
493d6033aa | ||
|
|
8f219af884 | ||
|
|
aeb04136f7 | ||
|
|
0b8f57bf06 | ||
|
|
6508d446e1 | ||
|
|
82cb462bb4 | ||
|
|
9a264bf610 | ||
|
|
57007e80a9 | ||
|
|
b6c876bdb6 | ||
|
|
57afae79eb | ||
|
|
84c2184909 | ||
|
|
e358a24a75 | ||
|
|
9da9d00c62 | ||
|
|
ec3f269d1f | ||
|
|
1c388a52a5 | ||
|
|
34a827bbfe | ||
|
|
726b9e2240 | ||
|
|
2236ba0d20 | ||
|
|
463c0f7096 | ||
|
|
e49a7e361c | ||
|
|
6e87cf5b30 | ||
|
|
5872e8dd7e | ||
|
|
e81d4ac8c8 | ||
|
|
4922904991 | ||
|
|
decae2dcda | ||
|
|
16bbd13af7 | ||
|
|
ee0666c8df | ||
|
|
a8a8ae2e92 | ||
|
|
fd1148a728 | ||
|
|
74c7b41ee7 | ||
|
|
465e19dbe9 | ||
|
|
86660c73e5 | ||
|
|
6d8a208df2 | ||
|
|
c3a826fdce | ||
|
|
c5d6a42abf | ||
|
|
d49c144297 | ||
|
|
e7de7d5eb3 | ||
|
|
20005a83d2 | ||
|
|
27926030f9 | ||
|
|
701de67b79 | ||
|
|
883479f01e | ||
|
|
b37a0b0512 | ||
|
|
5c5d5270d2 | ||
|
|
36461fb2aa | ||
|
|
d8dcd5e472 | ||
|
|
c51b46c982 | ||
|
|
b1b63c1dd1 | ||
|
|
30c93d66eb | ||
|
|
3b60bb7259 | ||
|
|
c73f8e835f | ||
|
|
93558c4299 | ||
|
|
396cff5779 | ||
|
|
336154e729 | ||
|
|
bb0aba34fa | ||
|
|
1dc0ce9562 | ||
|
|
e4aee168b5 | ||
|
|
2c10c895da | ||
|
|
c04fae3096 | ||
|
|
a214af0830 | ||
|
|
f21bc46e82 | ||
|
|
044327a488 | ||
|
|
c4bbcc83b6 | ||
|
|
eb162b73c2 | ||
|
|
29aafb9cea | ||
|
|
40eb7d0d48 | ||
|
|
1dcb2b7e65 | ||
|
|
5470b9aa73 | ||
|
|
050bd7dd0b | ||
|
|
f75038634f | ||
|
|
300b4a9158 | ||
|
|
52071f3476 | ||
|
|
42ddd745f8 | ||
|
|
a7846189cd | ||
|
|
4762995d1f | ||
|
|
e3a530eb61 | ||
|
|
d1235ff058 | ||
|
|
4370e92dbd | ||
|
|
50e9522a06 | ||
|
|
b5bb9aa8e3 | ||
|
|
cf2e365f23 | ||
|
|
72e532cb67 | ||
|
|
ac5635f77d | ||
|
|
640d67c119 | ||
|
|
3e79693e3b | ||
|
|
d55d3c2fd0 | ||
|
|
3aced17c75 | ||
|
|
bac63914db | ||
|
|
6a63c51f7c | ||
|
|
632cf13767 | ||
|
|
e7012a515c | ||
|
|
6b638af92f | ||
|
|
c654b79c53 | ||
|
|
bee7b874ea | ||
|
|
9c3fc592f7 | ||
|
|
4eab7a1ebc | ||
|
|
3d985688e4 | ||
|
|
17ea2631cd | ||
|
|
b749910e6c | ||
|
|
eff36caea8 | ||
|
|
6ff092f140 | ||
|
|
28bb36e53d | ||
|
|
4a091bbd8a | ||
|
|
e99a6b813e | ||
|
|
b9e5302f27 | ||
|
|
dd7b6aef39 | ||
|
|
910b8b6a69 | ||
|
|
c3207e215f | ||
|
|
f83be11b85 | ||
|
|
45bce1062a | ||
|
|
8cb344bf3c | ||
|
|
fcc4518cdc | ||
|
|
c84839eb91 | ||
|
|
1f878aee69 | ||
|
|
84fd4686e2 | ||
|
|
ede9fb4fcc | ||
|
|
723aef71e8 | ||
|
|
48964a911e | ||
|
|
6a35cb60fd | ||
|
|
1e51c3a832 | ||
|
|
205dda2b39 | ||
|
|
1c18d19da0 | ||
|
|
645729e943 | ||
|
|
f425a25c98 | ||
|
|
aaace2e802 | ||
|
|
3f16d9fbc9 | ||
|
|
3afc57bab8 | ||
|
|
55225106b6 | ||
|
|
1a31bff9fe | ||
|
|
4eaa3329ec | ||
|
|
028d78b993 | ||
|
|
944af98be6 | ||
|
|
2789b2b0ad | ||
|
|
7dded571de | ||
|
|
95fe8372e8 | ||
|
|
ecdcb0ef67 | ||
|
|
6a04a03eb5 | ||
|
|
0c96056a94 | ||
|
|
f518a5e231 | ||
|
|
f581c1062e | ||
|
|
0b3deceea3 | ||
|
|
fa4cd8868c | ||
|
|
8c573ca7f3 | ||
|
|
5a5cf3a51d | ||
|
|
3f23e8443e | ||
|
|
a00f9b093c | ||
|
|
5f538ce3f8 | ||
|
|
ebcaa3d579 | ||
|
|
60e26199a2 | ||
|
|
11defd180c | ||
|
|
c82c1691ee | ||
|
|
364562f209 | ||
|
|
5d9fc28fa7 | ||
|
|
e5ec5c284f | ||
|
|
a90e33ad71 | ||
|
|
62ab21ce7d | ||
|
|
cc8e8db1e5 | ||
|
|
b19cba2016 | ||
|
|
315a9c95d5 | ||
|
|
e010ac9706 | ||
|
|
e4c0a85da0 | ||
|
|
d3e4cdd5b0 | ||
|
|
763b812dc7 | ||
|
|
3269dfb4ab | ||
|
|
e816bd259f | ||
|
|
a295408e09 | ||
|
|
42a34c7cd7 | ||
|
|
9a72751958 | ||
|
|
314e6fa80b | ||
|
|
b2b66f749a | ||
|
|
708ed6fded | ||
|
|
5c30fa50d6 | ||
|
|
fc33c424d9 | ||
|
|
b04d6dd0b1 | ||
|
|
9c5f79c56a | ||
|
|
ef5eea689a | ||
|
|
fd191deb49 | ||
|
|
e1da1ff7d3 | ||
|
|
2b00ed7ef8 | ||
|
|
d960ea959d | ||
|
|
274842ec41 | ||
|
|
c06da7c84a | ||
|
|
cea117b509 | ||
|
|
6078c938b2 | ||
|
|
9e95dd4821 | ||
|
|
0cc8b57d4f | ||
|
|
2179e6e797 | ||
|
|
7dde3d1825 | ||
|
|
a0fe950b75 | ||
|
|
44985e8884 | ||
|
|
f03366bcbf | ||
|
|
d43ea83033 | ||
|
|
11bdba0007 | ||
|
|
07e58aaa79 | ||
|
|
a31ddd363b | ||
|
|
ed9e10f2d8 | ||
|
|
02ae3c2810 | ||
|
|
669ebb5f71 | ||
|
|
9a3e0e52cb | ||
|
|
b0f856213d | ||
|
|
6f4ff1f2bf | ||
|
|
d3eea61f1f | ||
|
|
d59d81fae8 | ||
|
|
329ca40b6f | ||
|
|
e71bd416f4 | ||
|
|
ad66fc6cc2 | ||
|
|
d12b44204b | ||
|
|
4be2136de4 | ||
|
|
c4dbed040b | ||
|
|
366b62af2d | ||
|
|
a6955aa486 | ||
|
|
ad30341fa2 | ||
|
|
23da55a9f1 | ||
|
|
41e6292e7b | ||
|
|
ae1d6f29d9 | ||
|
|
ccfc1ddbef | ||
|
|
002de1eae2 | ||
|
|
63621bae81 | ||
|
|
85f9e6c4b9 | ||
|
|
967ec296c0 | ||
|
|
c6aae9b1d7 | ||
|
|
913c370c25 | ||
|
|
e5472bbd21 | ||
|
|
957c258c6d | ||
|
|
abee109cd1 | ||
|
|
502e5ae6e1 | ||
|
|
b8417be1f2 | ||
|
|
9e037431b4 | ||
|
|
f71b3676bb | ||
|
|
50fe7b5e35 | ||
|
|
9fb253388b | ||
|
|
8cf1786296 | ||
|
|
51b17b299c | ||
|
|
78882e4642 | ||
|
|
8465a367a4 | ||
|
|
3bcfe678ab | ||
|
|
d5403f3a5b | ||
|
|
26abb48533 | ||
|
|
177848ed27 | ||
|
|
656a2e93d7 | ||
|
|
6b1220b61d | ||
|
|
9d7330d879 | ||
|
|
26a5954fa0 | ||
|
|
01165e08e0 | ||
|
|
6e1633a6c5 | ||
|
|
a8ff0a21bf | ||
|
|
b8bc6bed97 | ||
|
|
1a4402038c | ||
|
|
5ac51cc9b5 | ||
|
|
c12159ce21 | ||
|
|
4485503ecc | ||
|
|
200ac588cc | ||
|
|
0bb040822d | ||
|
|
543fbe14ee | ||
|
|
e02ab66120 | ||
|
|
76c7c694c5 | ||
|
|
f0057977b7 | ||
|
|
e8e43f06af | ||
|
|
04b35e86d5 | ||
|
|
64ab85da4f | ||
|
|
b8d7a13ea3 | ||
|
|
78a76dc905 | ||
|
|
5fa5fff0e9 | ||
|
|
d323b3d816 | ||
|
|
b685b5672a | ||
|
|
8f6c2f87c8 | ||
|
|
f30e8b11eb | ||
|
|
8bd6d6a4de | ||
|
|
b3a8f438fc | ||
|
|
e78ddf0a95 | ||
|
|
5f0366c2cb | ||
|
|
779ca09775 | ||
|
|
313f1a1e83 | ||
|
|
21337f4776 | ||
|
|
53a8e5655b | ||
|
|
2d85585ae1 | ||
|
|
63d109f7be | ||
|
|
c904b6b5bf | ||
|
|
6a27449922 | ||
|
|
9a9c07f571 | ||
|
|
4382204e1b | ||
|
|
6d3114efe2 | ||
|
|
b62baaed95 | ||
|
|
9b391e531b | ||
|
|
a0c7a6d22b | ||
|
|
14424f7058 | ||
|
|
6063dff8d0 | ||
|
|
7fba9ed398 | ||
|
|
53280a196b | ||
|
|
0bf9a5704b | ||
|
|
8182d17ae1 | ||
|
|
69b1ac7dcd | ||
|
|
b15507aac3 | ||
|
|
6c2f583f51 | ||
|
|
a72eaddda3 | ||
|
|
dc050e45df | ||
|
|
2fcbf13920 | ||
|
|
099ae31523 | ||
|
|
c2fcdf3a02 | ||
|
|
2056a538b9 | ||
|
|
cd1144dc24 | ||
|
|
e9d068b913 | ||
|
|
ec2ad57c32 | ||
|
|
316adac511 | ||
|
|
d7b11d4c33 | ||
|
|
c52aa6df33 | ||
|
|
a19b23b59f | ||
|
|
4e26b2a65b | ||
|
|
7c4feac6db | ||
|
|
e01e364c37 | ||
|
|
c13a3d7b84 | ||
|
|
67805b6dc5 | ||
|
|
0050ab2a3d | ||
|
|
60e66c6cbf | ||
|
|
5ad2a253e8 | ||
|
|
b5d50e9298 | ||
|
|
37f7362aca | ||
|
|
bee198def5 | ||
|
|
f09e479fd6 | ||
|
|
80fe93bc33 | ||
|
|
ea03ad3bee | ||
|
|
feec421744 | ||
|
|
634982840e | ||
|
|
fb3c85ab2f | ||
|
|
a9b7c3531c | ||
|
|
a7ba0d908d | ||
|
|
2fc70e2c5d | ||
|
|
7ae3f0e70c | ||
|
|
9afaa51e3f | ||
|
|
c736a719f1 | ||
|
|
37a547842b | ||
|
|
b9f1d43921 | ||
|
|
bec6423c02 | ||
|
|
241b2b4ae3 | ||
|
|
14d9b56937 | ||
|
|
1c3766eb46 | ||
|
|
70024d61eb | ||
|
|
2085f133d6 | ||
|
|
2a045dfceb | ||
|
|
893cbaaf2f | ||
|
|
6e61939382 | ||
|
|
015a618172 | ||
|
|
2a8b91cdb9 | ||
|
|
bebd5dbc5a | ||
|
|
018dbfe058 | ||
|
|
c6ea597817 | ||
|
|
175b00c0a2 | ||
|
|
5ebc6e305e | ||
|
|
993600761f | ||
|
|
1d9fff80b7 | ||
|
|
c712b84dd5 | ||
|
|
dcf8dd4b5e | ||
|
|
ba26c3fb22 | ||
|
|
41563607a8 | ||
|
|
2d4dcfb740 | ||
|
|
34854e70cf | ||
|
|
758d9fe852 | ||
|
|
6a6c0e7a73 | ||
|
|
ee44eec3e1 | ||
|
|
eccd0d8e37 | ||
|
|
983be0ec60 | ||
|
|
243a45d840 | ||
|
|
60ec804047 | ||
|
|
c53e9ccf4a | ||
|
|
6e8e0418fc | ||
|
|
e9eb52305f | ||
|
|
8501ae748c | ||
|
|
da59692067 | ||
|
|
bae77c0a46 | ||
|
|
b42bc7329e | ||
|
|
9b3c2b6ae2 | ||
|
|
833b6df969 | ||
|
|
0b45431139 | ||
|
|
5d1349031c | ||
|
|
82388a5e4c | ||
|
|
74816fed6c | ||
|
|
b4c9789d5f | ||
|
|
f96fadc074 | ||
|
|
f6b1173437 | ||
|
|
346992c366 | ||
|
|
ab4086bc24 | ||
|
|
d8e7f2b2c7 | ||
|
|
93fcb94b62 | ||
|
|
32a446cf19 | ||
|
|
94459cab98 | ||
|
|
158588640a | ||
|
|
f00f050d1b | ||
|
|
c4f34c60a5 | ||
|
|
371ef80dc3 | ||
|
|
84b4e9ff7c | ||
|
|
677a74fa1b | ||
|
|
8a076d1dba | ||
|
|
970722483c | ||
|
|
31443724c6 | ||
|
|
0e7614919b | ||
|
|
2bf72937d2 | ||
|
|
4e555c7b32 | ||
|
|
bd7021d05b | ||
|
|
1a14555605 | ||
|
|
cb3fb371ea | ||
|
|
6c6dda1b74 | ||
|
|
a712808006 | ||
|
|
e19c203728 | ||
|
|
8817779f23 | ||
|
|
3e5a32671c | ||
|
|
d34f32b39e | ||
|
|
c85a77e0b1 | ||
|
|
9406e517e6 | ||
|
|
4a56049225 | ||
|
|
04ea4b4d75 | ||
|
|
5b6b6283f3 | ||
|
|
38f07ce0fb | ||
|
|
987cdebefb | ||
|
|
6b978db369 | ||
|
|
5840c8cb70 | ||
|
|
44f2024bab | ||
|
|
410942e9df | ||
|
|
5b3730feae | ||
|
|
38f797ccd6 | ||
|
|
553c5a7501 | ||
|
|
bbba9d568f | ||
|
|
11e43dd021 | ||
|
|
e8ddf84871 | ||
|
|
67f04d2d5f | ||
|
|
8f646eef45 | ||
|
|
d26e932858 | ||
|
|
73b9d0840c | ||
|
|
2ea4326c40 | ||
|
|
8b80ac2877 | ||
|
|
233237740d | ||
|
|
f5cdac38bd | ||
|
|
760565dcad | ||
|
|
b5d97b3d94 | ||
|
|
4a6cc54eb5 | ||
|
|
61133545f6 | ||
|
|
bf87d13f5b | ||
|
|
efaf688650 | ||
|
|
9a5c21c16f | ||
|
|
06ffb47ef2 | ||
|
|
1acbda97e0 | ||
|
|
d6460aff36 | ||
|
|
a357f77c4c | ||
|
|
d5bdd2b2f9 | ||
|
|
562d2de303 | ||
|
|
1f68fa19c7 | ||
|
|
677ddd6160 | ||
|
|
228e627475 | ||
|
|
ec4e653c6f | ||
|
|
3916d1e6cb | ||
|
|
387aaba810 | ||
|
|
9f3d9da119 | ||
|
|
76c24a0d82 | ||
|
|
ffd65a1956 | ||
|
|
de8947f92f | ||
|
|
d2b4dedbe4 | ||
|
|
34865ffb4a | ||
|
|
62970da675 | ||
|
|
8ed31c48e0 | ||
|
|
13d40e33a4 | ||
|
|
c765213aaa | ||
|
|
983bf93a24 | ||
|
|
2f8085af15 | ||
|
|
88a4dc2795 | ||
|
|
b5112096d7 | ||
|
|
fc80c714e8 | ||
|
|
84bc23b92f | ||
|
|
d90472dd64 | ||
|
|
3b63ed8230 | ||
|
|
e75441e027 | ||
|
|
0ae8b51230 | ||
|
|
547c136b4f | ||
|
|
4ed13bde55 | ||
|
|
80e01deba0 | ||
|
|
fb9ae9d0e2 | ||
|
|
dd54d8551b | ||
|
|
205f8b266c | ||
|
|
c4ce9ac4de | ||
|
|
0e4e28fdda | ||
|
|
db2370a12f | ||
|
|
d1d35ba85f | ||
|
|
2ab2e7675c | ||
|
|
0472629222 | ||
|
|
c4f7570a23 | ||
|
|
d26cfd5791 | ||
|
|
b7ffc6bb45 | ||
|
|
8a96aec567 | ||
|
|
5cd9f57137 | ||
|
|
702664e959 | ||
|
|
18d87edd6d | ||
|
|
dc59795629 | ||
|
|
cb9bb31f7d | ||
|
|
02706bec94 | ||
|
|
7657186bf6 | ||
|
|
42ac24448c | ||
|
|
31891b55a4 | ||
|
|
aa47ac4c06 | ||
|
|
b01151e81c | ||
|
|
67bd6f9ccd | ||
|
|
4869fa285b | ||
|
|
d221e01406 | ||
|
|
874fc8228a | ||
|
|
6f752c64bc | ||
|
|
ccb7950c4c | ||
|
|
750e771376 | ||
|
|
7012a4a291 | ||
|
|
40ab20a252 | ||
|
|
6af315e50c | ||
|
|
861b5e608b | ||
|
|
f61917594e | ||
|
|
0ddab51ad8 | ||
|
|
9798432f56 | ||
|
|
5faf52619d | ||
|
|
f8b4ba80e0 | ||
|
|
527f70e540 | ||
|
|
19f66c7575 | ||
|
|
b7721deb02 | ||
|
|
5ba188ab2d | ||
|
|
eadfd78c2e | ||
|
|
4d815c9990 | ||
|
|
176981b529 | ||
|
|
85baebd0d4 | ||
|
|
ac022b2e30 | ||
|
|
f169b750b8 | ||
|
|
86295eef13 | ||
|
|
32d60b2714 | ||
|
|
0a3065a2f2 | ||
|
|
b98faaa8c0 | ||
|
|
73772323c9 | ||
|
|
98389066e2 | ||
|
|
fb53ed4c1f | ||
|
|
e719eb5b81 | ||
|
|
3858063bcd | ||
|
|
d4f5fea840 | ||
|
|
22c1d48cb2 | ||
|
|
e7cefd684b | ||
|
|
d2485e4f20 | ||
|
|
160d6b26b0 | ||
|
|
17d61e4f29 | ||
|
|
446b9467da | ||
|
|
3970a7056c | ||
|
|
74068a6d1b | ||
|
|
8c83422fe2 | ||
|
|
61a1e3cd01 | ||
|
|
89cac6f25c | ||
|
|
62082293c5 | ||
|
|
153fd2752c | ||
|
|
e649a40f5d | ||
|
|
32d76a5b57 | ||
|
|
14aa3fa258 | ||
|
|
f5394cccb1 | ||
|
|
64dd9c7656 | ||
|
|
16ae0c6466 | ||
|
|
6a2e21ec8c | ||
|
|
120f17ce04 | ||
|
|
ab938bb9bd | ||
|
|
33820cd2ac | ||
|
|
41def21f91 | ||
|
|
d118312922 | ||
|
|
82b93e4945 | ||
|
|
e36fb1ecda | ||
|
|
e4a1788614 | ||
|
|
7b23eff9cf | ||
|
|
67ff8e3ea3 | ||
|
|
2248599ae1 | ||
|
|
29350b363b | ||
|
|
83c470a443 | ||
|
|
ab96e2d6e9 | ||
|
|
6b81cf4bc9 | ||
|
|
0d9301539e | ||
|
|
4a9e12542d | ||
|
|
21b4105454 | ||
|
|
d7648d94ca | ||
|
|
883343ba63 | ||
|
|
16b5dc710f | ||
|
|
686d767053 | ||
|
|
ed3176dd6b | ||
|
|
6a99ab098c | ||
|
|
b03adde546 | ||
|
|
e6034ea299 | ||
|
|
c7f51ebeab | ||
|
|
9a820d7a98 | ||
|
|
8dbaf534c8 | ||
|
|
91f483c591 | ||
|
|
c5b448038f | ||
|
|
c4ff5eb0ca | ||
|
|
0859cd2444 | ||
|
|
59b45a90cc | ||
|
|
f661475962 | ||
|
|
54b02ecf09 | ||
|
|
4551e7ce49 | ||
|
|
064bc3ecbc | ||
|
|
cf38a4c470 | ||
|
|
aacc79a3a3 | ||
|
|
9864bf703d | ||
|
|
289a42f050 | ||
|
|
ade1e79b37 | ||
|
|
2415724d5f | ||
|
|
5463177f1f | ||
|
|
4efd751eda | ||
|
|
2337efc3b1 | ||
|
|
b942a25a45 | ||
|
|
beab9a9696 | ||
|
|
177dbc7be0 | ||
|
|
f2e71edcbd | ||
|
|
fad6e5a5bc | ||
|
|
52f6c437fe | ||
|
|
80a8be6319 | ||
|
|
043d70fcdf | ||
|
|
4f7e958969 | ||
|
|
53143910a1 | ||
|
|
95656cd7f3 | ||
|
|
d8f79b263d | ||
|
|
51da8552c3 | ||
|
|
7e42cb61f7 | ||
|
|
6c038680f9 | ||
|
|
291a908f19 | ||
|
|
b264a03f89 | ||
|
|
7472ede32a | ||
|
|
b5065e462b | ||
|
|
8dd799b4bd | ||
|
|
a38520c90d | ||
|
|
3050ae57c0 | ||
|
|
01205f772c | ||
|
|
06ad5be3af | ||
|
|
2fe3829e5e | ||
|
|
a0c8b9bc68 | ||
|
|
0406b1facf | ||
|
|
65dbee01e5 | ||
|
|
b1080f7c9a | ||
|
|
7bfd58d41f | ||
|
|
3851c6aae2 | ||
|
|
ae03fa7d8e | ||
|
|
8a14dd25a9 | ||
|
|
e0bea7d541 | ||
|
|
534a8a05f3 | ||
|
|
f5b8a26d9a | ||
|
|
cf51f7fb65 | ||
|
|
4d1f3d3cd0 | ||
|
|
f70b87b4c5 | ||
|
|
0e26355348 | ||
|
|
246ea56eab | ||
|
|
7c1bba315b | ||
|
|
9395cad379 | ||
|
|
c5b2e85b47 | ||
|
|
38f8087281 | ||
|
|
e3fa7d021e | ||
|
|
a1813e2b2d | ||
|
|
2e62458eef | ||
|
|
bb9e5565f2 | ||
|
|
29102befa6 | ||
|
|
9d1145598a | ||
|
|
065e466f1a | ||
|
|
3ac00f32af | ||
|
|
21bb852750 | ||
|
|
83bab78bda | ||
|
|
894ec46ef4 | ||
|
|
4eb1d3eb1b | ||
|
|
945423e83a | ||
|
|
9fd33c0b96 | ||
|
|
3c09f2d2bd | ||
|
|
7b4bf6a22c | ||
|
|
b5b77f6367 | ||
|
|
5a8097a4d5 | ||
|
|
9cdf6fb64b | ||
|
|
a137223b4f | ||
|
|
52e1ce9518 | ||
|
|
8127a34f98 | ||
|
|
2dcb8b674f | ||
|
|
1e3b1b6e47 | ||
|
|
9cdaae94cc | ||
|
|
316e74be74 | ||
|
|
af69c4f4f7 | ||
|
|
ad9648a215 | ||
|
|
1576f3319e | ||
|
|
8ac90316d9 | ||
|
|
35ba5c826d | ||
|
|
4f4ffa98b5 | ||
|
|
b7d92c3e03 | ||
|
|
4ecf939452 | ||
|
|
7ef6b05ef1 | ||
|
|
695f95aad1 | ||
|
|
2a6ea6d7a7 | ||
|
|
f5e0ff2170 | ||
|
|
814d176b86 | ||
|
|
3955b31362 | ||
|
|
4b3fb5a01c | ||
|
|
67abd4cd47 | ||
|
|
58f4af7973 | ||
|
|
99befd3a15 | ||
|
|
3acda85c2b | ||
|
|
dbb69797cf | ||
|
|
2910880b15 | ||
|
|
8b5f0abef1 | ||
|
|
10b5327b19 | ||
|
|
4ba1eb26fa | ||
|
|
444f6427b8 | ||
|
|
a173e07eec | ||
|
|
3de85777de | ||
|
|
f4c5314890 | ||
|
|
1225ad58bd | ||
|
|
951fdeba67 | ||
|
|
327b46cced | ||
|
|
80d301257c | ||
|
|
0e59182945 | ||
|
|
7270d5ce26 | ||
|
|
a142d419d2 | ||
|
|
23cf63f550 | ||
|
|
13ee90bbd4 | ||
|
|
754d6c3abd | ||
|
|
c6f6e81238 | ||
|
|
7803a1a28a | ||
|
|
3d647b9a98 | ||
|
|
090a7f38be | ||
|
|
8ad47a13e5 | ||
|
|
497cc6bfaf | ||
|
|
d5be114c07 | ||
|
|
6e43a4ccce | ||
|
|
a07dcfd850 | ||
|
|
321511a5be | ||
|
|
c5297b9fd9 | ||
|
|
7e00076586 | ||
|
|
9a8ba19b73 | ||
|
|
41e776f9db | ||
|
|
5c2d4a6bdd | ||
|
|
83b709401c | ||
|
|
3590fffeae | ||
|
|
5e2e87cc8d | ||
|
|
b1bdba7db5 | ||
|
|
e3d342df96 | ||
|
|
ff54a74b4d | ||
|
|
ccf65be0a4 | ||
|
|
7dfef13224 | ||
|
|
0b85e53af2 | ||
|
|
26cfb21c00 | ||
|
|
b7acdbcb4c | ||
|
|
6e1e9caa32 | ||
|
|
f71725de6e | ||
|
|
26fe6da93b | ||
|
|
8d4ac69175 | ||
|
|
4f5a6a33b4 | ||
|
|
ec8ee4404b | ||
|
|
e47b5d4e6c | ||
|
|
494c40fd98 | ||
|
|
d3b414724b | ||
|
|
38181fbc74 | ||
|
|
8847e61fca | ||
|
|
95b84adb9b | ||
|
|
b34d161703 | ||
|
|
d88b3d3d5d | ||
|
|
f2fb9039bd | ||
|
|
a28b32aa45 | ||
|
|
1ba47e7af9 | ||
|
|
9359498b06 | ||
|
|
553082e24a | ||
|
|
dc28a9c0c1 | ||
|
|
1faef62d59 | ||
|
|
0d0d5e7ee3 | ||
|
|
4f567d0f81 | ||
|
|
f23d923fd3 | ||
|
|
10d6d8b2ae | ||
|
|
358e08b95d | ||
|
|
e181eda253 | ||
|
|
7d3f5d7ac1 | ||
|
|
37c7a695a2 | ||
|
|
07f107ae20 | ||
|
|
5c14b3be6d | ||
|
|
1dc15ec1bc | ||
|
|
6a9ed44088 | ||
|
|
bdb0620529 | ||
|
|
be9ea07e87 | ||
|
|
4cf14e9f85 | ||
|
|
d02b2c4308 | ||
|
|
1687a9eb94 | ||
|
|
344c6a3725 | ||
|
|
f966dad306 | ||
|
|
887f41c062 | ||
|
|
4b1350e467 | ||
|
|
22a0c57746 | ||
|
|
fec571f5b0 | ||
|
|
976285ccbc | ||
|
|
9b3b7ad22e | ||
|
|
1b8ac7c6b5 | ||
|
|
bd2db87237 | ||
|
|
df3ca59116 | ||
|
|
3ca4509ae9 | ||
|
|
d531926246 | ||
|
|
357fdb60b6 | ||
|
|
b6f855cb9b | ||
|
|
b6646310e8 | ||
|
|
070da3c08f | ||
|
|
6b7f6369ec | ||
|
|
309e3ce4f9 | ||
|
|
8a4eb8ed45 | ||
|
|
eee70dcf8e | ||
|
|
c0c885a1f3 | ||
|
|
a7488672bf | ||
|
|
c1312cab1f | ||
|
|
8c833d375a | ||
|
|
18f14ae23d | ||
|
|
98adcdd466 | ||
|
|
a2bd47c567 | ||
|
|
7b3c308eb0 | ||
|
|
1be1d3cfb8 | ||
|
|
b970469df9 | ||
|
|
80a324386b | ||
|
|
163518778c | ||
|
|
7fd1ce4dc3 | ||
|
|
c78ee11c41 | ||
|
|
4435e3b269 | ||
|
|
b96a0dba90 | ||
|
|
30dfc00a54 | ||
|
|
fe5979cfdb | ||
|
|
a1f7987ad8 | ||
|
|
ac269a8f68 | ||
|
|
35944744f8 | ||
|
|
4b1c0bd1e7 | ||
|
|
b7ff86fa2b | ||
|
|
2c27e4ee76 | ||
|
|
6ac9e67bd7 | ||
|
|
8726a6b6ed | ||
|
|
2f26069a41 | ||
|
|
d6c155ff47 | ||
|
|
15360e5e51 | ||
|
|
e587a56fc0 | ||
|
|
113531432a | ||
|
|
bfa74c2649 | ||
|
|
6bb215f56c | ||
|
|
8b37844e5f | ||
|
|
1445e62312 | ||
|
|
4781ff88fd | ||
|
|
c28e15c682 | ||
|
|
fe0585ec91 | ||
|
|
18c0b49f3d | ||
|
|
5d69c956ee | ||
|
|
93aa22ea08 | ||
|
|
b7c6bc20be | ||
|
|
9bb4a95e08 | ||
|
|
0966ddafaa | ||
|
|
c073625fb9 | ||
|
|
85dd4bfb8d | ||
|
|
5ae34aa8e1 | ||
|
|
0eb8414750 | ||
|
|
09717d3fc8 | ||
|
|
81a3246a56 | ||
|
|
4c8fbe9abf | ||
|
|
c0d448f778 | ||
|
|
16e9a9eaef | ||
|
|
0d7446c134 | ||
|
|
a4752673bb | ||
|
|
9a0d5c4ed8 | ||
|
|
d85bc18178 | ||
|
|
f0e66d8c76 | ||
|
|
af114358c8 | ||
|
|
ffe17a8197 | ||
|
|
2459e1e268 | ||
|
|
a34a4af36a | ||
|
|
bf51f05a50 | ||
|
|
5d94ff5974 | ||
|
|
0d4ddfa743 | ||
|
|
56c9899832 | ||
|
|
7b3fba1ad5 | ||
|
|
700e3b685a | ||
|
|
3e1caa6185 | ||
|
|
50eafb7668 | ||
|
|
25559ac02e | ||
|
|
51a87fa652 | ||
|
|
b2dad0342f | ||
|
|
a5abce7982 | ||
|
|
de3f22b288 | ||
|
|
be5cc378c8 | ||
|
|
4afc4aed73 | ||
|
|
a4e1ac7952 | ||
|
|
f84d2b4d36 | ||
|
|
b4c7876e4b | ||
|
|
4207ef3d27 | ||
|
|
b3572269a4 | ||
|
|
097d449cc1 | ||
|
|
7f44713487 | ||
|
|
b7a6b78e0c | ||
|
|
855a9eff76 | ||
|
|
8e34e75100 | ||
|
|
4be60ac155 | ||
|
|
5ec4501b9d | ||
|
|
e80f566a14 | ||
|
|
1729918777 | ||
|
|
cef290c6b4 | ||
|
|
539e34b5df | ||
|
|
765683403f | ||
|
|
cca9fca894 | ||
|
|
2b403db811 | ||
|
|
03e7b7c95f | ||
|
|
1a05a90f1c | ||
|
|
dcea109bb5 | ||
|
|
d46a573bbe | ||
|
|
7d0d19708a | ||
|
|
09f14efade | ||
|
|
87753cda49 | ||
|
|
66f6f43056 | ||
|
|
86f059dcfb | ||
|
|
5931d43a36 | ||
|
|
8475a0df2f | ||
|
|
ccc4c9c02c | ||
|
|
16edb15600 | ||
|
|
9e7534a46e | ||
|
|
737dddaec0 | ||
|
|
b5c90c9b05 | ||
|
|
c3ecd552f5 | ||
|
|
56f0227c92 | ||
|
|
dcb5a4df01 | ||
|
|
fd64213c2f | ||
|
|
fc2c06754c | ||
|
|
7ec200f4d1 | ||
|
|
e53f139925 | ||
|
|
61599ceb7b | ||
|
|
6f8e3f106a | ||
|
|
8fd676f73e | ||
|
|
98a8103a3b | ||
|
|
94043b1150 | ||
|
|
1b02ad5e8a | ||
|
|
4897587615 | ||
|
|
8e2f57c82e | ||
|
|
c3323b1902 | ||
|
|
59c063dfd3 | ||
|
|
8c16696f47 | ||
|
|
f68950db67 | ||
|
|
710e370c34 | ||
|
|
7bb6d76d14 | ||
|
|
2467f814a8 | ||
|
|
a654ef9ee6 | ||
|
|
c1688733c1 | ||
|
|
cd73a733c7 | ||
|
|
8ef8e949bd | ||
|
|
49111a63e6 | ||
|
|
ee4ecf5155 | ||
|
|
3478253e5a | ||
|
|
6ddc59dadf | ||
|
|
dc8688b8dc | ||
|
|
865e495188 | ||
|
|
d3c0ed007e | ||
|
|
0dc79376e7 | ||
|
|
3ccbed1022 | ||
|
|
377e43fbb9 | ||
|
|
1f2b042b95 | ||
|
|
fd49ba6c18 | ||
|
|
facfa19cdd | ||
|
|
3347ced899 | ||
|
|
592686bee9 | ||
|
|
f471a293ea | ||
|
|
c688166066 | ||
|
|
5dcd2710d4 | ||
|
|
16d8383625 | ||
|
|
6b49fd7483 | ||
|
|
f10985fc50 | ||
|
|
edeac97773 | ||
|
|
40498ffdd0 | ||
|
|
fd884a3cd2 | ||
|
|
1887629c5c | ||
|
|
d3be5b2725 | ||
|
|
2e973684c0 | ||
|
|
ab909fc4c2 | ||
|
|
4cd5220d27 | ||
|
|
24d47a6e07 | ||
|
|
8a66584db4 | ||
|
|
186f433e40 | ||
|
|
736a40fec9 | ||
|
|
4245400ae4 | ||
|
|
629bba6b35 | ||
|
|
f6f2a9e4be | ||
|
|
8bfcae65ef | ||
|
|
96cf615e9d | ||
|
|
e9b3e1d031 | ||
|
|
7167cde020 | ||
|
|
2a80a4c521 | ||
|
|
83f11b1c9b | ||
|
|
a00e7f0f5e | ||
|
|
e1607f5705 | ||
|
|
cce931f27d | ||
|
|
34089c93bb | ||
|
|
beb61ef429 | ||
|
|
72aff74798 | ||
|
|
8e715af480 | ||
|
|
2730842559 | ||
|
|
cac269cf91 | ||
|
|
249036ada0 | ||
|
|
18d80b9e8f | ||
|
|
b2d8e0b476 | ||
|
|
225a652021 | ||
|
|
38b1d96750 | ||
|
|
2f069ad3e2 | ||
|
|
a3dbe03e80 | ||
|
|
f4bef25b5e | ||
|
|
ebf7d22503 | ||
|
|
9296d9deb8 | ||
|
|
7b95a25adc | ||
|
|
82d6cfa7fc | ||
|
|
48750d5fc7 | ||
|
|
4f0258ec09 | ||
|
|
db4d0d307a | ||
|
|
2baf22e184 | ||
|
|
21d5aead47 | ||
|
|
f40c9b83df | ||
|
|
b9e082b811 | ||
|
|
0bfa601a9f | ||
|
|
e356420123 | ||
|
|
e8f85cba0f | ||
|
|
1aba99b1e7 | ||
|
|
12815d7cd6 | ||
|
|
9deb76ce3e | ||
|
|
c98676068e | ||
|
|
b534f74bf4 | ||
|
|
411e9b0c45 | ||
|
|
3fa1879f6a | ||
|
|
d30cf22c12 | ||
|
|
557b6cfd3f | ||
|
|
84bf03b365 | ||
|
|
34342bcd19 | ||
|
|
5322a86313 | ||
|
|
1dc50e21c4 | ||
|
|
1eddbb1b47 | ||
|
|
bb8591cf54 | ||
|
|
a7913a62a9 | ||
|
|
6d1b37b3da | ||
|
|
34750cc738 | ||
|
|
af677c4e1d | ||
|
|
298076e00f | ||
|
|
0d2cdd9773 | ||
|
|
eb5d3b5a7c | ||
|
|
7663775971 | ||
|
|
fe46572f2b | ||
|
|
a6d4d3eeac | ||
|
|
62f97f1817 | ||
|
|
253ff7b2ad | ||
|
|
c274e51654 | ||
|
|
1239e48304 | ||
|
|
52313cbac9 | ||
|
|
071218a201 | ||
|
|
f0d6cc23ae | ||
|
|
ceefe2e248 | ||
|
|
9a2aed7d7a | ||
|
|
a91a75355d | ||
|
|
01acbfa1a5 | ||
|
|
49b2896a3b | ||
|
|
39af394a1c | ||
|
|
5c7dcc6c33 | ||
|
|
6c5ea2af27 | ||
|
|
93e084e097 | ||
|
|
1a61bcecfc | ||
|
|
3d9fb701e2 | ||
|
|
19a568a983 | ||
|
|
70c3f6a8dd | ||
|
|
bb999d8213 | ||
|
|
121197bc87 | ||
|
|
d5dd8e0fdc | ||
|
|
c368800877 | ||
|
|
6eb58549a9 | ||
|
|
95def48071 | ||
|
|
2ee6c33412 | ||
|
|
be7ce435c0 | ||
|
|
f4252f8672 | ||
|
|
f4f961c4ea | ||
|
|
e2fe03df8e | ||
|
|
19b284c214 | ||
|
|
6b3e3095ea | ||
|
|
fd2aad1d9b | ||
|
|
d239fc5d04 | ||
|
|
ec4da97a35 | ||
|
|
bb48ccedd7 | ||
|
|
afc0dfb141 | ||
|
|
8e87223195 | ||
|
|
be1cece69b | ||
|
|
45be6d6645 | ||
|
|
d4db35c125 | ||
|
|
94c6a5eeab | ||
|
|
35292e794a | ||
|
|
c2043a7f94 | ||
|
|
e752588e8d | ||
|
|
8f30dbd4f0 | ||
|
|
29eb80dbd1 | ||
|
|
6cf6f9a21e | ||
|
|
6af6a2bbe8 | ||
|
|
2576ac1c76 | ||
|
|
bfeea8e6b7 | ||
|
|
2f89f2311c | ||
|
|
75e5967afd | ||
|
|
1003628103 | ||
|
|
3451e888b9 | ||
|
|
12dc142a28 | ||
|
|
cb80670885 | ||
|
|
c189687188 | ||
|
|
595016d393 | ||
|
|
23550fe5de | ||
|
|
8420de971f | ||
|
|
17f8f32b2e | ||
|
|
7676f40218 | ||
|
|
2de62cb06f | ||
|
|
be1df3ca0a | ||
|
|
543ab6f331 | ||
|
|
2b6f7ef2a9 | ||
|
|
0d37f8564e | ||
|
|
6cd2536048 | ||
|
|
60fccf4e37 | ||
|
|
8a8028394f | ||
|
|
6a06667cc0 | ||
|
|
25bf23105d | ||
|
|
2544c78083 | ||
|
|
40b9b6f6dc | ||
|
|
f5e1beddf1 | ||
|
|
d4076c9a8a | ||
|
|
106695d45e | ||
|
|
f71b3f48a1 | ||
|
|
aa8dd932c1 | ||
|
|
adbe3eefb6 | ||
|
|
33f69c0546 | ||
|
|
6c3a87a599 | ||
|
|
13cc010e38 | ||
|
|
e99bf99829 | ||
|
|
2e7dcc1e2a | ||
|
|
b85a036e4a | ||
|
|
7885264b29 | ||
|
|
73dd450147 | ||
|
|
96efa990f9 | ||
|
|
4e0aee9408 | ||
|
|
27d509cfe9 | ||
|
|
ade8e47a8c | ||
|
|
ca52c963c7 | ||
|
|
17acdb5acf | ||
|
|
f6433211ae | ||
|
|
0ec4c66fba | ||
|
|
1faa9d6fd5 | ||
|
|
23d64e720d | ||
|
|
b8b56248bd | ||
|
|
33929117f9 | ||
|
|
2b1673c9c8 | ||
|
|
702f549a6a | ||
|
|
428741d7cf | ||
|
|
6fa624cf8c | ||
|
|
5f60188b8a | ||
|
|
75a6fdeb58 | ||
|
|
5f3fa92062 | ||
|
|
66077ae48b | ||
|
|
92637303db | ||
|
|
811dfd710b | ||
|
|
b08dc2cadb | ||
|
|
f7c5a097e3 | ||
|
|
5eb3102cd1 | ||
|
|
05825a8a9f | ||
|
|
24353c4372 | ||
|
|
e89ea07626 | ||
|
|
b99c95ba46 | ||
|
|
9432bfe90c | ||
|
|
37bf6da9c8 | ||
|
|
b3ebbd60a2 | ||
|
|
e942394bdb | ||
|
|
4adfcd4fd7 | ||
|
|
c10196afc0 | ||
|
|
49746d1dce | ||
|
|
d46e235c2a | ||
|
|
ee44677d7e | ||
|
|
20057aee2e | ||
|
|
7119679080 | ||
|
|
d869b51a57 | ||
|
|
dbacc81af7 | ||
|
|
b233c13dca | ||
|
|
464be27479 | ||
|
|
d736ac51c0 | ||
|
|
e8b295ff7d | ||
|
|
4a4490d5f1 | ||
|
|
46313be2f5 | ||
|
|
723bfe42e7 | ||
|
|
e35c7dcd72 | ||
|
|
fa83a0573e | ||
|
|
7b97371ab1 | ||
|
|
b17e32baa7 | ||
|
|
cd52b9f0da | ||
|
|
c3d74ffe48 | ||
|
|
a231a96841 | ||
|
|
93b61bf0d3 | ||
|
|
06d39bd303 | ||
|
|
52177b1f60 | ||
|
|
566f7b5e58 | ||
|
|
c8c47768c7 | ||
|
|
62ff567c47 | ||
|
|
ee400f9552 | ||
|
|
9ac7629e2c | ||
|
|
d72ca96a43 | ||
|
|
d0dcb3b554 | ||
|
|
e139e49826 | ||
|
|
3838745fdb | ||
|
|
06a5c70f4d | ||
|
|
62af3fb7b9 | ||
|
|
db302a1055 | ||
|
|
847c91e568 | ||
|
|
2646af106b | ||
|
|
7261b4556b | ||
|
|
071e3cf007 | ||
|
|
164184b484 | ||
|
|
8b6e87abee | ||
|
|
45197b188e | ||
|
|
559553b169 | ||
|
|
84ec4068de | ||
|
|
aea87be19e | ||
|
|
9f14744d16 | ||
|
|
1dc8c1dbc8 | ||
|
|
e9812c53cb | ||
|
|
ed98565963 | ||
|
|
1d3233612a | ||
|
|
8362a34cef | ||
|
|
edd16d978f | ||
|
|
4356356305 | ||
|
|
cb88135220 | ||
|
|
498a0fe795 | ||
|
|
0ca1b6afcf | ||
|
|
d3c9f3d6f8 | ||
|
|
df59ca1a45 | ||
|
|
9d84442409 | ||
|
|
5ab9d72e45 | ||
|
|
6060e7ed96 | ||
|
|
7ca7f7a725 | ||
|
|
355b3d3057 | ||
|
|
d5bdf5f89c | ||
|
|
17de7e0f1c | ||
|
|
2cea484428 | ||
|
|
fb3e19ae50 | ||
|
|
99db7fb222 | ||
|
|
49d0272627 | ||
|
|
da30242640 | ||
|
|
811edcde18 | ||
|
|
4934e6471b | ||
|
|
9dbd6659dc | ||
|
|
5ddad4cdb3 | ||
|
|
338c2da24f | ||
|
|
b5cafc0b83 | ||
|
|
c50ced6cc2 | ||
|
|
f4783bda27 | ||
|
|
b55507c8a7 | ||
|
|
827a805966 | ||
|
|
e23ba31eb9 | ||
|
|
02c6fde11e | ||
|
|
d003f6e125 | ||
|
|
1dfff2487f | ||
|
|
4ff9cd39c5 | ||
|
|
9c4ffcc250 | ||
|
|
6b5a04cf83 | ||
|
|
55e61c092e | ||
|
|
de6ab3de22 | ||
|
|
5e1eb58e5a | ||
|
|
d892a4dc23 | ||
|
|
496ea65f39 | ||
|
|
6577b15d08 | ||
|
|
f2e35fad27 | ||
|
|
81c48aa43d | ||
|
|
0cfa9b52ae | ||
|
|
48b92c163f | ||
|
|
b7575b39c4 | ||
|
|
ae2f002b44 | ||
|
|
89c312691e | ||
|
|
1d23affbc5 | ||
|
|
26ffaa263b | ||
|
|
ca5e6160b7 | ||
|
|
6d60ff6ea1 | ||
|
|
43ae26f146 | ||
|
|
3e01f70468 | ||
|
|
b9f1dd7691 | ||
|
|
a7bed4fc7c | ||
|
|
7ca49dc91d | ||
|
|
645ee8a42a | ||
|
|
115dd6f095 | ||
|
|
0e03165467 | ||
|
|
6574f4106e | ||
|
|
8e7fcd9ee1 | ||
|
|
ad63e1e698 | ||
|
|
d784526dae | ||
|
|
79d480e1e7 | ||
|
|
b3b2ba31f7 | ||
|
|
7f78bc3c6d | ||
|
|
f508f30fb6 | ||
|
|
d20a05161a | ||
|
|
6769ab2797 | ||
|
|
85867cbe94 | ||
|
|
5e8d3988a2 | ||
|
|
1cd0a08575 | ||
|
|
efd71af2a1 | ||
|
|
2ea80c29fa | ||
|
|
e3fc0d5e78 | ||
|
|
33f42aacca | ||
|
|
c85bf83e88 | ||
|
|
060b6ce148 | ||
|
|
35618b4712 | ||
|
|
cd2e99e980 | ||
|
|
0359ae8f40 | ||
|
|
972d39234f | ||
|
|
798349fce6 | ||
|
|
9612fda886 | ||
|
|
4b217efb84 | ||
|
|
555cfb3059 | ||
|
|
c0d1d6926c | ||
|
|
fca8fcec3e | ||
|
|
6844d5dcad | ||
|
|
d759e97166 | ||
|
|
cbfc737d79 | ||
|
|
ab64bf6fb1 | ||
|
|
0b0d20021c | ||
|
|
932a6f6b77 | ||
|
|
1318760ad2 | ||
|
|
15a403a98d | ||
|
|
a92b7c1b16 | ||
|
|
0c54013ee3 | ||
|
|
ca5d1e7a8d | ||
|
|
40a39e2270 | ||
|
|
982530b186 | ||
|
|
fadc08445a | ||
|
|
783381c163 | ||
|
|
5f26bee7c8 | ||
|
|
2be57d0833 | ||
|
|
6e6748f051 | ||
|
|
a8d544d9b3 | ||
|
|
5f1490e1bd | ||
|
|
2c3e557b5c | ||
|
|
08df4b8971 | ||
|
|
11f58ea896 | ||
|
|
15f3b4b6d1 | ||
|
|
35270e50c2 | ||
|
|
8c975657e7 | ||
|
|
03cb3b9db1 | ||
|
|
19ad942739 | ||
|
|
3cf452b923 | ||
|
|
2a6f9aa155 | ||
|
|
570455b21d | ||
|
|
dccdf9e66c | ||
|
|
dd4d5bb1e0 | ||
|
|
842e4aaa0d | ||
|
|
ebb09cd9c4 | ||
|
|
9a6df07d3d | ||
|
|
c59c429a69 | ||
|
|
69f9d0c916 | ||
|
|
56edbe3804 | ||
|
|
94c4a18541 | ||
|
|
bdcf8d626d | ||
|
|
576b40b1b0 | ||
|
|
954575a19d | ||
|
|
47bbe36725 | ||
|
|
1a8f7e830c | ||
|
|
dfc85b7291 | ||
|
|
1457b80617 | ||
|
|
dba40b35f2 | ||
|
|
e9d95f1a25 | ||
|
|
67e40a2b16 | ||
|
|
25f5f14d35 | ||
|
|
dfda9cc007 | ||
|
|
e39b29fc48 | ||
|
|
4c17ba4fc0 | ||
|
|
4511f7ac50 | ||
|
|
b9f76f11bb | ||
|
|
17841a20e3 | ||
|
|
d90d40b5d1 | ||
|
|
d2e6a0583a | ||
|
|
b2c9277e66 | ||
|
|
31c332af93 | ||
|
|
90af60a6ef | ||
|
|
80c7566203 | ||
|
|
efb1fdbec8 | ||
|
|
bada8cc259 | ||
|
|
c3a076176e | ||
|
|
2cda3070d5 | ||
|
|
728bed8c98 | ||
|
|
6e72ea7442 | ||
|
|
a4aac27fd3 | ||
|
|
5b8816dcb7 | ||
|
|
fc0df97278 | ||
|
|
592658e874 | ||
|
|
5a70e42428 | ||
|
|
e4caa98901 | ||
|
|
c211a7c685 | ||
|
|
7876c078bc | ||
|
|
aedadfc779 | ||
|
|
2046a6b9e5 | ||
|
|
d1d53b2bbf | ||
|
|
950aa1c743 | ||
|
|
a9572bf88a | ||
|
|
5a93f50394 | ||
|
|
60af1cbcc2 | ||
|
|
8952ef933b | ||
|
|
b350d5da59 | ||
|
|
6df3bf3644 | ||
|
|
35840a2c5c | ||
|
|
090b89cc76 | ||
|
|
f05d47ddd6 | ||
|
|
fcfd4bef2d | ||
|
|
18dc8fbc26 | ||
|
|
d9ceee1c75 | ||
|
|
097281f459 | ||
|
|
087748c48e | ||
|
|
e35187741b | ||
|
|
574e911375 | ||
|
|
ce945bd2f0 | ||
|
|
8efa6f407d | ||
|
|
85bd4621db | ||
|
|
6c3759d78d | ||
|
|
4af08a19f8 | ||
|
|
c14650caec | ||
|
|
c7a9e07909 | ||
|
|
185baf036b | ||
|
|
3523613826 | ||
|
|
782ade7223 | ||
|
|
ba40eccc90 | ||
|
|
4191741fb6 | ||
|
|
7a52f44bd4 | ||
|
|
efa5485744 | ||
|
|
c81ac51e5c | ||
|
|
fd17cf2e3c | ||
|
|
d4b0999415 | ||
|
|
03f8ec89db | ||
|
|
f633ab688b | ||
|
|
808621ab22 | ||
|
|
6ed5feda2b | ||
|
|
964066c0de | ||
|
|
a913e93667 | ||
|
|
a7b99fc463 | ||
|
|
6f252f4704 | ||
|
|
b596c34bed | ||
|
|
b0cd96478c | ||
|
|
387ec712e6 | ||
|
|
f2a99d7d74 | ||
|
|
8b6b15dccc | ||
|
|
bbb72b7b6b | ||
|
|
785bad388b | ||
|
|
cf10df6c68 | ||
|
|
5b55dcbfbb | ||
|
|
e7dbbd16a5 | ||
|
|
62f0457961 | ||
|
|
8879b57b73 | ||
|
|
e49a6feabb | ||
|
|
feb2dd2835 | ||
|
|
5e34f3dc01 | ||
|
|
0031d76f2a | ||
|
|
00ee738fdd | ||
|
|
8d0a823124 | ||
|
|
9729df1756 | ||
|
|
cdb419d65e | ||
|
|
d6f9a41539 | ||
|
|
1daa258b8a | ||
|
|
560c257bd0 | ||
|
|
d7aae417b1 | ||
|
|
c39858aac0 | ||
|
|
818aed35e2 | ||
|
|
2ed524f07e | ||
|
|
5f1eefd03f | ||
|
|
522b4d7576 | ||
|
|
d6dcb08407 | ||
|
|
806c756a2d | ||
|
|
2494701347 | ||
|
|
1c10272e15 | ||
|
|
0badcf381a | ||
|
|
35558e6bd7 | ||
|
|
7659747e6f | ||
|
|
53189fb2d7 | ||
|
|
450c178d77 | ||
|
|
a20eb6df1b | ||
|
|
d73425061a | ||
|
|
0051d5ac88 | ||
|
|
76920413d9 | ||
|
|
44d9a8ba4e | ||
|
|
38dc548a87 | ||
|
|
dca6386234 | ||
|
|
2a701a1aac | ||
|
|
0cb297abc9 | ||
|
|
821a23535b | ||
|
|
bc80599178 | ||
|
|
941374b573 | ||
|
|
1886893d66 | ||
|
|
7291772b1f | ||
|
|
8e28721057 | ||
|
|
8d2120566e | ||
|
|
67341c4cbe | ||
|
|
f8188ddfee | ||
|
|
29c546b426 | ||
|
|
0d259b898b | ||
|
|
c136b80af5 | ||
|
|
83b87d53c1 | ||
|
|
1e99f1ee41 | ||
|
|
d7fe136d54 | ||
|
|
cd7a0f829f | ||
|
|
cf3f1ef284 | ||
|
|
a737864a1c | ||
|
|
c68a6805b3 | ||
|
|
bd3d5a17b4 | ||
|
|
d4b577114b | ||
|
|
713effb6e4 | ||
|
|
b92e2ab6b1 | ||
|
|
05baf94b43 | ||
|
|
a76288b99a | ||
|
|
557e95c0a3 | ||
|
|
0a83fa90bb | ||
|
|
daeb143177 | ||
|
|
9f752120c0 | ||
|
|
80a1e972fc | ||
|
|
5e65d48ffa | ||
|
|
752ef08141 | ||
|
|
070e0e8b0a | ||
|
|
2ed0728cef | ||
|
|
a79b9e9d4a | ||
|
|
24572daccc | ||
|
|
1770563fff | ||
|
|
4cd96483f6 | ||
|
|
8f1783b8a7 | ||
|
|
be72eaa327 | ||
|
|
61bded1d82 | ||
|
|
4b3937373a | ||
|
|
08bf0907d4 | ||
|
|
eb044f8787 | ||
|
|
8d0c77403c | ||
|
|
601062455c | ||
|
|
5be788ba36 | ||
|
|
281559b31b | ||
|
|
ef1aa4e5e9 | ||
|
|
7b7ac04895 | ||
|
|
60f5b2b275 | ||
|
|
c0f9d7fdb7 | ||
|
|
fc4d6f73a6 | ||
|
|
295169f9d9 | ||
|
|
1a3797a699 | ||
|
|
977e106924 | ||
|
|
8d76d4016d | ||
|
|
9f92657f76 | ||
|
|
9f341f9ce5 | ||
|
|
2098871509 | ||
|
|
3d00c86f4c | ||
|
|
90037b85d1 | ||
|
|
6ec145d4b4 | ||
|
|
40a58c392f | ||
|
|
9733cd59bb | ||
|
|
b3caf7bfa8 | ||
|
|
23fbb89805 | ||
|
|
bd1adaf7ea | ||
|
|
0c9e23fc0c | ||
|
|
f091ce64ac | ||
|
|
55a69ebea6 | ||
|
|
d6b3850562 | ||
|
|
80197cf493 | ||
|
|
8ee564c216 | ||
|
|
5bfeb60a83 | ||
|
|
1ab4a2f870 | ||
|
|
2a627059ac | ||
|
|
3f739acf24 | ||
|
|
d3454ceb94 | ||
|
|
59695c05b1 | ||
|
|
f0969c9692 | ||
|
|
18dd8154e2 | ||
|
|
4c58797607 | ||
|
|
d620f1e529 | ||
|
|
e0b436f8e1 | ||
|
|
e99d1e97de | ||
|
|
1fb74b4fa2 | ||
|
|
473f6ea9f0 | ||
|
|
0b04c52119 | ||
|
|
8383945acc | ||
|
|
fce9d51122 | ||
|
|
7c3ee84295 | ||
|
|
a8db25f48b | ||
|
|
20705ca311 | ||
|
|
af33c6b549 | ||
|
|
2b8775dff7 | ||
|
|
ea81dd9e2e | ||
|
|
7dcb102733 | ||
|
|
aa0e32060e | ||
|
|
2e8f37aca5 | ||
|
|
195d769c4b | ||
|
|
70f08b5baa | ||
|
|
9e987ac6a2 | ||
|
|
de03f172ad | ||
|
|
0078944486 | ||
|
|
d3f796ac59 | ||
|
|
3d38080d54 | ||
|
|
fe07962f9c | ||
|
|
938a72b2db | ||
|
|
a8827b1ed6 | ||
|
|
ff40cd71ac | ||
|
|
39626d8cfd | ||
|
|
67ad29e716 | ||
|
|
8bbf9b13af | ||
|
|
cb21851c74 | ||
|
|
8d611bec6e | ||
|
|
1de1dc7314 | ||
|
|
aca79af7de | ||
|
|
da6eea9b38 | ||
|
|
dcf7310b2d | ||
|
|
c2e8ba0fba | ||
|
|
a5360255ba | ||
|
|
5690a2b493 | ||
|
|
ff0429a802 | ||
|
|
46cdc83b81 | ||
|
|
76dfef7117 | ||
|
|
de2aeb9fc2 | ||
|
|
17a5b44205 | ||
|
|
f99e347878 | ||
|
|
f5a0c17322 | ||
|
|
8442c3942d | ||
|
|
15cd35f67f | ||
|
|
459801d6e0 | ||
|
|
2c43d64302 | ||
|
|
fd802db39f | ||
|
|
765754d39d | ||
|
|
f7f6b288eb | ||
|
|
11ee9540bf | ||
|
|
f6319bd706 | ||
|
|
0912015a5c | ||
|
|
4e7575fc7a | ||
|
|
6531a6116d | ||
|
|
9a33561e80 | ||
|
|
88229a0f2a | ||
|
|
120394cc45 | ||
|
|
1adfe0fe18 | ||
|
|
d57c178a62 | ||
|
|
6faa83bc6a | ||
|
|
9fb4e019fa | ||
|
|
74551597b1 | ||
|
|
37c269d0ba | ||
|
|
5d8b526b80 | ||
|
|
83dcc3e061 | ||
|
|
4ed58463f7 | ||
|
|
85b2056dc7 | ||
|
|
94ca911dc1 | ||
|
|
24420c2191 | ||
|
|
59f904d8de | ||
|
|
755f98e768 | ||
|
|
aadc797225 | ||
|
|
5c882bdfa3 | ||
|
|
60f9450594 | ||
|
|
ff52ba7f7b | ||
|
|
0fbcea45d6 | ||
|
|
ca6d430561 | ||
|
|
91601b3bf4 | ||
|
|
cdd70596df | ||
|
|
7e186f9a63 | ||
|
|
a94e117ede | ||
|
|
662cb30372 | ||
|
|
bd3aba5d6a | ||
|
|
29ed6d24bf | ||
|
|
e2c5c20896 | ||
|
|
7c4b6cb0d9 | ||
|
|
aced2904ff | ||
|
|
17eb1fca7c | ||
|
|
2511d1193a | ||
|
|
e9056f5f95 | ||
|
|
a9893ca79a | ||
|
|
f39f7c28f0 | ||
|
|
a807065ccc | ||
|
|
67532e916c | ||
|
|
3920b4dae8 | ||
|
|
d70a335dce | ||
|
|
8001921112 | ||
|
|
d7cb09bd18 | ||
|
|
e11710714c | ||
|
|
5b0bfc298f | ||
|
|
0383f7f19d | ||
|
|
23a43c6e0f | ||
|
|
eb946690d2 | ||
|
|
c090fdbdf1 | ||
|
|
de279099e5 | ||
|
|
6bd8db3c99 | ||
|
|
6176f14141 | ||
|
|
512e54ff85 | ||
|
|
a5aa569fe3 | ||
|
|
e2e593a036 | ||
|
|
9ce0a7b49d | ||
|
|
4ab0d74250 | ||
|
|
b5f85ba77d | ||
|
|
b6ee33c6e1 | ||
|
|
1c69b15c7c | ||
|
|
54cd2bee58 | ||
|
|
5bf02b16a0 | ||
|
|
594cb8507b | ||
|
|
78aba6e4cd | ||
|
|
ccdcdb2a46 | ||
|
|
b121e41ec3 | ||
|
|
05d8e56ffd | ||
|
|
4345c7a712 | ||
|
|
12d5e33dc9 | ||
|
|
6d70a82757 | ||
|
|
47d52d4eca | ||
|
|
4973b0f88a | ||
|
|
d1542bf549 | ||
|
|
2b7727aad1 | ||
|
|
fd775454ca | ||
|
|
8e09a389c4 | ||
|
|
aa3ae01878 | ||
|
|
c123676825 | ||
|
|
d60c22572b | ||
|
|
1d7ce36791 | ||
|
|
34e8baab9a | ||
|
|
a219d774fe | ||
|
|
005042e973 | ||
|
|
d301d69fbf | ||
|
|
34af02caca | ||
|
|
91025d1dd6 | ||
|
|
c9bab31a7f | ||
|
|
2f60e91a9b | ||
|
|
018affe6d0 | ||
|
|
aeb27ccfdb | ||
|
|
939866faab | ||
|
|
98f968f2ee | ||
|
|
864f1a3366 | ||
|
|
f42b10242f | ||
|
|
853134017d | ||
|
|
d3999e06d1 | ||
|
|
0b0b37cffe | ||
|
|
a13f5888d5 | ||
|
|
c8807438ce | ||
|
|
3f106afd00 | ||
|
|
d925057e11 | ||
|
|
bbafb2eb27 | ||
|
|
434bc13812 | ||
|
|
5c592f7dd9 | ||
|
|
9bf1ba2f7e | ||
|
|
724e4a3585 | ||
|
|
f69711fc78 | ||
|
|
04e2520dbb | ||
|
|
7a35fb5403 | ||
|
|
63f97b38eb | ||
|
|
b8541929c8 | ||
|
|
329f17ac7c | ||
|
|
5dcab07c54 | ||
|
|
1f798affb9 | ||
|
|
a2ecdf4249 | ||
|
|
71fdc063bd | ||
|
|
887d78a9ad | ||
|
|
00557a5475 | ||
|
|
e18d27b78a | ||
|
|
228fea4628 | ||
|
|
e64dacb40e | ||
|
|
fff01f24bf | ||
|
|
e55dee3807 | ||
|
|
8c2ce33c0b | ||
|
|
135394f511 | ||
|
|
fe065dc851 | ||
|
|
445c7791a7 | ||
|
|
686ba84128 | ||
|
|
3394c01826 | ||
|
|
d67ea8c7ad | ||
|
|
535046430a | ||
|
|
9aebdff219 | ||
|
|
90da930131 | ||
|
|
fbdc1b1e3d | ||
|
|
e942df755b | ||
|
|
91c8be3628 | ||
|
|
d56c03840b | ||
|
|
d3d5cdf305 | ||
|
|
af43ce73e5 | ||
|
|
84b52e92f4 | ||
|
|
0aa7d11cc9 | ||
|
|
933f7cecae | ||
|
|
8e73e55336 | ||
|
|
55c015c136 | ||
|
|
bde6c6685e | ||
|
|
58387b91f9 | ||
|
|
6f74820cfc | ||
|
|
af72f198ba | ||
|
|
3fc831f9eb | ||
|
|
9f660862ec | ||
|
|
1354671c90 | ||
|
|
1175a226e3 | ||
|
|
358b72bb12 | ||
|
|
6c408c885a | ||
|
|
9cf04dff6a | ||
|
|
6bdcfecbcf | ||
|
|
3f21fe60fc | ||
|
|
b2c290e40e | ||
|
|
bc5b2fa12c | ||
|
|
32a9554c92 | ||
|
|
afc1ed60f7 | ||
|
|
91018f4f24 | ||
|
|
fb086b57a8 | ||
|
|
3fc39a6efb | ||
|
|
6062ac7c37 | ||
|
|
caf7854a3c | ||
|
|
6def0892ea | ||
|
|
1c0744bde6 | ||
|
|
7591e07b7c | ||
|
|
35ab93f484 | ||
|
|
dcf5e52b62 | ||
|
|
aae521d086 | ||
|
|
78e6508e22 | ||
|
|
4d9517f0b4 | ||
|
|
a331aa0221 | ||
|
|
679cabb532 | ||
|
|
7332350e85 | ||
|
|
69f4dda74a | ||
|
|
c19c3bd15a | ||
|
|
76ff92b811 | ||
|
|
4250637e7d | ||
|
|
08d1da106e | ||
|
|
9e31a0536e | ||
|
|
2960d37d71 | ||
|
|
c63af5fc01 | ||
|
|
fc6eff13b5 | ||
|
|
e7ee1ccf45 | ||
|
|
98bf69f8f1 | ||
|
|
0363fbc411 | ||
|
|
e3bc92ae53 | ||
|
|
27e76021e9 | ||
|
|
93dde29979 | ||
|
|
d42dcd60cd | ||
|
|
ade89799f5 | ||
|
|
6e118ce50f | ||
|
|
34be9df773 | ||
|
|
7356a67780 | ||
|
|
f77949ef3b | ||
|
|
26b8b3fc53 | ||
|
|
38cc79a54f | ||
|
|
ec113aefb9 | ||
|
|
913e1570bd | ||
|
|
e2aaf22d5d | ||
|
|
3304589043 | ||
|
|
0247642bb6 | ||
|
|
19f5aa165c | ||
|
|
1756499b11 | ||
|
|
15f9a93c25 | ||
|
|
e99287734b | ||
|
|
8349dde0f1 | ||
|
|
59907ebc0e | ||
|
|
da91d6ac66 | ||
|
|
7548115a0e | ||
|
|
8ca37dd1c7 | ||
|
|
31e9e4bb76 | ||
|
|
84a322ab23 | ||
|
|
707f217b2d | ||
|
|
e6b45a66ec | ||
|
|
b34c40dcf5 | ||
|
|
699ebe2f0b | ||
|
|
e1c6f216c2 | ||
|
|
630b73bfa8 | ||
|
|
877f16e5a5 | ||
|
|
fbe1fa9dcc | ||
|
|
5b65cc55a2 | ||
|
|
97769737d0 | ||
|
|
5b0a5c4050 | ||
|
|
4b9f8e766d | ||
|
|
96002646f1 | ||
|
|
5ef6904ec3 | ||
|
|
2f53da5e7a | ||
|
|
58f1cc0b5f | ||
|
|
98c70b73f2 | ||
|
|
6bd02a3ab5 | ||
|
|
372e7a6cd4 | ||
|
|
211004bb0d | ||
|
|
80d2fff1a1 | ||
|
|
cf3cf413c8 | ||
|
|
e218811ca3 | ||
|
|
a9f2274bd8 | ||
|
|
92179ff990 | ||
|
|
4aac210a83 | ||
|
|
245e3122df | ||
|
|
ffc5fa3a2b | ||
|
|
f5042cce34 | ||
|
|
712c67b4ae | ||
|
|
5dcfb8ad66 | ||
|
|
673ff5eb2c | ||
|
|
92fc3f07ba | ||
|
|
cff90cf3f9 | ||
|
|
a33c53a36b | ||
|
|
2370d4fa02 | ||
|
|
f128d904a5 | ||
|
|
fb1039f2ab | ||
|
|
923ce98e42 | ||
|
|
8e935b58a2 | ||
|
|
c93e972543 | ||
|
|
1cb66f5262 | ||
|
|
648e82f05d | ||
|
|
1dbe60b8b7 | ||
|
|
9631fa7407 | ||
|
|
9befc682ee | ||
|
|
fbeb674479 | ||
|
|
af641d20a7 | ||
|
|
d02587750c | ||
|
|
241a4b3d45 | ||
|
|
496e81a25a | ||
|
|
f39b081253 | ||
|
|
c96f7f13da | ||
|
|
1bdc4b2006 | ||
|
|
3915fecf80 | ||
|
|
f94f06825c | ||
|
|
2ddbf8975a | ||
|
|
68a3cbe384 | ||
|
|
b9432d1296 | ||
|
|
e202a29a9a | ||
|
|
3755bffcc2 | ||
|
|
2a0a305300 | ||
|
|
70e2aadc18 | ||
|
|
a1c8aaf666 | ||
|
|
8ee470aaeb | ||
|
|
37e4858cd0 | ||
|
|
a27072bebb | ||
|
|
47059f45fe | ||
|
|
daced8041d | ||
|
|
b053ae6a65 | ||
|
|
42f60ecb36 | ||
|
|
550862f41a | ||
|
|
6838f74fe0 | ||
|
|
2ff30d067c | ||
|
|
84406b3e2c | ||
|
|
c323969bdd | ||
|
|
43cbbdbea0 | ||
|
|
1d3f76df71 | ||
|
|
33cb93ad0b | ||
|
|
4dc9179f4b | ||
|
|
26a5ec9aa0 | ||
|
|
883ea3113c | ||
|
|
62b7c08bb3 | ||
|
|
a85fa66cc8 | ||
|
|
9ba010c629 | ||
|
|
3ef3f2b6f0 | ||
|
|
1401d909e8 | ||
|
|
3233322622 | ||
|
|
e373f1fd73 | ||
|
|
dc25cd6f3a | ||
|
|
0e31d41d4e | ||
|
|
b7a7600465 | ||
|
|
111a2f3057 | ||
|
|
760cecac8d | ||
|
|
6f8b4395ec | ||
|
|
5506f8767c | ||
|
|
5887945828 | ||
|
|
25e98179be | ||
|
|
78ebe3fa5a | ||
|
|
a8e8e51b14 | ||
|
|
f97d194934 | ||
|
|
4661cc7403 | ||
|
|
bc11929395 | ||
|
|
caf37bc92e | ||
|
|
5de447b0cb | ||
|
|
5dbaced4a2 | ||
|
|
43f8a1f5de | ||
|
|
f57efa1899 | ||
|
|
592522ceaf | ||
|
|
4f84e6d9e2 | ||
|
|
6f08903f07 | ||
|
|
220cd010bd | ||
|
|
68e8a0f0d9 | ||
|
|
b23dbf9f34 | ||
|
|
1d0b5b507a | ||
|
|
b83d8104cd | ||
|
|
bf6e1053cf | ||
|
|
c3dd928e29 | ||
|
|
aba6c2b89d | ||
|
|
9c0a386246 | ||
|
|
bba3bb7556 | ||
|
|
c1422864b5 | ||
|
|
31a693b99a | ||
|
|
804534fbc9 | ||
|
|
1bc6532c16 | ||
|
|
b48bf7470d | ||
|
|
1ca9ce5ef4 | ||
|
|
789f2ecbe7 | ||
|
|
ee7d1d0701 | ||
|
|
4e3aa250c4 | ||
|
|
3647a6ddcd | ||
|
|
79aaa85a51 | ||
|
|
392a543eff | ||
|
|
eb6345de60 | ||
|
|
0fd3b7a00a | ||
|
|
bd51b80fa5 | ||
|
|
15c900839b | ||
|
|
2fd463e979 | ||
|
|
de8660a96a | ||
|
|
1e9cb272f1 | ||
|
|
72b1144b8c | ||
|
|
348fe0e210 | ||
|
|
cf1f46e1ca | ||
|
|
f052cbee19 | ||
|
|
1f5e8670e1 | ||
|
|
3b491d0f73 | ||
|
|
26a2b8d26d | ||
|
|
a7fd6f9007 | ||
|
|
8ed44e8dfb | ||
|
|
f617c1131a | ||
|
|
5ca47f19d7 | ||
|
|
9044fcbb5f | ||
|
|
7a82810b59 | ||
|
|
0ccdf3d0e6 | ||
|
|
ca7f0852df | ||
|
|
780b962336 | ||
|
|
bbeb840916 | ||
|
|
f4ec465bfc | ||
|
|
57c86a953d | ||
|
|
0fff8656e9 | ||
|
|
7b929636ee | ||
|
|
76835a2e00 | ||
|
|
1b171b02ac | ||
|
|
a8dc362572 | ||
|
|
7c72f8ee6c | ||
|
|
c39a54609b | ||
|
|
ce6b767b47 | ||
|
|
7ba4d3464f | ||
|
|
03def138fe | ||
|
|
9d99af5329 | ||
|
|
c8d850dbad | ||
|
|
01ea357744 | ||
|
|
ad9e83a90f | ||
|
|
6c9d96e811 | ||
|
|
f840e5192c | ||
|
|
ba9272dd05 | ||
|
|
675db3a211 | ||
|
|
1fc7ff878e | ||
|
|
b643d148b1 | ||
|
|
5804c995e1 | ||
|
|
13a6f85320 | ||
|
|
8b4582f111 | ||
|
|
cd3bf7c56f | ||
|
|
ee1595dcd5 | ||
|
|
310086deed | ||
|
|
5d27f50f2f | ||
|
|
9d0330d5bd | ||
|
|
d5074f74bb | ||
|
|
ea0cf7c87b | ||
|
|
a56164c8e0 | ||
|
|
cd95bb22ea | ||
|
|
1745ecd8ac | ||
|
|
75d66b9c62 | ||
|
|
2ff9f55001 | ||
|
|
ce446dbdc2 | ||
|
|
dd2add82ee | ||
|
|
40d9855df2 | ||
|
|
ecf7adba15 | ||
|
|
931c847e2b | ||
|
|
8230d9bff8 | ||
|
|
64cc14e9e6 | ||
|
|
d5b8971ff3 | ||
|
|
7ea837a18c | ||
|
|
b8b8473b6d | ||
|
|
894dbae455 | ||
|
|
2c11425868 | ||
|
|
a2ea0abf7f | ||
|
|
be8f8e66a4 | ||
|
|
9fadfffb9d | ||
|
|
76f23acfa1 | ||
|
|
6950aeafcc | ||
|
|
cd160a66c9 | ||
|
|
a7376968d2 | ||
|
|
fd96a2af34 | ||
|
|
a90cd1a45c | ||
|
|
8e92600ddd | ||
|
|
5e75c310ba | ||
|
|
20cab07c29 | ||
|
|
f466d7a6f1 | ||
|
|
dc46f535ae | ||
|
|
27fd5d6d6a | ||
|
|
18a3c3302f | ||
|
|
97959a00d7 | ||
|
|
5e92b2906b | ||
|
|
126ed14313 | ||
|
|
712d0374f7 | ||
|
|
4b49b2e3cf | ||
|
|
d85c21994f | ||
|
|
6b33a5f954 | ||
|
|
ed22afe5fb | ||
|
|
843391c745 | ||
|
|
ad6699e0c4 | ||
|
|
43137cf595 | ||
|
|
db6dc49b0b | ||
|
|
593170d1de | ||
|
|
0eace2fefe | ||
|
|
abd65e21c6 | ||
|
|
e21104a865 | ||
|
|
3ecf63fa66 | ||
|
|
762dcf0780 | ||
|
|
75ee9b5333 | ||
|
|
e161bdc5be | ||
|
|
bb3d6e8552 | ||
|
|
189c2f4989 | ||
|
|
f28389c87b | ||
|
|
7461592a16 | ||
|
|
50b0e72f7b | ||
|
|
76e73cfec8 | ||
|
|
5d8ec172a6 | ||
|
|
0953140b53 | ||
|
|
6c2825997a | ||
|
|
accc6eb91a | ||
|
|
eab8cdc640 | ||
|
|
dc9d0f256d | ||
|
|
b60d6404d8 | ||
|
|
08fe4b3210 | ||
|
|
0e60a118d0 | ||
|
|
4b78b4124e | ||
|
|
0d6d9af7ab | ||
|
|
41cd36b830 | ||
|
|
242be55771 | ||
|
|
7cf47ea5b5 | ||
|
|
6fb0012833 | ||
|
|
9d1ce9c0df | ||
|
|
5947e4e9fd | ||
|
|
e992aa6a54 | ||
|
|
2cf218610e | ||
|
|
fe6f0aeb26 | ||
|
|
bd04c6fb67 | ||
|
|
c5637baa06 | ||
|
|
f8426a2c44 | ||
|
|
0c791d1e76 | ||
|
|
c4a89d29f6 | ||
|
|
306ff5649a | ||
|
|
1c652dfc5d | ||
|
|
1f61e7f8f4 | ||
|
|
1a5f190e47 | ||
|
|
570033448c | ||
|
|
f44b655513 | ||
|
|
0aa720fa26 | ||
|
|
d44f3f84f8 | ||
|
|
d426db3d27 | ||
|
|
0fd88d7c8f | ||
|
|
4e84ac4db8 | ||
|
|
da5c8a121f | ||
|
|
76c36688d0 | ||
|
|
651c8d3bc4 | ||
|
|
a8a946d71d | ||
|
|
c5c005609e | ||
|
|
97886f9353 | ||
|
|
a784bd0797 | ||
|
|
4aacf65678 | ||
|
|
dd1ba7633e | ||
|
|
a4ea5a4054 | ||
|
|
69060b1382 | ||
|
|
a6562ea77d | ||
|
|
ad3563096a | ||
|
|
c5f02c1986 | ||
|
|
7ef5d20cad | ||
|
|
98b619c3a7 | ||
|
|
5b75919f95 | ||
|
|
20b76e09e3 | ||
|
|
67fca4cb01 | ||
|
|
606715b2cd | ||
|
|
ce04b35032 | ||
|
|
ec7f244ee9 | ||
|
|
a5b206f398 | ||
|
|
306a05f9ff | ||
|
|
81f8350616 | ||
|
|
760ca6adc4 | ||
|
|
ffb35ff5c3 | ||
|
|
8eda06131b | ||
|
|
5b55f9ecb3 | ||
|
|
3417e0b0fc | ||
|
|
79ed144b0f | ||
|
|
8e5cf6589c | ||
|
|
fc67cca882 | ||
|
|
eea2287068 | ||
|
|
5fe5de7511 | ||
|
|
4a6b9972dd | ||
|
|
256a16a8a3 | ||
|
|
30e0891d3d | ||
|
|
8147ccdf76 | ||
|
|
26ab286630 | ||
|
|
738807883e | ||
|
|
03a0988ce8 | ||
|
|
7de892eeb4 | ||
|
|
8c4e91a653 | ||
|
|
8f77030473 | ||
|
|
546d0bd3d1 | ||
|
|
5d53b544d3 | ||
|
|
6dc8fac122 | ||
|
|
8114f8562b | ||
|
|
c79fa187b9 | ||
|
|
237ec68b0e | ||
|
|
4ebf4f6e55 | ||
|
|
4d86593f3c | ||
|
|
ec050ccbc4 | ||
|
|
f19cade50f | ||
|
|
a2f35aaf67 | ||
|
|
e5c4b6b345 | ||
|
|
bad978feb2 | ||
|
|
bea9152aa8 | ||
|
|
f788f988ea | ||
|
|
d04ffd258b | ||
|
|
24cfa7f1bb | ||
|
|
94a1d09ac7 | ||
|
|
230a75091b | ||
|
|
4ad68ec305 | ||
|
|
ef776ab893 | ||
|
|
f8ff0f6bef | ||
|
|
bc7122f6e2 | ||
|
|
e5963dae48 | ||
|
|
1ebda8fa0e | ||
|
|
9af532e662 | ||
|
|
9d064a3927 | ||
|
|
d6edcfb486 | ||
|
|
1d5a914c1c | ||
|
|
666bc9ee4e | ||
|
|
e545e33d5f | ||
|
|
326e8b9fc1 | ||
|
|
0d1fc73f21 | ||
|
|
50a1853560 | ||
|
|
35e158d80b | ||
|
|
7225b14002 | ||
|
|
85838a8966 | ||
|
|
d29590f583 | ||
|
|
467c3e3a1f | ||
|
|
b484b3b696 | ||
|
|
b45d50ccc2 | ||
|
|
78e0ba82b0 | ||
|
|
c39c55cb2d | ||
|
|
cf004cbc7e | ||
|
|
9948250723 | ||
|
|
47afa058a8 | ||
|
|
40e892bb36 | ||
|
|
bc6f3beb9c | ||
|
|
f9e1f32adb | ||
|
|
93f96835f8 | ||
|
|
22f4d81f3e | ||
|
|
0d1f80ccb5 | ||
|
|
4e87dd89bf | ||
|
|
60e4b57ad8 | ||
|
|
ce5805a955 | ||
|
|
dad0715d79 | ||
|
|
52d85341ae | ||
|
|
7b2869338d | ||
|
|
ab35b2837f | ||
|
|
863473a856 | ||
|
|
be6af69dc7 | ||
|
|
3a80dc7f3e | ||
|
|
bd42a2acb1 | ||
|
|
7f0e708322 | ||
|
|
8cbfe5d24a | ||
|
|
bab9f532f2 | ||
|
|
09cce943cb | ||
|
|
702021e099 | ||
|
|
e94c46c00c | ||
|
|
9d311ff2c0 | ||
|
|
108434b95c | ||
|
|
c30cb73a5b | ||
|
|
b7c56594b3 | ||
|
|
2b700fae9d | ||
|
|
ef783d8da7 | ||
|
|
a4f1833629 | ||
|
|
2c756fa1d7 | ||
|
|
385086b460 | ||
|
|
72a4715dff | ||
|
|
7e6043f04f | ||
|
|
576be36249 | ||
|
|
c52c592f4c | ||
|
|
d9ffd2f544 | ||
|
|
a684c51c9b | ||
|
|
3fa4ac080e | ||
|
|
9c8b2a9958 | ||
|
|
498666bdc3 | ||
|
|
3d3612e252 | ||
|
|
e9920d8a04 | ||
|
|
acc5096eef | ||
|
|
6717240650 | ||
|
|
ef0a2c714b | ||
|
|
2cd6403011 | ||
|
|
75e1483e0d | ||
|
|
8a4532ca2d | ||
|
|
13f98c5c18 | ||
|
|
30e71d54e0 | ||
|
|
465753c2de | ||
|
|
e40392ac03 | ||
|
|
1eb9fd6c4d | ||
|
|
78e47fbb5c | ||
|
|
2b59e90c54 | ||
|
|
59a30e6d9b | ||
|
|
e0287fea20 | ||
|
|
4fbf3f16e2 | ||
|
|
de6433d5c2 | ||
|
|
23ef66f33a | ||
|
|
2479e06848 | ||
|
|
f2abe03fcf | ||
|
|
5e7f1a0eaf | ||
|
|
eb9383d49b | ||
|
|
817d17354e | ||
|
|
88e226c686 | ||
|
|
9116dd41bd | ||
|
|
213d64fbd7 | ||
|
|
a8419d68b6 | ||
|
|
87a1c7033e | ||
|
|
6e3fa90c9e | ||
|
|
b2ef40731a | ||
|
|
e2f7030202 | ||
|
|
533519cc9c | ||
|
|
7c85be9435 | ||
|
|
89829093ca | ||
|
|
7cb10a1853 | ||
|
|
33d67c68de | ||
|
|
e46b5719f2 | ||
|
|
353f764119 | ||
|
|
9f437269fb | ||
|
|
45391178c9 | ||
|
|
eddeb49fb6 | ||
|
|
7ab3b5b3bb | ||
|
|
00d5f886e3 | ||
|
|
49daeaf805 | ||
|
|
d03fbf5dfb | ||
|
|
cb72a80fe0 | ||
|
|
71d81f1f75 | ||
|
|
b0c51d198c | ||
|
|
71335e5b99 | ||
|
|
c9b23ca055 | ||
|
|
7983ec84a7 | ||
|
|
8cb2a68694 | ||
|
|
485122035c | ||
|
|
5c4dba1418 | ||
|
|
d6eb28400b | ||
|
|
526c61c657 | ||
|
|
fd6ec05916 | ||
|
|
6789dfc5f5 | ||
|
|
193a652e6a | ||
|
|
4d12be9867 | ||
|
|
87e7f4f688 | ||
|
|
5eeaff8235 | ||
|
|
7d2e872828 | ||
|
|
097938e6c8 | ||
|
|
d57b84e290 | ||
|
|
fcc07bed90 | ||
|
|
43bda5cd17 | ||
|
|
45c7f064d4 | ||
|
|
4dfc0a78e7 | ||
|
|
82bd583251 | ||
|
|
78f52c05a9 | ||
|
|
d818cbe58c | ||
|
|
4ae4336643 | ||
|
|
25bcd45034 | ||
|
|
f53d6e1c39 | ||
|
|
17a3aa1ddc | ||
|
|
6c78b4b7c0 | ||
|
|
2b634be467 | ||
|
|
c5b8e446f6 | ||
|
|
7bd55dc17c | ||
|
|
009cd96490 | ||
|
|
d0242da304 | ||
|
|
ab44763cb7 | ||
|
|
3a80bb0a09 | ||
|
|
77268e0649 | ||
|
|
1ceb77b4dc | ||
|
|
3430ce7907 | ||
|
|
4ba7ef34d1 | ||
|
|
4515d06465 | ||
|
|
b6a4ca9bc8 | ||
|
|
9b6350d0b0 | ||
|
|
07de0ff0ff | ||
|
|
7d8cd5906c | ||
|
|
1056d2d22d | ||
|
|
d571064b65 | ||
|
|
33eaf2e18b | ||
|
|
a054e5baf3 | ||
|
|
85af357d81 | ||
|
|
d687eed33e | ||
|
|
38b6016dfa | ||
|
|
be2cdf14f3 | ||
|
|
0943f33438 | ||
|
|
4427d91479 | ||
|
|
0c03ed6013 | ||
|
|
0c3c1b390a | ||
|
|
9b09193cfd | ||
|
|
b2cff76722 | ||
|
|
37817667e2 | ||
|
|
f9b2b7940e | ||
|
|
5168b32f86 | ||
|
|
0373758359 | ||
|
|
df94c7aedc | ||
|
|
6bd2de0c42 | ||
|
|
82c31256e1 | ||
|
|
403cbbe0c4 | ||
|
|
9a7e3437ae | ||
|
|
4fa58560bf | ||
|
|
be62b27ce2 | ||
|
|
3be66f3a03 | ||
|
|
089bdaed00 | ||
|
|
0d3674129f | ||
|
|
fce6783be4 | ||
|
|
48bc26e7e3 | ||
|
|
f128fae705 | ||
|
|
800fa31b65 | ||
|
|
2ae4420869 | ||
|
|
8ba042cf88 | ||
|
|
7adf43c1c5 | ||
|
|
d007e5615c | ||
|
|
888eec833c | ||
|
|
2911e63bc2 | ||
|
|
34d247bc4e | ||
|
|
99bc7e5fd3 | ||
|
|
0b1f7995c5 | ||
|
|
f35c28214e | ||
|
|
35fd1365ae | ||
|
|
f493081004 | ||
|
|
e1b5e15431 | ||
|
|
1aba4c519b | ||
|
|
ae76a67566 | ||
|
|
76241d0a02 | ||
|
|
89227a9d75 | ||
|
|
dfb5090e0f | ||
|
|
c7fe8a7a11 | ||
|
|
7174ca7a20 | ||
|
|
2e61fde07f | ||
|
|
41263f7d88 | ||
|
|
02095ba0e1 | ||
|
|
32a678eab3 | ||
|
|
bd7ba3bde6 | ||
|
|
0ffec4272a | ||
|
|
ea4cd4d8aa | ||
|
|
c7775c59bf | ||
|
|
243bd5bbb4 | ||
|
|
4bde770169 | ||
|
|
9af7e46f72 | ||
|
|
7d844c430c | ||
|
|
4f953b6459 | ||
|
|
44995d6877 | ||
|
|
2ebc821558 | ||
|
|
907bb78f3e | ||
|
|
b2e1bf7e7d | ||
|
|
7173a0f7b6 | ||
|
|
a49bebc74e | ||
|
|
8777ba7e42 | ||
|
|
a39669198f | ||
|
|
2c0c75e345 | ||
|
|
236337ce86 | ||
|
|
224ccc780a | ||
|
|
ccde85d198 | ||
|
|
9e7657d6ed | ||
|
|
7ac455fca3 | ||
|
|
e295cd759c | ||
|
|
a472cd9310 | ||
|
|
8794cb286b | ||
|
|
455b1af214 | ||
|
|
d765a00adb | ||
|
|
de37308722 | ||
|
|
7729c63be0 | ||
|
|
eebcf90942 | ||
|
|
fa8ecd3d53 | ||
|
|
134cb66129 | ||
|
|
349a15b089 | ||
|
|
c14fa2c935 | ||
|
|
6ca7af3419 | ||
|
|
afa5924487 | ||
|
|
bd63a557f3 | ||
|
|
49aa798082 | ||
|
|
c6e5b67197 | ||
|
|
e7050f97c4 | ||
|
|
b28f3d43bf | ||
|
|
edd467a12c | ||
|
|
0bf1bd51c4 | ||
|
|
4cf70e3069 | ||
|
|
9efddfedab | ||
|
|
4b11e19f26 | ||
|
|
de681d3b8f | ||
|
|
f33be3c313 | ||
|
|
62a12b7faf | ||
|
|
e75ab79bdb | ||
|
|
abd7e32c66 | ||
|
|
e2b6a45cfa | ||
|
|
e0c0b2ba7d | ||
|
|
debbcf81bb | ||
|
|
8300a880cc | ||
|
|
420bbd2e08 | ||
|
|
d87981e4c1 | ||
|
|
59091fa860 | ||
|
|
dc659ec736 | ||
|
|
09aa165942 | ||
|
|
f2fbb5f3d5 | ||
|
|
29bedfcf7f | ||
|
|
ccdaa0b51f | ||
|
|
f516734941 | ||
|
|
d53d33698c | ||
|
|
39926181ea | ||
|
|
8415b4a271 | ||
|
|
e4916145ef | ||
|
|
3ec605de67 | ||
|
|
a7e04cac78 | ||
|
|
8ddc18a4f9 | ||
|
|
0d3aa8b7be | ||
|
|
496bbceef1 | ||
|
|
901edd32b5 | ||
|
|
0612c275a7 | ||
|
|
f3d91528a1 | ||
|
|
f7fae23546 | ||
|
|
2d41efb71e | ||
|
|
7abf2f44ec | ||
|
|
3a36d4fdea | ||
|
|
12b71e422f | ||
|
|
d25a0a1bc8 | ||
|
|
4d17e77532 | ||
|
|
6a921197e2 | ||
|
|
fa57a8a78e | ||
|
|
eb4d65d0ba | ||
|
|
e7d9ea8919 | ||
|
|
372b141d5b | ||
|
|
115e74a8ad | ||
|
|
1b26fe39f9 | ||
|
|
4674f3f115 | ||
|
|
d8a1415646 | ||
|
|
773e7e871e | ||
|
|
1d937d62c0 | ||
|
|
f3663a9d0f | ||
|
|
199b2f4602 | ||
|
|
49ab1d914c | ||
|
|
f9a6e7b68d | ||
|
|
5d64d657de | ||
|
|
52caba0417 | ||
|
|
ad1a70205f | ||
|
|
d57eed6f22 | ||
|
|
a3d39efa3b | ||
|
|
50efb8f33e | ||
|
|
ad75360ec7 | ||
|
|
7f29bf61e2 | ||
|
|
9ca395fded | ||
|
|
68e140b2eb | ||
|
|
283f68f660 | ||
|
|
e6947f99ed | ||
|
|
93e32e6f62 | ||
|
|
f8a5ec1380 | ||
|
|
2d0b2f294f | ||
|
|
08e286ed68 | ||
|
|
220caed248 | ||
|
|
6eb0b5b917 | ||
|
|
3bdc883c93 | ||
|
|
cc85f813d1 | ||
|
|
e723d2eb7c | ||
|
|
b440c6638f | ||
|
|
648c5b05c0 | ||
|
|
011929cf4d | ||
|
|
7f679c3da3 | ||
|
|
3e4cd0b422 | ||
|
|
fc4f777b42 | ||
|
|
208a31f549 | ||
|
|
e565631afe | ||
|
|
9f2780a2ee | ||
|
|
1a6969a887 | ||
|
|
f56d753507 | ||
|
|
e5165af5a6 | ||
|
|
83e878420a | ||
|
|
58a5f485db | ||
|
|
e8fb77fac3 | ||
|
|
d292088a83 | ||
|
|
de100f8b51 | ||
|
|
1cb2306ae0 | ||
|
|
cc90a235f4 | ||
|
|
e97ce57d0b | ||
|
|
dc753b8315 | ||
|
|
a5c4442ebf | ||
|
|
a271cfb697 | ||
|
|
6dffe9702d | ||
|
|
f71139750d | ||
|
|
690b3e58b2 | ||
|
|
0c7cb0c10f | ||
|
|
4816294f52 | ||
|
|
6587ff440a | ||
|
|
791e49134b | ||
|
|
9254c3a103 | ||
|
|
9c95ebcbe7 | ||
|
|
3a4ed71b88 | ||
|
|
d6d312d550 | ||
|
|
1fa163fdf7 | ||
|
|
82b27d1b97 | ||
|
|
f7dee3b846 | ||
|
|
a7b5045598 | ||
|
|
b7fda8ec73 | ||
|
|
3d7f4c0d77 | ||
|
|
01771e50a1 | ||
|
|
c23cf6a058 | ||
|
|
79f9914af8 | ||
|
|
803fb123cb | ||
|
|
97728f5b1c | ||
|
|
36d5f30b8c | ||
|
|
e82a575894 | ||
|
|
773a8fe598 | ||
|
|
fa1c0d4a56 | ||
|
|
7e01548d46 | ||
|
|
14b36a8cba | ||
|
|
1089d91e77 | ||
|
|
556b68f44e | ||
|
|
3f37ae471d | ||
|
|
9f4e682ca9 | ||
|
|
5fc8d4da45 | ||
|
|
4af66b70fc | ||
|
|
95dd343244 | ||
|
|
e449aab0af | ||
|
|
3a0192bea6 | ||
|
|
37685848d1 | ||
|
|
0412a201a3 | ||
|
|
ca522d4787 | ||
|
|
c2967c3c39 | ||
|
|
70d7a9e6a5 | ||
|
|
462d1c5231 | ||
|
|
886391d145 | ||
|
|
1442fab4b6 | ||
|
|
aa93e2e638 | ||
|
|
e1d541086c | ||
|
|
3b0f52205d | ||
|
|
b84eaff1d5 | ||
|
|
9eb6fc1fb6 | ||
|
|
253f5f1a9a | ||
|
|
dd1f495c2f | ||
|
|
12fa877f00 | ||
|
|
580a2fe72b | ||
|
|
7f0ec86769 | ||
|
|
5e69ca0ebd | ||
|
|
b6592e29a4 | ||
|
|
4cba2ea1ad | ||
|
|
14cb9d296c | ||
|
|
df750c236c | ||
|
|
154c9bc3b8 | ||
|
|
508ad2c92f | ||
|
|
36a90aeaec | ||
|
|
f385b1976e | ||
|
|
3d99b566a6 | ||
|
|
99a3e2d769 | ||
|
|
aaa42735e6 | ||
|
|
50c80a49cc | ||
|
|
6b7f169b10 | ||
|
|
01e3bb98b5 | ||
|
|
7052598e59 | ||
|
|
ab52e20832 | ||
|
|
f50678eda7 | ||
|
|
3ded81188b | ||
|
|
a435151735 | ||
|
|
bfe5568c85 | ||
|
|
7e45a1ac53 | ||
|
|
76a51ef4b3 | ||
|
|
fc7c4d6157 | ||
|
|
4d17d6876e | ||
|
|
0d6236f7e1 | ||
|
|
0e4e72f193 | ||
|
|
107413c021 | ||
|
|
d7579087f2 | ||
|
|
3415ac3866 | ||
|
|
d50b209a7a | ||
|
|
62e0f10eba | ||
|
|
0b2b7439fe | ||
|
|
edcd1981ea | ||
|
|
ada9a9f4a1 | ||
|
|
1c0e4f1178 | ||
|
|
663d2080d1 | ||
|
|
e5641a33bb | ||
|
|
9b24c9a754 | ||
|
|
99b96d5446 | ||
|
|
cf7817eb38 | ||
|
|
9bca9681ba | ||
|
|
958987c214 | ||
|
|
ed75842df0 | ||
|
|
f35398e414 | ||
|
|
3b39cee785 | ||
|
|
dc932f739a | ||
|
|
7d15651115 | ||
|
|
e096072745 | ||
|
|
5d947e973e | ||
|
|
2465ff991f | ||
|
|
d10a941d29 | ||
|
|
5a58d51993 | ||
|
|
142f40582f | ||
|
|
4227407438 | ||
|
|
6e29f5d1df | ||
|
|
334c3df09d | ||
|
|
4120b7b0c0 | ||
|
|
fac1c13895 | ||
|
|
649caa1953 | ||
|
|
d8ee927be2 | ||
|
|
3efb90dd75 | ||
|
|
e4c5653035 | ||
|
|
ad7e26b140 | ||
|
|
f39749cee4 | ||
|
|
87eb26a33d | ||
|
|
9a48ca69fc | ||
|
|
a259f66fa4 | ||
|
|
83d77dc013 | ||
|
|
e36914a425 | ||
|
|
5bd0471315 | ||
|
|
b791e158f0 | ||
|
|
6cd0a90b52 | ||
|
|
d5bb877fba | ||
|
|
0c4907afcc | ||
|
|
e5cd0cc402 | ||
|
|
252423a725 | ||
|
|
eaddf3d198 | ||
|
|
a37a79c2a9 | ||
|
|
fadf077502 | ||
|
|
863c7c7282 | ||
|
|
3a85b187c6 | ||
|
|
296ccc35d2 | ||
|
|
68826c25f8 | ||
|
|
5e2fcc1f74 | ||
|
|
e262a7265a | ||
|
|
945c6f7279 | ||
|
|
6ddec1f169 | ||
|
|
9beae7693a | ||
|
|
d204c62c39 | ||
|
|
13dd99842a | ||
|
|
2431b2caff | ||
|
|
f44bc85545 | ||
|
|
52df162c2f | ||
|
|
60787171c7 | ||
|
|
61e3d75def | ||
|
|
27b7220f1b | ||
|
|
a275365c72 | ||
|
|
80ef1bad86 | ||
|
|
686c70c5b5 | ||
|
|
f94502ecba | ||
|
|
4c70c3e820 | ||
|
|
84990cb176 | ||
|
|
eabbb5331a | ||
|
|
898bf8bb0b | ||
|
|
3d66d10fbe | ||
|
|
7052daf475 | ||
|
|
846d203d31 | ||
|
|
7561cbda0a | ||
|
|
c5c89862b2 | ||
|
|
3a70d686ee | ||
|
|
2d567af069 | ||
|
|
d2f7037ff7 | ||
|
|
c3614fa6a3 | ||
|
|
f1da9e508e | ||
|
|
9e80356dd5 | ||
|
|
4a4295290d | ||
|
|
57f67d0241 | ||
|
|
d50c9218c7 | ||
|
|
3c1bb36193 | ||
|
|
16c747da76 | ||
|
|
baf948db40 | ||
|
|
9906eb8e19 | ||
|
|
44d931dbc7 | ||
|
|
d0ad607c46 | ||
|
|
36f76396ea | ||
|
|
1cb3cd1463 | ||
|
|
a76235c008 | ||
|
|
71b3cc08a6 | ||
|
|
d8dd9b0008 | ||
|
|
35fd3a3139 | ||
|
|
90be1d157e | ||
|
|
8433068f3a | ||
|
|
e043cf22e2 | ||
|
|
206039cb76 | ||
|
|
4ba05e1128 | ||
|
|
0ae7e93299 | ||
|
|
5baf747e67 | ||
|
|
3a61c98b65 | ||
|
|
5173bab0bb | ||
|
|
b291bbc9a6 | ||
|
|
11e8600390 | ||
|
|
93aea06ed9 | ||
|
|
9e5aee63c7 | ||
|
|
60cc5a3f27 | ||
|
|
5ac047dc39 | ||
|
|
6cd280fdfb | ||
|
|
c8ac7a0d95 | ||
|
|
44031f32a1 | ||
|
|
7237221108 | ||
|
|
ad36138f52 | ||
|
|
8a16e48a6c | ||
|
|
4c3a2318ae | ||
|
|
7beac70644 | ||
|
|
b16dfbee99 | ||
|
|
202e54cf9c | ||
|
|
e0d9e7a255 | ||
|
|
c2bc5662b5 | ||
|
|
f4569f10f0 | ||
|
|
23cfb9a832 | ||
|
|
b921777057 | ||
|
|
ff6d9a1109 | ||
|
|
053f6c85ef | ||
|
|
9970fb863d | ||
|
|
feeef39ebf | ||
|
|
7bf11297fe | ||
|
|
292ef5fabb | ||
|
|
2b277f85f5 | ||
|
|
9363d94f9b | ||
|
|
ea1c98dccf | ||
|
|
1109a4a629 | ||
|
|
2d01740e1a | ||
|
|
979a1e6237 | ||
|
|
b60e0fa97e | ||
|
|
41c6f68d94 | ||
|
|
411d0cb715 | ||
|
|
8b3946efda | ||
|
|
763d6a8524 | ||
|
|
232b051254 | ||
|
|
aef6208bd7 | ||
|
|
50c5a69d70 | ||
|
|
9ebe4ab60c | ||
|
|
a0edfb90c2 | ||
|
|
93a8572928 | ||
|
|
591fe66f18 | ||
|
|
a99e6445bf | ||
|
|
f3e5d4a602 | ||
|
|
1d6248baa4 | ||
|
|
61685fee7e | ||
|
|
55e4d79111 | ||
|
|
84b3c3b569 | ||
|
|
4ea14b25df | ||
|
|
4223f602ed | ||
|
|
8146d46386 | ||
|
|
36a2fac79f | ||
|
|
58cf108251 | ||
|
|
6c6e5522cb | ||
|
|
aff9a817b4 | ||
|
|
f4e987cd19 | ||
|
|
b3afb31181 | ||
|
|
a3ad4295c9 | ||
|
|
2450506c83 | ||
|
|
23a6041698 | ||
|
|
979ba8a8b5 | ||
|
|
cd9dea3091 | ||
|
|
989ec98ebd | ||
|
|
d262d0a62a | ||
|
|
15b775e126 | ||
|
|
3788f25eac | ||
|
|
5b8852107b | ||
|
|
cfe53768dd | ||
|
|
947e656367 | ||
|
|
50e7545118 | ||
|
|
0839d6e6bc | ||
|
|
bbafc27b42 | ||
|
|
a7de09a966 | ||
|
|
1410deb8f7 | ||
|
|
7dea4acc46 | ||
|
|
a3c09e636d | ||
|
|
a025425d06 | ||
|
|
4eb9ac0821 | ||
|
|
77a5e7c646 | ||
|
|
8f0abd31c5 | ||
|
|
a13f85fb33 | ||
|
|
3b048880ad | ||
|
|
24ac5b8a6c | ||
|
|
9bc97b2d3c | ||
|
|
9825d81973 | ||
|
|
1e012c5259 | ||
|
|
68c508976f | ||
|
|
4d8a53da2f | ||
|
|
29d3deaee8 | ||
|
|
6c56340e1a | ||
|
|
134ab91358 | ||
|
|
fb927939e2 | ||
|
|
ac114ed45b | ||
|
|
d46a735418 | ||
|
|
5a87203fe4 | ||
|
|
90e9c64f72 | ||
|
|
8742d39060 | ||
|
|
821302bcf3 | ||
|
|
f68219ddaa | ||
|
|
7e3cd82b50 | ||
|
|
bc372815a8 | ||
|
|
391a37ebbf | ||
|
|
a61dc1e9c5 | ||
|
|
2e0d1a55c6 | ||
|
|
dfd1a636b4 | ||
|
|
ee337309cf | ||
|
|
437afe0767 | ||
|
|
0ab2dff69c | ||
|
|
bff59dac12 | ||
|
|
ea53aed841 | ||
|
|
e2555cf83d | ||
|
|
f7c8a57206 | ||
|
|
02bf6660bf | ||
|
|
6c8e6df38f | ||
|
|
96d3db1687 | ||
|
|
3e43105ff1 | ||
|
|
8ccc1148d9 | ||
|
|
06c38330ba | ||
|
|
0f4d042d3e | ||
|
|
c79de8d86e | ||
|
|
d670f308a6 | ||
|
|
e64e9d7fed | ||
|
|
ad5ead8bed | ||
|
|
1b99d33b59 | ||
|
|
800052dc50 | ||
|
|
d4629fd395 | ||
|
|
2c22feced2 | ||
|
|
41688a1642 | ||
|
|
2cf209d3f7 | ||
|
|
909887f310 | ||
|
|
d1d417664e | ||
|
|
7d7e99104e | ||
|
|
3eeea48839 | ||
|
|
cd653f1be9 | ||
|
|
5751796ddd | ||
|
|
012c4ee1fa | ||
|
|
426954ff95 | ||
|
|
471c30372b | ||
|
|
f6413f2cb4 | ||
|
|
e80bdd66f9 | ||
|
|
d083fac1fc | ||
|
|
1d85f950bf | ||
|
|
1d977b7848 | ||
|
|
b3803903d1 | ||
|
|
efc9410796 | ||
|
|
45614d54c6 | ||
|
|
50e690f2dd | ||
|
|
2f9f843e8a | ||
|
|
15d41dfbcd | ||
|
|
bc01ad5b9e | ||
|
|
dadc1026f1 | ||
|
|
d8cf2d42c0 | ||
|
|
96d7a95ce4 | ||
|
|
d5d55a856e | ||
|
|
dac045029a | ||
|
|
1e98727c55 | ||
|
|
1c700b5a5c | ||
|
|
af9dc9f128 | ||
|
|
4874aa6986 | ||
|
|
c0336dcc52 | ||
|
|
78fb476677 | ||
|
|
3fed12a203 | ||
|
|
ed2b831afe | ||
|
|
f481b3e1dc | ||
|
|
2769f3b245 | ||
|
|
e9a545c710 | ||
|
|
edce444551 | ||
|
|
7bee4140e8 | ||
|
|
cc48658564 | ||
|
|
79e4aee185 | ||
|
|
4d28012468 | ||
|
|
e1d01045e2 | ||
|
|
0717e4690e | ||
|
|
a0a5668dbd | ||
|
|
bfc7d6c11b | ||
|
|
dfe0118033 | ||
|
|
a701f3dddf | ||
|
|
f99a1d4e82 | ||
|
|
43bb20461f | ||
|
|
b9d3c71178 | ||
|
|
1e251a64f3 | ||
|
|
776f0bd95e | ||
|
|
cd9aabb474 | ||
|
|
e42f806b3f | ||
|
|
0850aec780 | ||
|
|
ad77f760cf | ||
|
|
a50d2a45d7 | ||
|
|
17a834bc63 | ||
|
|
c10bc0ef12 | ||
|
|
f9b1981bd7 | ||
|
|
451d34ce21 | ||
|
|
445950aa70 | ||
|
|
8be602cdfd | ||
|
|
3dd40cca9a | ||
|
|
f1445ea228 | ||
|
|
c40309ae21 | ||
|
|
fe0b5801ec | ||
|
|
3de511b248 | ||
|
|
b1aa8eb7ef | ||
|
|
967cb4d75e | ||
|
|
bcbaeaf7d5 | ||
|
|
41be41358e | ||
|
|
ecb818805b | ||
|
|
d95f7129d5 | ||
|
|
6294b356fb | ||
|
|
3e64a76498 | ||
|
|
dec9907c16 | ||
|
|
527850928d | ||
|
|
eee3f13134 | ||
|
|
80d2be541d | ||
|
|
472c4d8616 | ||
|
|
45abf75e1e | ||
|
|
4ec4e91de0 | ||
|
|
f6645094a2 | ||
|
|
7496e87d16 | ||
|
|
bd4c081157 | ||
|
|
927e392b31 | ||
|
|
aeb5edbf07 | ||
|
|
67dcddbef7 | ||
|
|
7ffb8c6aee | ||
|
|
344c378996 | ||
|
|
445f54db57 | ||
|
|
9b7c311929 | ||
|
|
6a21a28048 | ||
|
|
0adb75114b | ||
|
|
ecfb53f06d | ||
|
|
c020ee2eb6 | ||
|
|
a3279d4baf | ||
|
|
c45f43ce32 | ||
|
|
0eb037a849 | ||
|
|
5a089f6c1f | ||
|
|
556d59dfcf | ||
|
|
79cb1400ab | ||
|
|
d1b94a5f3f | ||
|
|
a07f43d202 | ||
|
|
a717afc3a7 | ||
|
|
f023b4cc79 | ||
|
|
a7aacac5e8 | ||
|
|
decdb93ccb | ||
|
|
3e24c6a957 | ||
|
|
00d2c9d92d | ||
|
|
bd383f0c60 | ||
|
|
900cecae96 | ||
|
|
ffc58c6620 | ||
|
|
39f673874f | ||
|
|
fe291202db | ||
|
|
4606dc4158 | ||
|
|
36d6b16c23 | ||
|
|
b4d8108ba1 | ||
|
|
2c120aa05c | ||
|
|
693df0fa34 | ||
|
|
fb26b2bd98 | ||
|
|
5554f1ccba | ||
|
|
46accd62d1 | ||
|
|
41535eaea9 | ||
|
|
02437b2d51 | ||
|
|
c964aedf3b | ||
|
|
5f4fb857f0 | ||
|
|
0334509754 | ||
|
|
aad70aa24e | ||
|
|
e9c835ad06 | ||
|
|
0701b973df | ||
|
|
ec59aa259f | ||
|
|
ffc6d062d8 | ||
|
|
757a7d0851 | ||
|
|
25613503cb | ||
|
|
60ef75f2ee | ||
|
|
1cdc66d927 | ||
|
|
ba12c5deda | ||
|
|
203f66d0cb | ||
|
|
54c6f2c7c0 | ||
|
|
4cccceb034 | ||
|
|
245ab7c796 | ||
|
|
2bdf52d4c5 | ||
|
|
f991a69cce | ||
|
|
3dd26b7932 | ||
|
|
a5e22867c7 | ||
|
|
5c96266d45 | ||
|
|
fcfc6de918 | ||
|
|
da0b380655 | ||
|
|
ed7ac3c932 | ||
|
|
b5d4a71883 | ||
|
|
a9d74e6c97 | ||
|
|
d46afd2b6a | ||
|
|
ce4b8420d1 | ||
|
|
faabd44658 | ||
|
|
2fe5f5ab4b | ||
|
|
656d4b4c20 | ||
|
|
7247041e21 | ||
|
|
017a78d0c5 | ||
|
|
9010bd3831 | ||
|
|
ded884e825 | ||
|
|
b53a5e92c0 | ||
|
|
69bdb82586 | ||
|
|
4799d39be6 | ||
|
|
f32d011d90 | ||
|
|
14f795816d | ||
|
|
5987791516 | ||
|
|
db074518c3 | ||
|
|
64731b0056 | ||
|
|
debe6a1432 | ||
|
|
715c3f6482 | ||
|
|
f232baf4d2 | ||
|
|
b439e8ffb7 | ||
|
|
475166fc8b | ||
|
|
be2b742b85 | ||
|
|
640d6a5564 | ||
|
|
2e9d100d03 | ||
|
|
294adcae9d | ||
|
|
1fd16e7b04 | ||
|
|
d1c08e1d85 | ||
|
|
d7c09efeb1 | ||
|
|
b83c7ade10 | ||
|
|
7d6584e140 | ||
|
|
31b6bb6a41 | ||
|
|
b84607ff7b | ||
|
|
ac2af59880 | ||
|
|
d9f961ed2d | ||
|
|
c7f5476416 | ||
|
|
381c6c5d52 | ||
|
|
9df8f9a63d | ||
|
|
5eee801d06 | ||
|
|
80a06403e4 | ||
|
|
7ad69f59c7 | ||
|
|
83b82e4472 | ||
|
|
65dab79ca5 | ||
|
|
f0089b6291 | ||
|
|
d10508e08c | ||
|
|
630995f40a | ||
|
|
f7f7cd6cce | ||
|
|
ce7326ed09 | ||
|
|
b3591ec464 | ||
|
|
b1952e773a | ||
|
|
ce5db9a86e | ||
|
|
94568f884d | ||
|
|
d095b20d1c | ||
|
|
18b809e7e4 | ||
|
|
3f458fc650 | ||
|
|
9935d33b8e | ||
|
|
d42c6b7e78 | ||
|
|
d70550f949 | ||
|
|
679654bd47 | ||
|
|
9e3f54431d | ||
|
|
3d59934163 | ||
|
|
a77d931cd0 | ||
|
|
260c353577 | ||
|
|
8823679e70 | ||
|
|
722ece4055 | ||
|
|
cc09e31acf | ||
|
|
fe09079778 | ||
|
|
8f5b80c715 | ||
|
|
460979496e | ||
|
|
cadcc12169 | ||
|
|
22adcb9cd1 | ||
|
|
597c1fe6bc | ||
|
|
7201a5a290 | ||
|
|
c6a0bb99af | ||
|
|
622984de64 | ||
|
|
a9af971c59 | ||
|
|
171229e122 | ||
|
|
b71ca15598 | ||
|
|
1c604b7ba9 | ||
|
|
749f5387c1 | ||
|
|
7553341bad | ||
|
|
c6f11b053d | ||
|
|
7d6e2a3adb | ||
|
|
43cc844d3f | ||
|
|
941dfc502a | ||
|
|
8341e8e502 | ||
|
|
e85881d7ec | ||
|
|
c9d154ca7f | ||
|
|
5911485f38 | ||
|
|
6d6de53eb9 | ||
|
|
022996e5c7 | ||
|
|
4935853eb9 | ||
|
|
d1a3c9944e | ||
|
|
8996a7346e | ||
|
|
e4adbf4017 | ||
|
|
c29740f0d8 | ||
|
|
1a4fddb9ba | ||
|
|
af19ff51e6 | ||
|
|
5438ced6b3 | ||
|
|
2eb3ad7678 | ||
|
|
b86ad6438e | ||
|
|
81f250be59 | ||
|
|
9db5dfc15d | ||
|
|
377ce6a2c2 | ||
|
|
867c189ef7 | ||
|
|
33525ac165 | ||
|
|
5c52cacc98 | ||
|
|
e612f73374 | ||
|
|
ff5b6ff528 | ||
|
|
c86768d856 | ||
|
|
9f002b1289 | ||
|
|
0436fbe226 | ||
|
|
6494889e3b | ||
|
|
f52534522c | ||
|
|
0b615afac9 | ||
|
|
b61c25af45 | ||
|
|
bf20ed5984 | ||
|
|
9d5c22d5ae | ||
|
|
aaddfa0181 | ||
|
|
17e13acd10 | ||
|
|
5564e9a321 | ||
|
|
a0118fb390 | ||
|
|
57b6202eaa | ||
|
|
0bbe184f1f | ||
|
|
1b0af1c53a | ||
|
|
23f8692058 | ||
|
|
780652e5b6 | ||
|
|
8297ac4a28 | ||
|
|
45ef092cc2 | ||
|
|
a191fe028c | ||
|
|
343291ce37 | ||
|
|
b864e25011 | ||
|
|
24836d30f5 | ||
|
|
ba1ff79b3f | ||
|
|
09d593ade0 | ||
|
|
d1b17779a3 | ||
|
|
588b63a05b | ||
|
|
a5c2a86649 | ||
|
|
8a46c64c78 | ||
|
|
2d4c0af528 | ||
|
|
edd09a1b16 | ||
|
|
0edab55dd2 | ||
|
|
16643faaa1 | ||
|
|
881c38b38a | ||
|
|
59889d45da | ||
|
|
734c17ae56 | ||
|
|
48c1943824 | ||
|
|
9ef76fecef | ||
|
|
8aa2894bfb | ||
|
|
f40467638d | ||
|
|
2297eca103 | ||
|
|
09ccfcdcd4 | ||
|
|
bbc01c36d2 | ||
|
|
b560428492 | ||
|
|
d19134e644 | ||
|
|
951e2a6545 | ||
|
|
fcacd38036 | ||
|
|
c4aca23ec4 | ||
|
|
20943292ff | ||
|
|
b2ddfb54a7 | ||
|
|
76b9631d03 | ||
|
|
58b1437cae | ||
|
|
c611ac958e | ||
|
|
e7160459ab | ||
|
|
071fc74c0e | ||
|
|
14597475b1 | ||
|
|
de3281a3a8 | ||
|
|
6e16985156 | ||
|
|
50dacab379 | ||
|
|
7c2930611b | ||
|
|
84bc46ac3b | ||
|
|
fd42247cac | ||
|
|
0efcb57623 | ||
|
|
6fde147273 | ||
|
|
cc497fd153 | ||
|
|
c1f31180a2 | ||
|
|
d4ab68cd51 | ||
|
|
e8c762981a | ||
|
|
0ef3e6fe8a | ||
|
|
adcbe03aeb | ||
|
|
359c0eac0d | ||
|
|
a53d7848eb | ||
|
|
29b7fb628e | ||
|
|
df760a0a4b | ||
|
|
f2057eb744 | ||
|
|
2956fe97a0 | ||
|
|
1f9b0e70ab | ||
|
|
8fae12b2f1 | ||
|
|
7410210f19 | ||
|
|
40e6b12cca | ||
|
|
f2d422235b | ||
|
|
6a678f6d64 | ||
|
|
52ceab5e41 | ||
|
|
cafcc242e6 | ||
|
|
2ad0a7d20f | ||
|
|
481094db90 | ||
|
|
840c0af014 | ||
|
|
f193ab4b59 | ||
|
|
f7db3023a8 | ||
|
|
cfe80449e2 | ||
|
|
818d231849 | ||
|
|
eb9937ec1a | ||
|
|
070cd2b52f | ||
|
|
96d9ddee38 | ||
|
|
5629eeaec2 | ||
|
|
46c2bc4bb6 | ||
|
|
3938e0f58b | ||
|
|
fa162e8feb | ||
|
|
a95df8246b | ||
|
|
8feb5110b5 | ||
|
|
32899f8309 | ||
|
|
dc7c6d1030 | ||
|
|
7fdd0bd367 | ||
|
|
4459d3b434 | ||
|
|
7e7d89471a | ||
|
|
e67d15b50e | ||
|
|
bd78878cc3 | ||
|
|
5974309d10 | ||
|
|
d00e4a377b | ||
|
|
afc6ade2b9 | ||
|
|
734e8d6229 | ||
|
|
61629d2c86 | ||
|
|
cb48c6a3d8 | ||
|
|
93a29c3c45 | ||
|
|
e92b7c73bc | ||
|
|
0ea74e3255 | ||
|
|
3bd52e3cb1 | ||
|
|
c7f9c51fe6 | ||
|
|
b1da98170f | ||
|
|
0496598e77 | ||
|
|
fb3eee5f0b | ||
|
|
e16bc91601 | ||
|
|
a8c78cbbb0 | ||
|
|
3a5a6038e7 | ||
|
|
d412724598 | ||
|
|
f95de76789 | ||
|
|
33cf204e9a | ||
|
|
dafc652f63 | ||
|
|
c16dd085f1 | ||
|
|
a7349a48ff | ||
|
|
8042cd93c3 | ||
|
|
394faaeb97 | ||
|
|
5c2df3e1a4 | ||
|
|
6fc55467f4 | ||
|
|
a147a07956 | ||
|
|
a10581d459 | ||
|
|
cc2d6942bb | ||
|
|
3974c02bb1 | ||
|
|
09b5ddaea5 | ||
|
|
acbcd68d89 | ||
|
|
4281470fca | ||
|
|
68a4aa6773 | ||
|
|
905b160097 | ||
|
|
52596c339b | ||
|
|
73500267ee | ||
|
|
e6011e33a6 | ||
|
|
3454319c17 | ||
|
|
02c78ecf81 | ||
|
|
caca034302 | ||
|
|
fb366ed35f | ||
|
|
b352ffca15 | ||
|
|
2d94856efd | ||
|
|
ae66bd1284 | ||
|
|
89d9d4e6c8 | ||
|
|
fe60fc4730 | ||
|
|
46690d5e1c | ||
|
|
beaea8cb25 | ||
|
|
409ec90c85 | ||
|
|
4d423eeabe | ||
|
|
019e612225 | ||
|
|
6550d271f0 | ||
|
|
c46da65263 | ||
|
|
b46745759b | ||
|
|
9687571a84 | ||
|
|
c13236de25 | ||
|
|
8ffbb6acd4 | ||
|
|
a3e5d81765 | ||
|
|
e2aecfe80f | ||
|
|
a3c1248214 | ||
|
|
b933639222 | ||
|
|
27619fc450 | ||
|
|
96fecba190 | ||
|
|
50257d4f50 | ||
|
|
3eb4ae031c | ||
|
|
6a4ec3be81 | ||
|
|
cc9ac6ad14 | ||
|
|
644990a835 | ||
|
|
d3b81ea3f7 | ||
|
|
3660f67534 | ||
|
|
203cc4a5c3 | ||
|
|
c7be232fee | ||
|
|
2617b379be | ||
|
|
84ed5e755a | ||
|
|
2f17615790 | ||
|
|
acfa131c8c | ||
|
|
793d0e27e1 | ||
|
|
fdf0c443c3 | ||
|
|
1b39b53321 | ||
|
|
1679993e3b | ||
|
|
4c831f8b68 | ||
|
|
7a19923afa | ||
|
|
3e122a765d | ||
|
|
d873ba8c9f | ||
|
|
8093338f39 | ||
|
|
07660eea1e | ||
|
|
a2b2d4cd5c | ||
|
|
96e217b496 | ||
|
|
2dd1518d63 | ||
|
|
168703b7bf | ||
|
|
0f2d680f1f | ||
|
|
b7930b6ebd | ||
|
|
8fa43b469a | ||
|
|
894e52f61a | ||
|
|
3c294691aa | ||
|
|
acbf932861 | ||
|
|
26f5c53be8 | ||
|
|
8dd069604c | ||
|
|
5dadbd094e | ||
|
|
514a8739b6 | ||
|
|
12e78a082e | ||
|
|
9273096a8a | ||
|
|
686c6133f8 | ||
|
|
1d1276cc3a | ||
|
|
d987676ef0 | ||
|
|
6e4658c89d | ||
|
|
b7cbcf7434 | ||
|
|
e347d06a49 | ||
|
|
2077e9365a | ||
|
|
6e3adc9b14 | ||
|
|
7954eee639 | ||
|
|
f9f1f0e316 | ||
|
|
a9afe6aa84 | ||
|
|
6d36796135 | ||
|
|
9e81fd5703 | ||
|
|
609059b6ec | ||
|
|
6af73f417a | ||
|
|
32468a0072 | ||
|
|
6800c45104 | ||
|
|
0d8c754ffd | ||
|
|
1b80276496 | ||
|
|
bf9a138276 | ||
|
|
b3f9c636b9 | ||
|
|
18975d44a6 | ||
|
|
b201db5cec | ||
|
|
bbe23945e4 | ||
|
|
bbdc0394ff | ||
|
|
38a9b14965 | ||
|
|
77ba0d3686 | ||
|
|
065c8d7a95 | ||
|
|
c704d1545c | ||
|
|
62b65a5f20 | ||
|
|
665a7a3848 | ||
|
|
256b9f31e1 | ||
|
|
a3037e1173 | ||
|
|
f3e7a5d755 | ||
|
|
5f0cba7775 | ||
|
|
673759fe7e | ||
|
|
b73612392d | ||
|
|
f85935f0f9 | ||
|
|
1e7e53c87e | ||
|
|
b9fdf3cc3b | ||
|
|
c462601362 | ||
|
|
859877dcfc | ||
|
|
c04ce95106 | ||
|
|
98ee12bc35 | ||
|
|
fdda786fa2 | ||
|
|
831be4f4dd | ||
|
|
41ae97e710 | ||
|
|
f72ba7f79d | ||
|
|
296046510b | ||
|
|
db9f87f697 | ||
|
|
3270ea55dd | ||
|
|
a358ac24f4 | ||
|
|
8bedd43b28 | ||
|
|
9ea2087ede | ||
|
|
9f7c634133 | ||
|
|
da20d68a12 | ||
|
|
d3e512c738 | ||
|
|
339f84fe1f | ||
|
|
2d41b735ec | ||
|
|
e3b4dd08ff | ||
|
|
6809a906bb | ||
|
|
1c35cbcc07 | ||
|
|
5f8989a436 | ||
|
|
aa7b0648ff | ||
|
|
2fbe61960f |
22
.cvsignore
22
.cvsignore
@@ -1,14 +1,22 @@
|
|||||||
config.log
|
|
||||||
Makefile
|
Makefile
|
||||||
libtool
|
|
||||||
Makefile.in
|
Makefile.in
|
||||||
aclocal.m4
|
aclocal.m4
|
||||||
configure
|
aclocal.m4.bak
|
||||||
config.h
|
|
||||||
config.status
|
|
||||||
curl-config
|
|
||||||
autom4te.cache
|
autom4te.cache
|
||||||
depcomp
|
compile
|
||||||
config.guess
|
config.guess
|
||||||
|
curl_config.h
|
||||||
|
config.log
|
||||||
|
config.lt
|
||||||
|
config.status
|
||||||
config.sub
|
config.sub
|
||||||
|
configure
|
||||||
|
curl-config
|
||||||
|
depcomp
|
||||||
|
libcurl.pc
|
||||||
|
libtool
|
||||||
ltmain.sh
|
ltmain.sh
|
||||||
|
vc6curl.ncb
|
||||||
|
vc6curl.opt
|
||||||
|
vc6curl.sln
|
||||||
|
vc6curl.suo
|
||||||
|
|||||||
87
Android.mk
Normal file
87
Android.mk
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
# Google Android makefile for curl and libcurl
|
||||||
|
#
|
||||||
|
# Place the curl source (including this makefile) into external/curl/ in the
|
||||||
|
# Android source tree. Then build them with 'make curl' or just 'make libcurl'
|
||||||
|
# from the Android root. Tested with Android 1.5
|
||||||
|
#
|
||||||
|
# Note: you must first create a curl_config.h file by running configure in the
|
||||||
|
# Android environment. The only way I've found to do this is tricky. Perform a
|
||||||
|
# normal Android build with libcurl in the source tree, providing the target
|
||||||
|
# "showcommands" to make. The build will eventually fail (because curl_config.h
|
||||||
|
# doesn't exist yet), but the compiler commands used to build curl will be
|
||||||
|
# shown. Now, from the external/curl/ directory, run curl's normal configure
|
||||||
|
# command with flags that match what Android itself uses. This will mean
|
||||||
|
# putting the compiler directory into the PATH, putting the -I, -isystem and
|
||||||
|
# -D options into CPPFLAGS, putting the -m, -f, -O and -nostdlib options into
|
||||||
|
# CFLAGS, and putting the -Wl, -L and -l options into LIBS, along with the path
|
||||||
|
# to the files libgcc.a, crtbegin_dynamic.o, and ccrtend_android.o. Remember
|
||||||
|
# that the paths must be absolute since you will not be running configure from
|
||||||
|
# the same directory as the Android make. The normal cross-compiler options
|
||||||
|
# must also be set.
|
||||||
|
#
|
||||||
|
# The end result will be a configure command that looks something like this
|
||||||
|
# (the environment variable A is set to the Android root path):
|
||||||
|
#
|
||||||
|
# A=`realpath ../..` && \
|
||||||
|
# PATH="$A/prebuilt/linux-x86/toolchain/arm-eabi-X/bin:$PATH" \
|
||||||
|
# ./configure --host=arm-linux CC=arm-eabi-gcc \
|
||||||
|
# CPPFLAGS="-I $A/system/core/include ..." \
|
||||||
|
# CFLAGS="-fno-exceptions -Wno-multichar ..." \
|
||||||
|
# LIB="$A/prebuilt/linux-x86/toolchain/arm-eabi-X/lib/gcc/arm-eabi/X\
|
||||||
|
# /interwork/libgcc.a ..." \
|
||||||
|
#
|
||||||
|
# Dan Fandrich
|
||||||
|
# September 2009
|
||||||
|
|
||||||
|
LOCAL_PATH:= $(call my-dir)
|
||||||
|
|
||||||
|
common_CFLAGS := -Wpointer-arith -Wwrite-strings -Wunused -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -DHAVE_CONFIG_H
|
||||||
|
|
||||||
|
#########################
|
||||||
|
# Build the libcurl library
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
include $(LOCAL_PATH)/lib/Makefile.inc
|
||||||
|
CURL_HEADERS := \
|
||||||
|
curlbuild.h \
|
||||||
|
curl.h \
|
||||||
|
curlrules.h \
|
||||||
|
curlver.h \
|
||||||
|
easy.h \
|
||||||
|
mprintf.h \
|
||||||
|
multi.h \
|
||||||
|
stdcheaders.h \
|
||||||
|
typecheck-gcc.h \
|
||||||
|
types.h
|
||||||
|
|
||||||
|
LOCAL_SRC_FILES := $(addprefix lib/,$(CSOURCES))
|
||||||
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include/
|
||||||
|
LOCAL_CFLAGS += $(common_CFLAGS)
|
||||||
|
|
||||||
|
LOCAL_COPY_HEADERS_TO := libcurl/curl
|
||||||
|
LOCAL_COPY_HEADERS := $(addprefix include/curl/,$(CURL_HEADERS))
|
||||||
|
|
||||||
|
LOCAL_MODULE:= libcurl
|
||||||
|
|
||||||
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
|
||||||
|
#########################
|
||||||
|
# Build the curl binary
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
include $(LOCAL_PATH)/src/Makefile.inc
|
||||||
|
LOCAL_SRC_FILES := $(addprefix src/,$(CURL_SOURCES))
|
||||||
|
|
||||||
|
LOCAL_MODULE := curl
|
||||||
|
LOCAL_STATIC_LIBRARIES := libcurl
|
||||||
|
LOCAL_SYSTEM_SHARED_LIBRARIES := libc
|
||||||
|
|
||||||
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include $(LOCAL_PATH)/lib
|
||||||
|
|
||||||
|
# This will also need to include $(CURLX_ONES) in order to correctly build
|
||||||
|
# a dynamic library
|
||||||
|
LOCAL_CFLAGS += $(common_CFLAGS)
|
||||||
|
|
||||||
|
include $(BUILD_EXECUTABLE)
|
||||||
|
|
||||||
835
CHANGES.1999
835
CHANGES.1999
@@ -1,835 +0,0 @@
|
|||||||
Daniel (28 December 1999):
|
|
||||||
- Tim Verhoeven correctly identified that curl
|
|
||||||
doesn't support URL formatted file names when getting ftp. Now, there's a
|
|
||||||
problem with getting very weird file names off FTP servers. RFC 959 defines
|
|
||||||
that the file name syntax to use should be the same as in the native OS of
|
|
||||||
the server. Since we don't know the peer server system we currently just
|
|
||||||
translate the URL syntax into plain letters. It is still better and with
|
|
||||||
the solaris 2.6-supplied ftp server it works with spaces in the file names.
|
|
||||||
|
|
||||||
Daniel (27 December 1999):
|
|
||||||
- When curl parsed cookies straight off a remote site, it corrupted the input
|
|
||||||
data, which, if the downloaded headers were stored made very odd characters
|
|
||||||
in the saved data. Correctly identified and reported by Paul Harrington.
|
|
||||||
|
|
||||||
Daniel (13 December 1999):
|
|
||||||
- General cleanups in the library interface. There had been some bad kludges
|
|
||||||
added during times of stress and I did my best to clean them off. It was
|
|
||||||
both regarding the lib API as well as include file confusions.
|
|
||||||
|
|
||||||
Daniel (3 December 1999):
|
|
||||||
- A small --stderr bug was reported by Eetu Ojanen...
|
|
||||||
|
|
||||||
- who also brought the suggestion of extending the -X flag to ftp list as
|
|
||||||
well. So, now it is and the long option is now --request instead. It is
|
|
||||||
only for ftp list for now (and the former http stuff too of course).
|
|
||||||
|
|
||||||
Lars J. Aas (24 November 1999):
|
|
||||||
- Patched curl to compile and build under BeOS. Doesn't work yet though!
|
|
||||||
|
|
||||||
- Corrected the Makefile.am files to allow putting object files in
|
|
||||||
different directories than the sources.
|
|
||||||
|
|
||||||
Version 6.3.1
|
|
||||||
|
|
||||||
Daniel (23 November 1999):
|
|
||||||
- I've had this major disk crash. My good old trust-worthy source disk died
|
|
||||||
along with the machine that hosted it. Thank goodness most of all the
|
|
||||||
things I've done are either backed up elsewhere or stored in this CVS
|
|
||||||
server!
|
|
||||||
|
|
||||||
- Michael S. Steuer pointed out a bug in the -F handling
|
|
||||||
that made curl hang if you posted an empty variable such as '-F name='. It
|
|
||||||
was one of those old bugs that never have worked properly...
|
|
||||||
|
|
||||||
- Jason Baietto pointed out a general flaw in the HTTP
|
|
||||||
download. Curl didn't complain if it was prematurely aborted before the
|
|
||||||
entire download was completed. It does now.
|
|
||||||
|
|
||||||
Daniel (19 November 1999):
|
|
||||||
- Chris Maltby very accurately criticized the lack of
|
|
||||||
return code checks on the fwrite() calls. I did a thorough check for all
|
|
||||||
occurrences and corrected this.
|
|
||||||
|
|
||||||
Daniel (17 November 1999):
|
|
||||||
- Paul Harrington pointed out that the -m/--max-time option
|
|
||||||
doesn't work for the slow system calls like gethostbyname()... I don't have
|
|
||||||
any good fix yet, just a slightly less bad one that makes curl exit hard
|
|
||||||
when the timeout is reached.
|
|
||||||
|
|
||||||
- Bjorn Reese helped me point out a possible problem that might be the reason
|
|
||||||
why Thomas Hurst experience problems in his Amiga version.
|
|
||||||
|
|
||||||
Daniel (12 November 1999):
|
|
||||||
- I found a crash in the new cookie file parser. It crashed when you gave
|
|
||||||
a plain http header file as input...
|
|
||||||
|
|
||||||
Version 6.3
|
|
||||||
|
|
||||||
Daniel (10 November 1999):
|
|
||||||
- I kind of found out that the HTTP time-conditional GETs (-z) aren't always
|
|
||||||
respected by the web server and the document is therefore sent in whole
|
|
||||||
again, even though it doesn't match the requested condition. After reading
|
|
||||||
section 13.3.4 of RFC 2616, I think I'm doing the right thing now when I do
|
|
||||||
my own check as well. If curl thinks the condition isn't met, the transfer
|
|
||||||
is aborted prematurely (after all the headers have been received).
|
|
||||||
|
|
||||||
- After comments from Robert Linden I also rewrote some parts of the man page
|
|
||||||
to better describe how the -F works.
|
|
||||||
|
|
||||||
- Michael Anti put up a new curl download mirror in
|
|
||||||
China: http://www.pshowing.com/curl/
|
|
||||||
|
|
||||||
- I added the list of download mirrors to the README file
|
|
||||||
|
|
||||||
- I did add more explanations to the man page
|
|
||||||
|
|
||||||
Daniel (8 November 1999):
|
|
||||||
- I made the -b/--cookie option capable of reading netscape formatted cookie
|
|
||||||
files as well as normal http-header files. It should be able to
|
|
||||||
transparently figure out what kind of file it got as input.
|
|
||||||
|
|
||||||
Daniel (29 October 1999):
|
|
||||||
- Another one of Sebastiaan van Erk's ideas (that has been requested before
|
|
||||||
but I seem to have forgotten who it was), is to add support for ranges in
|
|
||||||
FTP downloads. As usual, one request is just a request, when they're two
|
|
||||||
it is a demand. I've added simple support for X-Y style fetches. X has to
|
|
||||||
be the lower number, though you may omit one of the numbers. Use the -r/
|
|
||||||
--range switch (previously HTTP-only).
|
|
||||||
|
|
||||||
- Sebastiaan van Erk suggested that curl should be
|
|
||||||
able to show the file size of a specified file. I think this is a splendid
|
|
||||||
idea and the -I flag is now working for FTP. It displays the file size in
|
|
||||||
this manner:
|
|
||||||
Content-Length: XXXX
|
|
||||||
As it resembles normal headers, and leaves us the opportunity to add more
|
|
||||||
info in that display if we can come up with more in the future! It also
|
|
||||||
makes sense since if you access ftp through a HTTP proxy, you'd get the
|
|
||||||
file size the same way.
|
|
||||||
|
|
||||||
I changed the order of the QUOTE command executions. They're now executed
|
|
||||||
just after the login and before any other command. I made this to enable
|
|
||||||
quote commands to run before the -I stuff is done too.
|
|
||||||
|
|
||||||
- I found out that -D/--dump-header and -V/--version weren't documented in
|
|
||||||
the man page.
|
|
||||||
|
|
||||||
- Many HTTP/1.1 servers do not support ranges. Don't ask me why. I did add
|
|
||||||
some text about this in the man page for the range option. The thread in
|
|
||||||
the mailing list that started this was initiated by Michael Anti.
|
|
||||||
|
|
||||||
- I get reports about nroff crashes on solaris 2.6+ when displaying the curl
|
|
||||||
man page. Switch to gnroff instead, it is reported to work(!). Adam Barclay
|
|
||||||
reported and brought the suggestion.
|
|
||||||
|
|
||||||
- In a dialogue with Johannes G. Kristinsson we came
|
|
||||||
up with the idea to let -H/--header specified headers replace the
|
|
||||||
internally generated headers, if you happened to select to add a header
|
|
||||||
that curl normally uses by itself. The advantage with this is not entirely
|
|
||||||
obvious, but in Johannes' case it means that he can use another Host: than
|
|
||||||
the one curl would set.
|
|
||||||
|
|
||||||
Daniel (27 October 1999):
|
|
||||||
- Jongki Suwandi brought a nice patch for (yet another) crash when following
|
|
||||||
a location:. This time you had to follow a https:// server's redirect to
|
|
||||||
get the core.
|
|
||||||
|
|
||||||
Version 6.2
|
|
||||||
|
|
||||||
Daniel (21 October 1999):
|
|
||||||
- I think I managed to remove the suspicious (nil) that has been seen just
|
|
||||||
before the "Host:" in HTTP requests when -v was used.
|
|
||||||
- I found out that if you followed a location: when using a proxy, without
|
|
||||||
having specified http:// in the URL, the protocol part was added once again
|
|
||||||
when moving to the next URL! (The protocol part has to be added to the
|
|
||||||
URL when going through a proxy since it has no protocol-guessing system
|
|
||||||
such as curl has.)
|
|
||||||
- Benjamin Ritcey reported a core dump under solaris 2.6
|
|
||||||
with OpenSSL 0.9.4. It turned out this was due to a bad free() in main.c
|
|
||||||
that occurred after the download was done and completed.
|
|
||||||
- Benjamin found ftp downloads to show the first line of the download meter
|
|
||||||
to get written twice, and I removed that problem. It was introduced with
|
|
||||||
the multiple URL support.
|
|
||||||
- Dan Zitter correctly pointed out that curl 6.1 and earlier versions didn't
|
|
||||||
honor RFC 2616 chapter 4 section 2, "Message Headers": "...Field names are
|
|
||||||
case-insensitive..." HTTP header parsing assumed a certain casing. Dan
|
|
||||||
also provided me with a patch that corrected this, which I took the liberty
|
|
||||||
of editing slightly.
|
|
||||||
- Dan Zitter also provided a nice patch for config.guess to better recognize
|
|
||||||
the Mac OS X
|
|
||||||
- Dan also corrected a minor problem in the lib/Makefile that caused linking
|
|
||||||
to fail on OS X.
|
|
||||||
|
|
||||||
Daniel (19 October 1999):
|
|
||||||
- Len Marinaccio came up with some problems with curl. Since Windows has a
|
|
||||||
crippled shell, it can't redirect stderr and that causes trouble. I added
|
|
||||||
--stderr today which allows the user to redirect the stderr stream to a
|
|
||||||
file or stdout.
|
|
||||||
|
|
||||||
Daniel (18 October 1999):
|
|
||||||
- The configure script now understands the '--without-ssl' flag, which now
|
|
||||||
totally disable SSL/https support. Previously it wasn't possible to force
|
|
||||||
the configure script to leave SSL alone. The previous functionality has
|
|
||||||
been retained. Troy Engel helped test this new one.
|
|
||||||
|
|
||||||
Version 6.1
|
|
||||||
|
|
||||||
Daniel (17 October 1999):
|
|
||||||
- I ifdef'ed or commented all the zlib stuff in the sources and configure
|
|
||||||
script. It turned out we needed to mock more with zlib than I initially
|
|
||||||
thought, to make it capable of downloading compressed HTTP documents and
|
|
||||||
uncompress them on the fly. I didn't mean the zlib parts of curl to become
|
|
||||||
more than minor so this means I halt the zlib expedition for now and wait
|
|
||||||
until someone either writes the code or zlib gets updated and better
|
|
||||||
adjusted for this kind of usage. I won't get into details here, but a
|
|
||||||
short a summary is suitable:
|
|
||||||
- zlib can't automatically detect whether to use zlib or gzip
|
|
||||||
decompression methods.
|
|
||||||
- zlib is very neat for reading gzipped files from a file descriptor,
|
|
||||||
although not as nice for reading buffer-based data such as we would
|
|
||||||
want it.
|
|
||||||
- there are still some problems with the win32 version when reading from
|
|
||||||
a file descriptor if that is a socket
|
|
||||||
|
|
||||||
Daniel (14 October 1999):
|
|
||||||
- Moved the (external) include files for libcurl into a subdirectory named
|
|
||||||
curl and adjusted all #include lines to use <curl/XXXX> to maintain a
|
|
||||||
better name space and control of the headers. This has been requested.
|
|
||||||
|
|
||||||
Daniel (12 October 1999):
|
|
||||||
- I modified the 'maketgz' script to perform a 'make' too before a release
|
|
||||||
archive is put together in an attempt to make the time stamps better and
|
|
||||||
hopefully avoid the double configure-running that use to occur.
|
|
||||||
|
|
||||||
Daniel (11 October 1999):
|
|
||||||
- Applied J<>rn's patches that fixes zlib for mingw32 compiles as well as
|
|
||||||
some other missing zlib #ifdef and more text on the multiple URL docs in
|
|
||||||
the man page.
|
|
||||||
|
|
||||||
Version 6.1beta
|
|
||||||
|
|
||||||
Daniel (6 October 1999):
|
|
||||||
- Douglas E. Wegscheid sent me a patch that made the exact same thing as I
|
|
||||||
just made: the -d switch is now capable of reading post data from a named
|
|
||||||
file or stdin. Use it similarly to the -F. To read the post data from a
|
|
||||||
given file:
|
|
||||||
|
|
||||||
curl -d @path/to/filename www.postsite.com
|
|
||||||
|
|
||||||
or let curl read it out from stdin:
|
|
||||||
|
|
||||||
curl -d @- www.postit.com
|
|
||||||
|
|
||||||
J<>rn Hartroth (3 October 1999):
|
|
||||||
- Brought some more patches for multiple URL functionality. The MIME
|
|
||||||
separation ideas are almost scrapped now, and a custom separator is being
|
|
||||||
used instead. This is still compile-time "flagged".
|
|
||||||
|
|
||||||
Daniel
|
|
||||||
- Updated curl.1 with multiple URL info.
|
|
||||||
|
|
||||||
Daniel (30 September 1999):
|
|
||||||
- Felix von Leitner brought openssl-check fixes for configure.in to work
|
|
||||||
out-of-the-box when the openssl files are installed in the system default
|
|
||||||
dirs.
|
|
||||||
|
|
||||||
Daniel (28 September 1999)
|
|
||||||
- Added libz functionality. This should enable decompressing gzip, compress
|
|
||||||
or deflate encoding HTTP documents. It also makes curl send an accept that
|
|
||||||
it accepts that kind of encoding. Compressed contents usually shortens
|
|
||||||
download time. I *need* someone to tell me a site that uses compressed HTTP
|
|
||||||
documents so that I can test this out properly.
|
|
||||||
|
|
||||||
- As a result of the adding of zlib awareness, I changed the version string
|
|
||||||
a little. I plan to add openldap version reporting in there too.
|
|
||||||
|
|
||||||
Daniel (17 September 1999)
|
|
||||||
- Made the -F option allow stdin when specifying files. By using '-' instead
|
|
||||||
of file name, the data will be read from stdin.
|
|
||||||
|
|
||||||
Version 6.0
|
|
||||||
|
|
||||||
Daniel (13 September 1999)
|
|
||||||
- Added -X/--http-request <request> to enable any HTTP command to be sent.
|
|
||||||
Do not that your server has to support the exact string you enter. This
|
|
||||||
should possibly a string like DELETE or TRACE.
|
|
||||||
|
|
||||||
- Applied Douglas' mingw32-fixes for the makefiles.
|
|
||||||
|
|
||||||
Daniel (10 September 1999)
|
|
||||||
- Douglas E. Wegscheid pointed out a problem. Curl didn't check the FTP
|
|
||||||
servers return code properly after the --quote commands were issued. It
|
|
||||||
took anything non 200 as an error, when all 2XX codes should be accepted as
|
|
||||||
OK.
|
|
||||||
|
|
||||||
- Sending cookies to the same site in multiple lines like curl used to do
|
|
||||||
turned out to be bad and breaking the cookie specs. Curl now sends all
|
|
||||||
cookies on a single Cookie: line. Curl is not yet RFC 2109 compliant, but I
|
|
||||||
doubt that many servers do use that syntax (yet).
|
|
||||||
|
|
||||||
Daniel (8 September 1999)
|
|
||||||
- J<>rn helped me make sure it still compiles nicely with mingw32 under win32.
|
|
||||||
|
|
||||||
Daniel (7 September 1999)
|
|
||||||
- FTP upload through proxy is now turned into a HTTP PUT. Requested by
|
|
||||||
Stefan Kanthak.
|
|
||||||
|
|
||||||
- Added the ldap files to the .m32 makefile.
|
|
||||||
|
|
||||||
Daniel (3 September 1999)
|
|
||||||
- Made cookie matching work while using HTTP proxy.
|
|
||||||
|
|
||||||
Bjorn Reese (31 August 1999)
|
|
||||||
- Passed his ldap:// patch. Note that this requires the openldap shared
|
|
||||||
library to be installed and that LD_LIBRARY_PATH points to the
|
|
||||||
directory where the lib will be found when curl is run with a
|
|
||||||
ldap:// URL.
|
|
||||||
|
|
||||||
J<>rn Hartroth (31 August 1999)
|
|
||||||
- Made the Mingw32 makefiles into single files.
|
|
||||||
- Made file:// work for Win32. The same code is now used for unix as well for
|
|
||||||
performance reasons.
|
|
||||||
|
|
||||||
Douglas E. Wegscheid (30 August 1999)
|
|
||||||
- Patched the Mingw32 makefiles for SSL builds.
|
|
||||||
|
|
||||||
Matthew Clarke (30 August 1999)
|
|
||||||
- Made a cool patch for configure.in to allow --with-ssl to specify the
|
|
||||||
root dir of the openssl installation, as in
|
|
||||||
|
|
||||||
./configure --with-ssl=/usr/ssl_here
|
|
||||||
|
|
||||||
- Corrected the 'reconf' script to work better with some shells.
|
|
||||||
|
|
||||||
J<>rn Hartroth (26 August 1999)
|
|
||||||
- Fixed the Mingw32 makefiles in lib/ and corrected the file.c for win32
|
|
||||||
compiles.
|
|
||||||
|
|
||||||
Version 5.11
|
|
||||||
|
|
||||||
Daniel (25 August 1999)
|
|
||||||
- John Weismiller pointed out a bug in the header-line
|
|
||||||
realloc() system in download.c.
|
|
||||||
|
|
||||||
- I added lib/file.[ch] to offer a first, simple, file:// support. It
|
|
||||||
probably won't do much good on win32 system at this point, but I see it
|
|
||||||
as a start.
|
|
||||||
|
|
||||||
- Made the release archives get a Makefile in the root dir, which can be
|
|
||||||
used to start the compiling/building process easier. I haven't really
|
|
||||||
changed any INSTALL text yet, I wanted to get some feed-back on this
|
|
||||||
first.
|
|
||||||
|
|
||||||
Daniel (17 August 1999)
|
|
||||||
- Another Location: bug. Curl didn't do proper relative locations if the
|
|
||||||
original URL had cgi-parameters that contained a slash. Nusu's page
|
|
||||||
again.
|
|
||||||
|
|
||||||
- Corrected the NO_PROXY usage. It is a list of substrings that if one of
|
|
||||||
them matches the tail of the host name it should connect to, curl should
|
|
||||||
not use a proxy to connect there. Pointed out to me by Douglas
|
|
||||||
E. Wegscheid. I also changed the README text a little regarding this.
|
|
||||||
|
|
||||||
Daniel (16 August 1999)
|
|
||||||
- Fixed a memory bug with http-servers that sent Location: to a Location:
|
|
||||||
page. Nusu's page showed this too.
|
|
||||||
|
|
||||||
- Made cookies work a lot better. Setting the same cookie name several times
|
|
||||||
used to add more cookies instead of replacing the former one which it
|
|
||||||
should've. Nusu <nus at intergorj.ro> brought me an URL that made this
|
|
||||||
painfully visible...
|
|
||||||
|
|
||||||
Troy (15 August 1999)
|
|
||||||
- Brought new .spec files as well as a patch for configure.in that lets the
|
|
||||||
configure script find the openssl files better, even when the include
|
|
||||||
files are in /usr/include/openssl
|
|
||||||
|
|
||||||
Version 5.10
|
|
||||||
|
|
||||||
Daniel (13 August 1999)
|
|
||||||
- SSL_CTX_set_default_passwd_cb() has been modified in the 0.9.4 version of
|
|
||||||
OpenSSL. Now why couldn't they simply add a *new* function instead of
|
|
||||||
modifying the parameters of an already existing function? This way, we get
|
|
||||||
a compiler warning if compiling with 0.9.4 but not with earlier. So, I had
|
|
||||||
to come up with a #if construction that deals with this...
|
|
||||||
|
|
||||||
- Made curl output the SSL version number get displayed properly with 0.9.4.
|
|
||||||
|
|
||||||
Troy (12 August 1999)
|
|
||||||
- Added MingW32 (GCC-2.95) support under Win32. The INSTALL file was also
|
|
||||||
a bit rearranged.
|
|
||||||
|
|
||||||
Daniel (12 August 1999)
|
|
||||||
- I had to copy a good <arpa/telnet.h> include file into the curl source
|
|
||||||
tree to enable the silly win32 systems to compile. The distribution rights
|
|
||||||
allows us to do that as long as the file remains unmodified.
|
|
||||||
|
|
||||||
- I corrected a few minor things that made the compiler complain when
|
|
||||||
-Wall -pedantic was used.
|
|
||||||
|
|
||||||
- I'm moving the official curl web page to http://curl.haxx.nu. I think it
|
|
||||||
will make it easier to remember as it is a lot shorter and less cryptic.
|
|
||||||
The old one still works and shows the same info.
|
|
||||||
|
|
||||||
Daniel (11 August 1999)
|
|
||||||
- Albert Chin-A-Young mailed me another correction for NROFF in the
|
|
||||||
configure.in that is supposed to be better for IRIX users.
|
|
||||||
|
|
||||||
Daniel (10 August 1999)
|
|
||||||
- Albert Chin-A-Young helped me with some stupid Makefile things, as well as
|
|
||||||
some fiddling with the getdate.c stuff that he had problems with under
|
|
||||||
HP-UX v10. getdate.y will now be compiled into getdate.c if the appropriate
|
|
||||||
yacc or bison is found by the configure script. Since this is slightly new,
|
|
||||||
we need to test the output getdate.c with win32 systems to make sure it
|
|
||||||
still compiles there.
|
|
||||||
|
|
||||||
Daniel (5 August 1999)
|
|
||||||
- I've just setup a new mailing list with the intention to keep discussions
|
|
||||||
around libcurl development in it. I mainly expect it to be for thoughts and
|
|
||||||
brainstorming around a "next generation" library, rather than nitpicking
|
|
||||||
about the current implementation or details in the current libcurl.
|
|
||||||
|
|
||||||
To join our happy bunch of future-looking geeks, enter 'subscribe
|
|
||||||
<address>' in the body of a mail and send it to
|
|
||||||
libcurl-request@listserv.fts.frontec.se. Curl bug reports, the usual curl
|
|
||||||
talk and everything else should still be kept in this mailing list. I've
|
|
||||||
started to archive this mailing list and have put the libcurl web page at
|
|
||||||
www.fts.frontec.se/~dast/libcurl/.
|
|
||||||
|
|
||||||
- Stefan Kanthak contacted me regarding a few problems in the configure
|
|
||||||
script which he discovered when trying to make curl compile and build under
|
|
||||||
Siemens SINIX-Z V5.42B2004!
|
|
||||||
|
|
||||||
- Marcus Klein very accurately informed me that src/version.h was not present
|
|
||||||
in the CVS repository. Oh, how silly...
|
|
||||||
|
|
||||||
- Linus Nielsen rewrote the telnet:// part and now curl offers limited telnet
|
|
||||||
support. If you run curl like 'curl telnet://host' you'll get all output on
|
|
||||||
the screen and curl will read input from stdin. You'll be able to login and
|
|
||||||
run commands etc, but since the output is buffered, expect to get a little
|
|
||||||
weird output.
|
|
||||||
|
|
||||||
This is still in its infancy and it might get changed. We need your
|
|
||||||
feed-back and input in how this is best done.
|
|
||||||
|
|
||||||
WIN32 NOTE: I bet we'll get problems when trying to compile the current
|
|
||||||
lib/telnet.c on win32, but I think we can sort them out in time.
|
|
||||||
|
|
||||||
- David Sanderson reported that FORCE_ALLOCA_H or HAVE_ALLOCA_H must be
|
|
||||||
defined for getdate.c to compile properly on HP-UX 11.0. I updated the
|
|
||||||
configure script to check for alloca.h which should make it.
|
|
||||||
|
|
||||||
Daniel (4 August 1999)
|
|
||||||
- I finally got to understand Marcus Klein's ftp download resume problem,
|
|
||||||
which turns out to be due to different outputs from different ftp
|
|
||||||
servers. It makes ftp download resuming a little trickier, but I've made
|
|
||||||
some modifications I really believe will work for most ftp servers and I do
|
|
||||||
hope you report if you have problems with this!
|
|
||||||
|
|
||||||
- Added text about file transfer resuming to README.curl.
|
|
||||||
|
|
||||||
Daniel (2 August 1999)
|
|
||||||
- Applied a progress-bar patch from Lars J. Aas. It offers
|
|
||||||
a new styled progress bar enabled with -#/--progress-bar.
|
|
||||||
|
|
||||||
T. Yamada <tai at imasy.or.jp> (30 July 1999)
|
|
||||||
- It breaks with segfault when 1) curl is using .netrc to obtain
|
|
||||||
username/password (option '-n'), and 2) is automatically redirected to
|
|
||||||
another location (option '-L').
|
|
||||||
|
|
||||||
There is a small bug in lib/url.c (block starting from line 641), which
|
|
||||||
tries to take out username/password from user- supplied command-line
|
|
||||||
argument ('-u' option). This block is never executed on first attempt since
|
|
||||||
CONF_USERPWD bit isn't set at first, but curl later turns it on when it
|
|
||||||
checks for CONF_NETRC bit. So when curl tries to redo everything due to
|
|
||||||
redirection, it segfaults trying to access *data->userpwd.
|
|
||||||
|
|
||||||
Version 5.9.1
|
|
||||||
|
|
||||||
Daniel (30 July 1999)
|
|
||||||
- Steve Walch pointed out that there is a memory leak in the formdata
|
|
||||||
functions. I added a FormFree() function that is now used and supposed to
|
|
||||||
correct this flaw.
|
|
||||||
|
|
||||||
- Mark Wotton reported:
|
|
||||||
'curl -L https://www.cwa.com.au/' core dumps. I managed to cure this by
|
|
||||||
correcting the cleanup procedure. The bug seems to be gone with my OpenSSL
|
|
||||||
0.9.2b, although still occurs when I run the ~100 years old SSLeay 0.8.0. I
|
|
||||||
don't know whether it is curl or SSLeay that is to blame for that.
|
|
||||||
|
|
||||||
- Marcus Klein:
|
|
||||||
Reported an FTP upload resume bug that I really can't repeat nor understand.
|
|
||||||
I leave it here so that it won't be forgotten.
|
|
||||||
|
|
||||||
Daniel (29 July 1999)
|
|
||||||
- Costya Shulyupin suggested support for longer URLs when following Location:
|
|
||||||
and I could only agree and fix it!
|
|
||||||
|
|
||||||
- Leigh Purdie found a problem in the upload/POST department. It turned out
|
|
||||||
that http.c accidentaly cleared the pointer instead of the byte counter
|
|
||||||
when supposed to.
|
|
||||||
|
|
||||||
- Costya Shulyupin pointed out a problem with port numbers and Location:. If
|
|
||||||
you had a server at a non-standard port that redirected to an URL using a
|
|
||||||
standard port number, curl still used that first port number.
|
|
||||||
|
|
||||||
- Ralph Beckmann pointed out a problem when using both CONF_FOLLOWLOCATION
|
|
||||||
and CONF_FAILONERROR simultaneously. Since the CONF_FAILONERROR exits on
|
|
||||||
the 302-code that the follow location header outputs it will never show any
|
|
||||||
html on location: pages. I have now made it look for >=400 codes if
|
|
||||||
CONF_FOLLOWLOCATION is set.
|
|
||||||
|
|
||||||
- 'struct slist' is now renamed to 'struct curl_slist' (as suggested by Ralph
|
|
||||||
Beckmann).
|
|
||||||
|
|
||||||
- Joshua Swink and Rick Welykochy were the first to point out to me that the
|
|
||||||
latest OpenSSL package now have moved the standard include path. It is now
|
|
||||||
in /usr/local/ssl/include/openssl and I have now modified the --enable-ssl
|
|
||||||
option for the configure script to use that as the primary path, and I
|
|
||||||
leave the former path too to work with older packages of OpenSSL too.
|
|
||||||
|
|
||||||
Daniel (9 June 1999)
|
|
||||||
- I finally understood the IRIX problem and now it seem to compile on it!
|
|
||||||
I am gonna remove those #define strcasecmp() things once and for all now.
|
|
||||||
|
|
||||||
Daniel (4 June 1999)
|
|
||||||
- I adjusted the FTP reply 227 parser to make the PASV command work better
|
|
||||||
with more ftp servers. Appearantly the Roxen Challanger server replied
|
|
||||||
something curl 5.9 could deal with! :-( Reported by Ashley Reid-Montanaro
|
|
||||||
and Mark Butler brought a solution for it.
|
|
||||||
|
|
||||||
Daniel (26 May 1999)
|
|
||||||
- Rearranged. README is new, the old one is now README.curl and I added a
|
|
||||||
README.libcurl with text I got from Ralph Beckmann.
|
|
||||||
|
|
||||||
- I also updated the INSTALL text.
|
|
||||||
|
|
||||||
Daniel (25 May 1999)
|
|
||||||
- David Jonathan Lowsky correctly pointed out that curl didn't properly deal
|
|
||||||
with form posting where the variable shouldn't have any content, as in curl
|
|
||||||
-F "form=" www.site.com. It was now fixed.
|
|
||||||
|
|
||||||
Version 5.9
|
|
||||||
|
|
||||||
Daniel (22 May 1999)
|
|
||||||
- I've got a bug report from Aaron Scarisbrick in which he states he has some
|
|
||||||
problems with -L under FreeBSD 3.0. I have previously got another bug
|
|
||||||
report from Stefan Grether which points at an error with similar sympthoms
|
|
||||||
when using win32. I made the allocation of the new url string a bit faster
|
|
||||||
and different, don't know if it actually improves anything though...
|
|
||||||
|
|
||||||
Daniel (20 May 1999)
|
|
||||||
- Made the cookie parser deal with CRLF newlines too.
|
|
||||||
|
|
||||||
Daniel (19 May 1999)
|
|
||||||
- Download() didn't properly deal with failing return codes from the sread()
|
|
||||||
function. Adam Coyne found the problem in the win32 version, and Troy Engel
|
|
||||||
helped me out isolating it.
|
|
||||||
|
|
||||||
Daniel (16 May 1999)
|
|
||||||
- Richard Adams pointed out a bug I introduced in 5.8. --dump-header doesn't
|
|
||||||
work anymore! :-/ I fixed it now.
|
|
||||||
|
|
||||||
- After a suggestion by Joshua Swink I added -S / --show-error to force curl
|
|
||||||
to display the error message in case of an error, even if -s/--silent was
|
|
||||||
used.
|
|
||||||
|
|
||||||
Daniel (10 May 1999)
|
|
||||||
- I moved the stuff concerning HTTP, DICT and TELNET it their own source
|
|
||||||
files now. It is a beginning on my clean-up of the sources to make them
|
|
||||||
layer all those protocols better to enable more to be added easier in the
|
|
||||||
future!
|
|
||||||
|
|
||||||
- Leon Breedt sent me some files I've not put into the main curl
|
|
||||||
archive. They're for creating the Debian package thingie. He also sent me a
|
|
||||||
debian package that I've made available for download at the web page
|
|
||||||
|
|
||||||
Daniel (9 May 1999)
|
|
||||||
- Made it compile on cygwin too.
|
|
||||||
|
|
||||||
Troy Engel (7 May 1999)
|
|
||||||
- Brought a series of patches to allow curl to compile smoothly on MSVC++ 6
|
|
||||||
again!
|
|
||||||
|
|
||||||
Daniel (6 May 1999)
|
|
||||||
- I changed the #ifdef HAVE_STRFTIME placement for the -z code so that it
|
|
||||||
will be easier to discover systems that don't have that function and thus
|
|
||||||
can't use -z successfully. Made the strftime() get used if WIN32 is defined
|
|
||||||
too.
|
|
||||||
|
|
||||||
Version 5.8
|
|
||||||
|
|
||||||
Daniel (5 May 1999)
|
|
||||||
- I've had it with this autoconf/automake mess. It seems to work allright
|
|
||||||
for most people who don't have automake installed, but for those who have
|
|
||||||
there are problems all over.
|
|
||||||
|
|
||||||
I've got like five different bug reports on this only the last
|
|
||||||
week... Claudio Neves and Federico Bianchi and root <duggerj001 at
|
|
||||||
hawaii.rr.com> are some of them reporting this.
|
|
||||||
|
|
||||||
Currently, I have no really good fix since I want to use automake myself to
|
|
||||||
generate the Makefile.in files. I've found out that the @SHELL@-problems
|
|
||||||
can often be fixed by manually invoking 'automake' in the archive root
|
|
||||||
before you run ./configure... I've hacked my maketgz script now to fiddle
|
|
||||||
a bit with this and my tests seem to work better than before at least!
|
|
||||||
|
|
||||||
Daniel (4 May 1999)
|
|
||||||
- mkhelp.pl has been doing badly lately. I corrected a case problem in
|
|
||||||
the regexes.
|
|
||||||
|
|
||||||
- I've now remade the -o option to not touch the file unless it needs to.
|
|
||||||
I had to do this to make -z option really fine, since now you can make a
|
|
||||||
curl fetch and use a local copy's time when downloading to that file, as
|
|
||||||
in:
|
|
||||||
|
|
||||||
curl -z dump -o dump remote.site.com/file.html
|
|
||||||
|
|
||||||
This will only get the file if the remote one is newer than the local.
|
|
||||||
I'm aware that this alters previous behaviour a little. Some scripts out
|
|
||||||
there may depend on that the file is always touched...
|
|
||||||
|
|
||||||
- Corrected a bug in the SSLv2/v3 selection.
|
|
||||||
|
|
||||||
- Felix von Leitner requested that curl should be able to send
|
|
||||||
"If-Modified-Since" headers, which indeed is a fair idea. I implemented it
|
|
||||||
right away! Try -z <expression> where expression is a full GNU date
|
|
||||||
expression or a file name to get the date from!
|
|
||||||
|
|
||||||
Stephan Lagerholm (30 Apr 1999)
|
|
||||||
- Pointed out a problem with the src/Makefile for FreeBSD. The RM variable
|
|
||||||
isn't set and causes the make to fail.
|
|
||||||
|
|
||||||
Daniel (26 April 1999)
|
|
||||||
- Am I silly or what? Irving Wolfe pointed out to me that the curl version
|
|
||||||
number was not set properly. Hasn't been since 5.6. This was due to a bug
|
|
||||||
in my maketgz script!
|
|
||||||
|
|
||||||
David Eriksson (25 Apr 1999)
|
|
||||||
- Found a bug in cookies.c that made it crash at times.
|
|
||||||
|
|
||||||
Version 5.7.1
|
|
||||||
|
|
||||||
Doug Kaufman (23 Apr 1999)
|
|
||||||
- Brought two sunos 4 fixes. One of them being the hostip.c fix mentioned
|
|
||||||
below and the other one a correction in include/stdcheaders.h
|
|
||||||
|
|
||||||
- Added a paragraph about compiling with the US-version of openssl to the
|
|
||||||
INSTALL file.
|
|
||||||
|
|
||||||
Daniel
|
|
||||||
- New mailing list address. Info updated on the web page as well as in the
|
|
||||||
README file
|
|
||||||
|
|
||||||
Greg Onufer (20 Apr 1999)
|
|
||||||
- hostip.c didn't compile properly on SunOS 5.5.1.
|
|
||||||
It needs an #include <sys/types.h>
|
|
||||||
|
|
||||||
Version 5.7
|
|
||||||
|
|
||||||
Daniel (Apr 20 1999)
|
|
||||||
- Decided to upload a non-beta version right now!
|
|
||||||
|
|
||||||
- Made curl support any-length HTTP headers. The destination buffer is now
|
|
||||||
simply enlarged every time it turns out to be too small!
|
|
||||||
|
|
||||||
- Added the FAQ file to the archive. Still a bit smallish, but it is a
|
|
||||||
start.
|
|
||||||
|
|
||||||
Eric Thelin (15 Apr 1999)
|
|
||||||
- Made -D accept '-' instead of filename to write to stdout.
|
|
||||||
|
|
||||||
Version 5.6.3beta
|
|
||||||
|
|
||||||
Daniel (Apr 12 1999)
|
|
||||||
|
|
||||||
- Changed two #ifdef WIN32 to better #ifdef <errorcode> when connect()ing
|
|
||||||
in url.c and ftp.c. Makes cygwin32 deal with them better too. We should
|
|
||||||
try to get some decent win32-replacement there. Anyone?
|
|
||||||
|
|
||||||
- The old -3/--crlf option is now ONLY --crlf!
|
|
||||||
|
|
||||||
- I changed the "SSL fix" to a more lame one, but that doesn't remove as
|
|
||||||
much functionality. Now I've enabled the lib to select what SSL version it
|
|
||||||
should try first. Appearantly some older SSL-servers don't like when you
|
|
||||||
talk v3 with them so you need to be able to force curl to talk v2 from the
|
|
||||||
start. The fix dated April 6 and posted on the mailing list forced curl to
|
|
||||||
use v2 at all times using a modern OpenSSL version, but we don't really
|
|
||||||
want such a crippled solution.
|
|
||||||
|
|
||||||
- Marc Boucher sent me a patch that corrected a math error for the
|
|
||||||
"Curr.Speed" progress meter.
|
|
||||||
|
|
||||||
- Eric Thelin sent me a patch that enables '-K -' to read a config file from
|
|
||||||
stdin.
|
|
||||||
|
|
||||||
- I found out we didn't close the file properly before so I added it!
|
|
||||||
|
|
||||||
Daniel (Apr 9 1999)
|
|
||||||
- Yu Xin pointed out a problem with ftp download resume. It didn't work at
|
|
||||||
all! ;-O
|
|
||||||
|
|
||||||
Daniel (Apr 6 1999)
|
|
||||||
- Corrected the version string part generated for the SSL version.
|
|
||||||
|
|
||||||
- I found a way to make some other SSL page work with openssl 0.9.1+ that
|
|
||||||
previously didn't (ssleay 0.8.0 works with it though!). Trying to get
|
|
||||||
some real info from the OpenSSL guys to see how I should do to behave the
|
|
||||||
best way. SSLeay 0.8.0 shouldn't be that much in use anyway these days!
|
|
||||||
|
|
||||||
Version 5.6.2beta
|
|
||||||
|
|
||||||
Daniel (Apr 4 1999)
|
|
||||||
- Finally have curl more cookie "aware". Now read carefully. This is how
|
|
||||||
it works.
|
|
||||||
To make curl read cookies from an already existing file, in plain header-
|
|
||||||
format (like from the headers of a previous fetch) invoke curl with the
|
|
||||||
-b flag like:
|
|
||||||
|
|
||||||
curl -b file http://site/foo.html
|
|
||||||
|
|
||||||
Curl will then use all cookies it finds matching. The old style that sets
|
|
||||||
a single cookie with -b is still supported and is used if the string
|
|
||||||
following -b includes a '=' letter, as in "-b name=daniel".
|
|
||||||
|
|
||||||
To make curl read the cookies sent in combination with a location: (which
|
|
||||||
sites often do) point curl to read a non-existing file at first (i.e
|
|
||||||
to start with no existing cookies), like:
|
|
||||||
|
|
||||||
curl -b nowhere http://site/setcookieandrelocate.html
|
|
||||||
|
|
||||||
- Added a paragraph in the TODO file about the SSL problems recently
|
|
||||||
reported. Evidently, some kind of SSL-problem curl may need to address.
|
|
||||||
|
|
||||||
- Better "Location:" following.
|
|
||||||
|
|
||||||
Douglas E. Wegscheid (Tue, 30 Mar 1999)
|
|
||||||
- A subsecond display patch.
|
|
||||||
|
|
||||||
Daniel (Mar 14 1999)
|
|
||||||
- I've separated the version number of libcurl and curl now. To make
|
|
||||||
things a little easier, I decided to start the curl numbering from
|
|
||||||
5.6 and the former version number known as "curl" is now the one
|
|
||||||
set for libcurl.
|
|
||||||
|
|
||||||
- Removed the 'enable-no-pass' from configure, I doubt anyone wanted
|
|
||||||
that.
|
|
||||||
|
|
||||||
- Made lots of tiny adjustments to compile smoothly with cygwin under
|
|
||||||
win32. It's a killer for porting this to win32, bye bye VC++! ;-)
|
|
||||||
Compiles and builds out-of-the-box now. See the new wordings in
|
|
||||||
INSTALL for details.
|
|
||||||
|
|
||||||
- Beginning experiments with downloading multiple document from a http
|
|
||||||
server while remaining connected.
|
|
||||||
|
|
||||||
Version 5.6beta
|
|
||||||
|
|
||||||
Daniel (Mar 13 1999)
|
|
||||||
- Since I've changed so much, I thought I'd just go ahead and implement the
|
|
||||||
suggestion from Douglas E. Wegscheid. -D or --dump-header is now storing
|
|
||||||
HTTP headers separately in the specified file.
|
|
||||||
|
|
||||||
- Added new text to INSTALL on what to do to build this on win32 now.
|
|
||||||
|
|
||||||
- Aaargh. I had to take a step back and prefix the shared #include files
|
|
||||||
in the sources with "../include/" to please VC++...
|
|
||||||
|
|
||||||
Daniel (Mar 12 1999)
|
|
||||||
- Split the url.c source into many tiny sources for better readability
|
|
||||||
and smaller size.
|
|
||||||
|
|
||||||
Daniel (Mar 11 1999)
|
|
||||||
- Started to change stuff for a move to make libcurl and a more separate
|
|
||||||
curl application that uses the libcurl. Made the libcurl sources into
|
|
||||||
the new lib directory while the curl application will remain in src as
|
|
||||||
before. New makefiles, adjusted configure script and so.
|
|
||||||
|
|
||||||
libcurl.a built quickly and easily. I better make a better interface to
|
|
||||||
the lib functions though.
|
|
||||||
|
|
||||||
The new root dir include/ is supposed to contain the public information
|
|
||||||
about the new libcurl. It is a little ugly so far :-)
|
|
||||||
|
|
||||||
|
|
||||||
Daniel (Mar 1 1999)
|
|
||||||
- Todd Kaufmann sent me a good link to Netscape's cookie spec as well as the
|
|
||||||
info that RFC 2109 specifies how to use them. The link is now in the
|
|
||||||
README and the RFC in the RESOURCES.
|
|
||||||
|
|
||||||
Daniel (Feb 23 1999)
|
|
||||||
- Finally made configure accept --with-ssl to look for SSL libs and includes
|
|
||||||
in the "standard" place /usr/local/ssl...
|
|
||||||
|
|
||||||
Daniel (Feb 22 1999)
|
|
||||||
- Verified that curl linked fine with OpenSSL 0.9.1c which seems to be
|
|
||||||
the most recent.
|
|
||||||
|
|
||||||
Henri Gomez (Fri Feb 5 1999)
|
|
||||||
- Sent in an updated curl-ssl.spec. I still miss the script that builds an
|
|
||||||
RPM automatically...
|
|
||||||
|
|
||||||
Version 5.5.1
|
|
||||||
|
|
||||||
Mark Butler (27 Jan 1999)
|
|
||||||
- Corrected problems in Download().
|
|
||||||
|
|
||||||
Danitel Stenberg (25 Jan 1999)
|
|
||||||
- Jeremie Petit pointed out a few flaws in the source that prevented it from
|
|
||||||
compile warning free with the native compiler under Digital Unix v4.0d.
|
|
||||||
|
|
||||||
Version 5.5
|
|
||||||
|
|
||||||
Daniel Stenberg (15 Jan 1999)
|
|
||||||
- Added Bjorns small text to the README about the DICT protocol.
|
|
||||||
|
|
||||||
Daniel Stenberg (11 Jan 1999)
|
|
||||||
- <jswink at softcom.net> reported about the win32-versioin: "Doesn't use
|
|
||||||
ALL_PROXY environment variable". Turned out to be because of the static-
|
|
||||||
buffer nature of the win32 environment variable calls!
|
|
||||||
|
|
||||||
Bjorn Reese (10 Jan 1999)
|
|
||||||
- I have attached a simple addition for the DICT protocol (RFC 2229).
|
|
||||||
It performs dictionary lookups. The output still needs to be better
|
|
||||||
formatted.
|
|
||||||
|
|
||||||
To test it try (the exact format, and more examples are described in
|
|
||||||
the RFC)
|
|
||||||
|
|
||||||
dict://dict.org/m:hello
|
|
||||||
dict://dict.org/m:hello::soundex
|
|
||||||
|
|
||||||
|
|
||||||
Vicente Garcia (10 Jan 1999)
|
|
||||||
- Corrected the progress meter for files larger than 20MB.
|
|
||||||
|
|
||||||
Daniel Stenberg (7 Jan 1999)
|
|
||||||
- Corrected the -t and -T help texts. They claimed to be FTP only.
|
|
||||||
|
|
||||||
Version 5.4
|
|
||||||
|
|
||||||
Daniel Stenberg
|
|
||||||
(7 Jan 1999)
|
|
||||||
- Irving Wolfe reported that curl -s didn't always supress the progress
|
|
||||||
reporting. It was the form post that autoamtically always switched it on
|
|
||||||
again. This is now corrected!
|
|
||||||
|
|
||||||
(4 Jan 1999)
|
|
||||||
- Andreas Kostyrka suggested I'd add PUT and he helped me out to test it. If
|
|
||||||
you use -t or -T now on a http or https server, PUT will be used for file
|
|
||||||
upload.
|
|
||||||
|
|
||||||
I removed the former use of -T with HTTP. I doubt anyone ever really used
|
|
||||||
that.
|
|
||||||
|
|
||||||
(4 Jan 1999)
|
|
||||||
- Erik Jacobsen found a width bug in the mprintf() function. I corrected it
|
|
||||||
now.
|
|
||||||
|
|
||||||
(4 Jan 1999)
|
|
||||||
- As John V. Chow pointed out to me, curl accepted very limited URL sizes. It
|
|
||||||
should now accept path parts that are up to at least 4096 bytes.
|
|
||||||
|
|
||||||
- Somehow I screwed up when applying the AIX fix from Gilbert Ramirez, so
|
|
||||||
I redid that now.
|
|
||||||
|
|
||||||
1381
CHANGES.2000
1381
CHANGES.2000
File diff suppressed because it is too large
Load Diff
1957
CHANGES.2001
1957
CHANGES.2001
File diff suppressed because it is too large
Load Diff
1504
CHANGES.2002
1504
CHANGES.2002
File diff suppressed because it is too large
Load Diff
2
CMake/CMakeConfigurableFile.in
Normal file
2
CMake/CMakeConfigurableFile.in
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
@CMAKE_CONFIGURABLE_FILE_CONTENT@
|
||||||
|
|
||||||
41
CMake/CheckTypeSize.c.in
Normal file
41
CMake/CheckTypeSize.c.in
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
#cmakedefine CHECK_TYPE_SIZE_TYPE @CHECK_TYPE_SIZE_TYPE@
|
||||||
|
#ifdef CHECK_TYPE_SIZE_TYPE
|
||||||
|
|
||||||
|
@CHECK_TYPE_SIZE_PREINCLUDE@
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
# include <sys/types.h>
|
||||||
|
#endif /* HAVE_SYS_TYPES_H */
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
# include <winsock2.h>
|
||||||
|
# include <ws2tcpip.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef HAVE_STDINT_H
|
||||||
|
# include <stdint.h>
|
||||||
|
#endif /* HAVE_STDINT_H */
|
||||||
|
|
||||||
|
#ifdef HAVE_STDDEF_H
|
||||||
|
# include <stddef.h>
|
||||||
|
#endif /* HAVE_STDDEF_H */
|
||||||
|
|
||||||
|
@CHECK_TYPE_SIZE_PREMAIN@
|
||||||
|
|
||||||
|
#ifdef __CLASSIC_C__
|
||||||
|
int main(){
|
||||||
|
int ac;
|
||||||
|
char*av[];
|
||||||
|
#else
|
||||||
|
int main(int ac, char*av[]){
|
||||||
|
#endif
|
||||||
|
if(ac > 1000){return *av[0];}
|
||||||
|
return sizeof(CHECK_TYPE_SIZE_TYPE);
|
||||||
|
}
|
||||||
|
|
||||||
|
#else /* CHECK_TYPE_SIZE_TYPE */
|
||||||
|
|
||||||
|
# error "CHECK_TYPE_SIZE_TYPE has to specify the type"
|
||||||
|
|
||||||
|
#endif /* CHECK_TYPE_SIZE_TYPE */
|
||||||
56
CMake/CheckTypeSize.cmake
Normal file
56
CMake/CheckTypeSize.cmake
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
# - Check sizeof a type
|
||||||
|
# CHECK_TYPE_SIZE(TYPE VARIABLE)
|
||||||
|
# Check if the type exists and determine size of type. if the type
|
||||||
|
# exists, the size will be stored to the variable.
|
||||||
|
#
|
||||||
|
# VARIABLE - variable to store size if the type exists.
|
||||||
|
# HAVE_${VARIABLE} - does the variable exists or not
|
||||||
|
|
||||||
|
macro(CHECK_TYPE_SIZE TYPE VARIABLE)
|
||||||
|
set(CMAKE_ALLOW_UNKNOWN_VARIABLE_READ_ACCESS 1)
|
||||||
|
if(NOT DEFINED ${VARIABLE})
|
||||||
|
if("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
|
||||||
|
set(CHECK_TYPE_SIZE_TYPE "${TYPE}")
|
||||||
|
set(MACRO_CHECK_TYPE_SIZE_FLAGS
|
||||||
|
"${CMAKE_REQUIRED_FLAGS}")
|
||||||
|
foreach(def HAVE_SYS_TYPES_H HAVE_STDINT_H HAVE_STDDEF_H)
|
||||||
|
if("${def}")
|
||||||
|
set(MACRO_CHECK_TYPE_SIZE_FLAGS
|
||||||
|
"${MACRO_CHECK_TYPE_SIZE_FLAGS} -D${def}")
|
||||||
|
endif("${def}")
|
||||||
|
endforeach(def)
|
||||||
|
set(CHECK_TYPE_SIZE_PREMAIN)
|
||||||
|
foreach(def ${CMAKE_EXTRA_INCLUDE_FILES})
|
||||||
|
set(CHECK_TYPE_SIZE_PREMAIN "${CHECK_TYPE_SIZE_PREMAIN}#include \"${def}\"\n")
|
||||||
|
endforeach(def)
|
||||||
|
configure_file(
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/CMake/CheckTypeSize.c.in"
|
||||||
|
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c"
|
||||||
|
IMMEDIATE @ONLY)
|
||||||
|
file(READ
|
||||||
|
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c"
|
||||||
|
CHECK_TYPE_SIZE_FILE_CONTENT)
|
||||||
|
message(STATUS "Check size of ${TYPE}")
|
||||||
|
if(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
set(CHECK_TYPE_SIZE_ADD_LIBRARIES
|
||||||
|
"-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}")
|
||||||
|
endif(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
try_run(${VARIABLE} HAVE_${VARIABLE}
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c"
|
||||||
|
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_TYPE_SIZE_FLAGS}
|
||||||
|
"${CHECK_TYPE_SIZE_ADD_LIBRARIES}"
|
||||||
|
OUTPUT_VARIABLE OUTPUT)
|
||||||
|
if(HAVE_${VARIABLE})
|
||||||
|
message(STATUS "Check size of ${TYPE} - done")
|
||||||
|
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
|
||||||
|
"Determining size of ${TYPE} passed with the following output:\n${OUTPUT}\n\n")
|
||||||
|
else(HAVE_${VARIABLE})
|
||||||
|
message(STATUS "Check size of ${TYPE} - failed")
|
||||||
|
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
|
||||||
|
"Determining size of ${TYPE} failed with the following output:\n${OUTPUT}\nCheckTypeSize.c:\n${CHECK_TYPE_SIZE_FILE_CONTENT}\n\n")
|
||||||
|
endif(HAVE_${VARIABLE})
|
||||||
|
endif("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
|
||||||
|
endif(NOT DEFINED ${VARIABLE})
|
||||||
|
set(CMAKE_ALLOW_UNKNOWN_VARIABLE_READ_ACCESS )
|
||||||
|
endmacro(CHECK_TYPE_SIZE)
|
||||||
75
CMake/CurlCheckCSourceCompiles.cmake
Normal file
75
CMake/CurlCheckCSourceCompiles.cmake
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
# - Check if the source code provided in the SOURCE argument compiles.
|
||||||
|
# CURL_CHECK_C_SOURCE_COMPILES(SOURCE VAR)
|
||||||
|
# - macro which checks if the source code compiles
|
||||||
|
# SOURCE - source code to try to compile
|
||||||
|
# VAR - variable to store whether the source code compiled
|
||||||
|
#
|
||||||
|
# The following variables may be set before calling this macro to
|
||||||
|
# modify the way the check is run:
|
||||||
|
#
|
||||||
|
# CMAKE_REQUIRED_FLAGS = string of compile command line flags
|
||||||
|
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
|
||||||
|
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
||||||
|
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
||||||
|
|
||||||
|
macro(CURL_CHECK_C_SOURCE_COMPILES SOURCE VAR)
|
||||||
|
if("${VAR}" MATCHES "^${VAR}$" OR "${VAR}" MATCHES "UNKNOWN")
|
||||||
|
set(message "${VAR}")
|
||||||
|
# If the number of arguments is greater than 2 (SOURCE VAR)
|
||||||
|
if(${ARGC} GREATER 2)
|
||||||
|
# then add the third argument as a message
|
||||||
|
set(message "${ARGV2} (${VAR})")
|
||||||
|
endif(${ARGC} GREATER 2)
|
||||||
|
set(MACRO_CHECK_FUNCTION_DEFINITIONS
|
||||||
|
"-D${VAR} ${CMAKE_REQUIRED_FLAGS}")
|
||||||
|
if(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
set(CURL_CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES
|
||||||
|
"-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}")
|
||||||
|
else(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
set(CURL_CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES)
|
||||||
|
endif(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
if(CMAKE_REQUIRED_INCLUDES)
|
||||||
|
set(CURL_CHECK_C_SOURCE_COMPILES_ADD_INCLUDES
|
||||||
|
"-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}")
|
||||||
|
else(CMAKE_REQUIRED_INCLUDES)
|
||||||
|
set(CURL_CHECK_C_SOURCE_COMPILES_ADD_INCLUDES)
|
||||||
|
endif(CMAKE_REQUIRED_INCLUDES)
|
||||||
|
set(src "")
|
||||||
|
foreach(def ${EXTRA_DEFINES})
|
||||||
|
set(src "${src}#define ${def} 1\n")
|
||||||
|
endforeach(def)
|
||||||
|
foreach(inc ${HEADER_INCLUDES})
|
||||||
|
set(src "${src}#include <${inc}>\n")
|
||||||
|
endforeach(inc)
|
||||||
|
|
||||||
|
set(src "${src}\nint main() { ${SOURCE} ; return 0; }")
|
||||||
|
set(CMAKE_CONFIGURABLE_FILE_CONTENT "${src}")
|
||||||
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CMake/CMakeConfigurableFile.in
|
||||||
|
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c"
|
||||||
|
IMMEDIATE)
|
||||||
|
message(STATUS "Performing Test ${message}")
|
||||||
|
try_compile(${VAR}
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c
|
||||||
|
COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS}
|
||||||
|
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS}
|
||||||
|
"${CURL_CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES}"
|
||||||
|
"${CURL_CHECK_C_SOURCE_COMPILES_ADD_INCLUDES}"
|
||||||
|
OUTPUT_VARIABLE OUTPUT)
|
||||||
|
if(${VAR})
|
||||||
|
set(${VAR} 1 CACHE INTERNAL "Test ${message}")
|
||||||
|
message(STATUS "Performing Test ${message} - Success")
|
||||||
|
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
|
||||||
|
"Performing C SOURCE FILE Test ${message} succeded with the following output:\n"
|
||||||
|
"${OUTPUT}\n"
|
||||||
|
"Source file was:\n${src}\n")
|
||||||
|
else(${VAR})
|
||||||
|
message(STATUS "Performing Test ${message} - Failed")
|
||||||
|
set(${VAR} "" CACHE INTERNAL "Test ${message}")
|
||||||
|
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
|
||||||
|
"Performing C SOURCE FILE Test ${message} failed with the following output:\n"
|
||||||
|
"${OUTPUT}\n"
|
||||||
|
"Source file was:\n${src}\n")
|
||||||
|
endif(${VAR})
|
||||||
|
endif("${VAR}" MATCHES "^${VAR}$" OR "${VAR}" MATCHES "UNKNOWN")
|
||||||
|
endmacro(CURL_CHECK_C_SOURCE_COMPILES)
|
||||||
83
CMake/CurlCheckCSourceRuns.cmake
Normal file
83
CMake/CurlCheckCSourceRuns.cmake
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
# - Check if the source code provided in the SOURCE argument compiles and runs.
|
||||||
|
# CURL_CHECK_C_SOURCE_RUNS(SOURCE VAR)
|
||||||
|
# - macro which checks if the source code runs
|
||||||
|
# SOURCE - source code to try to compile
|
||||||
|
# VAR - variable to store size if the type exists.
|
||||||
|
#
|
||||||
|
# The following variables may be set before calling this macro to
|
||||||
|
# modify the way the check is run:
|
||||||
|
#
|
||||||
|
# CMAKE_REQUIRED_FLAGS = string of compile command line flags
|
||||||
|
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
|
||||||
|
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
||||||
|
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
||||||
|
|
||||||
|
macro(CURL_CHECK_C_SOURCE_RUNS SOURCE VAR)
|
||||||
|
if("${VAR}" MATCHES "^${VAR}$" OR "${VAR}" MATCHES "UNKNOWN")
|
||||||
|
set(message "${VAR}")
|
||||||
|
# If the number of arguments is greater than 2 (SOURCE VAR)
|
||||||
|
if(${ARGC} GREATER 2)
|
||||||
|
# then add the third argument as a message
|
||||||
|
set(message "${ARGV2} (${VAR})")
|
||||||
|
endif(${ARGC} GREATER 2)
|
||||||
|
set(MACRO_CHECK_FUNCTION_DEFINITIONS
|
||||||
|
"-D${VAR} ${CMAKE_REQUIRED_FLAGS}")
|
||||||
|
if(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
set(CURL_CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES
|
||||||
|
"-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}")
|
||||||
|
else(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
set(CURL_CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES)
|
||||||
|
endif(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
if(CMAKE_REQUIRED_INCLUDES)
|
||||||
|
set(CURL_CHECK_C_SOURCE_COMPILES_ADD_INCLUDES
|
||||||
|
"-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}")
|
||||||
|
else(CMAKE_REQUIRED_INCLUDES)
|
||||||
|
set(CURL_CHECK_C_SOURCE_COMPILES_ADD_INCLUDES)
|
||||||
|
endif(CMAKE_REQUIRED_INCLUDES)
|
||||||
|
set(src "")
|
||||||
|
foreach(def ${EXTRA_DEFINES})
|
||||||
|
set(src "${src}#define ${def} 1\n")
|
||||||
|
endforeach(def)
|
||||||
|
foreach(inc ${HEADER_INCLUDES})
|
||||||
|
set(src "${src}#include <${inc}>\n")
|
||||||
|
endforeach(inc)
|
||||||
|
|
||||||
|
set(src "${src}\nint main() { ${SOURCE} ; return 0; }")
|
||||||
|
set(CMAKE_CONFIGURABLE_FILE_CONTENT "${src}")
|
||||||
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CMake/CMakeConfigurableFile.in
|
||||||
|
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c"
|
||||||
|
IMMEDIATE)
|
||||||
|
message(STATUS "Performing Test ${message}")
|
||||||
|
try_run(${VAR} ${VAR}_COMPILED
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c
|
||||||
|
COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS}
|
||||||
|
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS}
|
||||||
|
"${CURL_CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES}"
|
||||||
|
"${CURL_CHECK_C_SOURCE_COMPILES_ADD_INCLUDES}"
|
||||||
|
OUTPUT_VARIABLE OUTPUT)
|
||||||
|
# if it did not compile make the return value fail code of 1
|
||||||
|
if(NOT ${VAR}_COMPILED)
|
||||||
|
set(${VAR} 1)
|
||||||
|
endif(NOT ${VAR}_COMPILED)
|
||||||
|
# if the return value was 0 then it worked
|
||||||
|
set(result_var ${${VAR}})
|
||||||
|
if("${result_var}" EQUAL 0)
|
||||||
|
set(${VAR} 1 CACHE INTERNAL "Test ${message}")
|
||||||
|
message(STATUS "Performing Test ${message} - Success")
|
||||||
|
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
|
||||||
|
"Performing C SOURCE FILE Test ${message} succeded with the following output:\n"
|
||||||
|
"${OUTPUT}\n"
|
||||||
|
"Return value: ${${VAR}}\n"
|
||||||
|
"Source file was:\n${src}\n")
|
||||||
|
else("${result_var}" EQUAL 0)
|
||||||
|
message(STATUS "Performing Test ${message} - Failed")
|
||||||
|
set(${VAR} "" CACHE INTERNAL "Test ${message}")
|
||||||
|
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
|
||||||
|
"Performing C SOURCE FILE Test ${message} failed with the following output:\n"
|
||||||
|
"${OUTPUT}\n"
|
||||||
|
"Return value: ${result_var}\n"
|
||||||
|
"Source file was:\n${src}\n")
|
||||||
|
endif("${result_var}" EQUAL 0)
|
||||||
|
endif("${VAR}" MATCHES "^${VAR}$" OR "${VAR}" MATCHES "UNKNOWN")
|
||||||
|
endmacro(CURL_CHECK_C_SOURCE_RUNS)
|
||||||
690
CMake/CurlTests.c
Normal file
690
CMake/CurlTests.c
Normal file
@@ -0,0 +1,690 @@
|
|||||||
|
#ifdef TIME_WITH_SYS_TIME
|
||||||
|
/* Time with sys/time test */
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
if ((struct tm *) 0)
|
||||||
|
return 0;
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_FCNTL_O_NONBLOCK
|
||||||
|
|
||||||
|
/* headers for FCNTL_O_NONBLOCK test */
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
/* */
|
||||||
|
#if defined(sun) || defined(__sun__) || \
|
||||||
|
defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
||||||
|
# if defined(__SVR4) || defined(__srv4__)
|
||||||
|
# define PLATFORM_SOLARIS
|
||||||
|
# else
|
||||||
|
# define PLATFORM_SUNOS4
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
#if (defined(_AIX) || defined(__xlC__)) && !defined(_AIX41)
|
||||||
|
# define PLATFORM_AIX_V3
|
||||||
|
#endif
|
||||||
|
/* */
|
||||||
|
#if defined(PLATFORM_SUNOS4) || defined(PLATFORM_AIX_V3) || defined(__BEOS__)
|
||||||
|
#error "O_NONBLOCK does not work on this platform"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
/* O_NONBLOCK source test */
|
||||||
|
int flags = 0;
|
||||||
|
if(0 != fcntl(0, F_SETFL, flags | O_NONBLOCK))
|
||||||
|
return 1;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_GETHOSTBYADDR_R_5
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
char * address;
|
||||||
|
int length;
|
||||||
|
int type;
|
||||||
|
struct hostent h;
|
||||||
|
struct hostent_data hdata;
|
||||||
|
int rc;
|
||||||
|
#ifndef gethostbyaddr_r
|
||||||
|
(void)gethostbyaddr_r;
|
||||||
|
#endif
|
||||||
|
rc = gethostbyaddr_r(address, length, type, &h, &hdata);
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_GETHOSTBYADDR_R_5_REENTRANT
|
||||||
|
#define _REENTRANT
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
char * address;
|
||||||
|
int length;q
|
||||||
|
int type;
|
||||||
|
struct hostent h;
|
||||||
|
struct hostent_data hdata;
|
||||||
|
int rc;
|
||||||
|
#ifndef gethostbyaddr_r
|
||||||
|
(void)gethostbyaddr_r;
|
||||||
|
#endif
|
||||||
|
rc = gethostbyaddr_r(address, length, type, &h, &hdata);
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_GETHOSTBYADDR_R_7
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
char * address;
|
||||||
|
int length;
|
||||||
|
int type;
|
||||||
|
struct hostent h;
|
||||||
|
char buffer[8192];
|
||||||
|
int h_errnop;
|
||||||
|
struct hostent * hp;
|
||||||
|
|
||||||
|
#ifndef gethostbyaddr_r
|
||||||
|
(void)gethostbyaddr_r;
|
||||||
|
#endif
|
||||||
|
hp = gethostbyaddr_r(address, length, type, &h,
|
||||||
|
buffer, 8192, &h_errnop);
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_GETHOSTBYADDR_R_7_REENTRANT
|
||||||
|
#define _REENTRANT
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
char * address;
|
||||||
|
int length;
|
||||||
|
int type;
|
||||||
|
struct hostent h;
|
||||||
|
char buffer[8192];
|
||||||
|
int h_errnop;
|
||||||
|
struct hostent * hp;
|
||||||
|
|
||||||
|
#ifndef gethostbyaddr_r
|
||||||
|
(void)gethostbyaddr_r;
|
||||||
|
#endif
|
||||||
|
hp = gethostbyaddr_r(address, length, type, &h,
|
||||||
|
buffer, 8192, &h_errnop);
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_GETHOSTBYADDR_R_8
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
char * address;
|
||||||
|
int length;
|
||||||
|
int type;
|
||||||
|
struct hostent h;
|
||||||
|
char buffer[8192];
|
||||||
|
int h_errnop;
|
||||||
|
struct hostent * hp;
|
||||||
|
int rc;
|
||||||
|
|
||||||
|
#ifndef gethostbyaddr_r
|
||||||
|
(void)gethostbyaddr_r;
|
||||||
|
#endif
|
||||||
|
rc = gethostbyaddr_r(address, length, type, &h,
|
||||||
|
buffer, 8192, &hp, &h_errnop);
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_GETHOSTBYADDR_R_8_REENTRANT
|
||||||
|
#define _REENTRANT
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
char * address;
|
||||||
|
int length;
|
||||||
|
int type;
|
||||||
|
struct hostent h;
|
||||||
|
char buffer[8192];
|
||||||
|
int h_errnop;
|
||||||
|
struct hostent * hp;
|
||||||
|
int rc;
|
||||||
|
|
||||||
|
#ifndef gethostbyaddr_r
|
||||||
|
(void)gethostbyaddr_r;
|
||||||
|
#endif
|
||||||
|
rc = gethostbyaddr_r(address, length, type, &h,
|
||||||
|
buffer, 8192, &hp, &h_errnop);
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_GETHOSTBYNAME_R_3
|
||||||
|
#include <string.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#undef NULL
|
||||||
|
#define NULL (void *)0
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
struct hostent_data data;
|
||||||
|
#ifndef gethostbyname_r
|
||||||
|
(void)gethostbyname_r;
|
||||||
|
#endif
|
||||||
|
gethostbyname_r(NULL, NULL, NULL);
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_GETHOSTBYNAME_R_3_REENTRANT
|
||||||
|
#define _REENTRANT
|
||||||
|
#include <string.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#undef NULL
|
||||||
|
#define NULL (void *)0
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
struct hostent_data data;
|
||||||
|
#ifndef gethostbyname_r
|
||||||
|
(void)gethostbyname_r;
|
||||||
|
#endif
|
||||||
|
gethostbyname_r(NULL, NULL, NULL);
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_GETHOSTBYNAME_R_5
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#undef NULL
|
||||||
|
#define NULL (void *)0
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
#ifndef gethostbyname_r
|
||||||
|
(void)gethostbyname_r;
|
||||||
|
#endif
|
||||||
|
gethostbyname_r(NULL, NULL, NULL, 0, NULL);
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_GETHOSTBYNAME_R_5_REENTRANT
|
||||||
|
#define _REENTRANT
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#undef NULL
|
||||||
|
#define NULL (void *)0
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
#ifndef gethostbyname_r
|
||||||
|
(void)gethostbyname_r;
|
||||||
|
#endif
|
||||||
|
gethostbyname_r(NULL, NULL, NULL, 0, NULL);
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_GETHOSTBYNAME_R_6
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#undef NULL
|
||||||
|
#define NULL (void *)0
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
#ifndef gethostbyname_r
|
||||||
|
(void)gethostbyname_r;
|
||||||
|
#endif
|
||||||
|
gethostbyname_r(NULL, NULL, NULL, 0, NULL, NULL);
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_GETHOSTBYNAME_R_6_REENTRANT
|
||||||
|
#define _REENTRANT
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#undef NULL
|
||||||
|
#define NULL (void *)0
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
#ifndef gethostbyname_r
|
||||||
|
(void)gethostbyname_r;
|
||||||
|
#endif
|
||||||
|
gethostbyname_r(NULL, NULL, NULL, 0, NULL, NULL);
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SOCKLEN_T
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include <ws2tcpip.h>
|
||||||
|
#else
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
if ((socklen_t *) 0)
|
||||||
|
return 0;
|
||||||
|
if (sizeof (socklen_t))
|
||||||
|
return 0;
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_IN_ADDR_T
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
if ((in_addr_t *) 0)
|
||||||
|
return 0;
|
||||||
|
if (sizeof (in_addr_t))
|
||||||
|
return 0;
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_BOOL_T
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_STDBOOL_H
|
||||||
|
#include <stdbool.h>
|
||||||
|
#endif
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
if (sizeof (bool *) )
|
||||||
|
return 0;
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef STDC_HEADERS
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <float.h>
|
||||||
|
int main() { return 0; }
|
||||||
|
#endif
|
||||||
|
#ifdef RETSIGTYPE_TEST
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <signal.h>
|
||||||
|
#ifdef signal
|
||||||
|
# undef signal
|
||||||
|
#endif
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" void (*signal (int, void (*)(int)))(int);
|
||||||
|
#else
|
||||||
|
void (*signal ()) ();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_INET_NTOA_R_DECL
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
|
||||||
|
typedef void (*func_type)();
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
#ifndef inet_ntoa_r
|
||||||
|
func_type func;
|
||||||
|
func = (func_type)inet_ntoa_r;
|
||||||
|
#endif
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_INET_NTOA_R_DECL_REENTRANT
|
||||||
|
#define _REENTRANT
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
|
||||||
|
typedef void (*func_type)();
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
#ifndef inet_ntoa_r
|
||||||
|
func_type func;
|
||||||
|
func = (func_type)&inet_ntoa_r;
|
||||||
|
#endif
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_GETADDRINFO
|
||||||
|
#include <netdb.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
|
||||||
|
int main(void) {
|
||||||
|
struct addrinfo hints, *ai;
|
||||||
|
int error;
|
||||||
|
|
||||||
|
memset(&hints, 0, sizeof(hints));
|
||||||
|
hints.ai_family = AF_UNSPEC;
|
||||||
|
hints.ai_socktype = SOCK_STREAM;
|
||||||
|
#ifndef getaddrinfo
|
||||||
|
(void)getaddrinfo;
|
||||||
|
#endif
|
||||||
|
error = getaddrinfo("127.0.0.1", "8080", &hints, &ai);
|
||||||
|
if (error) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_FILE_OFFSET_BITS
|
||||||
|
#ifdef _FILE_OFFSET_BITS
|
||||||
|
#undef _FILE_OFFSET_BITS
|
||||||
|
#endif
|
||||||
|
#define _FILE_OFFSET_BITS 64
|
||||||
|
#include <sys/types.h>
|
||||||
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
||||||
|
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
||||||
|
since some C++ compilers masquerading as C compilers
|
||||||
|
incorrectly reject 9223372036854775807. */
|
||||||
|
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
||||||
|
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
||||||
|
&& LARGE_OFF_T % 2147483647 == 1)
|
||||||
|
? 1 : -1];
|
||||||
|
int main () { ; return 0; }
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_IOCTLSOCKET
|
||||||
|
/* includes start */
|
||||||
|
#ifdef HAVE_WINDOWS_H
|
||||||
|
# ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# endif
|
||||||
|
# include <windows.h>
|
||||||
|
# ifdef HAVE_WINSOCK2_H
|
||||||
|
# include <winsock2.h>
|
||||||
|
# else
|
||||||
|
# ifdef HAVE_WINSOCK_H
|
||||||
|
# include <winsock.h>
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
/* ioctlsocket source code */
|
||||||
|
int socket;
|
||||||
|
unsigned long flags = ioctlsocket(socket, FIONBIO, &flags);
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_IOCTLSOCKET_CAMEL
|
||||||
|
/* includes start */
|
||||||
|
#ifdef HAVE_WINDOWS_H
|
||||||
|
# ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# endif
|
||||||
|
# include <windows.h>
|
||||||
|
# ifdef HAVE_WINSOCK2_H
|
||||||
|
# include <winsock2.h>
|
||||||
|
# else
|
||||||
|
# ifdef HAVE_WINSOCK_H
|
||||||
|
# include <winsock.h>
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
/* IoctlSocket source code */
|
||||||
|
if(0 != IoctlSocket(0, 0, 0))
|
||||||
|
return 1;
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_IOCTLSOCKET_CAMEL_FIONBIO
|
||||||
|
/* includes start */
|
||||||
|
#ifdef HAVE_WINDOWS_H
|
||||||
|
# ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# endif
|
||||||
|
# include <windows.h>
|
||||||
|
# ifdef HAVE_WINSOCK2_H
|
||||||
|
# include <winsock2.h>
|
||||||
|
# else
|
||||||
|
# ifdef HAVE_WINSOCK_H
|
||||||
|
# include <winsock.h>
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
/* IoctlSocket source code */
|
||||||
|
long flags = 0;
|
||||||
|
if(0 != ioctlsocket(0, FIONBIO, &flags))
|
||||||
|
return 1;
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_IOCTLSOCKET_FIONBIO
|
||||||
|
/* includes start */
|
||||||
|
#ifdef HAVE_WINDOWS_H
|
||||||
|
# ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# endif
|
||||||
|
# include <windows.h>
|
||||||
|
# ifdef HAVE_WINSOCK2_H
|
||||||
|
# include <winsock2.h>
|
||||||
|
# else
|
||||||
|
# ifdef HAVE_WINSOCK_H
|
||||||
|
# include <winsock.h>
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
int flags = 0;
|
||||||
|
if(0 != ioctlsocket(0, FIONBIO, &flags))
|
||||||
|
return 1;
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_IOCTL_FIONBIO
|
||||||
|
/* headers for FIONBIO test */
|
||||||
|
/* includes start */
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
# include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
# include <unistd.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_IOCTL_H
|
||||||
|
# include <sys/ioctl.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_STROPTS_H
|
||||||
|
# include <stropts.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
|
||||||
|
int flags = 0;
|
||||||
|
if(0 != ioctl(0, FIONBIO, &flags))
|
||||||
|
return 1;
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_IOCTL_SIOCGIFADDR
|
||||||
|
/* headers for FIONBIO test */
|
||||||
|
/* includes start */
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
# include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
# include <unistd.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_IOCTL_H
|
||||||
|
# include <sys/ioctl.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_STROPTS_H
|
||||||
|
# include <stropts.h>
|
||||||
|
#endif
|
||||||
|
#include <net/if.h>
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
struct ifreq ifr;
|
||||||
|
if(0 != ioctl(0, SIOCGIFADDR, &ifr))
|
||||||
|
return 1;
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SETSOCKOPT_SO_NONBLOCK
|
||||||
|
/* includes start */
|
||||||
|
#ifdef HAVE_WINDOWS_H
|
||||||
|
# ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# endif
|
||||||
|
# include <windows.h>
|
||||||
|
# ifdef HAVE_WINSOCK2_H
|
||||||
|
# include <winsock2.h>
|
||||||
|
# else
|
||||||
|
# ifdef HAVE_WINSOCK_H
|
||||||
|
# include <winsock.h>
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
/* includes start */
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
# include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
/* includes end */
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0))
|
||||||
|
return 1;
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_GLIBC_STRERROR_R
|
||||||
|
#include <string.h>
|
||||||
|
#include <errno.h>
|
||||||
|
int
|
||||||
|
main () {
|
||||||
|
char buffer[1024]; /* big enough to play with */
|
||||||
|
char *string =
|
||||||
|
strerror_r(EACCES, buffer, sizeof(buffer));
|
||||||
|
/* this should've returned a string */
|
||||||
|
if(!string || !string[0])
|
||||||
|
return 99;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_POSIX_STRERROR_R
|
||||||
|
#include <string.h>
|
||||||
|
#include <errno.h>
|
||||||
|
int
|
||||||
|
main () {
|
||||||
|
char buffer[1024]; /* big enough to play with */
|
||||||
|
int error =
|
||||||
|
strerror_r(EACCES, buffer, sizeof(buffer));
|
||||||
|
/* This should've returned zero, and written an error string in the
|
||||||
|
buffer.*/
|
||||||
|
if(!buffer[0] || error)
|
||||||
|
return 99;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
42
CMake/FindCARES.cmake
Executable file
42
CMake/FindCARES.cmake
Executable file
@@ -0,0 +1,42 @@
|
|||||||
|
# - Find c-ares
|
||||||
|
# Find the c-ares includes and library
|
||||||
|
# This module defines
|
||||||
|
# CARES_INCLUDE_DIR, where to find ares.h, etc.
|
||||||
|
# CARES_LIBRARIES, the libraries needed to use c-ares.
|
||||||
|
# CARES_FOUND, If false, do not try to use c-ares.
|
||||||
|
# also defined, but not for general use are
|
||||||
|
# CARES_LIBRARY, where to find the c-ares library.
|
||||||
|
|
||||||
|
FIND_PATH(CARES_INCLUDE_DIR ares.h
|
||||||
|
/usr/local/include
|
||||||
|
/usr/include
|
||||||
|
)
|
||||||
|
|
||||||
|
SET(CARES_NAMES ${CARES_NAMES} cares)
|
||||||
|
FIND_LIBRARY(CARES_LIBRARY
|
||||||
|
NAMES ${CARES_NAMES}
|
||||||
|
PATHS /usr/lib /usr/local/lib
|
||||||
|
)
|
||||||
|
|
||||||
|
IF (CARES_LIBRARY AND CARES_INCLUDE_DIR)
|
||||||
|
SET(CARES_LIBRARIES ${CARES_LIBRARY})
|
||||||
|
SET(CARES_FOUND "YES")
|
||||||
|
ELSE (CARES_LIBRARY AND CARES_INCLUDE_DIR)
|
||||||
|
SET(CARES_FOUND "NO")
|
||||||
|
ENDIF (CARES_LIBRARY AND CARES_INCLUDE_DIR)
|
||||||
|
|
||||||
|
|
||||||
|
IF (CARES_FOUND)
|
||||||
|
IF (NOT CARES_FIND_QUIETLY)
|
||||||
|
MESSAGE(STATUS "Found c-ares: ${CARES_LIBRARIES}")
|
||||||
|
ENDIF (NOT CARES_FIND_QUIETLY)
|
||||||
|
ELSE (CARES_FOUND)
|
||||||
|
IF (CARES_FIND_REQUIRED)
|
||||||
|
MESSAGE(FATAL_ERROR "Could not find c-ares library")
|
||||||
|
ENDIF (CARES_FIND_REQUIRED)
|
||||||
|
ENDIF (CARES_FOUND)
|
||||||
|
|
||||||
|
MARK_AS_ADVANCED(
|
||||||
|
CARES_LIBRARY
|
||||||
|
CARES_INCLUDE_DIR
|
||||||
|
)
|
||||||
19
CMake/FindOpenSSL.cmake
Normal file
19
CMake/FindOpenSSL.cmake
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Extension of the standard FindOpenSSL.cmake
|
||||||
|
# Adds OPENSSL_INCLUDE_DIRS and libeay32
|
||||||
|
include("${CMAKE_ROOT}/Modules/FindOpenSSL.cmake")
|
||||||
|
|
||||||
|
# Bill Hoffman told that libeay32 is necessary for him:
|
||||||
|
find_library(SSL_LIBEAY NAMES libeay32)
|
||||||
|
|
||||||
|
if(OPENSSL_FOUND)
|
||||||
|
if(SSL_LIBEAY)
|
||||||
|
list(APPEND OPENSSL_LIBRARIES ${SSL_LIBEAY})
|
||||||
|
else()
|
||||||
|
set(OPENSSL_FOUND FALSE)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
if(OPENSSL_FOUND)
|
||||||
|
set(OPENSSL_INCLUDE_DIRS ${OPENSSL_INCLUDE_DIR})
|
||||||
|
endif()
|
||||||
8
CMake/FindZLIB.cmake
Normal file
8
CMake/FindZLIB.cmake
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Locate zlib
|
||||||
|
include("${CMAKE_ROOT}/Modules/FindZLIB.cmake")
|
||||||
|
|
||||||
|
find_library(ZLIB_LIBRARY_DEBUG NAMES zd zlibd zdlld zlib1d )
|
||||||
|
|
||||||
|
if(ZLIB_FOUND AND ZLIB_LIBRARY_DEBUG)
|
||||||
|
set( ZLIB_LIBRARIES optimized "${ZLIB_LIBRARY}" debug ${ZLIB_LIBRARY_DEBUG})
|
||||||
|
endif()
|
||||||
250
CMake/OtherTests.cmake
Normal file
250
CMake/OtherTests.cmake
Normal file
@@ -0,0 +1,250 @@
|
|||||||
|
include(CurlCheckCSourceCompiles)
|
||||||
|
set(EXTRA_DEFINES "__unused1\n#undef inline\n#define __unused2")
|
||||||
|
set(HEADER_INCLUDES)
|
||||||
|
set(headers_hack)
|
||||||
|
|
||||||
|
macro(add_header_include check header)
|
||||||
|
if(${check})
|
||||||
|
set(headers_hack
|
||||||
|
"${headers_hack}\n#include <${header}>")
|
||||||
|
#SET(HEADER_INCLUDES
|
||||||
|
# ${HEADER_INCLUDES}
|
||||||
|
# "${header}")
|
||||||
|
endif(${check})
|
||||||
|
endmacro(add_header_include)
|
||||||
|
|
||||||
|
set(signature_call_conv)
|
||||||
|
if(HAVE_WINDOWS_H)
|
||||||
|
add_header_include(HAVE_WINDOWS_H "windows.h")
|
||||||
|
add_header_include(HAVE_WINSOCK2_H "winsock2.h")
|
||||||
|
add_header_include(HAVE_WINSOCK_H "winsock.h")
|
||||||
|
set(EXTRA_DEFINES ${EXTRA_DEFINES}
|
||||||
|
"__unused7\n#ifndef WIN32_LEAN_AND_MEAN\n#define WIN32_LEAN_AND_MEAN\n#endif\n#define __unused3")
|
||||||
|
set(signature_call_conv "PASCAL")
|
||||||
|
else(HAVE_WINDOWS_H)
|
||||||
|
add_header_include(HAVE_SYS_TYPES_H "sys/types.h")
|
||||||
|
add_header_include(HAVE_SYS_SOCKET_H "sys/socket.h")
|
||||||
|
endif(HAVE_WINDOWS_H)
|
||||||
|
|
||||||
|
set(EXTRA_DEFINES_BACKUP "${EXTRA_DEFINES}")
|
||||||
|
set(EXTRA_DEFINES "${EXTRA_DEFINES_BACKUP}\n${headers_hack}\n${extern_line}\n#define __unused5")
|
||||||
|
curl_check_c_source_compiles("recv(0, 0, 0, 0)" curl_cv_recv)
|
||||||
|
if(curl_cv_recv)
|
||||||
|
# AC_CACHE_CHECK([types of arguments and return type for recv],
|
||||||
|
#[curl_cv_func_recv_args], [
|
||||||
|
#SET(curl_cv_func_recv_args "unknown")
|
||||||
|
#for recv_retv in 'int' 'ssize_t'; do
|
||||||
|
if(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown")
|
||||||
|
foreach(recv_retv "int" "ssize_t" )
|
||||||
|
foreach(recv_arg1 "int" "ssize_t" "SOCKET")
|
||||||
|
foreach(recv_arg2 "void *" "char *")
|
||||||
|
foreach(recv_arg3 "size_t" "int" "socklen_t" "unsigned int")
|
||||||
|
foreach(recv_arg4 "int" "unsigned int")
|
||||||
|
if(NOT curl_cv_func_recv_done)
|
||||||
|
set(curl_cv_func_recv_test "UNKNOWN")
|
||||||
|
set(extern_line "extern ${recv_retv} ${signature_call_conv} recv(${recv_arg1}, ${recv_arg2}, ${recv_arg3}, ${recv_arg4})\;")
|
||||||
|
set(EXTRA_DEFINES "${EXTRA_DEFINES_BACKUP}\n${headers_hack}\n${extern_line}\n#define __unused5")
|
||||||
|
curl_check_c_source_compiles("
|
||||||
|
${recv_arg1} s=0;
|
||||||
|
${recv_arg2} buf=0;
|
||||||
|
${recv_arg3} len=0;
|
||||||
|
${recv_arg4} flags=0;
|
||||||
|
${recv_retv} res = recv(s, buf, len, flags)"
|
||||||
|
curl_cv_func_recv_test
|
||||||
|
"${recv_retv} recv(${recv_arg1}, ${recv_arg2}, ${recv_arg3}, ${recv_arg4})")
|
||||||
|
if(curl_cv_func_recv_test)
|
||||||
|
set(curl_cv_func_recv_args
|
||||||
|
"${recv_arg1},${recv_arg2},${recv_arg3},${recv_arg4},${recv_retv}")
|
||||||
|
set(RECV_TYPE_ARG1 "${recv_arg1}")
|
||||||
|
set(RECV_TYPE_ARG2 "${recv_arg2}")
|
||||||
|
set(RECV_TYPE_ARG3 "${recv_arg3}")
|
||||||
|
set(RECV_TYPE_ARG4 "${recv_arg4}")
|
||||||
|
set(RECV_TYPE_RETV "${recv_retv}")
|
||||||
|
set(HAVE_RECV 1)
|
||||||
|
set(curl_cv_func_recv_done 1)
|
||||||
|
endif(curl_cv_func_recv_test)
|
||||||
|
endif(NOT curl_cv_func_recv_done)
|
||||||
|
endforeach(recv_arg4)
|
||||||
|
endforeach(recv_arg3)
|
||||||
|
endforeach(recv_arg2)
|
||||||
|
endforeach(recv_arg1)
|
||||||
|
endforeach(recv_retv)
|
||||||
|
else(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown")
|
||||||
|
string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG1 "${curl_cv_func_recv_args}")
|
||||||
|
string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG2 "${curl_cv_func_recv_args}")
|
||||||
|
string(REGEX REPLACE "^[^,]*,[^,]*,([^,]*),[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG3 "${curl_cv_func_recv_args}")
|
||||||
|
string(REGEX REPLACE "^[^,]*,[^,]*,[^,]*,([^,]*),[^,]*$" "\\1" RECV_TYPE_ARG4 "${curl_cv_func_recv_args}")
|
||||||
|
string(REGEX REPLACE "^[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)$" "\\1" RECV_TYPE_RETV "${curl_cv_func_recv_args}")
|
||||||
|
#MESSAGE("RECV_TYPE_ARG1 ${RECV_TYPE_ARG1}")
|
||||||
|
#MESSAGE("RECV_TYPE_ARG2 ${RECV_TYPE_ARG2}")
|
||||||
|
#MESSAGE("RECV_TYPE_ARG3 ${RECV_TYPE_ARG3}")
|
||||||
|
#MESSAGE("RECV_TYPE_ARG4 ${RECV_TYPE_ARG4}")
|
||||||
|
#MESSAGE("RECV_TYPE_RETV ${RECV_TYPE_RETV}")
|
||||||
|
endif(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown")
|
||||||
|
|
||||||
|
if("${curl_cv_func_recv_args}" STREQUAL "unknown")
|
||||||
|
message(FATAL_ERROR "Cannot find proper types to use for recv args")
|
||||||
|
endif("${curl_cv_func_recv_args}" STREQUAL "unknown")
|
||||||
|
else(curl_cv_recv)
|
||||||
|
message(FATAL_ERROR "Unable to link function recv")
|
||||||
|
endif(curl_cv_recv)
|
||||||
|
set(curl_cv_func_recv_args "${curl_cv_func_recv_args}" CACHE INTERNAL "Arguments for recv")
|
||||||
|
set(HAVE_RECV 1)
|
||||||
|
|
||||||
|
curl_check_c_source_compiles("send(0, 0, 0, 0)" curl_cv_send)
|
||||||
|
if(curl_cv_send)
|
||||||
|
# AC_CACHE_CHECK([types of arguments and return type for send],
|
||||||
|
#[curl_cv_func_send_args], [
|
||||||
|
#SET(curl_cv_func_send_args "unknown")
|
||||||
|
#for send_retv in 'int' 'ssize_t'; do
|
||||||
|
if(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown")
|
||||||
|
foreach(send_retv "int" "ssize_t" )
|
||||||
|
foreach(send_arg1 "int" "ssize_t" "SOCKET")
|
||||||
|
foreach(send_arg2 "const void *" "void *" "char *" "const char *")
|
||||||
|
foreach(send_arg3 "size_t" "int" "socklen_t" "unsigned int")
|
||||||
|
foreach(send_arg4 "int" "unsigned int")
|
||||||
|
if(NOT curl_cv_func_send_done)
|
||||||
|
set(curl_cv_func_send_test "UNKNOWN")
|
||||||
|
set(extern_line "extern ${send_retv} ${signature_call_conv} send(${send_arg1}, ${send_arg2}, ${send_arg3}, ${send_arg4})\;")
|
||||||
|
set(EXTRA_DEFINES "${EXTRA_DEFINES_BACKUP}\n${headers_hack}\n${extern_line}\n#define __unused5")
|
||||||
|
curl_check_c_source_compiles("
|
||||||
|
${send_arg1} s=0;
|
||||||
|
${send_arg2} buf=0;
|
||||||
|
${send_arg3} len=0;
|
||||||
|
${send_arg4} flags=0;
|
||||||
|
${send_retv} res = send(s, buf, len, flags)"
|
||||||
|
curl_cv_func_send_test
|
||||||
|
"${send_retv} send(${send_arg1}, ${send_arg2}, ${send_arg3}, ${send_arg4})")
|
||||||
|
if(curl_cv_func_send_test)
|
||||||
|
#MESSAGE("Found arguments: ${curl_cv_func_send_test}")
|
||||||
|
string(REGEX REPLACE "(const) .*" "\\1" send_qual_arg2 "${send_arg2}")
|
||||||
|
string(REGEX REPLACE "const (.*)" "\\1" send_arg2 "${send_arg2}")
|
||||||
|
set(curl_cv_func_send_args
|
||||||
|
"${send_arg1},${send_arg2},${send_arg3},${send_arg4},${send_retv},${send_qual_arg2}")
|
||||||
|
set(SEND_TYPE_ARG1 "${send_arg1}")
|
||||||
|
set(SEND_TYPE_ARG2 "${send_arg2}")
|
||||||
|
set(SEND_TYPE_ARG3 "${send_arg3}")
|
||||||
|
set(SEND_TYPE_ARG4 "${send_arg4}")
|
||||||
|
set(SEND_TYPE_RETV "${send_retv}")
|
||||||
|
set(HAVE_SEND 1)
|
||||||
|
set(curl_cv_func_send_done 1)
|
||||||
|
endif(curl_cv_func_send_test)
|
||||||
|
endif(NOT curl_cv_func_send_done)
|
||||||
|
endforeach(send_arg4)
|
||||||
|
endforeach(send_arg3)
|
||||||
|
endforeach(send_arg2)
|
||||||
|
endforeach(send_arg1)
|
||||||
|
endforeach(send_retv)
|
||||||
|
else(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown")
|
||||||
|
string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG1 "${curl_cv_func_send_args}")
|
||||||
|
string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG2 "${curl_cv_func_send_args}")
|
||||||
|
string(REGEX REPLACE "^[^,]*,[^,]*,([^,]*),[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG3 "${curl_cv_func_send_args}")
|
||||||
|
string(REGEX REPLACE "^[^,]*,[^,]*,[^,]*,([^,]*),[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG4 "${curl_cv_func_send_args}")
|
||||||
|
string(REGEX REPLACE "^[^,]*,[^,]*,[^,]*,[^,]*,([^,]*),[^,]*$" "\\1" SEND_TYPE_RETV "${curl_cv_func_send_args}")
|
||||||
|
string(REGEX REPLACE "^[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)$" "\\1" SEND_QUAL_ARG2 "${curl_cv_func_send_args}")
|
||||||
|
#MESSAGE("SEND_TYPE_ARG1 ${SEND_TYPE_ARG1}")
|
||||||
|
#MESSAGE("SEND_TYPE_ARG2 ${SEND_TYPE_ARG2}")
|
||||||
|
#MESSAGE("SEND_TYPE_ARG3 ${SEND_TYPE_ARG3}")
|
||||||
|
#MESSAGE("SEND_TYPE_ARG4 ${SEND_TYPE_ARG4}")
|
||||||
|
#MESSAGE("SEND_TYPE_RETV ${SEND_TYPE_RETV}")
|
||||||
|
#MESSAGE("SEND_QUAL_ARG2 ${SEND_QUAL_ARG2}")
|
||||||
|
endif(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown")
|
||||||
|
|
||||||
|
if("${curl_cv_func_send_args}" STREQUAL "unknown")
|
||||||
|
message(FATAL_ERROR "Cannot find proper types to use for send args")
|
||||||
|
endif("${curl_cv_func_send_args}" STREQUAL "unknown")
|
||||||
|
set(SEND_QUAL_ARG2 "const")
|
||||||
|
else(curl_cv_send)
|
||||||
|
message(FATAL_ERROR "Unable to link function send")
|
||||||
|
endif(curl_cv_send)
|
||||||
|
set(curl_cv_func_send_args "${curl_cv_func_send_args}" CACHE INTERNAL "Arguments for send")
|
||||||
|
set(HAVE_SEND 1)
|
||||||
|
|
||||||
|
set(EXTRA_DEFINES "${EXTRA_DEFINES}\n${headers_hack}\n#define __unused5")
|
||||||
|
curl_check_c_source_compiles("int flag = MSG_NOSIGNAL" HAVE_MSG_NOSIGNAL)
|
||||||
|
|
||||||
|
set(EXTRA_DEFINES "__unused1\n#undef inline\n#define __unused2")
|
||||||
|
set(HEADER_INCLUDES)
|
||||||
|
set(headers_hack)
|
||||||
|
|
||||||
|
macro(add_header_include check header)
|
||||||
|
if(${check})
|
||||||
|
set(headers_hack
|
||||||
|
"${headers_hack}\n#include <${header}>")
|
||||||
|
#SET(HEADER_INCLUDES
|
||||||
|
# ${HEADER_INCLUDES}
|
||||||
|
# "${header}")
|
||||||
|
endif(${check})
|
||||||
|
endmacro(add_header_include header)
|
||||||
|
|
||||||
|
if(HAVE_WINDOWS_H)
|
||||||
|
set(EXTRA_DEFINES ${EXTRA_DEFINES}
|
||||||
|
"__unused7\n#ifndef WIN32_LEAN_AND_MEAN\n#define WIN32_LEAN_AND_MEAN\n#endif\n#define __unused3")
|
||||||
|
add_header_include(HAVE_WINDOWS_H "windows.h")
|
||||||
|
add_header_include(HAVE_WINSOCK2_H "winsock2.h")
|
||||||
|
add_header_include(HAVE_WINSOCK_H "winsock.h")
|
||||||
|
else(HAVE_WINDOWS_H)
|
||||||
|
add_header_include(HAVE_SYS_TYPES_H "sys/types.h")
|
||||||
|
add_header_include(HAVE_SYS_TIME_H "sys/time.h")
|
||||||
|
add_header_include(TIME_WITH_SYS_TIME "time.h")
|
||||||
|
add_header_include(HAVE_TIME_H "time.h")
|
||||||
|
endif(HAVE_WINDOWS_H)
|
||||||
|
set(EXTRA_DEFINES "${EXTRA_DEFINES}\n${headers_hack}\n#define __unused5")
|
||||||
|
curl_check_c_source_compiles("struct timeval ts;\nts.tv_sec = 0;\nts.tv_usec = 0" HAVE_STRUCT_TIMEVAL)
|
||||||
|
|
||||||
|
|
||||||
|
include(CurlCheckCSourceRuns)
|
||||||
|
set(EXTRA_DEFINES)
|
||||||
|
set(HEADER_INCLUDES)
|
||||||
|
if(HAVE_SYS_POLL_H)
|
||||||
|
set(HEADER_INCLUDES "sys/poll.h")
|
||||||
|
endif(HAVE_SYS_POLL_H)
|
||||||
|
curl_check_c_source_runs("return poll((void *)0, 0, 10 /*ms*/)" HAVE_POLL_FINE)
|
||||||
|
|
||||||
|
set(HAVE_SIG_ATOMIC_T 1)
|
||||||
|
set(EXTRA_DEFINES)
|
||||||
|
set(HEADER_INCLUDES)
|
||||||
|
if(HAVE_SIGNAL_H)
|
||||||
|
set(HEADER_INCLUDES "signal.h")
|
||||||
|
set(CMAKE_EXTRA_INCLUDE_FILES "signal.h")
|
||||||
|
endif(HAVE_SIGNAL_H)
|
||||||
|
check_type_size("sig_atomic_t" SIZEOF_SIG_ATOMIC_T)
|
||||||
|
if(HAVE_SIZEOF_SIG_ATOMIC_T)
|
||||||
|
curl_check_c_source_compiles("static volatile sig_atomic_t dummy = 0" HAVE_SIG_ATOMIC_T_NOT_VOLATILE)
|
||||||
|
if(NOT HAVE_SIG_ATOMIC_T_NOT_VOLATILE)
|
||||||
|
set(HAVE_SIG_ATOMIC_T_VOLATILE 1)
|
||||||
|
endif(NOT HAVE_SIG_ATOMIC_T_NOT_VOLATILE)
|
||||||
|
endif(HAVE_SIZEOF_SIG_ATOMIC_T)
|
||||||
|
|
||||||
|
set(CHECK_TYPE_SIZE_PREINCLUDE
|
||||||
|
"#undef inline")
|
||||||
|
|
||||||
|
if(HAVE_WINDOWS_H)
|
||||||
|
set(CHECK_TYPE_SIZE_PREINCLUDE "${CHECK_TYPE_SIZE_PREINCLUDE}
|
||||||
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
#endif
|
||||||
|
#include <windows.h>")
|
||||||
|
if(HAVE_WINSOCK2_H)
|
||||||
|
set(CHECK_TYPE_SIZE_PREINCLUDE "${CHECK_TYPE_SIZE_PREINCLUDE}\n#include <winsock2.h>")
|
||||||
|
endif(HAVE_WINSOCK2_H)
|
||||||
|
else(HAVE_WINDOWS_H)
|
||||||
|
if(HAVE_SYS_SOCKET_H)
|
||||||
|
set(CMAKE_EXTRA_INCLUDE_FILES ${CMAKE_EXTRA_INCLUDE_FILES}
|
||||||
|
"sys/socket.h")
|
||||||
|
endif(HAVE_SYS_SOCKET_H)
|
||||||
|
if(HAVE_NETINET_IN_H)
|
||||||
|
set(CMAKE_EXTRA_INCLUDE_FILES ${CMAKE_EXTRA_INCLUDE_FILES}
|
||||||
|
"netinet/in.h")
|
||||||
|
endif(HAVE_NETINET_IN_H)
|
||||||
|
if(HAVE_ARPA_INET_H)
|
||||||
|
set(CMAKE_EXTRA_INCLUDE_FILES ${CMAKE_EXTRA_INCLUDE_FILES}
|
||||||
|
"arpa/inet.h")
|
||||||
|
endif(HAVE_ARPA_INET_H)
|
||||||
|
endif(HAVE_WINDOWS_H)
|
||||||
|
|
||||||
|
check_type_size("struct sockaddr_storage" SIZEOF_STRUCT_SOCKADDR_STORAGE)
|
||||||
|
if(HAVE_SIZEOF_STRUCT_SOCKADDR_STORAGE)
|
||||||
|
set(HAVE_STRUCT_SOCKADDR_STORAGE 1)
|
||||||
|
endif(HAVE_SIZEOF_STRUCT_SOCKADDR_STORAGE)
|
||||||
|
|
||||||
121
CMake/Platforms/WindowsCache.cmake
Normal file
121
CMake/Platforms/WindowsCache.cmake
Normal file
@@ -0,0 +1,121 @@
|
|||||||
|
if(NOT UNIX)
|
||||||
|
if(WIN32)
|
||||||
|
set(HAVE_LIBDL 0)
|
||||||
|
set(HAVE_LIBUCB 0)
|
||||||
|
set(HAVE_LIBSOCKET 0)
|
||||||
|
set(NOT_NEED_LIBNSL 0)
|
||||||
|
set(HAVE_LIBNSL 0)
|
||||||
|
set(HAVE_LIBZ 0)
|
||||||
|
set(HAVE_LIBCRYPTO 0)
|
||||||
|
|
||||||
|
set(HAVE_DLOPEN 0)
|
||||||
|
|
||||||
|
set(HAVE_ALLOCA_H 0)
|
||||||
|
set(HAVE_ARPA_INET_H 0)
|
||||||
|
set(HAVE_DLFCN_H 0)
|
||||||
|
set(HAVE_FCNTL_H 1)
|
||||||
|
set(HAVE_FEATURES_H 0)
|
||||||
|
set(HAVE_INTTYPES_H 0)
|
||||||
|
set(HAVE_IO_H 1)
|
||||||
|
set(HAVE_MALLOC_H 1)
|
||||||
|
set(HAVE_MEMORY_H 1)
|
||||||
|
set(HAVE_NETDB_H 0)
|
||||||
|
set(HAVE_NETINET_IF_ETHER_H 0)
|
||||||
|
set(HAVE_NETINET_IN_H 0)
|
||||||
|
set(HAVE_NET_IF_H 0)
|
||||||
|
set(HAVE_PROCESS_H 1)
|
||||||
|
set(HAVE_PWD_H 0)
|
||||||
|
set(HAVE_SETJMP_H 1)
|
||||||
|
set(HAVE_SGTTY_H 0)
|
||||||
|
set(HAVE_SIGNAL_H 1)
|
||||||
|
set(HAVE_SOCKIO_H 0)
|
||||||
|
set(HAVE_STDINT_H 0)
|
||||||
|
set(HAVE_STDLIB_H 1)
|
||||||
|
set(HAVE_STRINGS_H 0)
|
||||||
|
set(HAVE_STRING_H 1)
|
||||||
|
set(HAVE_SYS_PARAM_H 0)
|
||||||
|
set(HAVE_SYS_POLL_H 0)
|
||||||
|
set(HAVE_SYS_SELECT_H 0)
|
||||||
|
set(HAVE_SYS_SOCKET_H 0)
|
||||||
|
set(HAVE_SYS_SOCKIO_H 0)
|
||||||
|
set(HAVE_SYS_STAT_H 1)
|
||||||
|
set(HAVE_SYS_TIME_H 0)
|
||||||
|
set(HAVE_SYS_TYPES_H 1)
|
||||||
|
set(HAVE_SYS_UTIME_H 1)
|
||||||
|
set(HAVE_TERMIOS_H 0)
|
||||||
|
set(HAVE_TERMIO_H 0)
|
||||||
|
set(HAVE_TIME_H 1)
|
||||||
|
set(HAVE_UNISTD_H 0)
|
||||||
|
set(HAVE_UTIME_H 0)
|
||||||
|
set(HAVE_X509_H 0)
|
||||||
|
set(HAVE_ZLIB_H 0)
|
||||||
|
|
||||||
|
set(HAVE_SIZEOF_LONG_DOUBLE 1)
|
||||||
|
set(SIZEOF_LONG_DOUBLE 8)
|
||||||
|
|
||||||
|
set(HAVE_SOCKET 1)
|
||||||
|
set(HAVE_POLL 0)
|
||||||
|
set(HAVE_SELECT 1)
|
||||||
|
set(HAVE_STRDUP 1)
|
||||||
|
set(HAVE_STRSTR 1)
|
||||||
|
set(HAVE_STRTOK_R 0)
|
||||||
|
set(HAVE_STRFTIME 1)
|
||||||
|
set(HAVE_UNAME 0)
|
||||||
|
set(HAVE_STRCASECMP 0)
|
||||||
|
set(HAVE_STRICMP 1)
|
||||||
|
set(HAVE_STRCMPI 1)
|
||||||
|
set(HAVE_GETHOSTBYADDR 1)
|
||||||
|
set(HAVE_GETTIMEOFDAY 0)
|
||||||
|
set(HAVE_INET_ADDR 1)
|
||||||
|
set(HAVE_INET_NTOA 1)
|
||||||
|
set(HAVE_INET_NTOA_R 0)
|
||||||
|
set(HAVE_TCGETATTR 0)
|
||||||
|
set(HAVE_TCSETATTR 0)
|
||||||
|
set(HAVE_PERROR 1)
|
||||||
|
set(HAVE_CLOSESOCKET 1)
|
||||||
|
set(HAVE_SETVBUF 0)
|
||||||
|
set(HAVE_SIGSETJMP 0)
|
||||||
|
set(HAVE_GETPASS_R 0)
|
||||||
|
set(HAVE_STRLCAT 0)
|
||||||
|
set(HAVE_GETPWUID 0)
|
||||||
|
set(HAVE_GETEUID 0)
|
||||||
|
set(HAVE_UTIME 1)
|
||||||
|
set(HAVE_RAND_EGD 0)
|
||||||
|
set(HAVE_RAND_SCREEN 0)
|
||||||
|
set(HAVE_RAND_STATUS 0)
|
||||||
|
set(HAVE_GMTIME_R 0)
|
||||||
|
set(HAVE_LOCALTIME_R 0)
|
||||||
|
set(HAVE_GETHOSTBYADDR_R 0)
|
||||||
|
set(HAVE_GETHOSTBYNAME_R 0)
|
||||||
|
set(HAVE_SIGNAL_FUNC 1)
|
||||||
|
set(HAVE_SIGNAL_MACRO 0)
|
||||||
|
|
||||||
|
set(HAVE_GETHOSTBYADDR_R_5 0)
|
||||||
|
set(HAVE_GETHOSTBYADDR_R_5_REENTRANT 0)
|
||||||
|
set(HAVE_GETHOSTBYADDR_R_7 0)
|
||||||
|
set(HAVE_GETHOSTBYADDR_R_7_REENTRANT 0)
|
||||||
|
set(HAVE_GETHOSTBYADDR_R_8 0)
|
||||||
|
set(HAVE_GETHOSTBYADDR_R_8_REENTRANT 0)
|
||||||
|
set(HAVE_GETHOSTBYNAME_R_3 0)
|
||||||
|
set(HAVE_GETHOSTBYNAME_R_3_REENTRANT 0)
|
||||||
|
set(HAVE_GETHOSTBYNAME_R_5 0)
|
||||||
|
set(HAVE_GETHOSTBYNAME_R_5_REENTRANT 0)
|
||||||
|
set(HAVE_GETHOSTBYNAME_R_6 0)
|
||||||
|
set(HAVE_GETHOSTBYNAME_R_6_REENTRANT 0)
|
||||||
|
|
||||||
|
set(TIME_WITH_SYS_TIME 0)
|
||||||
|
set(HAVE_O_NONBLOCK 0)
|
||||||
|
set(HAVE_IN_ADDR_T 0)
|
||||||
|
set(HAVE_INET_NTOA_R_DECL 0)
|
||||||
|
set(HAVE_INET_NTOA_R_DECL_REENTRANT 0)
|
||||||
|
set(HAVE_GETADDRINFO 0)
|
||||||
|
set(STDC_HEADERS 1)
|
||||||
|
set(RETSIGTYPE_TEST 1)
|
||||||
|
|
||||||
|
set(HAVE_SIGACTION 0)
|
||||||
|
set(HAVE_MACRO_SIGSETJMP 0)
|
||||||
|
else(WIN32)
|
||||||
|
message("This file should be included on Windows platform only")
|
||||||
|
endif(WIN32)
|
||||||
|
endif(NOT UNIX)
|
||||||
|
|
||||||
31
CMake/Utilities.cmake
Normal file
31
CMake/Utilities.cmake
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# File containing various utilities
|
||||||
|
|
||||||
|
# Converts a CMake list to a string containing elements separated by spaces
|
||||||
|
function(TO_LIST_SPACES _LIST_NAME OUTPUT_VAR)
|
||||||
|
set(NEW_LIST_SPACE)
|
||||||
|
foreach(ITEM ${${_LIST_NAME}})
|
||||||
|
set(NEW_LIST_SPACE "${NEW_LIST_SPACE} ${ITEM}")
|
||||||
|
endforeach()
|
||||||
|
string(STRIP ${NEW_LIST_SPACE} NEW_LIST_SPACE)
|
||||||
|
set(${OUTPUT_VAR} "${NEW_LIST_SPACE}" PARENT_SCOPE)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
# Appends a lis of item to a string which is a space-separated list, if they don't already exist.
|
||||||
|
function(LIST_SPACES_APPEND_ONCE LIST_NAME)
|
||||||
|
string(REPLACE " " ";" _LIST ${${LIST_NAME}})
|
||||||
|
list(APPEND _LIST ${ARGN})
|
||||||
|
list(REMOVE_DUPLICATES _LIST)
|
||||||
|
to_list_spaces(_LIST NEW_LIST_SPACE)
|
||||||
|
set(${LIST_NAME} "${NEW_LIST_SPACE}" PARENT_SCOPE)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
# Convinience function that does the same as LIST(FIND ...) but with a TRUE/FALSE return value.
|
||||||
|
# Ex: IN_STR_LIST(MY_LIST "Searched item" WAS_FOUND)
|
||||||
|
function(IN_STR_LIST LIST_NAME ITEM_SEARCHED RETVAL)
|
||||||
|
list(FIND ${LIST_NAME} ${ITEM_SEARCHED} FIND_POS)
|
||||||
|
if(${FIND_POS} EQUAL -1)
|
||||||
|
set(${RETVAL} FALSE PARENT_SCOPE)
|
||||||
|
else()
|
||||||
|
set(${RETVAL} TRUE PARENT_SCOPE)
|
||||||
|
endif()
|
||||||
|
endfunction()
|
||||||
884
CMakeLists.txt
Normal file
884
CMakeLists.txt
Normal file
@@ -0,0 +1,884 @@
|
|||||||
|
# cURL/libcurl CMake script
|
||||||
|
# by Tetetest and Sukender (Benoit Neil)
|
||||||
|
|
||||||
|
# TODO:
|
||||||
|
# The output .so file lacks the soname number which we currently have within the lib/Makefile.am file
|
||||||
|
# Add full (4 or 5 libs) SSL support
|
||||||
|
# Add INSTALL target (EXTRA_DIST variables in Makefile.am may be moved to Makefile.inc so that CMake/CPack is aware of what's to include).
|
||||||
|
# Add CTests(?)
|
||||||
|
# Check on all possible platforms
|
||||||
|
# Test with as many configurations possible (With or without any option)
|
||||||
|
# Create scripts that help keeping the CMake build system up to date (to reduce maintenance). According to Tetetest:
|
||||||
|
# - lists of headers that 'configure' checks for;
|
||||||
|
# - curl-specific tests (the ones that are in m4/curl-*.m4 files);
|
||||||
|
# - (most obvious thing:) curl version numbers.
|
||||||
|
# Add documentation subproject
|
||||||
|
#
|
||||||
|
# To check:
|
||||||
|
# (From Daniel Stenberg) The cmake build selected to run gcc with -fPIC on my box while the plain configure script did not.
|
||||||
|
# (From Daniel Stenberg) The gcc command line use neither -g nor any -O options. As a developer, I also treasure our configure scripts's --enable-debug option that sets a long range of "picky" compiler options.
|
||||||
|
cmake_minimum_required(VERSION 2.6.2 FATAL_ERROR)
|
||||||
|
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake;${CMAKE_MODULE_PATH}")
|
||||||
|
include(Utilities)
|
||||||
|
|
||||||
|
project( CURL C )
|
||||||
|
|
||||||
|
|
||||||
|
file (READ ${CURL_SOURCE_DIR}/include/curl/curlver.h CURL_VERSION_H_CONTENTS)
|
||||||
|
string (REGEX MATCH "LIBCURL_VERSION_MAJOR[ \t]+([0-9]+)"
|
||||||
|
LIBCURL_VERSION_MJ ${CURL_VERSION_H_CONTENTS})
|
||||||
|
string (REGEX MATCH "([0-9]+)"
|
||||||
|
LIBCURL_VERSION_MJ ${LIBCURL_VERSION_MJ})
|
||||||
|
string (REGEX MATCH
|
||||||
|
"LIBCURL_VERSION_MINOR[ \t]+([0-9]+)"
|
||||||
|
LIBCURL_VERSION_MI ${CURL_VERSION_H_CONTENTS})
|
||||||
|
string (REGEX MATCH "([0-9]+)" LIBCURL_VERSION_MI ${LIBCURL_VERSION_MI})
|
||||||
|
string (REGEX MATCH
|
||||||
|
"LIBCURL_VERSION_PATCH[ \t]+([0-9]+)"
|
||||||
|
LIBCURL_VERSION_PT ${CURL_VERSION_H_CONTENTS})
|
||||||
|
string (REGEX MATCH "([0-9]+)" LIBCURL_VERSION_PT ${LIBCURL_VERSION_PT})
|
||||||
|
set (CURL_MAJOR_VERSION ${LIBCURL_VERSION_MJ})
|
||||||
|
set (CURL_MINOR_VERSION ${LIBCURL_VERSION_MI})
|
||||||
|
set (CURL_PATCH_VERSION ${LIBCURL_VERSION_PT})
|
||||||
|
|
||||||
|
include_regular_expression("^.*$") # Sukender: Is it necessary?
|
||||||
|
|
||||||
|
# Setup package meta-data
|
||||||
|
# SET(PACKAGE "curl")
|
||||||
|
set(CURL_VERSION ${CURL_MAJOR_VERSION}.${CURL_MINOR_VERSION}.${CURL_PATCH_VERSION})
|
||||||
|
message(STATUS "curl version=[${CURL_VERSION}]")
|
||||||
|
# SET(PACKAGE_TARNAME "curl")
|
||||||
|
# SET(PACKAGE_NAME "curl")
|
||||||
|
# SET(PACKAGE_VERSION "-")
|
||||||
|
# SET(PACKAGE_STRING "curl-")
|
||||||
|
# SET(PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/")
|
||||||
|
set(OPERATING_SYSTEM "${CMAKE_SYSTEM_NAME}")
|
||||||
|
set(OS "\"${CMAKE_SYSTEM_NAME}\"")
|
||||||
|
|
||||||
|
# Make the base headers visible to everything
|
||||||
|
# IF(NOT ${PROJECT_BINARY_DIR} EQUAL ${PROJECT_SOURCE_DIR})
|
||||||
|
# INCLUDE_DIRECTORIES(${PROJECT_BINARY_DIR}/include)
|
||||||
|
# ENDIF()
|
||||||
|
include_directories( ${CURL_SOURCE_DIR}/include )
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
set(NATIVE_WINDOWS ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
option(BUILD_CURL_EXE "Set to ON to build cURL executable." ON)
|
||||||
|
option(BUILD_CURL_TESTS "Set to ON to build cURL tests." ON)
|
||||||
|
option(CURL_STATICLIB "Set to ON to build libcurl with static linking." OFF)
|
||||||
|
option(CURL_USE_ARES "Set to ON to enable c-ares support" OFF)
|
||||||
|
# initialize CURL_LIBS
|
||||||
|
set(CURL_LIBS "")
|
||||||
|
|
||||||
|
if(CURL_USE_ARES)
|
||||||
|
set(USE_ARES ${CURL_USE_ARES})
|
||||||
|
find_package(CARES REQUIRED)
|
||||||
|
list(APPEND CURL_LIBS ${CARES_LIBRARY} )
|
||||||
|
set(CURL_LIBS ${CURL_LIBS} ${CARES_LIBRARY})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
option(BUILD_DASHBOARD_REPORTS "Set to ON to activate reporting of cURL builds here http://www.cdash.org/CDashPublic/index.php?project=CURL" OFF)
|
||||||
|
if(BUILD_DASHBOARD_REPORTS)
|
||||||
|
#INCLUDE(Dart)
|
||||||
|
include(CTest)
|
||||||
|
endif(BUILD_DASHBOARD_REPORTS)
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
option(BUILD_RELEASE_DEBUG_DIRS "Set OFF to build each configuration to a separate directory" OFF)
|
||||||
|
mark_as_advanced(BUILD_RELEASE_DEBUG_DIRS)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
option(CURL_HIDDEN_SYMBOLS "Set to ON to hide libcurl internal symbols (=hide all symbols that aren't officially external)." ON)
|
||||||
|
mark_as_advanced(CURL_HIDDEN_SYMBOLS)
|
||||||
|
|
||||||
|
# IF(WIN32)
|
||||||
|
# OPTION(CURL_WINDOWS_SSPI "Use windows libraries to allow NTLM authentication without openssl" ON)
|
||||||
|
# MARK_AS_ADVANCED(CURL_WINDOWS_SSPI)
|
||||||
|
# ENDIF()
|
||||||
|
|
||||||
|
option(HTTP_ONLY "disables all protocols except HTTP (This overrides all CURL_DISABLE_* options)" OFF)
|
||||||
|
mark_as_advanced(HTTP_ONLY)
|
||||||
|
option(CURL_DISABLE_FTP "disables FTP" OFF)
|
||||||
|
mark_as_advanced(CURL_DISABLE_FTP)
|
||||||
|
option(CURL_DISABLE_LDAP "disables LDAP" OFF)
|
||||||
|
mark_as_advanced(CURL_DISABLE_LDAP)
|
||||||
|
option(CURL_DISABLE_TELNET "disables Telnet" OFF)
|
||||||
|
mark_as_advanced(CURL_DISABLE_TELNET)
|
||||||
|
option(CURL_DISABLE_DICT "disables DICT" OFF)
|
||||||
|
mark_as_advanced(CURL_DISABLE_DICT)
|
||||||
|
option(CURL_DISABLE_FILE "disables FILE" OFF)
|
||||||
|
mark_as_advanced(CURL_DISABLE_FILE)
|
||||||
|
option(CURL_DISABLE_TFTP "disables TFTP" OFF)
|
||||||
|
mark_as_advanced(CURL_DISABLE_TFTP)
|
||||||
|
option(CURL_DISABLE_HTTP "disables HTTP" OFF)
|
||||||
|
mark_as_advanced(CURL_DISABLE_HTTP)
|
||||||
|
|
||||||
|
option(CURL_DISABLE_LDAPS "to disable LDAPS" OFF)
|
||||||
|
mark_as_advanced(CURL_DISABLE_LDAPS)
|
||||||
|
if(WIN32)
|
||||||
|
set(CURL_DEFAULT_DISABLE_LDAP OFF)
|
||||||
|
# some windows compilers do not have wldap32
|
||||||
|
if( NOT HAVE_WLDAP32)
|
||||||
|
set(CURL_DISABLE_LDAP ON CACHE BOOL "" FORCE)
|
||||||
|
message(STATUS "wldap32 not found CURL_DISABLE_LDAP set ON")
|
||||||
|
option(CURL_LDAP_WIN "Use W$ LDAP implementation" OFF)
|
||||||
|
else()
|
||||||
|
option(CURL_LDAP_WIN "Use W$ LDAP implementation" ON)
|
||||||
|
endif()
|
||||||
|
mark_as_advanced(CURL_LDAP_WIN)
|
||||||
|
set(CURL_LDAP_HYBRID OFF)
|
||||||
|
else()
|
||||||
|
option(CURL_LDAP_HYBRID "W$ LDAP with non-W$ compiler" OFF)
|
||||||
|
mark_as_advanced(CURL_LDAP_HYBRID)
|
||||||
|
set(CURL_LDAP_WIN OFF)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(HTTP_ONLY)
|
||||||
|
set(CURL_DISABLE_FTP ON)
|
||||||
|
set(CURL_DISABLE_LDAP ON)
|
||||||
|
set(CURL_DISABLE_TELNET ON)
|
||||||
|
set(CURL_DISABLE_DICT ON)
|
||||||
|
set(CURL_DISABLE_FILE ON)
|
||||||
|
set(CURL_DISABLE_TFTP ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
option(CURL_DISABLE_COOKIES "to disable cookies support" OFF)
|
||||||
|
mark_as_advanced(CURL_DISABLE_COOKIES)
|
||||||
|
|
||||||
|
option(CURL_DISABLE_CRYPTO_AUTH "to disable cryptographic authentication" OFF)
|
||||||
|
mark_as_advanced(CURL_DISABLE_CRYPTO_AUTH)
|
||||||
|
option(CURL_DISABLE_VERBOSE_STRINGS "to disable verbose strings" OFF)
|
||||||
|
mark_as_advanced(CURL_DISABLE_VERBOSE_STRINGS)
|
||||||
|
option(DISABLED_THREADSAFE "Set to explicitly specify we don't want to use thread-safe functions" OFF)
|
||||||
|
mark_as_advanced(DISABLED_THREADSAFE)
|
||||||
|
option(ENABLE_IPV6 "Define if you want to enable IPv6 support" OFF)
|
||||||
|
mark_as_advanced(ENABLE_IPV6)
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
list_spaces_append_once(CMAKE_C_STANDARD_LIBRARIES wsock32.lib ws2_32.lib) # bufferoverflowu.lib
|
||||||
|
if(CURL_DISABLE_LDAP)
|
||||||
|
# Remove wldap32.lib from space-separated list
|
||||||
|
string(REPLACE " " ";" _LIST ${CMAKE_C_STANDARD_LIBRARIES})
|
||||||
|
list(REMOVE_ITEM _LIST "wldap32.lib")
|
||||||
|
to_list_spaces(_LIST CMAKE_C_STANDARD_LIBRARIES)
|
||||||
|
else()
|
||||||
|
# Append wldap32.lib
|
||||||
|
list_spaces_append_once(CMAKE_C_STANDARD_LIBRARIES wldap32.lib)
|
||||||
|
endif()
|
||||||
|
set(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_C_STANDARD_LIBRARIES}" CACHE STRING "" FORCE)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
# We need ansi c-flags, especially on HP
|
||||||
|
set(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}")
|
||||||
|
set(CMAKE_REQUIRED_FLAGS ${CMAKE_ANSI_CFLAGS})
|
||||||
|
|
||||||
|
# Disable warnings on Borland to avoid changing 3rd party code.
|
||||||
|
if(BORLAND)
|
||||||
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w-")
|
||||||
|
endif(BORLAND)
|
||||||
|
|
||||||
|
# If we are on AIX, do the _ALL_SOURCE magic
|
||||||
|
if(${CMAKE_SYSTEM_NAME} MATCHES AIX)
|
||||||
|
set(_ALL_SOURCE 1)
|
||||||
|
endif(${CMAKE_SYSTEM_NAME} MATCHES AIX)
|
||||||
|
|
||||||
|
# Include all the necessary files for macros
|
||||||
|
include (CheckFunctionExists)
|
||||||
|
include (CheckIncludeFile)
|
||||||
|
include (CheckIncludeFiles)
|
||||||
|
include (CheckLibraryExists)
|
||||||
|
include (CheckSymbolExists)
|
||||||
|
# if crosscompiling is on, the CHECK_TYPE_SIZE macro coming with cmake uses
|
||||||
|
# TRY_COMPILE instead of TRY_RUN which makes crosscompiling easier, Alex
|
||||||
|
if(CMAKE_CROSSCOMPILING)
|
||||||
|
include ("${CMAKE_MODULE_PATH}/CheckTypeSize.cmake")
|
||||||
|
else(CMAKE_CROSSCOMPILING)
|
||||||
|
include (CheckTypeSize)
|
||||||
|
endif(CMAKE_CROSSCOMPILING)
|
||||||
|
|
||||||
|
# On windows preload settings
|
||||||
|
if(WIN32)
|
||||||
|
include(${CMAKE_CURRENT_SOURCE_DIR}/CMake/Platforms/WindowsCache.cmake)
|
||||||
|
endif(WIN32)
|
||||||
|
|
||||||
|
# This macro checks if the symbol exists in the library and if it
|
||||||
|
# does, it appends library to the list.
|
||||||
|
macro(CHECK_LIBRARY_EXISTS_CONCAT LIBRARY SYMBOL VARIABLE)
|
||||||
|
check_library_exists("${LIBRARY};${CURL_LIBS}" ${SYMBOL} ""
|
||||||
|
${VARIABLE})
|
||||||
|
if(${VARIABLE})
|
||||||
|
set(CURL_LIBS ${CURL_LIBS} ${LIBRARY})
|
||||||
|
endif(${VARIABLE})
|
||||||
|
endmacro(CHECK_LIBRARY_EXISTS_CONCAT)
|
||||||
|
|
||||||
|
# Check for all needed libraries
|
||||||
|
check_library_exists_concat("dl" dlopen HAVE_LIBDL)
|
||||||
|
#CHECK_LIBRARY_EXISTS_CONCAT("ucb" gethostname HAVE_LIBUCB)
|
||||||
|
check_library_exists_concat("socket" connect HAVE_LIBSOCKET)
|
||||||
|
check_library_exists("c" gethostbyname "" NOT_NEED_LIBNSL)
|
||||||
|
|
||||||
|
# Yellowtab Zeta needs different libraries than BeOS 5.
|
||||||
|
if(BEOS)
|
||||||
|
set(NOT_NEED_LIBNSL 1)
|
||||||
|
check_library_exists_concat("bind" gethostbyname HAVE_LIBBIND)
|
||||||
|
check_library_exists_concat("bnetapi" closesocket HAVE_LIBBNETAPI)
|
||||||
|
endif(BEOS)
|
||||||
|
|
||||||
|
if(NOT NOT_NEED_LIBNSL)
|
||||||
|
check_library_exists_concat("nsl" gethostbyname HAVE_LIBNSL)
|
||||||
|
endif(NOT NOT_NEED_LIBNSL)
|
||||||
|
|
||||||
|
check_library_exists_concat("ws2_32" getch HAVE_LIBWS2_32)
|
||||||
|
check_library_exists_concat("winmm" getch HAVE_LIBWINMM)
|
||||||
|
check_library_exists("wldap32" cldap_open "" HAVE_WLDAP32)
|
||||||
|
|
||||||
|
# IF(NOT CURL_SPECIAL_LIBZ)
|
||||||
|
# CHECK_LIBRARY_EXISTS_CONCAT("z" inflateEnd HAVE_LIBZ)
|
||||||
|
# ENDIF(NOT CURL_SPECIAL_LIBZ)
|
||||||
|
|
||||||
|
option(CMAKE_USE_OPENSSL "Use OpenSSL code. Experimental" ON)
|
||||||
|
mark_as_advanced(CMAKE_USE_OPENSSL)
|
||||||
|
if(CMAKE_USE_OPENSSL)
|
||||||
|
if(WIN32)
|
||||||
|
find_package(OpenSSL)
|
||||||
|
if(OPENSSL_FOUND)
|
||||||
|
set(USE_SSLEAY TRUE)
|
||||||
|
set(USE_OPENSSL TRUE)
|
||||||
|
list(APPEND CURL_LIBS ${OPENSSL_LIBRARIES} )
|
||||||
|
endif()
|
||||||
|
#FIND_LIBRARY(LIBEAY NAMES libeay32)
|
||||||
|
#LIST(APPEND CURL_LIBS ${LIBEAY} )
|
||||||
|
else(WIN32)
|
||||||
|
check_library_exists_concat("crypto" CRYPTO_lock HAVE_LIBCRYPTO)
|
||||||
|
check_library_exists_concat("ssl" SSL_connect HAVE_LIBSSL)
|
||||||
|
endif(WIN32)
|
||||||
|
endif(CMAKE_USE_OPENSSL)
|
||||||
|
|
||||||
|
# Check for idn
|
||||||
|
check_library_exists_concat("idn" idna_to_ascii_lz HAVE_LIBIDN)
|
||||||
|
|
||||||
|
# Check for LDAP
|
||||||
|
check_library_exists_concat("ldap" ldap_init HAVE_LIBLDAP)
|
||||||
|
# if(NOT HAVE_LIBLDAP)
|
||||||
|
# SET(CURL_DISABLE_LDAP ON)
|
||||||
|
# endif(NOT HAVE_LIBLDAP)
|
||||||
|
|
||||||
|
# Check for symbol dlopen (same as HAVE_LIBDL)
|
||||||
|
check_library_exists("${CURL_LIBS}" dlopen "" HAVE_DLOPEN)
|
||||||
|
|
||||||
|
# For other tests to use the same libraries
|
||||||
|
set(CMAKE_REQUIRED_LIBRARIES ${CURL_LIBS})
|
||||||
|
|
||||||
|
option(CURL_ZLIB "Set to ON to enable building cURL with zlib support." ON)
|
||||||
|
set(HAVE_LIBZ OFF)
|
||||||
|
set(HAVE_ZLIB_H OFF)
|
||||||
|
set(HAVE_ZLIB OFF)
|
||||||
|
if(CURL_ZLIB) # AND CURL_CONFIG_HAS_BEEN_RUN_BEFORE
|
||||||
|
find_package(ZLIB QUIET)
|
||||||
|
if(ZLIB_FOUND)
|
||||||
|
set(HAVE_ZLIB_H ON)
|
||||||
|
set(HAVE_ZLIB ON)
|
||||||
|
set(HAVE_LIBZ ON)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# If we have features.h, then do the _BSD_SOURCE magic
|
||||||
|
check_include_file("features.h" HAVE_FEATURES_H)
|
||||||
|
|
||||||
|
# Check if header file exists and add it to the list.
|
||||||
|
macro(CHECK_INCLUDE_FILE_CONCAT FILE VARIABLE)
|
||||||
|
check_include_files("${CURL_INCLUDES};${FILE}" ${VARIABLE})
|
||||||
|
if(${VARIABLE})
|
||||||
|
set(CURL_INCLUDES ${CURL_INCLUDES} ${FILE})
|
||||||
|
set(CURL_TEST_DEFINES "${CURL_TEST_DEFINES} -D${VARIABLE}")
|
||||||
|
endif(${VARIABLE})
|
||||||
|
endmacro(CHECK_INCLUDE_FILE_CONCAT)
|
||||||
|
|
||||||
|
|
||||||
|
# Check for header files
|
||||||
|
if(NOT UNIX)
|
||||||
|
check_include_file_concat("ws2tcpip.h" HAVE_WS2TCPIP_H)
|
||||||
|
check_include_file_concat("winsock2.h" HAVE_WINSOCK2_H)
|
||||||
|
endif(NOT UNIX)
|
||||||
|
check_include_file_concat("stdio.h" HAVE_STDIO_H)
|
||||||
|
if(NOT UNIX)
|
||||||
|
check_include_file_concat("windows.h" HAVE_WINDOWS_H)
|
||||||
|
check_include_file_concat("winsock.h" HAVE_WINSOCK_H)
|
||||||
|
endif(NOT UNIX)
|
||||||
|
|
||||||
|
check_include_file_concat("inttypes.h" HAVE_INTTYPES_H)
|
||||||
|
check_include_file_concat("sys/filio.h" HAVE_SYS_FILIO_H)
|
||||||
|
check_include_file_concat("sys/ioctl.h" HAVE_SYS_IOCTL_H)
|
||||||
|
check_include_file_concat("sys/param.h" HAVE_SYS_PARAM_H)
|
||||||
|
check_include_file_concat("sys/poll.h" HAVE_SYS_POLL_H)
|
||||||
|
check_include_file_concat("sys/resource.h" HAVE_SYS_RESOURCE_H)
|
||||||
|
check_include_file_concat("sys/select.h" HAVE_SYS_SELECT_H)
|
||||||
|
check_include_file_concat("sys/socket.h" HAVE_SYS_SOCKET_H)
|
||||||
|
check_include_file_concat("sys/sockio.h" HAVE_SYS_SOCKIO_H)
|
||||||
|
check_include_file_concat("sys/stat.h" HAVE_SYS_STAT_H)
|
||||||
|
check_include_file_concat("sys/time.h" HAVE_SYS_TIME_H)
|
||||||
|
check_include_file_concat("sys/types.h" HAVE_SYS_TYPES_H)
|
||||||
|
check_include_file_concat("sys/uio.h" HAVE_SYS_UIO_H)
|
||||||
|
check_include_file_concat("sys/un.h" HAVE_SYS_UN_H)
|
||||||
|
check_include_file_concat("sys/utime.h" HAVE_SYS_UTIME_H)
|
||||||
|
check_include_file_concat("alloca.h" HAVE_ALLOCA_H)
|
||||||
|
check_include_file_concat("arpa/inet.h" HAVE_ARPA_INET_H)
|
||||||
|
check_include_file_concat("arpa/tftp.h" HAVE_ARPA_TFTP_H)
|
||||||
|
check_include_file_concat("assert.h" HAVE_ASSERT_H)
|
||||||
|
check_include_file_concat("crypto.h" HAVE_CRYPTO_H)
|
||||||
|
check_include_file_concat("des.h" HAVE_DES_H)
|
||||||
|
check_include_file_concat("err.h" HAVE_ERR_H)
|
||||||
|
check_include_file_concat("errno.h" HAVE_ERRNO_H)
|
||||||
|
check_include_file_concat("fcntl.h" HAVE_FCNTL_H)
|
||||||
|
check_include_file_concat("gssapi/gssapi.h" HAVE_GSSAPI_GSSAPI_H)
|
||||||
|
check_include_file_concat("gssapi/gssapi_generic.h" HAVE_GSSAPI_GSSAPI_GENERIC_H)
|
||||||
|
check_include_file_concat("gssapi/gssapi_krb5.h" HAVE_GSSAPI_GSSAPI_KRB5_H)
|
||||||
|
check_include_file_concat("idn-free.h" HAVE_IDN_FREE_H)
|
||||||
|
check_include_file_concat("ifaddrs.h" HAVE_IFADDRS_H)
|
||||||
|
check_include_file_concat("io.h" HAVE_IO_H)
|
||||||
|
check_include_file_concat("krb.h" HAVE_KRB_H)
|
||||||
|
check_include_file_concat("libgen.h" HAVE_LIBGEN_H)
|
||||||
|
check_include_file_concat("libssh2.h" HAVE_LIBSSH2_H)
|
||||||
|
check_include_file_concat("limits.h" HAVE_LIMITS_H)
|
||||||
|
check_include_file_concat("locale.h" HAVE_LOCALE_H)
|
||||||
|
check_include_file_concat("net/if.h" HAVE_NET_IF_H)
|
||||||
|
check_include_file_concat("netdb.h" HAVE_NETDB_H)
|
||||||
|
check_include_file_concat("netinet/in.h" HAVE_NETINET_IN_H)
|
||||||
|
check_include_file_concat("netinet/tcp.h" HAVE_NETINET_TCP_H)
|
||||||
|
check_include_file_concat("openssl/crypto.h" HAVE_OPENSSL_CRYPTO_H)
|
||||||
|
check_include_file_concat("openssl/engine.h" HAVE_OPENSSL_ENGINE_H)
|
||||||
|
check_include_file_concat("openssl/err.h" HAVE_OPENSSL_ERR_H)
|
||||||
|
check_include_file_concat("openssl/pem.h" HAVE_OPENSSL_PEM_H)
|
||||||
|
check_include_file_concat("openssl/pkcs12.h" HAVE_OPENSSL_PKCS12_H)
|
||||||
|
check_include_file_concat("openssl/rsa.h" HAVE_OPENSSL_RSA_H)
|
||||||
|
check_include_file_concat("openssl/ssl.h" HAVE_OPENSSL_SSL_H)
|
||||||
|
check_include_file_concat("openssl/x509.h" HAVE_OPENSSL_X509_H)
|
||||||
|
check_include_file_concat("pem.h" HAVE_PEM_H)
|
||||||
|
check_include_file_concat("poll.h" HAVE_POLL_H)
|
||||||
|
check_include_file_concat("pwd.h" HAVE_PWD_H)
|
||||||
|
check_include_file_concat("rsa.h" HAVE_RSA_H)
|
||||||
|
check_include_file_concat("setjmp.h" HAVE_SETJMP_H)
|
||||||
|
check_include_file_concat("sgtty.h" HAVE_SGTTY_H)
|
||||||
|
check_include_file_concat("signal.h" HAVE_SIGNAL_H)
|
||||||
|
check_include_file_concat("ssl.h" HAVE_SSL_H)
|
||||||
|
check_include_file_concat("stdbool.h" HAVE_STDBOOL_H)
|
||||||
|
check_include_file_concat("stdint.h" HAVE_STDINT_H)
|
||||||
|
check_include_file_concat("stdio.h" HAVE_STDIO_H)
|
||||||
|
check_include_file_concat("stdlib.h" HAVE_STDLIB_H)
|
||||||
|
check_include_file_concat("string.h" HAVE_STRING_H)
|
||||||
|
check_include_file_concat("strings.h" HAVE_STRINGS_H)
|
||||||
|
check_include_file_concat("stropts.h" HAVE_STROPTS_H)
|
||||||
|
check_include_file_concat("termio.h" HAVE_TERMIO_H)
|
||||||
|
check_include_file_concat("termios.h" HAVE_TERMIOS_H)
|
||||||
|
check_include_file_concat("time.h" HAVE_TIME_H)
|
||||||
|
check_include_file_concat("tld.h" HAVE_TLD_H)
|
||||||
|
check_include_file_concat("unistd.h" HAVE_UNISTD_H)
|
||||||
|
check_include_file_concat("utime.h" HAVE_UTIME_H)
|
||||||
|
check_include_file_concat("x509.h" HAVE_X509_H)
|
||||||
|
|
||||||
|
check_include_file_concat("process.h" HAVE_PROCESS_H)
|
||||||
|
check_include_file_concat("stddef.h" HAVE_STDDEF_H)
|
||||||
|
check_include_file_concat("dlfcn.h" HAVE_DLFCN_H)
|
||||||
|
check_include_file_concat("malloc.h" HAVE_MALLOC_H)
|
||||||
|
check_include_file_concat("memory.h" HAVE_MEMORY_H)
|
||||||
|
check_include_file_concat("ldap.h" HAVE_LDAP_H)
|
||||||
|
check_include_file_concat("netinet/if_ether.h" HAVE_NETINET_IF_ETHER_H)
|
||||||
|
check_include_file_concat("stdint.h" HAVE_STDINT_H)
|
||||||
|
check_include_file_concat("sockio.h" HAVE_SOCKIO_H)
|
||||||
|
check_include_file_concat("sys/utsname.h" HAVE_SYS_UTSNAME_H)
|
||||||
|
check_include_file_concat("idna.h" HAVE_IDNA_H)
|
||||||
|
|
||||||
|
if(CMAKE_USE_OPENSSL)
|
||||||
|
check_include_file_concat("openssl/rand.h" HAVE_OPENSSL_RAND_H)
|
||||||
|
endif(CMAKE_USE_OPENSSL)
|
||||||
|
|
||||||
|
|
||||||
|
check_type_size(size_t SIZEOF_SIZE_T)
|
||||||
|
check_type_size(ssize_t SIZEOF_SSIZE_T)
|
||||||
|
check_type_size("long long" SIZEOF_LONG_LONG)
|
||||||
|
check_type_size("long" SIZEOF_LONG)
|
||||||
|
check_type_size("int" SIZEOF_INT)
|
||||||
|
check_type_size("__int64" SIZEOF___INT64)
|
||||||
|
check_type_size("long double" SIZEOF_LONG_DOUBLE)
|
||||||
|
check_type_size("time_t" SIZEOF_TIME_T)
|
||||||
|
if(NOT HAVE_SIZEOF_SSIZE_T)
|
||||||
|
if(SIZEOF_LONG EQUAL SIZEOF_SIZE_T)
|
||||||
|
set(ssize_t long)
|
||||||
|
endif(SIZEOF_LONG EQUAL SIZEOF_SIZE_T)
|
||||||
|
if(NOT ssize_t AND SIZEOF___INT64 EQUAL SIZEOF_SIZE_T)
|
||||||
|
set(ssize_t __int64)
|
||||||
|
endif(NOT ssize_t AND SIZEOF___INT64 EQUAL SIZEOF_SIZE_T)
|
||||||
|
endif(NOT HAVE_SIZEOF_SSIZE_T)
|
||||||
|
|
||||||
|
# Different sizeofs, etc.
|
||||||
|
|
||||||
|
# define CURL_SIZEOF_LONG 4
|
||||||
|
# define CURL_TYPEOF_CURL_OFF_T long long
|
||||||
|
# define CURL_FORMAT_CURL_OFF_T "lld"
|
||||||
|
# define CURL_FORMAT_CURL_OFF_TU "llu"
|
||||||
|
# define CURL_FORMAT_OFF_T "%lld"
|
||||||
|
# define CURL_SIZEOF_CURL_OFF_T 8
|
||||||
|
# define CURL_SUFFIX_CURL_OFF_T LL
|
||||||
|
# define CURL_SUFFIX_CURL_OFF_TU ULL
|
||||||
|
|
||||||
|
set(CURL_SIZEOF_LONG ${SIZEOF_LONG})
|
||||||
|
|
||||||
|
if(SIZEOF_LONG EQUAL 8)
|
||||||
|
set(CURL_TYPEOF_CURL_OFF_T long)
|
||||||
|
set(CURL_SIZEOF_CURL_OFF_T 8)
|
||||||
|
set(CURL_FORMAT_CURL_OFF_T "ld")
|
||||||
|
set(CURL_FORMAT_CURL_OFF_TU "lu")
|
||||||
|
set(CURL_FORMAT_OFF_T "%ld")
|
||||||
|
set(CURL_SUFFIX_CURL_OFF_T L)
|
||||||
|
set(CURL_SUFFIX_CURL_OFF_TU LU)
|
||||||
|
endif(SIZEOF_LONG EQUAL 8)
|
||||||
|
|
||||||
|
if(SIZEOF_LONG_LONG EQUAL 8)
|
||||||
|
set(CURL_TYPEOF_CURL_OFF_T "long long")
|
||||||
|
set(CURL_SIZEOF_CURL_OFF_T 8)
|
||||||
|
set(CURL_FORMAT_CURL_OFF_T "lld")
|
||||||
|
set(CURL_FORMAT_CURL_OFF_TU "llu")
|
||||||
|
set(CURL_FORMAT_OFF_T "%lld")
|
||||||
|
set(CURL_SUFFIX_CURL_OFF_T LL)
|
||||||
|
set(CURL_SUFFIX_CURL_OFF_TU LLU)
|
||||||
|
endif(SIZEOF_LONG_LONG EQUAL 8)
|
||||||
|
|
||||||
|
if(NOT CURL_TYPEOF_CURL_OFF_T)
|
||||||
|
set(CURL_TYPEOF_CURL_OFF_T ${ssize_t})
|
||||||
|
set(CURL_SIZEOF_CURL_OFF_T ${SIZEOF_SSIZE_T})
|
||||||
|
# TODO: need adjustment here.
|
||||||
|
set(CURL_FORMAT_CURL_OFF_T "ld")
|
||||||
|
set(CURL_FORMAT_CURL_OFF_TU "lu")
|
||||||
|
set(CURL_FORMAT_OFF_T "%ld")
|
||||||
|
set(CURL_SUFFIX_CURL_OFF_T L)
|
||||||
|
set(CURL_SUFFIX_CURL_OFF_TU LU)
|
||||||
|
endif(NOT CURL_TYPEOF_CURL_OFF_T)
|
||||||
|
|
||||||
|
if(HAVE_SIZEOF_LONG_LONG)
|
||||||
|
set(HAVE_LONGLONG 1)
|
||||||
|
set(HAVE_LL 1)
|
||||||
|
endif(HAVE_SIZEOF_LONG_LONG)
|
||||||
|
|
||||||
|
find_file(RANDOM_FILE urandom /dev)
|
||||||
|
mark_as_advanced(RANDOM_FILE)
|
||||||
|
|
||||||
|
# Check for some functions that are used
|
||||||
|
check_symbol_exists(basename "${CURL_INCLUDES}" HAVE_BASENAME)
|
||||||
|
check_symbol_exists(socket "${CURL_INCLUDES}" HAVE_SOCKET)
|
||||||
|
check_symbol_exists(poll "${CURL_INCLUDES}" HAVE_POLL)
|
||||||
|
check_symbol_exists(select "${CURL_INCLUDES}" HAVE_SELECT)
|
||||||
|
check_symbol_exists(strdup "${CURL_INCLUDES}" HAVE_STRDUP)
|
||||||
|
check_symbol_exists(strstr "${CURL_INCLUDES}" HAVE_STRSTR)
|
||||||
|
check_symbol_exists(strtok_r "${CURL_INCLUDES}" HAVE_STRTOK_R)
|
||||||
|
check_symbol_exists(strftime "${CURL_INCLUDES}" HAVE_STRFTIME)
|
||||||
|
check_symbol_exists(uname "${CURL_INCLUDES}" HAVE_UNAME)
|
||||||
|
check_symbol_exists(strcasecmp "${CURL_INCLUDES}" HAVE_STRCASECMP)
|
||||||
|
check_symbol_exists(stricmp "${CURL_INCLUDES}" HAVE_STRICMP)
|
||||||
|
check_symbol_exists(strcmpi "${CURL_INCLUDES}" HAVE_STRCMPI)
|
||||||
|
check_symbol_exists(strncmpi "${CURL_INCLUDES}" HAVE_STRNCMPI)
|
||||||
|
check_symbol_exists(alarm "${CURL_INCLUDES}" HAVE_ALARM)
|
||||||
|
if(NOT HAVE_STRNCMPI)
|
||||||
|
set(HAVE_STRCMPI)
|
||||||
|
endif(NOT HAVE_STRNCMPI)
|
||||||
|
check_symbol_exists(gethostbyaddr "${CURL_INCLUDES}" HAVE_GETHOSTBYADDR)
|
||||||
|
check_symbol_exists(gethostbyaddr_r "${CURL_INCLUDES}" HAVE_GETHOSTBYADDR_R)
|
||||||
|
check_symbol_exists(gettimeofday "${CURL_INCLUDES}" HAVE_GETTIMEOFDAY)
|
||||||
|
check_symbol_exists(inet_addr "${CURL_INCLUDES}" HAVE_INET_ADDR)
|
||||||
|
check_symbol_exists(inet_ntoa "${CURL_INCLUDES}" HAVE_INET_NTOA)
|
||||||
|
check_symbol_exists(inet_ntoa_r "${CURL_INCLUDES}" HAVE_INET_NTOA_R)
|
||||||
|
check_symbol_exists(tcsetattr "${CURL_INCLUDES}" HAVE_TCSETATTR)
|
||||||
|
check_symbol_exists(tcgetattr "${CURL_INCLUDES}" HAVE_TCGETATTR)
|
||||||
|
check_symbol_exists(perror "${CURL_INCLUDES}" HAVE_PERROR)
|
||||||
|
check_symbol_exists(closesocket "${CURL_INCLUDES}" HAVE_CLOSESOCKET)
|
||||||
|
check_symbol_exists(setvbuf "${CURL_INCLUDES}" HAVE_SETVBUF)
|
||||||
|
check_symbol_exists(sigsetjmp "${CURL_INCLUDES}" HAVE_SIGSETJMP)
|
||||||
|
check_symbol_exists(getpass_r "${CURL_INCLUDES}" HAVE_GETPASS_R)
|
||||||
|
check_symbol_exists(strlcat "${CURL_INCLUDES}" HAVE_STRLCAT)
|
||||||
|
check_symbol_exists(getpwuid "${CURL_INCLUDES}" HAVE_GETPWUID)
|
||||||
|
check_symbol_exists(geteuid "${CURL_INCLUDES}" HAVE_GETEUID)
|
||||||
|
check_symbol_exists(utime "${CURL_INCLUDES}" HAVE_UTIME)
|
||||||
|
if(CMAKE_USE_OPENSSL)
|
||||||
|
check_symbol_exists(RAND_status "${CURL_INCLUDES}" HAVE_RAND_STATUS)
|
||||||
|
check_symbol_exists(RAND_screen "${CURL_INCLUDES}" HAVE_RAND_SCREEN)
|
||||||
|
check_symbol_exists(RAND_egd "${CURL_INCLUDES}" HAVE_RAND_EGD)
|
||||||
|
check_symbol_exists(CRYPTO_cleanup_all_ex_data "${CURL_INCLUDES}"
|
||||||
|
HAVE_CRYPTO_CLEANUP_ALL_EX_DATA)
|
||||||
|
if(HAVE_LIBCRYPTO AND HAVE_LIBSSL)
|
||||||
|
set(USE_OPENSSL 1)
|
||||||
|
set(USE_SSLEAY 1)
|
||||||
|
endif(HAVE_LIBCRYPTO AND HAVE_LIBSSL)
|
||||||
|
endif(CMAKE_USE_OPENSSL)
|
||||||
|
check_symbol_exists(gmtime_r "${CURL_INCLUDES}" HAVE_GMTIME_R)
|
||||||
|
check_symbol_exists(localtime_r "${CURL_INCLUDES}" HAVE_LOCALTIME_R)
|
||||||
|
|
||||||
|
check_symbol_exists(gethostbyname "${CURL_INCLUDES}" HAVE_GETHOSTBYNAME)
|
||||||
|
check_symbol_exists(gethostbyname_r "${CURL_INCLUDES}" HAVE_GETHOSTBYNAME_R)
|
||||||
|
|
||||||
|
check_symbol_exists(signal "${CURL_INCLUDES}" HAVE_SIGNAL_FUNC)
|
||||||
|
check_symbol_exists(SIGALRM "${CURL_INCLUDES}" HAVE_SIGNAL_MACRO)
|
||||||
|
if(HAVE_SIGNAL_FUNC AND HAVE_SIGNAL_MACRO)
|
||||||
|
set(HAVE_SIGNAL 1)
|
||||||
|
endif(HAVE_SIGNAL_FUNC AND HAVE_SIGNAL_MACRO)
|
||||||
|
check_symbol_exists(uname "${CURL_INCLUDES}" HAVE_UNAME)
|
||||||
|
check_symbol_exists(strtoll "${CURL_INCLUDES}" HAVE_STRTOLL)
|
||||||
|
check_symbol_exists(_strtoi64 "${CURL_INCLUDES}" HAVE__STRTOI64)
|
||||||
|
check_symbol_exists(strerror_r "${CURL_INCLUDES}" HAVE_STRERROR_R)
|
||||||
|
check_symbol_exists(siginterrupt "${CURL_INCLUDES}" HAVE_SIGINTERRUPT)
|
||||||
|
check_symbol_exists(perror "${CURL_INCLUDES}" HAVE_PERROR)
|
||||||
|
check_symbol_exists(fork "${CURL_INCLUDES}" HAVE_FORK)
|
||||||
|
check_symbol_exists(freeaddrinfo "${CURL_INCLUDES}" HAVE_FREEADDRINFO)
|
||||||
|
check_symbol_exists(freeifaddrs "${CURL_INCLUDES}" HAVE_FREEIFADDRS)
|
||||||
|
check_symbol_exists(pipe "${CURL_INCLUDES}" HAVE_PIPE)
|
||||||
|
check_symbol_exists(ftruncate "${CURL_INCLUDES}" HAVE_FTRUNCATE)
|
||||||
|
check_symbol_exists(getprotobyname "${CURL_INCLUDES}" HAVE_GETPROTOBYNAME)
|
||||||
|
check_symbol_exists(getrlimit "${CURL_INCLUDES}" HAVE_GETRLIMIT)
|
||||||
|
check_symbol_exists(idn_free "${CURL_INCLUDES}" HAVE_IDN_FREE)
|
||||||
|
check_symbol_exists(idna_strerror "${CURL_INCLUDES}" HAVE_IDNA_STRERROR)
|
||||||
|
check_symbol_exists(tld_strerror "${CURL_INCLUDES}" HAVE_TLD_STRERROR)
|
||||||
|
check_symbol_exists(setlocale "${CURL_INCLUDES}" HAVE_SETLOCALE)
|
||||||
|
check_symbol_exists(setrlimit "${CURL_INCLUDES}" HAVE_SETRLIMIT)
|
||||||
|
check_symbol_exists(fcntl "${CURL_INCLUDES}" HAVE_FCNTL)
|
||||||
|
check_symbol_exists(ioctl "${CURL_INCLUDES}" HAVE_IOCTL)
|
||||||
|
check_symbol_exists(setsockopt "${CURL_INCLUDES}" HAVE_SETSOCKOPT)
|
||||||
|
|
||||||
|
# symbol exists in win32, but function does not.
|
||||||
|
check_function_exists(inet_pton HAVE_INET_PTON)
|
||||||
|
|
||||||
|
# sigaction and sigsetjmp are special. Use special mechanism for
|
||||||
|
# detecting those, but only if previous attempt failed.
|
||||||
|
if(HAVE_SIGNAL_H)
|
||||||
|
check_symbol_exists(sigaction "signal.h" HAVE_SIGACTION)
|
||||||
|
endif(HAVE_SIGNAL_H)
|
||||||
|
|
||||||
|
if(NOT HAVE_SIGSETJMP)
|
||||||
|
if(HAVE_SETJMP_H)
|
||||||
|
check_symbol_exists(sigsetjmp "setjmp.h" HAVE_MACRO_SIGSETJMP)
|
||||||
|
if(HAVE_MACRO_SIGSETJMP)
|
||||||
|
set(HAVE_SIGSETJMP 1)
|
||||||
|
endif(HAVE_MACRO_SIGSETJMP)
|
||||||
|
endif(HAVE_SETJMP_H)
|
||||||
|
endif(NOT HAVE_SIGSETJMP)
|
||||||
|
|
||||||
|
# If there is no stricmp(), do not allow LDAP to parse URLs
|
||||||
|
if(NOT HAVE_STRICMP)
|
||||||
|
set(HAVE_LDAP_URL_PARSE 1)
|
||||||
|
endif(NOT HAVE_STRICMP)
|
||||||
|
|
||||||
|
# For other curl specific tests, use this macro.
|
||||||
|
macro(CURL_INTERNAL_TEST CURL_TEST)
|
||||||
|
if("${CURL_TEST}" MATCHES "^${CURL_TEST}$")
|
||||||
|
set(MACRO_CHECK_FUNCTION_DEFINITIONS
|
||||||
|
"-D${CURL_TEST} ${CURL_TEST_DEFINES} ${CMAKE_REQUIRED_FLAGS}")
|
||||||
|
if(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
set(CURL_TEST_ADD_LIBRARIES
|
||||||
|
"-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}")
|
||||||
|
endif(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
|
||||||
|
message(STATUS "Performing Curl Test ${CURL_TEST}")
|
||||||
|
try_compile(${CURL_TEST}
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/CMake/CurlTests.c
|
||||||
|
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS}
|
||||||
|
"${CURL_TEST_ADD_LIBRARIES}"
|
||||||
|
OUTPUT_VARIABLE OUTPUT)
|
||||||
|
if(${CURL_TEST})
|
||||||
|
set(${CURL_TEST} 1 CACHE INTERNAL "Curl test ${FUNCTION}")
|
||||||
|
message(STATUS "Performing Curl Test ${CURL_TEST} - Success")
|
||||||
|
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
|
||||||
|
"Performing Curl Test ${CURL_TEST} passed with the following output:\n"
|
||||||
|
"${OUTPUT}\n")
|
||||||
|
else(${CURL_TEST})
|
||||||
|
message(STATUS "Performing Curl Test ${CURL_TEST} - Failed")
|
||||||
|
set(${CURL_TEST} "" CACHE INTERNAL "Curl test ${FUNCTION}")
|
||||||
|
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
|
||||||
|
"Performing Curl Test ${CURL_TEST} failed with the following output:\n"
|
||||||
|
"${OUTPUT}\n")
|
||||||
|
endif(${CURL_TEST})
|
||||||
|
endif("${CURL_TEST}" MATCHES "^${CURL_TEST}$")
|
||||||
|
endmacro(CURL_INTERNAL_TEST)
|
||||||
|
|
||||||
|
macro(CURL_INTERNAL_TEST_RUN CURL_TEST)
|
||||||
|
if("${CURL_TEST}_COMPILE" MATCHES "^${CURL_TEST}_COMPILE$")
|
||||||
|
set(MACRO_CHECK_FUNCTION_DEFINITIONS
|
||||||
|
"-D${CURL_TEST} ${CMAKE_REQUIRED_FLAGS}")
|
||||||
|
if(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
set(CURL_TEST_ADD_LIBRARIES
|
||||||
|
"-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}")
|
||||||
|
endif(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
|
||||||
|
message(STATUS "Performing Curl Test ${CURL_TEST}")
|
||||||
|
try_run(${CURL_TEST} ${CURL_TEST}_COMPILE
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/CMake/CurlTests.c
|
||||||
|
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS}
|
||||||
|
"${CURL_TEST_ADD_LIBRARIES}"
|
||||||
|
OUTPUT_VARIABLE OUTPUT)
|
||||||
|
if(${CURL_TEST}_COMPILE AND NOT ${CURL_TEST})
|
||||||
|
set(${CURL_TEST} 1 CACHE INTERNAL "Curl test ${FUNCTION}")
|
||||||
|
message(STATUS "Performing Curl Test ${CURL_TEST} - Success")
|
||||||
|
else(${CURL_TEST}_COMPILE AND NOT ${CURL_TEST})
|
||||||
|
message(STATUS "Performing Curl Test ${CURL_TEST} - Failed")
|
||||||
|
set(${CURL_TEST} "" CACHE INTERNAL "Curl test ${FUNCTION}")
|
||||||
|
file(APPEND "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log"
|
||||||
|
"Performing Curl Test ${CURL_TEST} failed with the following output:\n"
|
||||||
|
"${OUTPUT}")
|
||||||
|
if(${CURL_TEST}_COMPILE)
|
||||||
|
file(APPEND
|
||||||
|
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log"
|
||||||
|
"There was a problem running this test\n")
|
||||||
|
endif(${CURL_TEST}_COMPILE)
|
||||||
|
file(APPEND "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log"
|
||||||
|
"\n\n")
|
||||||
|
endif(${CURL_TEST}_COMPILE AND NOT ${CURL_TEST})
|
||||||
|
endif("${CURL_TEST}_COMPILE" MATCHES "^${CURL_TEST}_COMPILE$")
|
||||||
|
endmacro(CURL_INTERNAL_TEST_RUN)
|
||||||
|
|
||||||
|
# Do curl specific tests
|
||||||
|
foreach(CURL_TEST
|
||||||
|
HAVE_FCNTL_O_NONBLOCK
|
||||||
|
HAVE_IOCTLSOCKET
|
||||||
|
HAVE_IOCTLSOCKET_CAMEL
|
||||||
|
HAVE_IOCTLSOCKET_CAMEL_FIONBIO
|
||||||
|
HAVE_IOCTLSOCKET_FIONBIO
|
||||||
|
HAVE_IOCTL_FIONBIO
|
||||||
|
HAVE_IOCTL_SIOCGIFADDR
|
||||||
|
HAVE_SETSOCKOPT_SO_NONBLOCK
|
||||||
|
HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
|
||||||
|
TIME_WITH_SYS_TIME
|
||||||
|
HAVE_O_NONBLOCK
|
||||||
|
HAVE_GETHOSTBYADDR_R_5
|
||||||
|
HAVE_GETHOSTBYADDR_R_7
|
||||||
|
HAVE_GETHOSTBYADDR_R_8
|
||||||
|
HAVE_GETHOSTBYADDR_R_5_REENTRANT
|
||||||
|
HAVE_GETHOSTBYADDR_R_7_REENTRANT
|
||||||
|
HAVE_GETHOSTBYADDR_R_8_REENTRANT
|
||||||
|
HAVE_GETHOSTBYNAME_R_3
|
||||||
|
HAVE_GETHOSTBYNAME_R_5
|
||||||
|
HAVE_GETHOSTBYNAME_R_6
|
||||||
|
HAVE_GETHOSTBYNAME_R_3_REENTRANT
|
||||||
|
HAVE_GETHOSTBYNAME_R_5_REENTRANT
|
||||||
|
HAVE_GETHOSTBYNAME_R_6_REENTRANT
|
||||||
|
HAVE_SOCKLEN_T
|
||||||
|
HAVE_IN_ADDR_T
|
||||||
|
HAVE_BOOL_T
|
||||||
|
STDC_HEADERS
|
||||||
|
RETSIGTYPE_TEST
|
||||||
|
HAVE_INET_NTOA_R_DECL
|
||||||
|
HAVE_INET_NTOA_R_DECL_REENTRANT
|
||||||
|
HAVE_GETADDRINFO
|
||||||
|
HAVE_FILE_OFFSET_BITS
|
||||||
|
)
|
||||||
|
curl_internal_test(${CURL_TEST})
|
||||||
|
endforeach(CURL_TEST)
|
||||||
|
if(HAVE_FILE_OFFSET_BITS)
|
||||||
|
set(_FILE_OFFSET_BITS 64)
|
||||||
|
endif(HAVE_FILE_OFFSET_BITS)
|
||||||
|
foreach(CURL_TEST
|
||||||
|
HAVE_GLIBC_STRERROR_R
|
||||||
|
HAVE_POSIX_STRERROR_R
|
||||||
|
)
|
||||||
|
curl_internal_test_run(${CURL_TEST})
|
||||||
|
endforeach(CURL_TEST)
|
||||||
|
|
||||||
|
# Check for reentrant
|
||||||
|
foreach(CURL_TEST
|
||||||
|
HAVE_GETHOSTBYADDR_R_5
|
||||||
|
HAVE_GETHOSTBYADDR_R_7
|
||||||
|
HAVE_GETHOSTBYADDR_R_8
|
||||||
|
HAVE_GETHOSTBYNAME_R_3
|
||||||
|
HAVE_GETHOSTBYNAME_R_5
|
||||||
|
HAVE_GETHOSTBYNAME_R_6
|
||||||
|
HAVE_INET_NTOA_R_DECL_REENTRANT)
|
||||||
|
if(NOT ${CURL_TEST})
|
||||||
|
if(${CURL_TEST}_REENTRANT)
|
||||||
|
set(NEED_REENTRANT 1)
|
||||||
|
endif(${CURL_TEST}_REENTRANT)
|
||||||
|
endif(NOT ${CURL_TEST})
|
||||||
|
endforeach(CURL_TEST)
|
||||||
|
|
||||||
|
if(NEED_REENTRANT)
|
||||||
|
foreach(CURL_TEST
|
||||||
|
HAVE_GETHOSTBYADDR_R_5
|
||||||
|
HAVE_GETHOSTBYADDR_R_7
|
||||||
|
HAVE_GETHOSTBYADDR_R_8
|
||||||
|
HAVE_GETHOSTBYNAME_R_3
|
||||||
|
HAVE_GETHOSTBYNAME_R_5
|
||||||
|
HAVE_GETHOSTBYNAME_R_6)
|
||||||
|
set(${CURL_TEST} 0)
|
||||||
|
if(${CURL_TEST}_REENTRANT)
|
||||||
|
set(${CURL_TEST} 1)
|
||||||
|
endif(${CURL_TEST}_REENTRANT)
|
||||||
|
endforeach(CURL_TEST)
|
||||||
|
endif(NEED_REENTRANT)
|
||||||
|
|
||||||
|
if(HAVE_INET_NTOA_R_DECL_REENTRANT)
|
||||||
|
set(HAVE_INET_NTOA_R_DECL 1)
|
||||||
|
set(NEED_REENTRANT 1)
|
||||||
|
endif(HAVE_INET_NTOA_R_DECL_REENTRANT)
|
||||||
|
|
||||||
|
# Some other minor tests
|
||||||
|
|
||||||
|
if(NOT HAVE_IN_ADDR_T)
|
||||||
|
set(in_addr_t "unsigned long")
|
||||||
|
endif(NOT HAVE_IN_ADDR_T)
|
||||||
|
|
||||||
|
# Fix libz / zlib.h
|
||||||
|
|
||||||
|
if(NOT CURL_SPECIAL_LIBZ)
|
||||||
|
if(NOT HAVE_LIBZ)
|
||||||
|
set(HAVE_ZLIB_H 0)
|
||||||
|
endif(NOT HAVE_LIBZ)
|
||||||
|
|
||||||
|
if(NOT HAVE_ZLIB_H)
|
||||||
|
set(HAVE_LIBZ 0)
|
||||||
|
endif(NOT HAVE_ZLIB_H)
|
||||||
|
endif(NOT CURL_SPECIAL_LIBZ)
|
||||||
|
|
||||||
|
if(_FILE_OFFSET_BITS)
|
||||||
|
set(_FILE_OFFSET_BITS 64)
|
||||||
|
endif(_FILE_OFFSET_BITS)
|
||||||
|
set(CMAKE_REQUIRED_FLAGS "-D_FILE_OFFSET_BITS=64")
|
||||||
|
set(CMAKE_EXTRA_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/curl/curl.h")
|
||||||
|
check_type_size("curl_off_t" SIZEOF_CURL_OFF_T)
|
||||||
|
set(CMAKE_EXTRA_INCLUDE_FILES)
|
||||||
|
set(CMAKE_REQUIRED_FLAGS)
|
||||||
|
|
||||||
|
|
||||||
|
# Check for nonblocking
|
||||||
|
set(HAVE_DISABLED_NONBLOCKING 1)
|
||||||
|
if(HAVE_FIONBIO OR
|
||||||
|
HAVE_IOCTLSOCKET OR
|
||||||
|
HAVE_IOCTLSOCKET_CASE OR
|
||||||
|
HAVE_O_NONBLOCK)
|
||||||
|
set(HAVE_DISABLED_NONBLOCKING)
|
||||||
|
endif(HAVE_FIONBIO OR
|
||||||
|
HAVE_IOCTLSOCKET OR
|
||||||
|
HAVE_IOCTLSOCKET_CASE OR
|
||||||
|
HAVE_O_NONBLOCK)
|
||||||
|
|
||||||
|
if(RETSIGTYPE_TEST)
|
||||||
|
set(RETSIGTYPE void)
|
||||||
|
else(RETSIGTYPE_TEST)
|
||||||
|
set(RETSIGTYPE int)
|
||||||
|
endif(RETSIGTYPE_TEST)
|
||||||
|
|
||||||
|
if(CMAKE_COMPILER_IS_GNUCC AND APPLE)
|
||||||
|
include(CheckCCompilerFlag)
|
||||||
|
check_c_compiler_flag(-Wno-long-double HAVE_C_FLAG_Wno_long_double)
|
||||||
|
if(HAVE_C_FLAG_Wno_long_double)
|
||||||
|
# The Mac version of GCC warns about use of long double. Disable it.
|
||||||
|
get_source_file_property(MPRINTF_COMPILE_FLAGS mprintf.c COMPILE_FLAGS)
|
||||||
|
if(MPRINTF_COMPILE_FLAGS)
|
||||||
|
set(MPRINTF_COMPILE_FLAGS "${MPRINTF_COMPILE_FLAGS} -Wno-long-double")
|
||||||
|
else(MPRINTF_COMPILE_FLAGS)
|
||||||
|
set(MPRINTF_COMPILE_FLAGS "-Wno-long-double")
|
||||||
|
endif(MPRINTF_COMPILE_FLAGS)
|
||||||
|
set_source_files_properties(mprintf.c PROPERTIES
|
||||||
|
COMPILE_FLAGS ${MPRINTF_COMPILE_FLAGS})
|
||||||
|
endif(HAVE_C_FLAG_Wno_long_double)
|
||||||
|
endif(CMAKE_COMPILER_IS_GNUCC AND APPLE)
|
||||||
|
|
||||||
|
if(HAVE_SOCKLEN_T)
|
||||||
|
set(CURL_TYPEOF_CURL_SOCKLEN_T "socklen_t")
|
||||||
|
check_type_size("socklen_t" CURL_SIZEOF_CURL_SOCKLEN_T)
|
||||||
|
else()
|
||||||
|
set(CURL_TYPEOF_CURL_SOCKLEN_T int)
|
||||||
|
set(CURL_SIZEOF_CURL_SOCKLEN_T ${SIZEOF_INT})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
include(CMake/OtherTests.cmake)
|
||||||
|
|
||||||
|
add_definitions(-DHAVE_CONFIG_H)
|
||||||
|
|
||||||
|
# For windows, do not allow the compiler to use default target (Vista).
|
||||||
|
if(WIN32)
|
||||||
|
add_definitions(-D_WIN32_WINNT=0x0501)
|
||||||
|
endif(WIN32)
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
|
||||||
|
endif(MSVC)
|
||||||
|
|
||||||
|
# Sets up the dependencies (zlib, OpenSSL, etc.) of a cURL subproject according to options.
|
||||||
|
# TODO This is far to be complete!
|
||||||
|
function(SETUP_CURL_DEPENDENCIES TARGET_NAME)
|
||||||
|
if(CURL_ZLIB AND ZLIB_FOUND)
|
||||||
|
include_directories(${ZLIB_INCLUDE_DIR})
|
||||||
|
endif()
|
||||||
|
if(CURL_ZLIB AND ZLIB_FOUND)
|
||||||
|
target_link_libraries(${TARGET_NAME} ${ZLIB_LIBRARIES})
|
||||||
|
#ADD_DEFINITIONS( -DHAVE_ZLIB_H -DHAVE_ZLIB -DHAVE_LIBZ )
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_USE_OPENSSL AND OPENSSL_FOUND)
|
||||||
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||||
|
endif()
|
||||||
|
if(CMAKE_USE_OPENSSL AND CURL_CONFIG_HAS_BEEN_RUN_BEFORE)
|
||||||
|
target_link_libraries(${TARGET_NAME} ${OPENSSL_LIBRARIES})
|
||||||
|
#ADD_DEFINITIONS( -DUSE_SSLEAY )
|
||||||
|
endif()
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
# Ugly (but functional) way to include "Makefile.inc" by transforming it (= regenerate it).
|
||||||
|
function(TRANSFORM_MAKEFILE_INC INPUT_FILE OUTPUT_FILE)
|
||||||
|
file(READ ${INPUT_FILE} MAKEFILE_INC_TEXT)
|
||||||
|
string(REPLACE "$(top_srcdir)" "\${CURL_SOURCE_DIR}" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
string(REPLACE "$(top_builddir)" "\${CURL_BINARY_DIR}" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
|
||||||
|
string(REGEX REPLACE "\\\\\n" "<22>!<21>" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
string(REGEX REPLACE "([a-zA-Z_][a-zA-Z0-9_]*)[\t ]*=[\t ]*([^\n]*\n)" "SET(\\1 \\2)\n" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
string(REPLACE "<22>!<21>" "\n" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
|
||||||
|
string(REGEX REPLACE "\\$\\(([a-zA-Z_][a-zA-Z0-9_]*)\\)" "\${\\1}" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) # Replace $() with ${}
|
||||||
|
string(REGEX REPLACE "@([a-zA-Z_][a-zA-Z0-9_]*)@" "\${\\1}" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) # Replace @@ with ${}, even if that may not be read by CMake scripts.
|
||||||
|
file(WRITE ${OUTPUT_FILE} ${MAKEFILE_INC_TEXT})
|
||||||
|
|
||||||
|
### BUGGY METHOD 1
|
||||||
|
# FILE(STRINGS Makefile.inc MAKEFILE_INC_TEXT)
|
||||||
|
# STRING(REPLACE "# ./lib/Makefile.inc" "" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
# STRING(REPLACE " " " " MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) # Replace tabs with spaces
|
||||||
|
|
||||||
|
# #STRING(REGEX MATCH "CSOURCES *=" AAA ${MAKEFILE_INC_TEXT})
|
||||||
|
# #MESSAGE(STATUS ${AAA})
|
||||||
|
|
||||||
|
# STRING(REPLACE "CSOURCES =" "" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
# STRING(REPLACE "HHEADERS =" "" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
|
||||||
|
# STRING(REGEX REPLACE "[^ ]+\\.c" "" ${HEADERS_VAR} ${MAKEFILE_INC_TEXT}) # Remove source files and store into headers var
|
||||||
|
# STRING(REGEX REPLACE " +" " " ${HEADERS_VAR} ${${HEADERS_VAR}})
|
||||||
|
# STRING(REGEX REPLACE " " ";" ${HEADERS_VAR} ${${HEADERS_VAR}})
|
||||||
|
|
||||||
|
# STRING(REGEX REPLACE "[^ ]+\\.h" "" ${SOURCES_VAR} ${MAKEFILE_INC_TEXT}) # Remove headers and store into source files var
|
||||||
|
# STRING(REGEX REPLACE " +" " " ${SOURCES_VAR} ${${SOURCES_VAR}})
|
||||||
|
# STRING(REGEX REPLACE " " ";" ${SOURCES_VAR} ${${SOURCES_VAR}})
|
||||||
|
|
||||||
|
# SET(${HEADERS_VAR} ${${HEADERS_VAR}} PARENT_SCOPE)
|
||||||
|
# SET(${SOURCES_VAR} ${${SOURCES_VAR}} PARENT_SCOPE)
|
||||||
|
|
||||||
|
### BUGGY METHOD 2
|
||||||
|
# FILE(READ Makefile.inc MAKEFILE_INC_TEXT)
|
||||||
|
# #STRING(REPLACE "\t" " " MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) # Replace tabs with spaces
|
||||||
|
# #STRING(REGEX REPLACE "\n+" "\n" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) # Remove empty lines (allow a simplification in the script)
|
||||||
|
# STRING(REGEX REPLACE "([A-Z]+)[\t ]*=[\t ]*" "SET(\\1 " MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
# #STRING(REGEX REPLACE "^(.*)[\t ]*[^\\]$" ")" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
# STRING(REGEX REPLACE "([^\\])\n" "\\1)\n" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
# # STRING(REGEX REPLACE "CSOURCES *=" "SET(libCurl_SRCS " MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
# # STRING(REGEX REPLACE "HHEADERS *=" "SET(libCurl_HEADERS " MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
# FILE(WRITE Makefile.inc.cmake ${MAKEFILE_INC_TEXT})
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
add_subdirectory(lib)
|
||||||
|
if(BUILD_CURL_EXE)
|
||||||
|
add_subdirectory(src)
|
||||||
|
endif()
|
||||||
|
if(BUILD_CURL_TESTS)
|
||||||
|
add_subdirectory(tests)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# This needs to be run very last so other parts of the scripts can take advantage of this.
|
||||||
|
if(NOT CURL_CONFIG_HAS_BEEN_RUN_BEFORE)
|
||||||
|
set(CURL_CONFIG_HAS_BEEN_RUN_BEFORE 1 CACHE INTERNAL "Flag to track whether this is the first time running CMake or if CMake has been configured before")
|
||||||
|
endif()
|
||||||
2
COPYING
2
COPYING
@@ -1,6 +1,6 @@
|
|||||||
COPYRIGHT AND PERMISSION NOTICE
|
COPYRIGHT AND PERMISSION NOTICE
|
||||||
|
|
||||||
Copyright (c) 1996 - 2003, Daniel Stenberg, <daniel@haxx.se>.
|
Copyright (c) 1996 - 2009, Daniel Stenberg, <daniel@haxx.se>.
|
||||||
|
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
|
|||||||
13
CTestConfig.cmake
Normal file
13
CTestConfig.cmake
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
## This file should be placed in the root directory of your project.
|
||||||
|
## Then modify the CMakeLists.txt file in the root directory of your
|
||||||
|
## project to incorporate the testing dashboard.
|
||||||
|
## # The following are required to uses Dart and the Cdash dashboard
|
||||||
|
## ENABLE_TESTING()
|
||||||
|
## INCLUDE(Dart)
|
||||||
|
set(CTEST_PROJECT_NAME "CURL")
|
||||||
|
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
|
||||||
|
|
||||||
|
set(CTEST_DROP_METHOD "http")
|
||||||
|
set(CTEST_DROP_SITE "my.cdash.org")
|
||||||
|
set(CTEST_DROP_LOCATION "/submit.php?project=CURL")
|
||||||
|
set(CTEST_DROP_SITE_CDASH TRUE)
|
||||||
31
CVS-INFO
31
CVS-INFO
@@ -12,20 +12,15 @@ inner sanctum.
|
|||||||
|
|
||||||
Compile and build instructions follow below.
|
Compile and build instructions follow below.
|
||||||
|
|
||||||
CHANGES.0 contains ancient changes.
|
CHANGES.0 contains ancient changes
|
||||||
CHANGES.$year contains changes for the particular year.
|
CHANGES contains the most recent changes
|
||||||
|
|
||||||
tests/memanalyze.pl
|
|
||||||
is for analyzing the output generated by curl if -DCURLDEBUG
|
|
||||||
is used when compiling (run configure with --enable-debug)
|
|
||||||
|
|
||||||
buildconf builds the makefiles and configure stuff
|
|
||||||
|
|
||||||
Makefile.dist is included as the root Makefile in distribution archives
|
Makefile.dist is included as the root Makefile in distribution archives
|
||||||
|
|
||||||
perl/ is a subdirectory with various perl scripts
|
perl/ is a subdirectory with various perl scripts
|
||||||
|
|
||||||
To build after having extracted everything from CVS, do this:
|
To build in environments that support configure, after having extracted
|
||||||
|
everything from CVS, do this:
|
||||||
|
|
||||||
./buildconf
|
./buildconf
|
||||||
./configure
|
./configure
|
||||||
@@ -35,10 +30,15 @@ make
|
|||||||
|
|
||||||
./configure --disable-shared --enable-debug --enable-maintainer-mode
|
./configure --disable-shared --enable-debug --enable-maintainer-mode
|
||||||
|
|
||||||
|
In environments that don't support configure (i.e. Microsoft), do this:
|
||||||
|
|
||||||
|
buildconf.bat
|
||||||
|
|
||||||
|
|
||||||
REQUIREMENTS
|
REQUIREMENTS
|
||||||
|
|
||||||
You need the following software installed:
|
For buildconf (not buildconf.bat) to work, you need the following software
|
||||||
|
installed:
|
||||||
|
|
||||||
o autoconf 2.57 (or later)
|
o autoconf 2.57 (or later)
|
||||||
o automake 1.7 (or later)
|
o automake 1.7 (or later)
|
||||||
@@ -49,15 +49,8 @@ REQUIREMENTS
|
|||||||
|
|
||||||
If you don't have nroff and perl and you for some reason don't want to
|
If you don't have nroff and perl and you for some reason don't want to
|
||||||
install them, you can rename the source file src/hugehelp.c.cvs to
|
install them, you can rename the source file src/hugehelp.c.cvs to
|
||||||
src/hugehelp.c and avoid having to generate this file. This will of course
|
src/hugehelp.c and avoid having to generate this file. This will give you
|
||||||
give you an older version of the file that isn't up-to-date. That file was
|
a stubbed version of the file that doesn't contain actual content.
|
||||||
checked in once and won't be updated very regularly.
|
|
||||||
|
|
||||||
o yacc/bison
|
|
||||||
|
|
||||||
If you don't have yacc or bison, you must rename the lib/getdate.c.cvs file
|
|
||||||
to lib/getdate.c to be able to build libcurl. yacc/bison is normally used
|
|
||||||
to generate the lib/getdate.c file from the lib/getdate.y source file.
|
|
||||||
|
|
||||||
MAC OS X
|
MAC OS X
|
||||||
|
|
||||||
|
|||||||
78
MacOSX-Framework
Executable file
78
MacOSX-Framework
Executable file
@@ -0,0 +1,78 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# This script performs all of the steps needed to build a
|
||||||
|
# universal binary libcurl.framework for Mac OS X 10.4 or greater.
|
||||||
|
|
||||||
|
VERSION=`/usr/bin/sed -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' include/curl/curlver.h`
|
||||||
|
|
||||||
|
SDK32='/Developer/SDKs/MacOSX10.4u.sdk'
|
||||||
|
|
||||||
|
MINVER32='-mmacosx-version-min=10.4'
|
||||||
|
|
||||||
|
ARCHES32='-arch ppc -arch i386'
|
||||||
|
|
||||||
|
SDK64='/Developer/SDKs/MacOSX10.5.sdk'
|
||||||
|
|
||||||
|
MINVER64='-mmacosx-version-min=10.5'
|
||||||
|
|
||||||
|
ARCHES64='-arch ppc64 -arch x86_64'
|
||||||
|
|
||||||
|
if test -d $SDK32; then
|
||||||
|
echo "----Configuring libcurl for 32 bit universal framework..."
|
||||||
|
./configure --disable-dependency-tracking --disable-static --with-gssapi \
|
||||||
|
CFLAGS="-Os -isysroot $SDK32 $ARCHES32 $MINVER32" \
|
||||||
|
LDFLAGS="-Wl,-syslibroot,$SDK32 $ARCHES32 $MINVER32 -Wl,-headerpad_max_install_names" \
|
||||||
|
CC=$CC
|
||||||
|
|
||||||
|
echo "----Building 32 bit libcurl..."
|
||||||
|
make
|
||||||
|
|
||||||
|
echo "----Creating 32 bit framework..."
|
||||||
|
rm -r libcurl.framework
|
||||||
|
mkdir -p libcurl.framework/Versions/A/Resources
|
||||||
|
cp lib/.libs/libcurl.dylib libcurl.framework/Versions/A/libcurl
|
||||||
|
install_name_tool -id @executable_path/../Frameworks/libcurl.framework/Versions/A/libcurl libcurl.framework/Versions/A/libcurl
|
||||||
|
/usr/bin/sed -e "s/7\.12\.3/$VERSION/" lib/libcurl.plist >libcurl.framework/Versions/A/Resources/Info.plist
|
||||||
|
mkdir -p libcurl.framework/Versions/A/Headers/curl
|
||||||
|
cp include/curl/*.h libcurl.framework/Versions/A/Headers/curl
|
||||||
|
pushd libcurl.framework
|
||||||
|
ln -fs Versions/A/libcurl libcurl
|
||||||
|
ln -fs Versions/A/Resources Resources
|
||||||
|
ln -fs Versions/A/Headers Headers
|
||||||
|
cd Versions
|
||||||
|
ln -fs A Current
|
||||||
|
|
||||||
|
if test -d $SDK64; then
|
||||||
|
popd
|
||||||
|
make clean
|
||||||
|
echo "----Configuring libcurl for 64 bit universal framework..."
|
||||||
|
./configure --disable-dependency-tracking --disable-static --with-gssapi \
|
||||||
|
CFLAGS="-Os -isysroot $SDK64 $ARCHES64 $MINVER64" \
|
||||||
|
LDFLAGS="-Wl,-syslibroot,$SDK64 $ARCHES64 $MINVER64 -Wl,-headerpad_max_install_names" \
|
||||||
|
CC=$CC
|
||||||
|
|
||||||
|
echo "----Building 64 bit libcurl..."
|
||||||
|
make
|
||||||
|
|
||||||
|
echo "----Appending 64 bit framework to 32 bit framework..."
|
||||||
|
cp lib/.libs/libcurl.dylib libcurl.framework/Versions/A/libcurl64
|
||||||
|
install_name_tool -id @executable_path/../Frameworks/libcurl.framework/Versions/A/libcurl libcurl.framework/Versions/A/libcurl64
|
||||||
|
cp libcurl.framework/Versions/A/libcurl libcurl.framework/Versions/A/libcurl32
|
||||||
|
lipo libcurl.framework/Versions/A/libcurl32 libcurl.framework/Versions/A/libcurl64 -create -output libcurl.framework/Versions/A/libcurl
|
||||||
|
rm libcurl.framework/Versions/A/libcurl32 libcurl.framework/Versions/A/libcurl64
|
||||||
|
cp libcurl.framework/Versions/A/Headers/curl/curlbuild.h libcurl.framework/Versions/A/Headers/curl/curlbuild32.h
|
||||||
|
cp include/curl/curlbuild.h libcurl.framework/Versions/A/Headers/curl/curlbuild64.h
|
||||||
|
cat >libcurl.framework/Versions/A/Headers/curl/curlbuild.h <<EOF
|
||||||
|
#ifdef __LP64__
|
||||||
|
#include "curl/curlbuild64.h"
|
||||||
|
#else
|
||||||
|
#include "curl/curlbuild32.h"
|
||||||
|
#endif
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
|
lipo -info libcurl.framework/Versions/A/libcurl
|
||||||
|
echo "libcurl.framework is built and can now be included in other projects."
|
||||||
|
echo "Copy libcurl.framework to your bundle's Contents/Frameworks folder, ~/Library/Frameworks or /Library/Frameworks."
|
||||||
|
else
|
||||||
|
echo "Building libcurl.framework requires Mac OS X 10.4 or later with the MacOSX10.4u SDK installed."
|
||||||
|
fi
|
||||||
83
Makefile.am
83
Makefile.am
@@ -1,21 +1,56 @@
|
|||||||
|
#***************************************************************************
|
||||||
|
# _ _ ____ _
|
||||||
|
# Project ___| | | | _ \| |
|
||||||
|
# / __| | | | |_) | |
|
||||||
|
# | (__| |_| | _ <| |___
|
||||||
|
# \___|\___/|_| \_\_____|
|
||||||
|
#
|
||||||
|
# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
|
#
|
||||||
|
# This software is licensed as described in the file COPYING, which
|
||||||
|
# you should have received as part of this distribution. The terms
|
||||||
|
# are also available at http://curl.haxx.se/docs/copyright.html.
|
||||||
|
#
|
||||||
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
|
# furnished to do so, under the terms of the COPYING file.
|
||||||
|
#
|
||||||
|
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
# KIND, either express or implied.
|
||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
###########################################################################
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign
|
AUTOMAKE_OPTIONS = foreign
|
||||||
|
|
||||||
EXTRA_DIST = CHANGES COPYING maketgz reconf Makefile.dist \
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
curl-config.in build_vms.com curl-style.el sample.emacs testcurl.sh
|
|
||||||
|
CMAKE_DIST = CMakeLists.txt CMake/CheckTypeSize.c.in CMake/CheckTypeSize.cmake \
|
||||||
|
CMake/CMakeConfigurableFile.in CMake/CurlCheckCSourceCompiles.cmake \
|
||||||
|
CMake/CurlCheckCSourceRuns.cmake CMake/CurlTests.c CMake/FindOpenSSL.cmake \
|
||||||
|
CMake/FindZLIB.cmake CMake/OtherTests.cmake CMake/Platforms/WindowsCache.cmake \
|
||||||
|
CMake/Utilities.cmake include/curl/curlbuild.h.cmake
|
||||||
|
|
||||||
|
EXTRA_DIST = CHANGES COPYING maketgz Makefile.dist curl-config.in \
|
||||||
|
curl-style.el sample.emacs RELEASE-NOTES buildconf \
|
||||||
|
libcurl.pc.in vc6curl.dsw MacOSX-Framework Android.mk $(CMAKE_DIST)
|
||||||
|
|
||||||
bin_SCRIPTS = curl-config
|
bin_SCRIPTS = curl-config
|
||||||
|
|
||||||
SUBDIRS = lib src
|
SUBDIRS = lib src
|
||||||
DIST_SUBDIRS = $(SUBDIRS) tests include packages docs
|
DIST_SUBDIRS = $(SUBDIRS) tests include packages docs
|
||||||
|
|
||||||
# create a root makefile in the distribution:
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = libcurl.pc
|
||||||
|
|
||||||
dist-hook:
|
dist-hook:
|
||||||
rm -rf $(top_builddir)/tests/log
|
rm -rf $(top_builddir)/tests/log
|
||||||
cp $(srcdir)/Makefile.dist $(distdir)/Makefile
|
find $(distdir) -name "*.dist" -exec rm {} \;
|
||||||
|
(distit=`find $(srcdir) -name "*.dist" | grep -v ./ares/`; \
|
||||||
|
for file in $$distit; do \
|
||||||
|
strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
|
||||||
|
cp $$file $(distdir)$$strip; \
|
||||||
|
done)
|
||||||
|
|
||||||
html:
|
html:
|
||||||
cd docs; make html
|
cd docs; make html
|
||||||
@@ -23,7 +58,16 @@ html:
|
|||||||
pdf:
|
pdf:
|
||||||
cd docs; make pdf
|
cd docs; make pdf
|
||||||
|
|
||||||
check: test
|
check: test examples
|
||||||
|
|
||||||
|
if CROSSCOMPILING
|
||||||
|
test-full: test
|
||||||
|
test-torture: test
|
||||||
|
|
||||||
|
test:
|
||||||
|
@echo "NOTICE: we can't run the tests when cross-compiling!"
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@(cd tests; $(MAKE) all quiet-test)
|
@(cd tests; $(MAKE) all quiet-test)
|
||||||
@@ -31,6 +75,18 @@ test:
|
|||||||
test-full:
|
test-full:
|
||||||
@(cd tests; $(MAKE) all full-test)
|
@(cd tests; $(MAKE) all full-test)
|
||||||
|
|
||||||
|
test-torture:
|
||||||
|
@(cd tests; $(MAKE) all torture-test)
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
examples:
|
||||||
|
@(cd docs/examples; $(MAKE) check)
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
@(cd tests; $(MAKE) clean)
|
||||||
|
@(cd docs; $(MAKE) clean)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
|
# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
|
||||||
# must contain the following line:
|
# must contain the following line:
|
||||||
@@ -59,7 +115,7 @@ rpm:
|
|||||||
mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm .
|
mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm .
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build a Solaris pkkgadd format file
|
# Build a Solaris pkgadd format file
|
||||||
# run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format
|
# run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format
|
||||||
# file (which ends up back in this directory).
|
# file (which ends up back in this directory).
|
||||||
# The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do
|
# The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do
|
||||||
@@ -83,3 +139,16 @@ cygwinbin:
|
|||||||
install-data-hook:
|
install-data-hook:
|
||||||
cd include && $(MAKE) install
|
cd include && $(MAKE) install
|
||||||
cd docs && $(MAKE) install
|
cd docs && $(MAKE) install
|
||||||
|
|
||||||
|
# We extend the standard uninstall with a custom hook:
|
||||||
|
uninstall-hook:
|
||||||
|
cd include && $(MAKE) uninstall
|
||||||
|
cd docs && $(MAKE) uninstall
|
||||||
|
|
||||||
|
ca-bundle: lib/mk-ca-bundle.pl
|
||||||
|
@echo "generate a fresh ca-bundle.crt"
|
||||||
|
@perl $< -b -l -u lib/ca-bundle.crt
|
||||||
|
|
||||||
|
ca-firefox: lib/firefox-db2pem.sh
|
||||||
|
@echo "generate a fresh ca-bundle.crt"
|
||||||
|
./lib/firefox-db2pem.sh lib/ca-bundle.crt
|
||||||
|
|||||||
265
Makefile.dist
265
Makefile.dist
@@ -1,25 +1,27 @@
|
|||||||
#############################################################################
|
#***************************************************************************
|
||||||
# _ _ ____ _
|
# _ _ ____ _
|
||||||
# Project ___| | | | _ \| |
|
# Project ___| | | | _ \| |
|
||||||
# / __| | | | |_) | |
|
# / __| | | | |_) | |
|
||||||
# | (__| |_| | _ <| |___
|
# | (__| |_| | _ <| |___
|
||||||
# \___|\___/|_| \_\_____|
|
# \___|\___/|_| \_\_____|
|
||||||
#
|
#
|
||||||
# Copyright (C) 2002, Daniel Stenberg, <daniel@haxx.se>, et al.
|
# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
#
|
#
|
||||||
# In order to be useful for every potential user, curl and libcurl are
|
# This software is licensed as described in the file COPYING, which
|
||||||
# dual-licensed under the MPL and the MIT/X-derivate licenses.
|
# you should have received as part of this distribution. The terms
|
||||||
|
# are also available at http://curl.haxx.se/docs/copyright.html.
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# copies of the Software, and permit persons to whom the Software is
|
||||||
# furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
# furnished to do so, under the terms of the COPYING file.
|
||||||
# licenses. You may pick one of these licenses.
|
|
||||||
#
|
#
|
||||||
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
# KIND, either express or implied.
|
# KIND, either express or implied.
|
||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
#############################################################################
|
###########################################################################
|
||||||
|
|
||||||
|
VC=vc6
|
||||||
|
|
||||||
all:
|
all:
|
||||||
./configure
|
./configure
|
||||||
@@ -30,38 +32,183 @@ ssl:
|
|||||||
make
|
make
|
||||||
|
|
||||||
borland:
|
borland:
|
||||||
cd lib & make -f Makefile.b32
|
cd lib
|
||||||
cd src & make -f Makefile.b32
|
make -f Makefile.b32
|
||||||
|
cd ..\src
|
||||||
|
make -f Makefile.b32
|
||||||
|
|
||||||
|
borland-ssl:
|
||||||
|
cd lib
|
||||||
|
make -f Makefile.b32 WITH_SSL=1
|
||||||
|
cd ..\src
|
||||||
|
make -f Makefile.b32 WITH_SSL=1
|
||||||
|
|
||||||
|
borland-ssl-zlib:
|
||||||
|
cd lib
|
||||||
|
make -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1
|
||||||
|
cd ..\src
|
||||||
|
make -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1
|
||||||
|
|
||||||
|
borland-clean:
|
||||||
|
cd lib
|
||||||
|
make -f Makefile.b32 clean
|
||||||
|
cd ..\src
|
||||||
|
make -f Makefile.b32 clean
|
||||||
|
|
||||||
|
watcom:
|
||||||
|
cd lib
|
||||||
|
wmake -f Makefile.Watcom
|
||||||
|
cd ..\src
|
||||||
|
wmake -f Makefile.Watcom
|
||||||
|
|
||||||
|
watcom-clean:
|
||||||
|
cd lib
|
||||||
|
wmake -f Makefile.Watcom clean
|
||||||
|
cd ..\src
|
||||||
|
wmake -f Makefile.Watcom clean
|
||||||
|
|
||||||
mingw32:
|
mingw32:
|
||||||
cd lib & make -f Makefile.m32 ZLIB=1
|
$(MAKE) -C lib -f Makefile.m32
|
||||||
cd src & make -f Makefile.m32 ZLIB=1
|
$(MAKE) -C src -f Makefile.m32
|
||||||
|
|
||||||
mingw32-ssl:
|
mingw32-zlib:
|
||||||
cd lib & make -f Makefile.m32 SSL=1 ZLIB=1
|
$(MAKE) -C lib -f Makefile.m32 ZLIB=1
|
||||||
cd src & make -f Makefile.m32 SSL=1 ZLIB=1
|
$(MAKE) -C src -f Makefile.m32 ZLIB=1
|
||||||
|
|
||||||
|
mingw32-ssl-zlib:
|
||||||
|
$(MAKE) -C lib -f Makefile.m32 SSL=1 ZLIB=1
|
||||||
|
$(MAKE) -C src -f Makefile.m32 SSL=1 ZLIB=1
|
||||||
|
|
||||||
|
mingw32-ssh2-ssl-zlib:
|
||||||
|
$(MAKE) -C lib -f Makefile.m32 SSH2=1 SSL=1 ZLIB=1
|
||||||
|
$(MAKE) -C src -f Makefile.m32 SSH2=1 SSL=1 ZLIB=1
|
||||||
|
|
||||||
|
mingw32-ssh2-ssl-sspi-zlib:
|
||||||
|
$(MAKE) -C lib -f Makefile.m32 SSH2=1 SSL=1 SSPI=1 ZLIB=1
|
||||||
|
$(MAKE) -C src -f Makefile.m32 SSH2=1 SSL=1 SSPI=1 ZLIB=1
|
||||||
|
|
||||||
|
mingw32-clean:
|
||||||
|
$(MAKE) -C lib -f Makefile.m32 clean
|
||||||
|
$(MAKE) -C src -f Makefile.m32 clean
|
||||||
|
|
||||||
|
vc-clean:
|
||||||
|
cd lib
|
||||||
|
nmake -f Makefile.$(VC) clean
|
||||||
|
cd ..\src
|
||||||
|
nmake -f Makefile.$(VC) clean
|
||||||
|
|
||||||
|
vc-all:
|
||||||
|
cd lib
|
||||||
|
nmake -f Makefile.$(VC) cfg=release
|
||||||
|
nmake -f Makefile.$(VC) cfg=release-ssl
|
||||||
|
nmake -f Makefile.$(VC) cfg=release-zlib
|
||||||
|
nmake -f Makefile.$(VC) cfg=release-ssl-zlib
|
||||||
|
nmake -f Makefile.$(VC) cfg=release-ssl-dll
|
||||||
|
nmake -f Makefile.$(VC) cfg=release-zlib-dll
|
||||||
|
nmake -f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
|
||||||
|
nmake -f Makefile.$(VC) cfg=release-dll
|
||||||
|
nmake -f Makefile.$(VC) cfg=release-dll-ssl-dll
|
||||||
|
nmake -f Makefile.$(VC) cfg=release-dll-zlib-dll
|
||||||
|
nmake -f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
|
||||||
|
nmake -f Makefile.$(VC) cfg=debug
|
||||||
|
nmake -f Makefile.$(VC) cfg=debug-ssl
|
||||||
|
nmake -f Makefile.$(VC) cfg=debug-zlib
|
||||||
|
nmake -f Makefile.$(VC) cfg=debug-ssl-zlib
|
||||||
|
nmake -f Makefile.$(VC) cfg=debug-ssl-dll
|
||||||
|
nmake -f Makefile.$(VC) cfg=debug-zlib-dll
|
||||||
|
nmake -f Makefile.$(VC) cfg=debug-ssl-dll-zlib-dll
|
||||||
|
nmake -f Makefile.$(VC) cfg=debug-dll
|
||||||
|
nmake -f Makefile.$(VC) cfg=debug-dll-ssl-dll
|
||||||
|
nmake -f Makefile.$(VC) cfg=debug-dll-zlib-dll
|
||||||
|
nmake -f Makefile.$(VC) cfg=debug-dll-ssl-dll-zlib-dll
|
||||||
|
|
||||||
vc:
|
vc:
|
||||||
cd lib
|
cd lib
|
||||||
nmake -f Makefile.vc6 cfg=release
|
nmake /f Makefile.$(VC) cfg=release
|
||||||
cd ..\src
|
cd ..\src
|
||||||
nmake -f Makefile.vc6
|
nmake /f Makefile.$(VC)
|
||||||
|
|
||||||
|
vc-x64:
|
||||||
|
cd lib
|
||||||
|
nmake /f Makefile.$(VC) MACHINE=x64 cfg=release
|
||||||
|
cd ..\src
|
||||||
|
nmake /f Makefile.$(VC) MACHINE=x64 cfg=release
|
||||||
|
|
||||||
|
vc-zlib:
|
||||||
|
cd lib
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-zlib
|
||||||
|
cd ..\src
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-zlib
|
||||||
|
|
||||||
vc-ssl:
|
vc-ssl:
|
||||||
cd lib
|
cd lib
|
||||||
nmake -f Makefile.vc6 cfg=release-ssl
|
nmake /f Makefile.$(VC) cfg=release-ssl
|
||||||
cd ..\src
|
cd ..\src
|
||||||
nmake -f Makefile.vc6 cfg=release-ssl
|
nmake /f Makefile.$(VC) cfg=release-ssl
|
||||||
|
|
||||||
|
vc-ssl-zlib:
|
||||||
|
cd lib
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-ssl-zlib
|
||||||
|
cd ..\src
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-ssl-zlib
|
||||||
|
|
||||||
|
vc-x64-ssl-zlib:
|
||||||
|
cd lib
|
||||||
|
nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib
|
||||||
|
cd ..\src
|
||||||
|
nmake /f Makefile.$(VC) MACHINE=x64 cfg=release-ssl-zlib
|
||||||
|
|
||||||
vc-ssl-dll:
|
vc-ssl-dll:
|
||||||
cd lib
|
cd lib
|
||||||
nmake -f Makefile.vc6 cfg=release-ssl-dll
|
nmake /f Makefile.$(VC) cfg=release-ssl-dll
|
||||||
cd ..\src
|
cd ..\src
|
||||||
nmake -f Makefile.vc6
|
nmake /f Makefile.$(VC) cfg=release-ssl-dll
|
||||||
|
|
||||||
|
vc-dll-ssl-dll:
|
||||||
|
cd lib
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
|
||||||
|
cd ..\src
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll
|
||||||
|
|
||||||
|
vc-dll:
|
||||||
|
cd lib
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-dll
|
||||||
|
cd ..\src
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-dll
|
||||||
|
|
||||||
|
vc-dll-zlib-dll:
|
||||||
|
cd lib
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
|
||||||
|
cd ..\src
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-dll-zlib-dll
|
||||||
|
|
||||||
|
vc-dll-ssl-dll-zlib-dll:
|
||||||
|
cd lib
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
|
||||||
|
cd ..\src
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
|
||||||
|
|
||||||
|
vc-ssl-dll-zlib-dll:
|
||||||
|
cd lib
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
|
||||||
|
cd ..\src
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
|
||||||
|
|
||||||
|
vc-zlib-dll:
|
||||||
|
cd lib
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-zlib-dll
|
||||||
|
cd ..\src
|
||||||
|
nmake /f Makefile.$(VC) cfg=release-zlib-dll
|
||||||
|
|
||||||
|
vc-sspi:
|
||||||
|
cd lib
|
||||||
|
nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
|
||||||
|
cd ..\src
|
||||||
|
nmake /f Makefile.$(VC) cfg=release WINDOWS_SSPI=1
|
||||||
|
|
||||||
djgpp:
|
djgpp:
|
||||||
make -C lib -f Makefile.dj
|
$(MAKE) -C lib -f Makefile.dj
|
||||||
make -C src -f Makefile.dj
|
$(MAKE) -C src -f Makefile.dj
|
||||||
|
|
||||||
cygwin:
|
cygwin:
|
||||||
./configure
|
./configure
|
||||||
@@ -71,6 +218,42 @@ cygwin-ssl:
|
|||||||
./configure --with-ssl
|
./configure --with-ssl
|
||||||
make
|
make
|
||||||
|
|
||||||
|
amiga:
|
||||||
|
cd ./lib && make -f makefile.amiga
|
||||||
|
cd ./src && make -f makefile.amiga
|
||||||
|
|
||||||
|
netware:
|
||||||
|
$(MAKE) -C lib -f Makefile.netware
|
||||||
|
$(MAKE) -C src -f Makefile.netware
|
||||||
|
|
||||||
|
netware-ares:
|
||||||
|
$(MAKE) -C lib -f Makefile.netware WITH_ARES=1
|
||||||
|
$(MAKE) -C src -f Makefile.netware WITH_ARES=1
|
||||||
|
|
||||||
|
netware-ssl:
|
||||||
|
$(MAKE) -C lib -f Makefile.netware WITH_SSL=1
|
||||||
|
$(MAKE) -C src -f Makefile.netware WITH_SSL=1
|
||||||
|
|
||||||
|
netware-ssl-zlib:
|
||||||
|
$(MAKE) -C lib -f Makefile.netware WITH_SSL=1 WITH_ZLIB=1
|
||||||
|
$(MAKE) -C src -f Makefile.netware WITH_SSL=1 WITH_ZLIB=1
|
||||||
|
|
||||||
|
netware-ssh2-ssl-zlib:
|
||||||
|
$(MAKE) -C lib -f Makefile.netware WITH_SSH2=1 WITH_SSL=1 WITH_ZLIB=1
|
||||||
|
$(MAKE) -C src -f Makefile.netware WITH_SSH2=1 WITH_SSL=1 WITH_ZLIB=1
|
||||||
|
|
||||||
|
netware-zlib:
|
||||||
|
$(MAKE) -C lib -f Makefile.netware WITH_ZLIB=1
|
||||||
|
$(MAKE) -C src -f Makefile.netware WITH_ZLIB=1
|
||||||
|
|
||||||
|
netware-clean:
|
||||||
|
$(MAKE) -C lib -f Makefile.netware clean
|
||||||
|
$(MAKE) -C src -f Makefile.netware clean
|
||||||
|
|
||||||
|
netware-install:
|
||||||
|
$(MAKE) -C lib -f Makefile.netware install
|
||||||
|
$(MAKE) -C src -f Makefile.netware install
|
||||||
|
|
||||||
unix: all
|
unix: all
|
||||||
|
|
||||||
unix-ssl: ssl
|
unix-ssl: ssl
|
||||||
@@ -78,3 +261,33 @@ unix-ssl: ssl
|
|||||||
linux: all
|
linux: all
|
||||||
|
|
||||||
linux-ssl: ssl
|
linux-ssl: ssl
|
||||||
|
|
||||||
|
|
||||||
|
vc8: lib/Makefile.vc8 src/Makefile.vc8
|
||||||
|
|
||||||
|
lib/Makefile.vc8: lib/Makefile.vc6
|
||||||
|
@echo "generate $@"
|
||||||
|
@sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/wsock32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" lib/Makefile.vc6 > lib/Makefile.vc8
|
||||||
|
|
||||||
|
src/Makefile.vc8: src/Makefile.vc6
|
||||||
|
@echo "generate $@"
|
||||||
|
@sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/wsock32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" src/Makefile.vc6 > src/Makefile.vc8
|
||||||
|
|
||||||
|
# VC9 makefiles are for use with VS2008
|
||||||
|
vc9: lib/Makefile.vc9 src/Makefile.vc9
|
||||||
|
|
||||||
|
lib/Makefile.vc9: lib/Makefile.vc6
|
||||||
|
@echo "generate $@"
|
||||||
|
@sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/ws2_32.lib/g" -e "s/vc6/vc9/g" -e "s/VC6/VC9/g" lib/Makefile.vc6 > lib/Makefile.vc9
|
||||||
|
|
||||||
|
src/Makefile.vc9: src/Makefile.vc6
|
||||||
|
@echo "generate $@"
|
||||||
|
@sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/ws2_32.lib/g" -e "s/vc6/vc9/g" -e "s/VC6/VC9/g" src/Makefile.vc6 > src/Makefile.vc9
|
||||||
|
|
||||||
|
ca-bundle: lib/mk-ca-bundle.pl
|
||||||
|
@echo "generate a fresh ca-bundle.crt"
|
||||||
|
@perl $< -b -l -u lib/ca-bundle.crt
|
||||||
|
|
||||||
|
ca-firefox: lib/firefox-db2pem.sh
|
||||||
|
@echo "generate a fresh ca-bundle.crt"
|
||||||
|
./lib/firefox-db2pem.sh lib/ca-bundle.crt
|
||||||
|
|||||||
45
README
45
README
@@ -1,13 +1,13 @@
|
|||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
README
|
README
|
||||||
|
|
||||||
Curl is a command line tool for transfering data specified with URL
|
Curl is a command line tool for transferring data specified with URL
|
||||||
syntax. Find out how to use Curl by reading the curl.1 man page or the
|
syntax. Find out how to use curl by reading the curl.1 man page or the
|
||||||
MANUAL document. Find out how to install Curl by reading the INSTALL
|
MANUAL document. Find out how to install Curl by reading the INSTALL
|
||||||
document.
|
document.
|
||||||
|
|
||||||
@@ -17,50 +17,35 @@ README
|
|||||||
|
|
||||||
You find answers to the most frequent questions we get in the FAQ document.
|
You find answers to the most frequent questions we get in the FAQ document.
|
||||||
|
|
||||||
Study the COPYING file for distribution terms and similar.
|
Study the COPYING file for distribution terms and similar. If you distribute
|
||||||
|
curl binaries or other binaries that involve libcurl, you might enjoy the
|
||||||
|
LICENSE-MIXING document.
|
||||||
|
|
||||||
CONTACT
|
CONTACT
|
||||||
|
|
||||||
If you have problems, questions, ideas or suggestions, please contact us
|
If you have problems, questions, ideas or suggestions, please contact us
|
||||||
by posting to a suitable mailing list. See http://curl.haxx.se/mail/
|
by posting to a suitable mailing list. See http://curl.haxx.se/mail/
|
||||||
|
|
||||||
Many major contributors to the project are listed in the THANKS document.
|
All contributors to the project are listed in the THANKS document.
|
||||||
|
|
||||||
WEB SITE
|
WEB SITE
|
||||||
|
|
||||||
Visit the curl web site or mirrors for the latest news:
|
Visit the curl web site for the latest news and downloads:
|
||||||
|
|
||||||
Sweden -- http://curl.haxx.se/
|
http://curl.haxx.se/
|
||||||
US -- http://curl.sf.net/
|
|
||||||
Australia -- http://curl.planetmirror.com/
|
|
||||||
|
|
||||||
DOWNLOAD
|
|
||||||
|
|
||||||
The official download mirror sites are:
|
|
||||||
|
|
||||||
Sweden -- ftp://ftp.sunet.se/pub/www/utilities/curl/
|
|
||||||
Sweden -- http://cool.haxx.se/curl/
|
|
||||||
Germany -- ftp://ftp.fu-berlin.de/pub/unix/network/curl/
|
|
||||||
Australia -- http://curl.planetmirror.com/download/
|
|
||||||
US -- http://curl.sourceforge.net/download/
|
|
||||||
Hongkong -- http://www.execve.net/curl/
|
|
||||||
|
|
||||||
CVS
|
CVS
|
||||||
|
|
||||||
To download the very latest source off the CVS server do this:
|
To download the very latest source off the CVS server do this:
|
||||||
|
|
||||||
cvs -d :pserver:cvsread@cvs.php.net:/repository login
|
cvs -d :pserver:anonymous@cool.haxx.se:/cvsroot/curl login
|
||||||
|
|
||||||
(enter "phpfi" when asked for password)
|
(just press enter when asked for password)
|
||||||
|
|
||||||
cvs -d :pserver:cvsread@cvs.php.net:/repository co curl
|
cvs -d :pserver:anonymous@cool.haxx.se:/cvsroot/curl co curl
|
||||||
|
|
||||||
(you'll get a directory named curl created, filled with the source code)
|
(you'll get a directory named curl created, filled with the source code)
|
||||||
|
|
||||||
cvs -d :pserver:cvsread@cvs.php.net:/repository logout
|
|
||||||
|
|
||||||
(you're off the hook!)
|
|
||||||
|
|
||||||
NOTICE
|
NOTICE
|
||||||
|
|
||||||
Curl contains pieces of source code that is Copyright (c) 1998, 1999
|
Curl contains pieces of source code that is Copyright (c) 1998, 1999
|
||||||
|
|||||||
41
RELEASE-NOTES
Normal file
41
RELEASE-NOTES
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
Curl and libcurl 7.19.8
|
||||||
|
|
||||||
|
Public curl releases: 114
|
||||||
|
Command line options: 132
|
||||||
|
curl_easy_setopt() options: 163
|
||||||
|
Public functions in libcurl: 58
|
||||||
|
Known libcurl bindings: 38
|
||||||
|
Contributors: 761
|
||||||
|
|
||||||
|
This release includes the following changes:
|
||||||
|
|
||||||
|
o support SSL_FILETYPE_ENGINE for client certificate
|
||||||
|
o curl-config can now show the arguments used when building curl
|
||||||
|
|
||||||
|
This release includes the following bugfixes:
|
||||||
|
|
||||||
|
o progress meter percentage and transfer time estimates fixes
|
||||||
|
o portability enhancement for OS's without orthogonal directory tree structure
|
||||||
|
o progress meter/callback during FTP connection
|
||||||
|
o DNS cache timeout while transfer in progress
|
||||||
|
o compilation when configured --with-gssapi having GNU GSS installed
|
||||||
|
o SSL connection reused with mismatched protection level
|
||||||
|
o configure --with-nss is set but not "yes"
|
||||||
|
o don't store LDFLAGS in pkg-config file
|
||||||
|
o never-pruned DNS cached entries
|
||||||
|
o HTTP proxy tunnel re-used connection even if tunnel got disabled
|
||||||
|
o SSL lib post-close write
|
||||||
|
o curl failed to report write errors for tiny failed downloads
|
||||||
|
|
||||||
|
This release includes the following known bugs:
|
||||||
|
|
||||||
|
o see docs/KNOWN_BUGS (http://curl.haxx.se/docs/knownbugs.html)
|
||||||
|
|
||||||
|
This release would not have looked like this without help, code, reports and
|
||||||
|
advice from friends like these:
|
||||||
|
|
||||||
|
Yang Tse, Kamil Dudka, Christian Schmitz, Constantine Sapuntzakis,
|
||||||
|
Marco Maggi, Camille Moncelier, Claes Jakobsson, Kevin Baughman,
|
||||||
|
Marc Kleine-Budde, Jad Chamcham, Bjorn Augustsson, David Byron
|
||||||
|
|
||||||
|
Thanks! (and sorry if I forgot to mention someone)
|
||||||
22
TODO-RELEASE
Normal file
22
TODO-RELEASE
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
To be addressed in 7.19.8 (planned release: January 2010)
|
||||||
|
=========================
|
||||||
|
|
||||||
|
244 - patch for [out] parameters
|
||||||
|
http://curl.haxx.se/mail/lib-2009-06/0342.html
|
||||||
|
|
||||||
|
245 - HTTP version getinfo
|
||||||
|
http://curl.haxx.se/mail/lib-2009-06/0312.html
|
||||||
|
|
||||||
|
247 - Using CURLINFO_ERROR in Curl_failf
|
||||||
|
http://curl.haxx.se/mail/lib-2009-06/0065.html
|
||||||
|
|
||||||
|
253 - add option to disable SNI for TLS handshakes
|
||||||
|
|
||||||
|
257 - bug #2891595 DNS cache
|
||||||
|
|
||||||
|
258 - bug #2891591 Curl_dns_entry
|
||||||
|
|
||||||
|
259 - Avoding connection re-use when using CURLOPT_HTTPPROXYTUNNEL
|
||||||
|
|
||||||
|
260 -
|
||||||
|
|
||||||
3650
acinclude.m4
3650
acinclude.m4
File diff suppressed because it is too large
Load Diff
35
ares/.cvsignore
Normal file
35
ares/.cvsignore
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
*.html
|
||||||
|
*.lo
|
||||||
|
*.pdf
|
||||||
|
.deps
|
||||||
|
.libs
|
||||||
|
MSVC*
|
||||||
|
Makefile
|
||||||
|
Makefile.in
|
||||||
|
aclocal.m4
|
||||||
|
acountry
|
||||||
|
adig
|
||||||
|
ahost
|
||||||
|
ares_build.h
|
||||||
|
ares_config.h
|
||||||
|
ares_config.h.in
|
||||||
|
ares_version.h.dist
|
||||||
|
autom4te.cache
|
||||||
|
compile
|
||||||
|
config.guess
|
||||||
|
config.h
|
||||||
|
config.h.in
|
||||||
|
config.log
|
||||||
|
config.lt
|
||||||
|
config.status
|
||||||
|
config.sub
|
||||||
|
configure
|
||||||
|
depcomp
|
||||||
|
libcares.la
|
||||||
|
libcares.pc
|
||||||
|
libtool
|
||||||
|
ltmain.sh
|
||||||
|
man3
|
||||||
|
missing
|
||||||
|
msvc*
|
||||||
|
stamp-h*
|
||||||
37
ares/AUTHORS
Normal file
37
ares/AUTHORS
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
c-ares is based on ares, and these are the people that have worked on it since
|
||||||
|
the fork was made:
|
||||||
|
|
||||||
|
Alexander Lazic
|
||||||
|
Alexey Simak
|
||||||
|
Andreas Rieke
|
||||||
|
Ashish Sharma
|
||||||
|
Brad House
|
||||||
|
Brad Spencer
|
||||||
|
Bram Matthys
|
||||||
|
Dan Fandrich
|
||||||
|
Daniel Stenberg
|
||||||
|
Dirk Manske
|
||||||
|
Dominick Meglio
|
||||||
|
Doug Goldstein
|
||||||
|
Duncan Wilcox
|
||||||
|
Eino Tuominen
|
||||||
|
Erik Kline
|
||||||
|
George Neill
|
||||||
|
Gisle Vanem
|
||||||
|
Guilherme Balena Versiani
|
||||||
|
Gunter Knauf
|
||||||
|
Henrik Stoerner
|
||||||
|
James Bursa
|
||||||
|
Michael Wallner
|
||||||
|
Nick Mathewson
|
||||||
|
Phil Blundell
|
||||||
|
Ravi Pratap
|
||||||
|
Robin Cornelius
|
||||||
|
Sebastian at basti79.de
|
||||||
|
Shmulik Regev
|
||||||
|
Steinar H. Gunderson
|
||||||
|
Tofu Linden
|
||||||
|
Vlad Dinulescu
|
||||||
|
William Ahern
|
||||||
|
Yang Tse
|
||||||
|
liren at vivisimo.com
|
||||||
1108
ares/CHANGES
Normal file
1108
ares/CHANGES
Normal file
File diff suppressed because it is too large
Load Diff
7
ares/CVS-INFO
Normal file
7
ares/CVS-INFO
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
CVS-INFO
|
||||||
|
|
||||||
|
This file is only present in the CVS - never in release archives. It is used
|
||||||
|
as a sentinel file in buildconf.bat in order to differentiate a CVS checkout
|
||||||
|
from release and daily snapshot archives.
|
||||||
|
|
||||||
171
ares/Makefile.am
Normal file
171
ares/Makefile.am
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
AUTOMAKE_OPTIONS = foreign nostdinc
|
||||||
|
|
||||||
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
|
# Specify our include paths here, and do it relative to $(top_srcdir) and
|
||||||
|
# $(top_builddir), to ensure that these paths which belong to the library
|
||||||
|
# being currently built and tested are searched before the library which
|
||||||
|
# might possibly already be installed in the system.
|
||||||
|
#
|
||||||
|
# When using the low-level hard-hacking memory leak tracking code from
|
||||||
|
# libcurl the generated curl/curlbuild.h file must also be reachable.
|
||||||
|
# Using the libcurl lowlevel code from within c-ares library is ugly and
|
||||||
|
# only works when c-ares is built and linked with a similarly debug-build
|
||||||
|
# libcurl, but we do this anyway for convenience.
|
||||||
|
#
|
||||||
|
# $(top_builddir)/../include/curl for generated curlbuild.h included from curl.h
|
||||||
|
# $(top_builddir)/../include is for libcurl's generated curl/curlbuild.h file
|
||||||
|
# $(top_srcdir)/../include is for libcurl's external include files
|
||||||
|
# $(top_builddir)/../lib is for libcurl's generated lib/curl_config.h file
|
||||||
|
# $(top_srcdir)/../lib is for libcurl's lib/setup.h and other "private" files
|
||||||
|
# $(top_builddir) is for c-ares's generated ares_config.h file
|
||||||
|
# $(top_srcdir) is for c-ares's ares_setup.h and other "c-ares-private" files
|
||||||
|
|
||||||
|
if CURLDEBUG
|
||||||
|
INCLUDES = -I$(top_builddir)/../include/curl \
|
||||||
|
-I$(top_builddir)/../include \
|
||||||
|
-I$(top_srcdir)/../include \
|
||||||
|
-I$(top_builddir)/../lib \
|
||||||
|
-I$(top_srcdir)/../lib \
|
||||||
|
-I$(top_builddir) \
|
||||||
|
-I$(top_srcdir)
|
||||||
|
else
|
||||||
|
INCLUDES = -I$(top_builddir) \
|
||||||
|
-I$(top_srcdir)
|
||||||
|
endif
|
||||||
|
|
||||||
|
lib_LTLIBRARIES = libcares.la
|
||||||
|
|
||||||
|
man_MANS = $(MANPAGES)
|
||||||
|
|
||||||
|
MSVCFILES = vc/vc6aws.dsw vc/acountry/vc6acountry.dsp vc/adig/vc6adig.dsp \
|
||||||
|
vc/ahost/vc6ahost.dsp vc/cares/vc6cares.dsp vc/cares/vc6cares.dsw
|
||||||
|
|
||||||
|
if CURLDEBUG
|
||||||
|
PROGS =
|
||||||
|
else
|
||||||
|
PROGS = ahost adig acountry
|
||||||
|
endif
|
||||||
|
|
||||||
|
noinst_PROGRAMS =$(PROGS)
|
||||||
|
|
||||||
|
# adig and ahost are just sample programs and thus not mentioned with the
|
||||||
|
# regular sources and headers
|
||||||
|
EXTRA_DIST = AUTHORS CHANGES README.cares Makefile.inc Makefile.dj \
|
||||||
|
Makefile.m32 Makefile.netware Makefile.msvc $(man_MANS) $(MSVCFILES) \
|
||||||
|
config-win32.h RELEASE-NOTES libcares.pc.in buildconf get_ver.awk maketgz \
|
||||||
|
TODO ares_build.h.in $(PDFPAGES) cares.rc README.msvc
|
||||||
|
|
||||||
|
CLEANFILES = $(PDFPAGES) $(HTMLPAGES)
|
||||||
|
|
||||||
|
DISTCLEANFILES = ares_build.h
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = libcares.pc
|
||||||
|
|
||||||
|
VER=-version-info 2:0:0
|
||||||
|
# This flag accepts an argument of the form current[:revision[:age]]. So,
|
||||||
|
# passing -version-info 3:12:1 sets current to 3, revision to 12, and age to
|
||||||
|
# 1.
|
||||||
|
#
|
||||||
|
# If either revision or age are omitted, they default to 0. Also note that age
|
||||||
|
# must be less than or equal to the current interface number.
|
||||||
|
#
|
||||||
|
# Here are a set of rules to help you update your library version information:
|
||||||
|
#
|
||||||
|
# 1.Start with version information of 0:0:0 for each libtool library.
|
||||||
|
#
|
||||||
|
# 2.Update the version information only immediately before a public release of
|
||||||
|
# your software. More frequent updates are unnecessary, and only guarantee
|
||||||
|
# that the current interface number gets larger faster.
|
||||||
|
#
|
||||||
|
# 3.If the library source code has changed at all since the last update, then
|
||||||
|
# increment revision (c:r+1:a)
|
||||||
|
#
|
||||||
|
# 4.If any interfaces have been added, removed, or changed since the last
|
||||||
|
# update, increment current, and set revision to 0. (c+1:r=0:a)
|
||||||
|
#
|
||||||
|
# 5.If any interfaces have been added since the last public release, then
|
||||||
|
# increment age. (c:r:a+1)
|
||||||
|
#
|
||||||
|
# 6.If any interfaces have been removed since the last public release, then
|
||||||
|
# set age to 0. (c:r:a=0)
|
||||||
|
#
|
||||||
|
|
||||||
|
if NO_UNDEFINED
|
||||||
|
# The -no-undefined flag is crucial for this to build fine on some platforms
|
||||||
|
UNDEF = -no-undefined
|
||||||
|
endif
|
||||||
|
|
||||||
|
libcares_la_LDFLAGS = $(UNDEF) $(VER)
|
||||||
|
|
||||||
|
# Makefile.inc provides the CSOURCES and HHEADERS defines
|
||||||
|
include Makefile.inc
|
||||||
|
|
||||||
|
libcares_la_SOURCES = $(CSOURCES) $(HHEADERS)
|
||||||
|
|
||||||
|
# where to install the c-ares headers
|
||||||
|
libcares_ladir = $(includedir)
|
||||||
|
# what headers to install on 'make install':
|
||||||
|
libcares_la_HEADERS = ares.h ares_version.h ares_dns.h \
|
||||||
|
ares_build.h ares_rules.h
|
||||||
|
|
||||||
|
ahost_SOURCES = ahost.c $(SAMPLESOURCES) $(SAMPLEHEADERS)
|
||||||
|
ahost_LDADD = $(top_builddir)/libcares.la
|
||||||
|
ahost_CFLAGS = $(AM_CFLAGS)
|
||||||
|
|
||||||
|
adig_SOURCES = adig.c $(SAMPLESOURCES) $(SAMPLEHEADERS)
|
||||||
|
adig_LDADD = $(top_builddir)/libcares.la
|
||||||
|
adig_CFLAGS = $(AM_CFLAGS)
|
||||||
|
|
||||||
|
acountry_SOURCES = acountry.c $(SAMPLESOURCES) $(SAMPLEHEADERS)
|
||||||
|
acountry_LDADD = $(top_builddir)/libcares.la
|
||||||
|
acountry_CFLAGS = $(AM_CFLAGS)
|
||||||
|
|
||||||
|
SOURCEDMANDIR = man3
|
||||||
|
SOURCEDMANPAGES = ares_init.3
|
||||||
|
|
||||||
|
clean-local: clean-sourced-manpages
|
||||||
|
|
||||||
|
clean-sourced-manpages:
|
||||||
|
@srcdmandir='$(SOURCEDMANDIR)'; \
|
||||||
|
echo "rm -rf $(top_builddir)/$$srcdmandir"; \
|
||||||
|
rm -rf $(top_builddir)/$$srcdmandir
|
||||||
|
|
||||||
|
sourced-manpages: clean-sourced-manpages
|
||||||
|
@srcdmandir='$(SOURCEDMANDIR)'; \
|
||||||
|
srcdmanfiles='$(SOURCEDMANPAGES)'; \
|
||||||
|
mkdir $(top_builddir)/$$srcdmandir; \
|
||||||
|
for file in $$srcdmanfiles; do \
|
||||||
|
if test -f $(top_srcdir)/$$file; then \
|
||||||
|
echo "cp $(top_srcdir)/$$file $(top_builddir)/$$srcdmandir/$$file"; \
|
||||||
|
cp $(top_srcdir)/$$file $(top_builddir)/$$srcdmandir/$$file; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
|
||||||
|
MAN2HTML = roffit --mandir=. < $< >$@
|
||||||
|
|
||||||
|
SUFFIXES = .3 .html
|
||||||
|
|
||||||
|
html: sourced-manpages $(HTMLPAGES)
|
||||||
|
|
||||||
|
.3.html:
|
||||||
|
$(MAN2HTML)
|
||||||
|
|
||||||
|
pdf: sourced-manpages $(PDFPAGES)
|
||||||
|
|
||||||
|
.3.pdf:
|
||||||
|
@(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \
|
||||||
|
groff -Tps -man $< >$$foo.ps; \
|
||||||
|
ps2pdf $$foo.ps $@; \
|
||||||
|
rm $$foo.ps; \
|
||||||
|
echo "converted $< to $@")
|
||||||
|
|
||||||
|
# Make files named *.dist replace the file without .dist extension
|
||||||
|
dist-hook:
|
||||||
|
find $(distdir) -name "*.dist" -exec rm {} \;
|
||||||
|
(distit=`find $(srcdir) -name "*.dist"`; \
|
||||||
|
for file in $$distit; do \
|
||||||
|
strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
|
||||||
|
cp $$file $(distdir)$$strip; \
|
||||||
|
done)
|
||||||
86
ares/Makefile.dj
Normal file
86
ares/Makefile.dj
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
#
|
||||||
|
# c-ares Makefile for djgpp/gcc/Watt-32.
|
||||||
|
# By Gisle Vanem <gvanem@broadpark.no> 2004.
|
||||||
|
#
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
|
||||||
|
TOPDIR = ..
|
||||||
|
|
||||||
|
DEPEND_PREREQ = ares_config.h
|
||||||
|
|
||||||
|
include ../packages/DOS/common.dj
|
||||||
|
include Makefile.inc
|
||||||
|
|
||||||
|
CFLAGS += -DWATT32 -Dselect=select_s
|
||||||
|
|
||||||
|
LDFLAGS = -s
|
||||||
|
|
||||||
|
ifeq ($(USE_CURLDEBUG),1)
|
||||||
|
EX_LIBS = ../lib/libcurl.a
|
||||||
|
OBJ_HACK = $(OBJECTS)
|
||||||
|
else
|
||||||
|
OBJ_HACK = libcares.a
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_SSL),1)
|
||||||
|
EX_LIBS += $(OPENSSL_ROOT)/lib/libssl.a $(OPENSSL_ROOT)/lib/libcrypt.a
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_ZLIB),1)
|
||||||
|
EX_LIBS += $(ZLIB_ROOT)/libz.a
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_IDNA),1)
|
||||||
|
EX_LIBS += $(LIBIDN_ROOT)/lib/dj_obj/libidn.a -liconv
|
||||||
|
endif
|
||||||
|
|
||||||
|
EX_LIBS += $(WATT32_ROOT)/lib/libwatt.a
|
||||||
|
|
||||||
|
OBJECTS = $(addprefix $(OBJ_DIR)/, $(CSOURCES:.c=.o))
|
||||||
|
|
||||||
|
all: $(OBJ_DIR) ares_config.h libcares.a ahost.exe adig.exe acountry.exe
|
||||||
|
@echo Welcome to c-ares.
|
||||||
|
|
||||||
|
libcares.a: $(OBJECTS)
|
||||||
|
ar rs $@ $?
|
||||||
|
|
||||||
|
ares_config.h: config.dos
|
||||||
|
$(COPY) $^ $@
|
||||||
|
|
||||||
|
ahost.exe: ahost.c $(OBJ_DIR)/ares_getopt.o $(OBJ_HACK)
|
||||||
|
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(EX_LIBS)
|
||||||
|
|
||||||
|
adig.exe: adig.c $(OBJ_DIR)/ares_getopt.o $(OBJ_HACK)
|
||||||
|
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(EX_LIBS)
|
||||||
|
|
||||||
|
acountry.exe: acountry.c $(OBJ_DIR)/ares_getopt.o $(OBJ_HACK)
|
||||||
|
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(EX_LIBS)
|
||||||
|
|
||||||
|
# clean generated files
|
||||||
|
#
|
||||||
|
genclean:
|
||||||
|
- $(DELETE) ares_config.h
|
||||||
|
|
||||||
|
# clean object files and subdir
|
||||||
|
#
|
||||||
|
objclean: genclean
|
||||||
|
- $(DELETE) $(OBJ_DIR)$(DS)*.o
|
||||||
|
- $(RMDIR) $(OBJ_DIR)
|
||||||
|
|
||||||
|
# clean without removing built library and programs
|
||||||
|
#
|
||||||
|
clean: objclean
|
||||||
|
- $(DELETE) depend.dj
|
||||||
|
|
||||||
|
# clean everything
|
||||||
|
#
|
||||||
|
realclean vclean: clean
|
||||||
|
- $(DELETE) libcares.a
|
||||||
|
- $(DELETE) acountry.exe
|
||||||
|
- $(DELETE) adig.exe
|
||||||
|
- $(DELETE) ahost.exe
|
||||||
|
- $(DELETE) libcares.a
|
||||||
|
|
||||||
|
-include depend.dj
|
||||||
|
|
||||||
179
ares/Makefile.inc
Normal file
179
ares/Makefile.inc
Normal file
@@ -0,0 +1,179 @@
|
|||||||
|
|
||||||
|
CSOURCES = ares__close_sockets.c \
|
||||||
|
ares__get_hostent.c \
|
||||||
|
ares__read_line.c \
|
||||||
|
ares__timeval.c \
|
||||||
|
ares_cancel.c \
|
||||||
|
ares_data.c \
|
||||||
|
ares_destroy.c \
|
||||||
|
ares_expand_name.c \
|
||||||
|
ares_expand_string.c \
|
||||||
|
ares_fds.c \
|
||||||
|
ares_free_hostent.c \
|
||||||
|
ares_free_string.c \
|
||||||
|
ares_gethostbyaddr.c \
|
||||||
|
ares_gethostbyname.c \
|
||||||
|
ares_getnameinfo.c \
|
||||||
|
ares_getsock.c \
|
||||||
|
ares_init.c \
|
||||||
|
ares_library_init.c \
|
||||||
|
ares_llist.c \
|
||||||
|
ares_mkquery.c \
|
||||||
|
ares_parse_a_reply.c \
|
||||||
|
ares_parse_aaaa_reply.c \
|
||||||
|
ares_parse_ns_reply.c \
|
||||||
|
ares_parse_ptr_reply.c \
|
||||||
|
ares_parse_srv_reply.c \
|
||||||
|
ares_parse_txt_reply.c \
|
||||||
|
ares_process.c \
|
||||||
|
ares_query.c \
|
||||||
|
ares_search.c \
|
||||||
|
ares_send.c \
|
||||||
|
ares_strcasecmp.c \
|
||||||
|
ares_strdup.c \
|
||||||
|
ares_strerror.c \
|
||||||
|
ares_timeout.c \
|
||||||
|
ares_version.c \
|
||||||
|
ares_writev.c \
|
||||||
|
bitncmp.c \
|
||||||
|
inet_net_pton.c \
|
||||||
|
inet_ntop.c \
|
||||||
|
windows_port.c
|
||||||
|
|
||||||
|
HHEADERS = ares.h \
|
||||||
|
ares_build.h \
|
||||||
|
ares_data.h \
|
||||||
|
ares_dns.h \
|
||||||
|
ares_ipv6.h \
|
||||||
|
ares_library_init.h \
|
||||||
|
ares_llist.h \
|
||||||
|
ares_private.h \
|
||||||
|
ares_rules.h \
|
||||||
|
ares_strcasecmp.h \
|
||||||
|
ares_strdup.h \
|
||||||
|
ares_version.h \
|
||||||
|
ares_writev.h \
|
||||||
|
bitncmp.h \
|
||||||
|
inet_net_pton.h \
|
||||||
|
inet_ntop.h \
|
||||||
|
nameser.h \
|
||||||
|
ares_setup.h \
|
||||||
|
setup_once.h
|
||||||
|
|
||||||
|
MANPAGES = ares_cancel.3 \
|
||||||
|
ares_destroy.3 \
|
||||||
|
ares_destroy_options.3 \
|
||||||
|
ares_dup.3 \
|
||||||
|
ares_expand_name.3 \
|
||||||
|
ares_expand_string.3 \
|
||||||
|
ares_fds.3 \
|
||||||
|
ares_free_data.3 \
|
||||||
|
ares_free_hostent.3 \
|
||||||
|
ares_free_string.3 \
|
||||||
|
ares_gethostbyaddr.3 \
|
||||||
|
ares_gethostbyname.3 \
|
||||||
|
ares_gethostbyname_file.3 \
|
||||||
|
ares_getnameinfo.3 \
|
||||||
|
ares_getsock.3 \
|
||||||
|
ares_init.3 \
|
||||||
|
ares_init_options.3 \
|
||||||
|
ares_library_cleanup.3 \
|
||||||
|
ares_library_init.3 \
|
||||||
|
ares_mkquery.3 \
|
||||||
|
ares_parse_a_reply.3 \
|
||||||
|
ares_parse_aaaa_reply.3 \
|
||||||
|
ares_parse_ns_reply.3 \
|
||||||
|
ares_parse_ptr_reply.3 \
|
||||||
|
ares_parse_srv_reply.3 \
|
||||||
|
ares_parse_txt_reply.3 \
|
||||||
|
ares_process.3 \
|
||||||
|
ares_query.3 \
|
||||||
|
ares_save_options.3 \
|
||||||
|
ares_search.3 \
|
||||||
|
ares_send.3 \
|
||||||
|
ares_set_socket_callback.3 \
|
||||||
|
ares_strerror.3 \
|
||||||
|
ares_timeout.3 \
|
||||||
|
ares_version.3
|
||||||
|
|
||||||
|
HTMLPAGES = ares_cancel.html \
|
||||||
|
ares_destroy.html \
|
||||||
|
ares_destroy_options.html \
|
||||||
|
ares_dup.html \
|
||||||
|
ares_expand_name.html \
|
||||||
|
ares_expand_string.html \
|
||||||
|
ares_fds.html \
|
||||||
|
ares_free_data.html \
|
||||||
|
ares_free_hostent.html \
|
||||||
|
ares_free_string.html \
|
||||||
|
ares_gethostbyaddr.html \
|
||||||
|
ares_gethostbyname.html \
|
||||||
|
ares_gethostbyname_file.html \
|
||||||
|
ares_getnameinfo.html \
|
||||||
|
ares_getsock.html \
|
||||||
|
ares_init.html \
|
||||||
|
ares_init_options.html \
|
||||||
|
ares_library_cleanup.html \
|
||||||
|
ares_library_init.html \
|
||||||
|
ares_mkquery.html \
|
||||||
|
ares_parse_a_reply.html \
|
||||||
|
ares_parse_aaaa_reply.html \
|
||||||
|
ares_parse_ns_reply.html \
|
||||||
|
ares_parse_ptr_reply.html \
|
||||||
|
ares_parse_srv_reply.html \
|
||||||
|
ares_parse_txt_reply.html \
|
||||||
|
ares_process.html \
|
||||||
|
ares_query.html \
|
||||||
|
ares_save_options.html \
|
||||||
|
ares_search.html \
|
||||||
|
ares_send.html \
|
||||||
|
ares_set_socket_callback.html \
|
||||||
|
ares_strerror.html \
|
||||||
|
ares_timeout.html \
|
||||||
|
ares_version.html
|
||||||
|
|
||||||
|
PDFPAGES = ares_cancel.pdf \
|
||||||
|
ares_destroy.pdf \
|
||||||
|
ares_destroy_options.pdf \
|
||||||
|
ares_dup.pdf \
|
||||||
|
ares_expand_name.pdf \
|
||||||
|
ares_expand_string.pdf \
|
||||||
|
ares_fds.pdf \
|
||||||
|
ares_free_data.pdf \
|
||||||
|
ares_free_hostent.pdf \
|
||||||
|
ares_free_string.pdf \
|
||||||
|
ares_gethostbyaddr.pdf \
|
||||||
|
ares_gethostbyname.pdf \
|
||||||
|
ares_gethostbyname_file.pdf \
|
||||||
|
ares_getnameinfo.pdf \
|
||||||
|
ares_getsock.pdf \
|
||||||
|
ares_init.pdf \
|
||||||
|
ares_init_options.pdf \
|
||||||
|
ares_library_cleanup.pdf \
|
||||||
|
ares_library_init.pdf \
|
||||||
|
ares_mkquery.pdf \
|
||||||
|
ares_parse_a_reply.pdf \
|
||||||
|
ares_parse_aaaa_reply.pdf \
|
||||||
|
ares_parse_ns_reply.pdf \
|
||||||
|
ares_parse_ptr_reply.pdf \
|
||||||
|
ares_parse_srv_reply.pdf \
|
||||||
|
ares_parse_txt_reply.pdf \
|
||||||
|
ares_process.pdf \
|
||||||
|
ares_query.pdf \
|
||||||
|
ares_save_options.pdf \
|
||||||
|
ares_search.pdf \
|
||||||
|
ares_send.pdf \
|
||||||
|
ares_set_socket_callback.pdf \
|
||||||
|
ares_strerror.pdf \
|
||||||
|
ares_timeout.pdf \
|
||||||
|
ares_version.pdf
|
||||||
|
|
||||||
|
SAMPLESOURCES = ares_getopt.c \
|
||||||
|
ares_strcasecmp.c \
|
||||||
|
inet_net_pton.c \
|
||||||
|
inet_ntop.c
|
||||||
|
|
||||||
|
SAMPLEHEADERS = ares_getopt.h \
|
||||||
|
ares_strcasecmp.h \
|
||||||
|
inet_net_pton.h \
|
||||||
|
inet_ntop.h
|
||||||
69
ares/Makefile.m32
Normal file
69
ares/Makefile.m32
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
#############################################################
|
||||||
|
# $Id$
|
||||||
|
#
|
||||||
|
## Makefile for building libcares.a with MingW32 (GCC-3.2)
|
||||||
|
## Use: make -f Makefile.m32 [demos]
|
||||||
|
##
|
||||||
|
## Quick hack by Guenter; comments to: /dev/nul
|
||||||
|
#
|
||||||
|
########################################################
|
||||||
|
## Nothing more to do below this line!
|
||||||
|
|
||||||
|
LIB = libcares.a
|
||||||
|
|
||||||
|
CC = gcc
|
||||||
|
LD = gcc
|
||||||
|
RANLIB = ranlib
|
||||||
|
#RM = rm -f
|
||||||
|
|
||||||
|
CFLAGS = -O2 -Wall
|
||||||
|
LDFLAGS = -s
|
||||||
|
LIBS = -lwsock32
|
||||||
|
|
||||||
|
# Makefile.inc provides the CSOURCES and HHEADERS defines
|
||||||
|
include Makefile.inc
|
||||||
|
|
||||||
|
OBJLIB := $(patsubst %.c,%.o,$(strip $(CSOURCES)))
|
||||||
|
|
||||||
|
|
||||||
|
$(LIB): $(OBJLIB)
|
||||||
|
ar cru $@ $^
|
||||||
|
$(RANLIB) $@
|
||||||
|
|
||||||
|
all: $(LIB) demos
|
||||||
|
|
||||||
|
demos: adig.exe ahost.exe acountry.exe
|
||||||
|
|
||||||
|
tags:
|
||||||
|
etags *.[ch]
|
||||||
|
|
||||||
|
%.exe: %.o ares_getopt.o $(LIB)
|
||||||
|
$(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
|
||||||
|
|
||||||
|
$(OBJLIB): ares.h ares_dns.h ares_private.h ares_build.h ares_rules.h
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
$(CC) $(CFLAGS) -c $<
|
||||||
|
|
||||||
|
check:
|
||||||
|
|
||||||
|
install:
|
||||||
|
${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
||||||
|
${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}
|
||||||
|
${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man3
|
||||||
|
${INSTALL} -m 644 $(LIB) ${DESTDIR}${libdir}
|
||||||
|
${RANLIB} ${DESTDIR}${libdir}/$(LIB)
|
||||||
|
chmod u-w ${DESTDIR}${libdir}/$(LIB)
|
||||||
|
${INSTALL} -m 444 ${srcdir}/ares.h ${DESTDIR}${includedir}
|
||||||
|
${INSTALL} -m 444 ${srcdir}/ares_build.h ${DESTDIR}${includedir}
|
||||||
|
${INSTALL} -m 444 ${srcdir}/ares_rules.h ${DESTDIR}${includedir}
|
||||||
|
(for man in $(MANPAGES); do \
|
||||||
|
${INSTALL} -m 444 ${srcdir}/$${man} ${DESTDIR}${mandir}/man3; \
|
||||||
|
done)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(RM) ares_getopt.o $(OBJLIB) $(LIB) adig.exe ahost.exe acountry.exe
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
$(RM) config.cache config.log config.status Makefile
|
||||||
|
|
||||||
467
ares/Makefile.msvc
Normal file
467
ares/Makefile.msvc
Normal file
@@ -0,0 +1,467 @@
|
|||||||
|
# $Id$
|
||||||
|
|
||||||
|
# Copyright (C) 2009 by Daniel Stenberg
|
||||||
|
#
|
||||||
|
# Permission to use, copy, modify, and distribute this
|
||||||
|
# software and its documentation for any purpose and without
|
||||||
|
# fee is hereby granted, provided that the above copyright
|
||||||
|
# notice appear in all copies and that both that copyright
|
||||||
|
# notice and this permission notice appear in supporting
|
||||||
|
# documentation, and that the name of M.I.T. not be used in
|
||||||
|
# advertising or publicity pertaining to distribution of the
|
||||||
|
# software without specific, written prior permission.
|
||||||
|
# M.I.T. makes no representations about the suitability of
|
||||||
|
# this software for any purpose. It is provided "as is"
|
||||||
|
# without express or implied warranty.
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Makefile for building c-ares libraries and sample programs with MSVC.
|
||||||
|
#
|
||||||
|
# Usage: nmake /f makefile.msvc CFG=<config> <target>
|
||||||
|
#
|
||||||
|
# <config> must be one of: [ lib-release | lib-debug | dll-release | dll-debug }
|
||||||
|
# <target> must be one of: [ ALL | c-ares | acountry | adig | ahost | clean }
|
||||||
|
#
|
||||||
|
# If a <target> other than ALL or clean is given, <config> becomes mandatory.
|
||||||
|
#
|
||||||
|
# If neither <config> nor <target> are specified this results in
|
||||||
|
# all targets being built for all <config> c-ares library types.
|
||||||
|
#
|
||||||
|
# This makefile must be processed from the subdir where it is located.
|
||||||
|
#
|
||||||
|
# All results are generated below a subdirectory named msvcXXX.
|
||||||
|
#
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
NAME = cares
|
||||||
|
|
||||||
|
# ------------------------------------------------
|
||||||
|
# c-ares static and dynamic libraries common base
|
||||||
|
# file names for release and debug configurations
|
||||||
|
# ------------------------------------------------
|
||||||
|
|
||||||
|
STA_LIB_REL = lib$(NAME)
|
||||||
|
DYN_LIB_REL = $(NAME)
|
||||||
|
STA_LIB_DBG = $(STA_LIB_REL)d
|
||||||
|
DYN_LIB_DBG = $(DYN_LIB_REL)d
|
||||||
|
|
||||||
|
# -------------------------------------------
|
||||||
|
# Base names for c-ares DLL import libraries
|
||||||
|
# -------------------------------------------
|
||||||
|
|
||||||
|
IMP_LIB_REL = $(DYN_LIB_REL)
|
||||||
|
IMP_LIB_DBG = $(DYN_LIB_DBG)
|
||||||
|
|
||||||
|
# --------------------------
|
||||||
|
# Runtime library selection
|
||||||
|
# --------------------------
|
||||||
|
|
||||||
|
RTLIB = /MD
|
||||||
|
RTLIBD = /MDd
|
||||||
|
|
||||||
|
!IF "$(RTLIBCFG)" == "static"
|
||||||
|
RTLIB = /MT
|
||||||
|
RTLIBD = /MTd
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# --------------------------------------------------------
|
||||||
|
# Define USE_WATT32 to 1 to use the Watt-32 tcp/ip stack,
|
||||||
|
# otherwise Winsock tcp/ip stack will be used as default.
|
||||||
|
# --------------------------------------------------------
|
||||||
|
|
||||||
|
USE_WATT32 = 0
|
||||||
|
|
||||||
|
# -------------------------------------------
|
||||||
|
# Detect NMAKE version deducing MSVC version
|
||||||
|
# -------------------------------------------
|
||||||
|
|
||||||
|
!IFNDEF _NMAKE_VER
|
||||||
|
! MESSAGE Macro _NMAKE_VER not defined.
|
||||||
|
! MESSAGE Use MSVC's NMAKE to process this makefile.
|
||||||
|
! ERROR See previous message.
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
!IF "$(_NMAKE_VER)" == "6.00.8168.0"
|
||||||
|
CC_VERS_NUM = 60
|
||||||
|
!ELSEIF "$(_NMAKE_VER)" == "6.00.9782.0"
|
||||||
|
CC_VERS_NUM = 60
|
||||||
|
!ELSEIF "$(_NMAKE_VER)" == "7.00.9466"
|
||||||
|
CC_VERS_NUM = 70
|
||||||
|
!ELSEIF "$(_NMAKE_VER)" == "7.00.9955"
|
||||||
|
CC_VERS_NUM = 70
|
||||||
|
!ELSEIF "$(_NMAKE_VER)" == "7.10.3077"
|
||||||
|
CC_VERS_NUM = 71
|
||||||
|
!ELSEIF "$(_NMAKE_VER)" == "8.00.40607.16"
|
||||||
|
CC_VERS_NUM = 80
|
||||||
|
!ELSEIF "$(_NMAKE_VER)" == "8.00.50727.42"
|
||||||
|
CC_VERS_NUM = 80
|
||||||
|
!ELSEIF "$(_NMAKE_VER)" == "8.00.50727.762"
|
||||||
|
CC_VERS_NUM = 80
|
||||||
|
!ELSEIF "$(_NMAKE_VER)" == "9.00.21022.08"
|
||||||
|
CC_VERS_NUM = 90
|
||||||
|
!ELSEIF "$(_NMAKE_VER)" == "9.00.30729.01"
|
||||||
|
CC_VERS_NUM = 90
|
||||||
|
!ELSEIF "$(_NMAKE_VER)" == "10.00.20506.01"
|
||||||
|
CC_VERS_NUM = 100
|
||||||
|
!ELSE
|
||||||
|
! MESSAGE Unknown value for _NMAKE_VER macro: "$(_NMAKE_VER)"
|
||||||
|
! MESSAGE Please, report this condition on the c-ares development
|
||||||
|
! MESSAGE mailing list: http://cool.haxx.se/mailman/listinfo/c-ares/
|
||||||
|
! ERROR See previous message.
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
CC_VERS_STR = msvc$(CC_VERS_NUM)
|
||||||
|
|
||||||
|
# ----------------------------------------------------
|
||||||
|
# Verify that current subdir is the c-ares source one
|
||||||
|
# ----------------------------------------------------
|
||||||
|
|
||||||
|
!IF ! EXIST(.\ares_init.c)
|
||||||
|
! MESSAGE Can not process Makefile.msvc from outside of c-ares source subdirectory.
|
||||||
|
! MESSAGE Change to the subdirectory where Makefile.msvc is found, and try again.
|
||||||
|
! ERROR See previous message.
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------
|
||||||
|
# Base subdir is the common root from which other subdirs will hang,
|
||||||
|
# the name depends on MSVC version being used when building c-ares.
|
||||||
|
# ------------------------------------------------------------------
|
||||||
|
|
||||||
|
BASE_DIR = .\$(CC_VERS_STR)
|
||||||
|
|
||||||
|
# ----------------------------------------
|
||||||
|
# Subdir holding sources for all projects
|
||||||
|
# ----------------------------------------
|
||||||
|
|
||||||
|
SRCDIR = .
|
||||||
|
|
||||||
|
# -------------------------
|
||||||
|
# Configuration validation
|
||||||
|
# -------------------------
|
||||||
|
|
||||||
|
VALID_CFGSET = FALSE
|
||||||
|
!IF "$(CFG)" == "lib-release" || "$(CFG)" == "lib-debug" || \
|
||||||
|
"$(CFG)" == "dll-release" || "$(CFG)" == "dll-debug"
|
||||||
|
VALID_CFGSET = TRUE
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
!IF "$(VALID_CFGSET)" == "FALSE" && "$(CFG)" != ""
|
||||||
|
! MESSAGE MSVC c-ares makefile
|
||||||
|
! MESSAGE
|
||||||
|
! MESSAGE Usage: nmake /f makefile.msvc CFG=<config> <target>
|
||||||
|
! MESSAGE
|
||||||
|
! MESSAGE <config> must be one of: [ lib-release | lib-debug | dll-release | dll-debug }
|
||||||
|
! MESSAGE <target> must be one of: [ ALL | c-ares | acountry | adig | ahost | clean }
|
||||||
|
! MESSAGE
|
||||||
|
! MESSAGE If a <target> other than ALL or clean is given, <config> becomes mandatory.
|
||||||
|
! MESSAGE
|
||||||
|
! MESSAGE If neither <config> nor <target> are specified this results in
|
||||||
|
! MESSAGE all targets being built for all <config> c-ares library types.
|
||||||
|
! MESSAGE
|
||||||
|
! ERROR Choose a valid configuration.
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# --------------------------------------------------------
|
||||||
|
# Project subdirs independent of configuration being used
|
||||||
|
# --------------------------------------------------------
|
||||||
|
|
||||||
|
CARES_DIR = $(BASE_DIR)\cares
|
||||||
|
PROG1_DIR = $(BASE_DIR)\acountry
|
||||||
|
PROG2_DIR = $(BASE_DIR)\adig
|
||||||
|
PROG3_DIR = $(BASE_DIR)\ahost
|
||||||
|
|
||||||
|
# ---------------------------------------------------
|
||||||
|
# Subdirs which are configuration dependent are only
|
||||||
|
# defined when a valid configuration has been given.
|
||||||
|
# ---------------------------------------------------
|
||||||
|
|
||||||
|
!IF "$(VALID_CFGSET)" == "TRUE"
|
||||||
|
CARES_OUTDIR = $(CARES_DIR)\$(CFG)
|
||||||
|
PROG1_OUTDIR = $(PROG1_DIR)\$(CFG)
|
||||||
|
PROG2_OUTDIR = $(PROG2_DIR)\$(CFG)
|
||||||
|
PROG3_OUTDIR = $(PROG3_DIR)\$(CFG)
|
||||||
|
CARES_OBJDIR = $(CARES_OUTDIR)\obj
|
||||||
|
PROG1_OBJDIR = $(PROG1_OUTDIR)\obj
|
||||||
|
PROG2_OBJDIR = $(PROG2_OUTDIR)\obj
|
||||||
|
PROG3_OBJDIR = $(PROG3_OUTDIR)\obj
|
||||||
|
!ELSE
|
||||||
|
!UNDEF CARES_OUTDIR
|
||||||
|
!UNDEF PROG1_OUTDIR
|
||||||
|
!UNDEF PROG2_OUTDIR
|
||||||
|
!UNDEF PROG3_OUTDIR
|
||||||
|
!UNDEF CARES_OBJDIR
|
||||||
|
!UNDEF PROG1_OBJDIR
|
||||||
|
!UNDEF PROG2_OBJDIR
|
||||||
|
!UNDEF PROG3_OBJDIR
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# -------------------------------------
|
||||||
|
# Settings that depend on tcp/ip stack
|
||||||
|
# -------------------------------------
|
||||||
|
|
||||||
|
!IF "$(USE_WATT32)" == "1"
|
||||||
|
CFLAGS = /UWIN32 /DWATT32 /I$(WATT_ROOT)\inc
|
||||||
|
EX_LIBS_REL = $(WATT_ROOT)\lib\wattcpvc_imp.lib
|
||||||
|
EX_LIBS_DBG = $(WATT_ROOT)\lib\wattcpvc_imp_d.lib
|
||||||
|
!ELSE
|
||||||
|
CFLAGS = /DWIN32
|
||||||
|
EX_LIBS_REL = ws2_32.lib advapi32.lib kernel32.lib
|
||||||
|
EX_LIBS_DBG = ws2_32.lib advapi32.lib kernel32.lib
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# -----------------------------------------
|
||||||
|
# Switches that depend on compiler version
|
||||||
|
# -----------------------------------------
|
||||||
|
|
||||||
|
!IF $(CC_VERS_NUM) == 60
|
||||||
|
PDB_NONE = /pdb:none
|
||||||
|
PDBTYPE_CONSOLIDATE = /pdbtype:consolidate
|
||||||
|
!ELSE
|
||||||
|
!UNDEF PDB_NONE
|
||||||
|
!UNDEF PDBTYPE_CONSOLIDATE
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# ----------------------------
|
||||||
|
# Assorted commands and flags
|
||||||
|
# ----------------------------
|
||||||
|
|
||||||
|
CC_CMD_REL = cl.exe /nologo $(RTLIB) /DNDEBUG /O2
|
||||||
|
CC_CMD_DBG = cl.exe /nologo $(RTLIBD) /D_DEBUG /Od /Zi /GZ
|
||||||
|
CC_CFLAGS = $(CFLAGS) /I. /W3 /GX /FD
|
||||||
|
|
||||||
|
RC_CMD_REL = rc.exe /l 0x409 /d "NDEBUG"
|
||||||
|
RC_CMD_DBG = rc.exe /l 0x409 /d "_DEBUG"
|
||||||
|
|
||||||
|
LINK_CMD_LIB = link.exe /lib /nologo
|
||||||
|
LINK_CMD_DLL = link.exe /dll /nologo /incremental:no /fixed:no
|
||||||
|
LINK_CMD_EXE = link.exe /nologo /incremental:no /fixed:no /subsystem:console
|
||||||
|
|
||||||
|
LINK_CMD_EXE_REL = $(LINK_CMD_EXE) /release $(PDB_NONE)
|
||||||
|
LINK_CMD_EXE_DBG = $(LINK_CMD_EXE) /debug $(PDBTYPE_CONSOLIDATE)
|
||||||
|
|
||||||
|
# ---------------------------------
|
||||||
|
# Configuration dependent settings
|
||||||
|
# ---------------------------------
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "lib-release"
|
||||||
|
CARES_TARGET = $(STA_LIB_REL).lib
|
||||||
|
CARES_CFLAGS = /DCARES_BUILDING_LIBRARY /DCARES_STATICLIB
|
||||||
|
CARES_LFLAGS =
|
||||||
|
SPROG_CFLAGS = /DCARES_STATICLIB
|
||||||
|
SPROG_LFLAGS = /libpath:$(CARES_OUTDIR) $(EX_LIBS_REL) $(STA_LIB_REL).lib
|
||||||
|
CARES_LINK = $(LINK_CMD_LIB)
|
||||||
|
SPROG_LINK = $(LINK_CMD_EXE_REL)
|
||||||
|
CC_CMD = $(CC_CMD_REL)
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "lib-debug"
|
||||||
|
CARES_TARGET = $(STA_LIB_DBG).lib
|
||||||
|
CARES_CFLAGS = /DCARES_BUILDING_LIBRARY /DCARES_STATICLIB /DDEBUGBUILD
|
||||||
|
CARES_LFLAGS =
|
||||||
|
SPROG_CFLAGS = /DCARES_STATICLIB
|
||||||
|
SPROG_LFLAGS = /libpath:$(CARES_OUTDIR) $(EX_LIBS_DBG) $(STA_LIB_DBG).lib
|
||||||
|
CARES_LINK = $(LINK_CMD_LIB)
|
||||||
|
SPROG_LINK = $(LINK_CMD_EXE_DBG)
|
||||||
|
CC_CMD = $(CC_CMD_DBG)
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "dll-release"
|
||||||
|
CARES_TARGET = $(DYN_LIB_REL).dll
|
||||||
|
CARES_CFLAGS = /DCARES_BUILDING_LIBRARY
|
||||||
|
CARES_LFLAGS = /release $(EX_LIBS_REL) /implib:$(CARES_OUTDIR)\$(IMP_LIB_REL).lib $(PDB_NONE)
|
||||||
|
SPROG_CFLAGS =
|
||||||
|
SPROG_LFLAGS = /libpath:$(CARES_OUTDIR) $(EX_LIBS_REL) $(IMP_LIB_REL).lib
|
||||||
|
CARES_LINK = $(LINK_CMD_DLL)
|
||||||
|
SPROG_LINK = $(LINK_CMD_EXE_REL)
|
||||||
|
CC_CMD = $(CC_CMD_REL)
|
||||||
|
USE_RES_FILE = TRUE
|
||||||
|
RC_CMD = $(RC_CMD_REL)
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "dll-debug"
|
||||||
|
CARES_TARGET = $(DYN_LIB_DBG).dll
|
||||||
|
CARES_CFLAGS = /DCARES_BUILDING_LIBRARY /DDEBUGBUILD
|
||||||
|
CARES_LFLAGS = /debug $(EX_LIBS_DBG) /implib:$(CARES_OUTDIR)\$(IMP_LIB_DBG).lib /pdb:$(CARES_OUTDIR)\$(DYN_LIB_DBG).pdb $(PDBTYPE_CONSOLIDATE)
|
||||||
|
SPROG_CFLAGS =
|
||||||
|
SPROG_LFLAGS = /libpath:$(CARES_OUTDIR) $(EX_LIBS_DBG) $(IMP_LIB_DBG).lib
|
||||||
|
CARES_LINK = $(LINK_CMD_DLL)
|
||||||
|
SPROG_LINK = $(LINK_CMD_EXE_DBG)
|
||||||
|
CC_CMD = $(CC_CMD_DBG)
|
||||||
|
USE_RES_FILE = TRUE
|
||||||
|
RC_CMD = $(RC_CMD_DBG)
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# --------------------------------------------
|
||||||
|
# Makefile.inc provides lists of source files
|
||||||
|
# --------------------------------------------
|
||||||
|
|
||||||
|
!INCLUDE .\Makefile.inc
|
||||||
|
|
||||||
|
# ----------------------------
|
||||||
|
# Build lists of object files
|
||||||
|
# ----------------------------
|
||||||
|
|
||||||
|
!IF "$(VALID_CFGSET)" == "TRUE"
|
||||||
|
|
||||||
|
!IF [ECHO CARES_OBJS=^$(CARES_OBJDIR)\$(CSOURCES: = $(CARES_OBJDIR^)\) > .\cares_objs.inc] == 0
|
||||||
|
!INCLUDE .\cares_objs.inc
|
||||||
|
!IF [DEL .\cares_objs.inc]
|
||||||
|
!ENDIF
|
||||||
|
!ELSE
|
||||||
|
!ERROR Problem generating CARES_OBJS list.
|
||||||
|
!ENDIF
|
||||||
|
CARES_OBJS = $(CARES_OBJS:.c=.obj)
|
||||||
|
!IF "$(USE_RES_FILE)" == "TRUE"
|
||||||
|
CARES_OBJS = $(CARES_OBJS) $(CARES_OBJDIR)\cares.res
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
!IF [ECHO PROG1_OBJS=^$(PROG1_OBJDIR)\$(SAMPLESOURCES: = $(PROG1_OBJDIR^)\) > .\prog1_objs.inc] == 0
|
||||||
|
!INCLUDE .\prog1_objs.inc
|
||||||
|
!IF [DEL .\prog1_objs.inc]
|
||||||
|
!ENDIF
|
||||||
|
!ELSE
|
||||||
|
!ERROR Problem generating PROG1_OBJS list.
|
||||||
|
!ENDIF
|
||||||
|
PROG1_OBJS = $(PROG1_OBJS:.c=.obj)
|
||||||
|
PROG1_OBJS = $(PROG1_OBJS) $(PROG1_OBJDIR)\acountry.obj
|
||||||
|
|
||||||
|
!IF [ECHO PROG2_OBJS=^$(PROG2_OBJDIR)\$(SAMPLESOURCES: = $(PROG2_OBJDIR^)\) > .\prog2_objs.inc] == 0
|
||||||
|
!INCLUDE .\prog2_objs.inc
|
||||||
|
!IF [DEL .\prog2_objs.inc]
|
||||||
|
!ENDIF
|
||||||
|
!ELSE
|
||||||
|
!ERROR Problem generating PROG2_OBJS list.
|
||||||
|
!ENDIF
|
||||||
|
PROG2_OBJS = $(PROG2_OBJS:.c=.obj)
|
||||||
|
PROG2_OBJS = $(PROG2_OBJS) $(PROG2_OBJDIR)\adig.obj
|
||||||
|
|
||||||
|
!IF [ECHO PROG3_OBJS=^$(PROG3_OBJDIR)\$(SAMPLESOURCES: = $(PROG3_OBJDIR^)\) > .\prog3_objs.inc] == 0
|
||||||
|
!INCLUDE .\prog3_objs.inc
|
||||||
|
!IF [DEL .\prog3_objs.inc]
|
||||||
|
!ENDIF
|
||||||
|
!ELSE
|
||||||
|
!ERROR Problem generating PROG3_OBJS list.
|
||||||
|
!ENDIF
|
||||||
|
PROG3_OBJS = $(PROG3_OBJS:.c=.obj)
|
||||||
|
PROG3_OBJS = $(PROG3_OBJS) $(PROG3_OBJDIR)\ahost.obj
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# --------------------------------
|
||||||
|
# Only our custom inference rules
|
||||||
|
# --------------------------------
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
.SUFFIXES: .c .rc
|
||||||
|
|
||||||
|
{$(SRCDIR)}.rc{$(CARES_OBJDIR)}.res:
|
||||||
|
$(RC_CMD) /Fo $@ $<
|
||||||
|
|
||||||
|
{$(SRCDIR)}.c{$(CARES_OBJDIR)}.obj:
|
||||||
|
$(CC_CMD) $(CC_CFLAGS) $(CARES_CFLAGS) /Fo$@ /Fd$(@D)\ /c $<
|
||||||
|
|
||||||
|
{$(SRCDIR)}.c{$(PROG1_OBJDIR)}.obj:
|
||||||
|
$(CC_CMD) $(CC_CFLAGS) $(SPROG_CFLAGS) /Fo$@ /Fd$(@D)\ /c $<
|
||||||
|
|
||||||
|
{$(SRCDIR)}.c{$(PROG2_OBJDIR)}.obj:
|
||||||
|
$(CC_CMD) $(CC_CFLAGS) $(SPROG_CFLAGS) /Fo$@ /Fd$(@D)\ /c $<
|
||||||
|
|
||||||
|
{$(SRCDIR)}.c{$(PROG3_OBJDIR)}.obj:
|
||||||
|
$(CC_CMD) $(CC_CFLAGS) $(SPROG_CFLAGS) /Fo$@ /Fd$(@D)\ /c $<
|
||||||
|
|
||||||
|
# ------------------------------------------------------------- #
|
||||||
|
# ------------------------------------------------------------- #
|
||||||
|
# Default target when no CFG library type has been specified, #
|
||||||
|
# results in building target ALL for all c-ares library types. #
|
||||||
|
# ------------------------------------------------------------- #
|
||||||
|
# ------------------------------------------------------------- #
|
||||||
|
|
||||||
|
!IF "$(VALID_CFGSET)" == "FALSE"
|
||||||
|
|
||||||
|
ALL:
|
||||||
|
$(MAKE) /f .\Makefile.msvc CFG=lib-release ALL
|
||||||
|
$(MAKE) /f .\Makefile.msvc CFG=lib-debug ALL
|
||||||
|
$(MAKE) /f .\Makefile.msvc CFG=dll-release ALL
|
||||||
|
$(MAKE) /f .\Makefile.msvc CFG=dll-debug ALL
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@-RMDIR /S /Q $(BASE_DIR) >NUL 2>&1
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
# Targets only available when a proper CFG library type has been given
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
|
||||||
|
!IF "$(VALID_CFGSET)" == "TRUE"
|
||||||
|
|
||||||
|
ALL: c-ares acountry adig ahost
|
||||||
|
@
|
||||||
|
|
||||||
|
c-ares: $(HHEADERS) $(CSOURCES) $(CARES_OBJDIR) $(CARES_OBJS) $(CARES_OUTDIR)
|
||||||
|
$(CARES_LINK) $(CARES_LFLAGS) /out:$(CARES_OUTDIR)\$(CARES_TARGET) $(CARES_OBJS)
|
||||||
|
! IF "$(USE_RES_FILE)" == "TRUE"
|
||||||
|
@if exist $(CARES_OUTDIR)\$(CARES_TARGET).manifest mt -nologo -manifest $(CARES_OUTDIR)\$(CARES_TARGET).manifest -outputresource:$(CARES_OUTDIR)\$(CARES_TARGET);2
|
||||||
|
! ENDIF
|
||||||
|
|
||||||
|
acountry: c-ares acountry.c $(SAMPLESOURCES) $(SAMPLEHEADERS) $(PROG1_OBJDIR) $(PROG1_OBJS) $(PROG1_OUTDIR)
|
||||||
|
$(SPROG_LINK) $(SPROG_LFLAGS) /out:$(PROG1_OUTDIR)\acountry.exe $(PROG1_OBJS)
|
||||||
|
@if exist $(PROG1_OUTDIR)\acountry.exe.manifest mt -nologo -manifest $(PROG1_OUTDIR)\acountry.exe.manifest -outputresource:$(PROG1_OUTDIR)\acountry.exe;1
|
||||||
|
|
||||||
|
adig: c-ares adig.c $(SAMPLESOURCES) $(SAMPLEHEADERS) $(PROG2_OBJDIR) $(PROG2_OBJS) $(PROG2_OUTDIR)
|
||||||
|
$(SPROG_LINK) $(SPROG_LFLAGS) /out:$(PROG2_OUTDIR)\adig.exe $(PROG2_OBJS)
|
||||||
|
@if exist $(PROG2_OUTDIR)\adig.exe.manifest mt -nologo -manifest $(PROG2_OUTDIR)\adig.exe.manifest -outputresource:$(PROG2_OUTDIR)\adig.exe;1
|
||||||
|
|
||||||
|
ahost: c-ares ahost.c $(SAMPLESOURCES) $(SAMPLEHEADERS) $(PROG3_OBJDIR) $(PROG3_OBJS) $(PROG3_OUTDIR)
|
||||||
|
$(SPROG_LINK) $(SPROG_LFLAGS) /out:$(PROG3_OUTDIR)\ahost.exe $(PROG3_OBJS)
|
||||||
|
@if exist $(PROG3_OUTDIR)\ahost.exe.manifest mt -nologo -manifest $(PROG3_OUTDIR)\ahost.exe.manifest -outputresource:$(PROG3_OUTDIR)\ahost.exe;1
|
||||||
|
|
||||||
|
$(CARES_OUTDIR): $(CARES_DIR)
|
||||||
|
@if not exist $(CARES_OUTDIR) mkdir $(CARES_OUTDIR)
|
||||||
|
|
||||||
|
$(PROG1_OUTDIR): $(PROG1_DIR)
|
||||||
|
@if not exist $(PROG1_OUTDIR) mkdir $(PROG1_OUTDIR)
|
||||||
|
|
||||||
|
$(PROG2_OUTDIR): $(PROG2_DIR)
|
||||||
|
@if not exist $(PROG2_OUTDIR) mkdir $(PROG2_OUTDIR)
|
||||||
|
|
||||||
|
$(PROG3_OUTDIR): $(PROG3_DIR)
|
||||||
|
@if not exist $(PROG3_OUTDIR) mkdir $(PROG3_OUTDIR)
|
||||||
|
|
||||||
|
$(CARES_OBJDIR): $(CARES_OUTDIR)
|
||||||
|
@if not exist $(CARES_OBJDIR) mkdir $(CARES_OBJDIR)
|
||||||
|
|
||||||
|
$(PROG1_OBJDIR): $(PROG1_OUTDIR)
|
||||||
|
@if not exist $(PROG1_OBJDIR) mkdir $(PROG1_OBJDIR)
|
||||||
|
|
||||||
|
$(PROG2_OBJDIR): $(PROG2_OUTDIR)
|
||||||
|
@if not exist $(PROG2_OBJDIR) mkdir $(PROG2_OBJDIR)
|
||||||
|
|
||||||
|
$(PROG3_OBJDIR): $(PROG3_OUTDIR)
|
||||||
|
@if not exist $(PROG3_OBJDIR) mkdir $(PROG3_OBJDIR)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@-RMDIR /S /Q $(CARES_OUTDIR) >NUL 2>&1
|
||||||
|
@-RMDIR /S /Q $(PROG1_OUTDIR) >NUL 2>&1
|
||||||
|
@-RMDIR /S /Q $(PROG2_OUTDIR) >NUL 2>&1
|
||||||
|
@-RMDIR /S /Q $(PROG3_OUTDIR) >NUL 2>&1
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
$(BASE_DIR):
|
||||||
|
@if not exist $(BASE_DIR) mkdir $(BASE_DIR)
|
||||||
|
|
||||||
|
$(CARES_DIR): $(BASE_DIR)
|
||||||
|
@if not exist $(CARES_DIR) mkdir $(CARES_DIR)
|
||||||
|
|
||||||
|
$(PROG1_DIR): $(BASE_DIR)
|
||||||
|
@if not exist $(PROG1_DIR) mkdir $(PROG1_DIR)
|
||||||
|
|
||||||
|
$(PROG2_DIR): $(BASE_DIR)
|
||||||
|
@if not exist $(PROG2_DIR) mkdir $(PROG2_DIR)
|
||||||
|
|
||||||
|
$(PROG3_DIR): $(BASE_DIR)
|
||||||
|
@if not exist $(PROG3_DIR) mkdir $(PROG3_DIR)
|
||||||
|
|
||||||
|
# End of Makefile.msvc
|
||||||
429
ares/Makefile.netware
Normal file
429
ares/Makefile.netware
Normal file
@@ -0,0 +1,429 @@
|
|||||||
|
#################################################################
|
||||||
|
# $Id$
|
||||||
|
#
|
||||||
|
## Makefile for building libcares (NetWare version - gnu make)
|
||||||
|
## Use: make -f Makefile.netware
|
||||||
|
##
|
||||||
|
## Comments to: Guenter Knauf http://www.gknw.de/phpbb
|
||||||
|
#
|
||||||
|
#################################################################
|
||||||
|
|
||||||
|
# Edit the path below to point to the base of your Novell NDK.
|
||||||
|
ifndef NDKBASE
|
||||||
|
NDKBASE = c:/novell
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifndef INSTDIR
|
||||||
|
INSTDIR = ../ares-$(LIBCARES_VERSION_STR)-bin-nw
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Edit the vars below to change NLM target settings.
|
||||||
|
TARGETS = adig.nlm ahost.nlm acountry.nlm
|
||||||
|
LTARGET = libcares.$(LIBEXT)
|
||||||
|
VERSION = $(LIBCARES_VERSION)
|
||||||
|
COPYR = Copyright (C) 1996 - 2008, Daniel Stenberg, <daniel@haxx.se>
|
||||||
|
DESCR = cURL $(subst .def,,$(notdir $@)) $(LIBCARES_VERSION_STR) - http://curl.haxx.se
|
||||||
|
MTSAFE = YES
|
||||||
|
STACK = 64000
|
||||||
|
SCREEN = none
|
||||||
|
#EXPORTS =
|
||||||
|
# Comment the line below if you dont want to load protected automatically.
|
||||||
|
#LDRING = 3
|
||||||
|
|
||||||
|
# Edit the var below to point to your lib architecture.
|
||||||
|
ifndef LIBARCH
|
||||||
|
LIBARCH = LIBC
|
||||||
|
endif
|
||||||
|
|
||||||
|
# must be equal to NDEBUG or DEBUG, CURLDEBUG
|
||||||
|
ifndef DB
|
||||||
|
DB = NDEBUG
|
||||||
|
endif
|
||||||
|
# Optimization: -O<n> or debugging: -g
|
||||||
|
ifeq ($(DB),NDEBUG)
|
||||||
|
OPT = -O2
|
||||||
|
OBJDIR = release
|
||||||
|
else
|
||||||
|
OPT = -g
|
||||||
|
OBJDIR = debug
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Include the version info retrieved from curlver.h
|
||||||
|
-include $(OBJDIR)/version.inc
|
||||||
|
|
||||||
|
# The following lines defines your compiler.
|
||||||
|
ifdef CWFolder
|
||||||
|
METROWERKS = $(CWFolder)
|
||||||
|
endif
|
||||||
|
ifdef METROWERKS
|
||||||
|
# MWCW_PATH = $(subst \,/,$(METROWERKS))/Novell Support
|
||||||
|
MWCW_PATH = $(subst \,/,$(METROWERKS))/Novell Support/Metrowerks Support
|
||||||
|
CC = mwccnlm
|
||||||
|
else
|
||||||
|
CC = gcc
|
||||||
|
endif
|
||||||
|
# a native win32 awk can be downloaded from here:
|
||||||
|
# http://www.gknw.net/development/prgtools/awk-20070501.zip
|
||||||
|
AWK = awk
|
||||||
|
YACC = bison -y
|
||||||
|
CP = cp -afv
|
||||||
|
MKDIR = mkdir
|
||||||
|
# RM = rm -f
|
||||||
|
# if you want to mark the target as MTSAFE you will need a tool for
|
||||||
|
# generating the xdc data for the linker; here's a minimal tool:
|
||||||
|
# http://www.gknw.net/development/prgtools/mkxdc.zip
|
||||||
|
MPKXDC = mkxdc
|
||||||
|
|
||||||
|
# Global flags for all compilers
|
||||||
|
CFLAGS += $(OPT) -D$(DB) -DNETWARE -DHAVE_CONFIG_H -nostdinc
|
||||||
|
|
||||||
|
ifeq ($(CC),mwccnlm)
|
||||||
|
LD = mwldnlm
|
||||||
|
LDFLAGS = -nostdlib $(PRELUDE) $(OBJEXE) $(<:.def=.o) -o $@ -commandfile
|
||||||
|
AR = mwldnlm
|
||||||
|
ARFLAGS = -nostdlib -type library -o
|
||||||
|
LIBEXT = lib
|
||||||
|
#RANLIB =
|
||||||
|
CFLAGS += -msgstyle gcc -gccinc -inline off -opt nointrinsics -proc 586
|
||||||
|
CFLAGS += -relax_pointers
|
||||||
|
#CFLAGS += -w on
|
||||||
|
ifeq ($(LIBARCH),LIBC)
|
||||||
|
PRELUDE = $(SDK_LIBC)/imports/libcpre.o
|
||||||
|
CFLAGS += -align 4
|
||||||
|
else
|
||||||
|
# PRELUDE = $(SDK_CLIB)/imports/clibpre.o
|
||||||
|
# to avoid the __init_* / __deinit_* whoes dont use prelude from NDK
|
||||||
|
PRELUDE = "$(MWCW_PATH)/libraries/runtime/prelude.obj"
|
||||||
|
# CFLAGS += -include "$(MWCW_PATH)/headers/nlm_clib_prefix.h"
|
||||||
|
CFLAGS += -align 1
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
LD = nlmconv
|
||||||
|
LDFLAGS = -T
|
||||||
|
AR = ar
|
||||||
|
ARFLAGS = -cq
|
||||||
|
LIBEXT = a
|
||||||
|
RANLIB = ranlib
|
||||||
|
CFLAGS += -fno-builtin -fpcc-struct-return -fno-strict-aliasing
|
||||||
|
CFLAGS += -Wall -Wno-format -Wno-uninitialized # -pedantic
|
||||||
|
ifeq ($(LIBARCH),LIBC)
|
||||||
|
PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o
|
||||||
|
else
|
||||||
|
# PRELUDE = $(SDK_CLIB)/imports/clibpre.gcc.o
|
||||||
|
# to avoid the __init_* / __deinit_* whoes dont use prelude from NDK
|
||||||
|
# http://www.gknw.net/development/mk_nlm/gcc_pre.zip
|
||||||
|
PRELUDE = $(NDK_ROOT)/pre/prelude.o
|
||||||
|
CFLAGS += -include $(NDKBASE)/nlmconv/genlm.h
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
NDK_ROOT = $(NDKBASE)/ndk
|
||||||
|
SDK_CLIB = $(NDK_ROOT)/nwsdk
|
||||||
|
SDK_LIBC = $(NDK_ROOT)/libc
|
||||||
|
|
||||||
|
ifeq ($(LIBARCH),LIBC)
|
||||||
|
INCLUDES += -I$(SDK_LIBC)/include
|
||||||
|
# INCLUDES += -I$(SDK_LIBC)/include/nks
|
||||||
|
# INCLUDES += -I$(SDK_LIBC)/include/winsock
|
||||||
|
CFLAGS += -D_POSIX_SOURCE
|
||||||
|
else
|
||||||
|
INCLUDES += -I$(SDK_CLIB)/include/nlm
|
||||||
|
# INCLUDES += -I$(SDK_CLIB)/include/nlm/obsolete
|
||||||
|
# INCLUDES += -I$(SDK_CLIB)/include
|
||||||
|
endif
|
||||||
|
ifeq ($(DB),CURLDEBUG)
|
||||||
|
INCLUDES += -I../include
|
||||||
|
endif
|
||||||
|
CFLAGS += -I. $(INCLUDES)
|
||||||
|
|
||||||
|
ifeq ($(MTSAFE),YES)
|
||||||
|
XDCOPT = -n
|
||||||
|
endif
|
||||||
|
ifeq ($(MTSAFE),NO)
|
||||||
|
XDCOPT = -u
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(findstring linux,$(OSTYPE)),linux)
|
||||||
|
DL = '
|
||||||
|
#-include $(NDKBASE)/nlmconv/ncpfs.inc
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Makefile.inc provides the CSOURCES and HHEADERS defines
|
||||||
|
include Makefile.inc
|
||||||
|
|
||||||
|
OBJLIB := $(patsubst %.c,$(OBJDIR)/%.o,$(strip $(CSOURCES)))
|
||||||
|
OBJEXE = $(OBJLIB) $(OBJDIR)/ares_getopt.o
|
||||||
|
|
||||||
|
.PHONY: lib nlm prebuild dist install clean
|
||||||
|
|
||||||
|
lib: prebuild $(LTARGET)
|
||||||
|
|
||||||
|
nlm: prebuild $(TARGETS)
|
||||||
|
|
||||||
|
prebuild: $(OBJDIR) ares_build.h $(OBJDIR)/version.inc ares_config.h
|
||||||
|
|
||||||
|
install: $(INSTDIR) all
|
||||||
|
@$(CP) *.nlm $(INSTDIR)
|
||||||
|
@$(CP) ../CHANGES $(INSTDIR)
|
||||||
|
@$(CP) ../COPYING $(INSTDIR)
|
||||||
|
@$(CP) ../README $(INSTDIR)
|
||||||
|
@$(CP) ../RELEASE-NOTES $(INSTDIR)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-$(RM) $(LTARGET) $(TARGETS) ares_config.h
|
||||||
|
-$(RM) -r $(OBJDIR)
|
||||||
|
-$(RM) -r arpa
|
||||||
|
|
||||||
|
%.$(LIBEXT): $(OBJLIB)
|
||||||
|
@echo Creating $@
|
||||||
|
@-$(RM) $@
|
||||||
|
@$(AR) $(ARFLAGS) $@ $^
|
||||||
|
ifdef RANLIB
|
||||||
|
@$(RANLIB) $@
|
||||||
|
endif
|
||||||
|
|
||||||
|
%.nlm: $(OBJDIR)/%.def $(OBJDIR)/%.o $(OBJDIR)/%.xdc $(OBJEXE)
|
||||||
|
@echo Linking $@
|
||||||
|
@-$(RM) $@
|
||||||
|
@$(LD) $(LDFLAGS) $<
|
||||||
|
|
||||||
|
$(OBJDIR) $(INSTDIR):
|
||||||
|
@$(MKDIR) $@
|
||||||
|
|
||||||
|
$(OBJDIR)/%.o: %.c
|
||||||
|
# @echo Compiling $<
|
||||||
|
$(CC) $(CFLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
$(OBJDIR)/version.inc: ares_version.h $(OBJDIR)
|
||||||
|
@echo Creating $@
|
||||||
|
@$(AWK) -f get_ver.awk $< > $@
|
||||||
|
|
||||||
|
$(OBJDIR)/%.xdc: Makefile.netware
|
||||||
|
@echo Creating $@
|
||||||
|
@$(MPKXDC) $(XDCOPT) $@
|
||||||
|
|
||||||
|
$(OBJDIR)/%.def: Makefile.netware
|
||||||
|
@echo Creating $@
|
||||||
|
@echo $(DL)# DEF file for linking with $(LD)$(DL) > $@
|
||||||
|
@echo $(DL)# Do not edit this file - it is created by make!$(DL) >> $@
|
||||||
|
@echo $(DL)# All your changes will be lost!!$(DL) >> $@
|
||||||
|
@echo $(DL)#$(DL) >> $@
|
||||||
|
@echo $(DL)copyright "$(COPYR)"$(DL) >> $@
|
||||||
|
@echo $(DL)description "$(DESCR)"$(DL) >> $@
|
||||||
|
@echo $(DL)version $(VERSION)$(DL) >> $@
|
||||||
|
ifdef NLMTYPE
|
||||||
|
@echo $(DL)type $(NLMTYPE)$(DL) >> $@
|
||||||
|
endif
|
||||||
|
ifdef STACK
|
||||||
|
@echo $(DL)stack $(STACK)$(DL) >> $@
|
||||||
|
endif
|
||||||
|
ifdef SCREEN
|
||||||
|
@echo $(DL)screenname "$(SCREEN)"$(DL) >> $@
|
||||||
|
else
|
||||||
|
@echo $(DL)screenname "DEFAULT"$(DL) >> $@
|
||||||
|
endif
|
||||||
|
ifeq ($(DB),DEBUG)
|
||||||
|
@echo $(DL)debug$(DL) >> $@
|
||||||
|
endif
|
||||||
|
@echo $(DL)threadname "$^"$(DL) >> $@
|
||||||
|
ifdef XDCOPT
|
||||||
|
@echo $(DL)xdcdata $(@:.def=.xdc)$(DL) >> $@
|
||||||
|
endif
|
||||||
|
ifeq ($(LDRING),0)
|
||||||
|
@echo $(DL)flag_on 16$(DL) >> $@
|
||||||
|
endif
|
||||||
|
ifeq ($(LDRING),3)
|
||||||
|
@echo $(DL)flag_on 512$(DL) >> $@
|
||||||
|
endif
|
||||||
|
ifeq ($(LIBARCH),CLIB)
|
||||||
|
@echo $(DL)start _Prelude$(DL) >> $@
|
||||||
|
@echo $(DL)exit _Stop$(DL) >> $@
|
||||||
|
@echo $(DL)import @$(SDK_CLIB)/imports/clib.imp$(DL) >> $@
|
||||||
|
@echo $(DL)import @$(SDK_CLIB)/imports/threads.imp$(DL) >> $@
|
||||||
|
@echo $(DL)import @$(SDK_CLIB)/imports/nlmlib.imp$(DL) >> $@
|
||||||
|
@echo $(DL)import @$(SDK_CLIB)/imports/socklib.imp$(DL) >> $@
|
||||||
|
@echo $(DL)module clib$(DL) >> $@
|
||||||
|
else
|
||||||
|
@echo $(DL)flag_on 64$(DL) >> $@
|
||||||
|
@echo $(DL)pseudopreemption$(DL) >> $@
|
||||||
|
@echo $(DL)start _LibCPrelude$(DL) >> $@
|
||||||
|
@echo $(DL)exit _LibCPostlude$(DL) >> $@
|
||||||
|
@echo $(DL)check _LibCCheckUnload$(DL) >> $@
|
||||||
|
@echo $(DL)import @$(SDK_LIBC)/imports/libc.imp$(DL) >> $@
|
||||||
|
@echo $(DL)import @$(SDK_LIBC)/imports/netware.imp$(DL) >> $@
|
||||||
|
@echo $(DL)module libc$(DL) >> $@
|
||||||
|
endif
|
||||||
|
ifdef MODULES
|
||||||
|
@echo $(DL)module $(MODULES)$(DL) >> $@
|
||||||
|
endif
|
||||||
|
ifdef EXPORTS
|
||||||
|
@echo $(DL)export $(EXPORTS)$(DL) >> $@
|
||||||
|
endif
|
||||||
|
ifdef IMPORTS
|
||||||
|
@echo $(DL)import $(IMPORTS)$(DL) >> $@
|
||||||
|
endif
|
||||||
|
ifeq ($(LD),nlmconv)
|
||||||
|
@echo $(DL)input $(PRELUDE)$(DL) >> $@
|
||||||
|
@echo $(DL)input $(OBJEXE)$(DL) >> $@
|
||||||
|
@echo $(DL)input $(@:.def=.o)$(DL) >> $@
|
||||||
|
@echo $(DL)output $(notdir $(@:.def=.nlm))$(DL) >> $@
|
||||||
|
endif
|
||||||
|
|
||||||
|
ares_config.h: Makefile.netware
|
||||||
|
@echo Creating $@
|
||||||
|
@echo $(DL)/* $@ for NetWare target.$(DL) > $@
|
||||||
|
@echo $(DL)** Do not edit this file - it is created by make!$(DL) >> $@
|
||||||
|
@echo $(DL)** All your changes will be lost!!$(DL) >> $@
|
||||||
|
@echo $(DL)*/$(DL) >> $@
|
||||||
|
@echo $(DL)#ifndef NETWARE$(DL) >> $@
|
||||||
|
@echo $(DL)#error This $(notdir $@) is created for NetWare platform!$(DL) >> $@
|
||||||
|
@echo $(DL)#endif$(DL) >> $@
|
||||||
|
@echo $(DL)#define VERSION "$(LIBCARES_VERSION_STR)"$(DL) >> $@
|
||||||
|
@echo $(DL)#define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/"$(DL) >> $@
|
||||||
|
ifeq ($(LIBARCH),CLIB)
|
||||||
|
@echo $(DL)#define OS "i586-pc-clib-NetWare"$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRICMP 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRNICMP 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define NETDB_USE_INTERNET 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECV_TYPE_ARG1 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECV_TYPE_ARG2 char *$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECV_TYPE_ARG3 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECV_TYPE_ARG4 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECV_TYPE_RETV int$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_ARG1 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_ARG2 char$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_ARG3 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_ARG4 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_ARG5 struct sockaddr$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_ARG6 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_RETV int$(DL) >> $@
|
||||||
|
@echo $(DL)#define SEND_QUAL_ARG2$(DL) >> $@
|
||||||
|
@echo $(DL)#define SEND_TYPE_ARG1 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define SEND_TYPE_ARG2 char *$(DL) >> $@
|
||||||
|
@echo $(DL)#define SEND_TYPE_ARG3 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define SEND_TYPE_ARG4 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define SEND_TYPE_RETV int$(DL) >> $@
|
||||||
|
else
|
||||||
|
@echo $(DL)#define OS "i586-pc-libc-NetWare"$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_DLFCN_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_DLOPEN 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_FTRUNCATE 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_GETTIMEOFDAY 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_INTTYPES_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_LONGLONG 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STDINT_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRCASECMP 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRLCAT 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRLCPY 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRTOLL 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SYS_PARAM_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SYS_SELECT_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_TERMIOS_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_AF_INET6 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_PF_INET6 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_FREEADDRINFO 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_GETADDRINFO 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRUCT_IN6_ADDR 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRUCT_SOCKADDR_IN6 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECV_TYPE_ARG1 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECV_TYPE_ARG2 void *$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECV_TYPE_ARG3 size_t$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECV_TYPE_ARG4 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECV_TYPE_RETV ssize_t$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_ARG1 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_ARG2 void$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_ARG3 size_t$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_ARG4 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_ARG5 struct sockaddr$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_ARG6 size_t$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_RETV ssize_t$(DL) >> $@
|
||||||
|
@echo $(DL)#define RECVFROM_TYPE_ARG2_IS_VOID 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define SEND_QUAL_ARG2$(DL) >> $@
|
||||||
|
@echo $(DL)#define SEND_TYPE_ARG1 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define SEND_TYPE_ARG2 void *$(DL) >> $@
|
||||||
|
@echo $(DL)#define SEND_TYPE_ARG3 size_t$(DL) >> $@
|
||||||
|
@echo $(DL)#define SEND_TYPE_ARG4 int$(DL) >> $@
|
||||||
|
@echo $(DL)#define SEND_TYPE_RETV ssize_t$(DL) >> $@
|
||||||
|
@echo $(DL)#define SIZEOF_STRUCT_IN6_ADDR 16$(DL) >> $@
|
||||||
|
endif
|
||||||
|
@echo $(DL)#define HAVE_ARPA_INET_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_ASSERT_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_ERR_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_FCNTL_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_GETHOSTBYADDR 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_GETHOSTBYNAME 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_GETHOSTNAME 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_GETPROTOBYNAME 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_GMTIME_R 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_INET_ADDR 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_IOCTL 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_IOCTL_FIONBIO 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_LIMITS_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_LL 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_LOCALTIME_R 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_MALLOC_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_NETINET_IN_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_RECV 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_RECVFROM 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SELECT 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SEND 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SETJMP_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SIGNAL 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SIGNAL_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SIG_ATOMIC_T 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SOCKET 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STDLIB_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRDUP 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRFTIME 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRING_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRSTR 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRUCT_ADDRINFO 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_STRUCT_TIMEVAL 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SYS_IOCTL_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SYS_STAT_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SYS_TIME_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_TIME_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_UNAME 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_UNISTD_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_UTIME 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_UTIME_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_WRITEV 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define RETSIGTYPE void$(DL) >> $@
|
||||||
|
@echo $(DL)#define SIZEOF_STRUCT_IN_ADDR 4$(DL) >> $@
|
||||||
|
@echo $(DL)#define STDC_HEADERS 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define TIME_WITH_SYS_TIME 1$(DL) >> $@
|
||||||
|
ifdef NW_WINSOCK
|
||||||
|
@echo $(DL)#define HAVE_CLOSESOCKET 1$(DL) >> $@
|
||||||
|
else
|
||||||
|
@echo $(DL)#define HAVE_SYS_TYPES_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SYS_SOCKET_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_SYS_SOCKIO_H 1$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_NETDB_H 1$(DL) >> $@
|
||||||
|
endif
|
||||||
|
@echo $(DL)#ifdef __GNUC__$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_VARIADIC_MACROS_GCC 1$(DL) >> $@
|
||||||
|
@echo $(DL)#else$(DL) >> $@
|
||||||
|
@echo $(DL)#define HAVE_VARIADIC_MACROS_C99 1$(DL) >> $@
|
||||||
|
@echo $(DL)#endif$(DL) >> $@
|
||||||
|
|
||||||
|
FORCE: ;
|
||||||
|
|
||||||
|
ares_build.h: Makefile.netware FORCE
|
||||||
|
@echo Creating $@
|
||||||
|
@echo $(DL)/* $@ intended for NetWare target.$(DL) > $@
|
||||||
|
@echo $(DL)** Do not edit this file - it is created by make!$(DL) >> $@
|
||||||
|
@echo $(DL)** All your changes will be lost!!$(DL) >> $@
|
||||||
|
@echo $(DL)*/$(DL) >> $@
|
||||||
|
@echo $(DL)#ifndef __CARES_BUILD_H$(DL) >> $@
|
||||||
|
@echo $(DL)#define __CARES_BUILD_H$(DL) >> $@
|
||||||
|
ifeq ($(LIBARCH),CLIB)
|
||||||
|
@echo $(DL)#define CARES_TYPEOF_ARES_SOCKLEN_T int$(DL) >> $@
|
||||||
|
@echo $(DL)#define CARES_SIZEOF_ARES_SOCKLEN_T 4$(DL) >> $@
|
||||||
|
else
|
||||||
|
@echo $(DL)#define CARES_TYPEOF_ARES_SOCKLEN_T unsigned int$(DL) >> $@
|
||||||
|
@echo $(DL)#define CARES_SIZEOF_ARES_SOCKLEN_T 4$(DL) >> $@
|
||||||
|
endif
|
||||||
|
@echo $(DL)#define CARES_SIZEOF_LONG 4$(DL) >> $@
|
||||||
|
@echo $(DL)typedef CARES_TYPEOF_ARES_SOCKLEN_T ares_socklen_t;$(DL) >> $@
|
||||||
|
@echo $(DL)#endif /* __CARES_BUILD_H */$(DL) >> $@
|
||||||
21
ares/NEWS
Normal file
21
ares/NEWS
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
Major changes since:
|
||||||
|
* see the CHANGES file
|
||||||
|
|
||||||
|
Major changes in release 1.1.1:
|
||||||
|
* ares should now compile as C++ code (no longer uses reserved word
|
||||||
|
"class").
|
||||||
|
* Added SRV support to adig test program.
|
||||||
|
* Fixed a few error handling bugs in query processing.
|
||||||
|
|
||||||
|
Major changes in release 1.1.0:
|
||||||
|
* Added ares_free_string() function so that memory can be freed in the
|
||||||
|
same layer as it is allocated, a desirable feature in some
|
||||||
|
environments.
|
||||||
|
* A few of the ares_dns.h macros are fixed to use the proper bitwise
|
||||||
|
operator.
|
||||||
|
* Fixed a couple of fenceposts fixed in ares_expand_name()'s
|
||||||
|
bounds-checking.
|
||||||
|
* In process_timeouts(), extract query->next before calling
|
||||||
|
next_server() and possibly freeing the query structure.
|
||||||
|
* Casted arguments to ctype macros casted to unsigned char, since not
|
||||||
|
all char values are valid inputs to those macros according to ANSI.
|
||||||
46
ares/README
Normal file
46
ares/README
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
This is c-ares, a forked version of the original ares. The original ares
|
||||||
|
README follows below, the c-ares specific details are in README.cares
|
||||||
|
|
||||||
|
====================================================================
|
||||||
|
|
||||||
|
This is ares, an asynchronous resolver library. It is intended for
|
||||||
|
applications which need to perform DNS queries without blocking, or
|
||||||
|
need to perform multiple DNS queries in parallel. The primary
|
||||||
|
examples of such applications are servers which communicate with
|
||||||
|
multiple clients and programs with graphical user interfaces.
|
||||||
|
|
||||||
|
This library implementation is not especially portable to crufty old
|
||||||
|
systems like SunOS 4. It assumes a compiler which can handle ANSI C
|
||||||
|
syntax, a system malloc which properly handles realloc(NULL, foo) and
|
||||||
|
free(NULL), and a reasonably up-to-date <arpa/nameser.h>.
|
||||||
|
|
||||||
|
I have attempted to preserve the externally visible behavior of the
|
||||||
|
BIND resolver in nearly all respects. The API of the library is, of
|
||||||
|
course, very different from the synchronous BIND API; instead of
|
||||||
|
invoking a function like res_send() and getting a return value back
|
||||||
|
indicating the number of bytes in the response, you invoke a function
|
||||||
|
like ares_send() and give it a callback function to invoke when the
|
||||||
|
response arrives. You then have to select() on the file descriptors
|
||||||
|
indicated by ares_fds(), with a timeout given by ares_timeout(). You
|
||||||
|
call ares_process() when select() returns.
|
||||||
|
|
||||||
|
Some features are missing from the current version of ares, relative
|
||||||
|
to the BIND resolver:
|
||||||
|
|
||||||
|
* There is no IPV6 support. [not true for c-ares]
|
||||||
|
* There is no hostname verification.
|
||||||
|
* There is no logging of unexpected events.
|
||||||
|
* There is no debugging-oriented logging.
|
||||||
|
* There is no YP support.
|
||||||
|
|
||||||
|
libares requires an ANSI compiler to compile and use. To build the
|
||||||
|
library, just run "./configure" and "make". To install it, run "make
|
||||||
|
install". Run "./configure --help" to see a list of options you can
|
||||||
|
provide to configure to change how the library builds. libares has no
|
||||||
|
data files, so you can move the include file and library around freely
|
||||||
|
without leaving behind any dependencies on old paths. Building the
|
||||||
|
library will also build the "adig" program, a little toy for trying
|
||||||
|
out the library. It doesn't get installed.
|
||||||
|
|
||||||
|
libares is distributed at athena-dist.mit.edu:pub/ATHENA/ares. Please
|
||||||
|
send bug reports and comments to ghudson@mit.edu.
|
||||||
63
ares/README.cares
Normal file
63
ares/README.cares
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
c-ares
|
||||||
|
======
|
||||||
|
|
||||||
|
This package is based on ares 1.1.1 (written by Greg Hudson). I decided to
|
||||||
|
fork and release a separate project since the ares author didn't want the
|
||||||
|
improvements that were vital for our use of it.
|
||||||
|
|
||||||
|
This package is dubbed 'c-ares' since I (Daniel Stenberg) wanted this for use
|
||||||
|
within the curl project (hence the letter C) and it makes a nice pun. Also,
|
||||||
|
c-ares is not API compatible with ares: a new name makes that more obvious to
|
||||||
|
the public.
|
||||||
|
|
||||||
|
The full source code is available in the 'c-ares' release archives, and in the
|
||||||
|
'ares' subdir of the curl CVS source repository.
|
||||||
|
|
||||||
|
If you find bugs, correct flaws, have questions or have comments in general in
|
||||||
|
regard to c-ares (or by all means the original ares too), get in touch with us
|
||||||
|
on the c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares
|
||||||
|
|
||||||
|
c-ares is of course distributed under the same MIT-style license as the
|
||||||
|
original ares.
|
||||||
|
|
||||||
|
You'll find all c-ares details and news here:
|
||||||
|
|
||||||
|
http://c-ares.haxx.se/
|
||||||
|
|
||||||
|
|
||||||
|
NOTES FOR C-ARES HACKERS
|
||||||
|
|
||||||
|
The following notes apply to c-ares version 1.7.0 and later.
|
||||||
|
|
||||||
|
* The distributed ares_build.h file is only intended to be used on systems
|
||||||
|
which can not run the also distributed configure script.
|
||||||
|
|
||||||
|
* The distributed ares_build.h file is generated as a copy of ares_build.h.dist
|
||||||
|
when the c-ares source code distribution archive file is originally created.
|
||||||
|
|
||||||
|
* If you check out from CVS on a non-configure platform, you must run the
|
||||||
|
appropriate buildconf* script to set up ares_build.h and other local files
|
||||||
|
before being able of compiling the library.
|
||||||
|
|
||||||
|
* On systems capable of running the configure script, the configure process
|
||||||
|
will overwrite the distributed ares_build.h file with one that is suitable
|
||||||
|
and specific to the library being configured and built, this new file is
|
||||||
|
generated from the ares_build.h.in template file.
|
||||||
|
|
||||||
|
* If you intend to distribute an already compiled c-ares library you _MUST_
|
||||||
|
also distribute along with it the generated ares_build.h which has been
|
||||||
|
used to compile it. Otherwise the library will be of no use for the users of
|
||||||
|
the library that you have built. It is _your_ responsability to provide this
|
||||||
|
file. No one at the c-ares project can know how you have built the library.
|
||||||
|
|
||||||
|
* File ares_build.h includes platform and configuration dependent info,
|
||||||
|
and must not be modified by anyone. Configure script generates it for you.
|
||||||
|
|
||||||
|
* We cannot assume anything else but very basic compiler features being
|
||||||
|
present. While c-ares requires an ANSI C compiler to build, some of the
|
||||||
|
earlier ANSI compilers clearly can't deal with some preprocessor operators.
|
||||||
|
|
||||||
|
* Newlines must remain unix-style for older compilers' sake.
|
||||||
|
|
||||||
|
* Comments must be written in the old-style /* unnested C-fashion */
|
||||||
|
|
||||||
119
ares/README.msvc
Normal file
119
ares/README.msvc
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
$Id$
|
||||||
|
|
||||||
|
|
||||||
|
___ __ _ _ __ ___ ___
|
||||||
|
/ __| ___ / _` | '__/ _ \/ __|
|
||||||
|
| (_ |___| (_| | | | __/\__ \
|
||||||
|
\___| \__,_|_| \___||___/
|
||||||
|
|
||||||
|
|
||||||
|
How to build c-ares using MSVC or Visual Studio
|
||||||
|
=================================================
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
How to build using MSVC from the command line
|
||||||
|
---------------------------------------------
|
||||||
|
|
||||||
|
Open a command prompt window and ensure that the environment is properly
|
||||||
|
set up in order to use MSVC or Visual Studio compiler tools.
|
||||||
|
|
||||||
|
Change to c-ares source folder where Makefile.msvc file is located and run:
|
||||||
|
|
||||||
|
> nmake -f Makefile.msvc
|
||||||
|
|
||||||
|
This will build all c-ares libraries as well as three sample programs.
|
||||||
|
|
||||||
|
Once the above command has finished a new folder named MSVCXX will exist
|
||||||
|
below the folder where makefile.msvc is found. The name of the folder
|
||||||
|
depends on the MSVC compiler version being used to build c-ares.
|
||||||
|
|
||||||
|
Below the MSVCXX folder there will exist four folders named 'cares',
|
||||||
|
'ahost', 'acountry', and 'adig'. The 'cares' folder is the one that
|
||||||
|
holds the c-ares libraries you have just generated, the other three
|
||||||
|
hold sample programs that use the libraries.
|
||||||
|
|
||||||
|
The above command builds four versions of the c-ares library, dynamic
|
||||||
|
and static versions and each one in release and debug flavours. Each
|
||||||
|
of these is found in folders named dll-release, dll-debug, lib-release,
|
||||||
|
and lib-debug, which hang from the 'cares' folder mentioned above. Each
|
||||||
|
sample program also has folders with the same names to reflect which
|
||||||
|
library version it is using.
|
||||||
|
|
||||||
|
|
||||||
|
How to build using Visual Studio 6 IDE
|
||||||
|
--------------------------------------
|
||||||
|
|
||||||
|
A VC++ 6.0 reference workspace (vc6aws.dsw) is available within the 'vc'
|
||||||
|
folder to allow proper building of the library and sample programs.
|
||||||
|
|
||||||
|
1) Open the vc6aws.dsw workspace with MSVC6's IDE.
|
||||||
|
2) Select 'Build' from top menu.
|
||||||
|
3) Select 'Batch Build' from dropdown menu.
|
||||||
|
4) Make sure that the sixteen project configurations are 'checked'.
|
||||||
|
5) Click on the 'Build' button.
|
||||||
|
6) Once the sixteen project configurations are built you are done.
|
||||||
|
|
||||||
|
Dynamic and static c-ares libraries are built in debug and release flavours,
|
||||||
|
and can be located each one in its own subdirectory, dll-debug, dll-release,
|
||||||
|
lib-debug and lib-release, all of them below the 'vc\cares' subdirectory.
|
||||||
|
|
||||||
|
In the same way four executable versions of each sample program are built,
|
||||||
|
each using its respective library. The resulting sample executables are
|
||||||
|
located in its own subdirectory, dll-debug, dll-release, lib-debug and
|
||||||
|
lib-release, below the 'vc\acountry', 'vc\adig' and 'vc\ahost'folders.
|
||||||
|
|
||||||
|
These reference VC++ 6.0 configurations are generated using the dynamic CRT.
|
||||||
|
|
||||||
|
|
||||||
|
How to build using Visual Studio 2003 or newer IDE
|
||||||
|
--------------------------------------------------
|
||||||
|
|
||||||
|
First you have to convert the VC++ 6.0 reference workspace and project files
|
||||||
|
to the Visual Studio IDE version you are using, following next steps:
|
||||||
|
|
||||||
|
1) Open vc\vc6aws.dsw with VS20XX.
|
||||||
|
2) Allow VS20XX to update all projects and workspaces.
|
||||||
|
3) Save ALL and close VS20XX.
|
||||||
|
4) Open vc\vc6aws.sln with VS20XX.
|
||||||
|
5) Select batch build, check 'all' projects and click 'build' button.
|
||||||
|
|
||||||
|
Same comments relative to generated files and folders as done above for
|
||||||
|
Visual Studio 6 IDE apply here.
|
||||||
|
|
||||||
|
|
||||||
|
Relationship between c-ares library file names and versions
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
c-ares static release library version files:
|
||||||
|
|
||||||
|
libcares.lib -> static release library
|
||||||
|
|
||||||
|
c-ares static debug library version files:
|
||||||
|
|
||||||
|
libcaresd.lib -> static debug library
|
||||||
|
|
||||||
|
c-ares dynamic release library version files:
|
||||||
|
|
||||||
|
cares.dll -> dynamic release library
|
||||||
|
cares.lib -> import library for the dynamic release library
|
||||||
|
cares.exp -> export file for the dynamic release library
|
||||||
|
|
||||||
|
c-ares dynamic debug library version files:
|
||||||
|
|
||||||
|
caresd.dll -> dynamic debug library
|
||||||
|
caresd.lib -> import library for the dynamic debug library
|
||||||
|
caresd.exp -> export file for the dynamic debug library
|
||||||
|
caresd.pdb -> debug symbol file for the dynamic debug library
|
||||||
|
|
||||||
|
|
||||||
|
How to use c-ares static libraries
|
||||||
|
----------------------------------
|
||||||
|
|
||||||
|
When using the c-ares static library in your program, you will have to
|
||||||
|
define preprocessor symbol CARES_STATICLIB while building your program,
|
||||||
|
otherwise you will get errors at linkage stage.
|
||||||
|
|
||||||
|
|
||||||
|
Have Fun!
|
||||||
|
|
||||||
36
ares/RELEASE-NOTES
Normal file
36
ares/RELEASE-NOTES
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
This is what's new and changed in the c-ares 1.7.0 release:
|
||||||
|
|
||||||
|
Changed:
|
||||||
|
|
||||||
|
o in6_addr is not used in ares.h anymore, but a private ares_in6_addr is
|
||||||
|
instead declared and used
|
||||||
|
o ares_gethostbyname() now supports 'AF_UNSPEC' as a family for resolving
|
||||||
|
either AF_INET6 or AF_INET
|
||||||
|
o a build-time configured ares_socklen_t is now used instead of socklen_t
|
||||||
|
o new ares_library_init() and ares_library_cleanup() functions
|
||||||
|
o new --enable-curldebug configure option
|
||||||
|
o ARES_ECANCELLED is now sent as reason for ares_cancel()
|
||||||
|
o added ares_parse_srv_reply()
|
||||||
|
o added ares_parse_txt_reply()
|
||||||
|
o added ares_free_data()
|
||||||
|
o new --enable-symbol-hiding configure option
|
||||||
|
o new Makefile.msvc for any MSVC compiler or MS Visual Studio version
|
||||||
|
o addrttl and addr6ttl structs renamed to ares_addrttl and ares_addr6ttl
|
||||||
|
o naming convention for libraries built with MSVC, see README.msvc
|
||||||
|
|
||||||
|
Fixed:
|
||||||
|
|
||||||
|
o ares_parse_*_reply() functions now return ARES_EBADRESP instead of
|
||||||
|
ARES_EBADNAME if the name in the response failed to decode
|
||||||
|
o only expose/export symbols starting with 'ares_'
|
||||||
|
o fix \Device\TCP handle leaks triggered by buggy iphlpapi.dll
|
||||||
|
o init without internet gone no longer fails
|
||||||
|
o out of bounds memory overwrite triggered with malformed /etc/hosts file
|
||||||
|
o function prototypes in man pages out of sync with ares.h
|
||||||
|
|
||||||
|
Thanks go to these friendly people for their efforts and contributions:
|
||||||
|
|
||||||
|
Phil Blundell, Japheth Cleaver, Yang Tse, Gregor Jasny, Joshua Kwan,
|
||||||
|
Timo Teras, Jakub Hrozek, John Engelhart, Larry Lansing
|
||||||
|
|
||||||
|
Have fun!
|
||||||
18
ares/TODO
Normal file
18
ares/TODO
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
TODO
|
||||||
|
====
|
||||||
|
|
||||||
|
ares_gethostbyname
|
||||||
|
|
||||||
|
- When built to support IPv6, it needs to also support PF_UNSPEC or similar,
|
||||||
|
so that an application can ask for any protocol and then c-ares would return
|
||||||
|
all known resolves and not just explicitly IPv4 _or_ IPv6 resolves.
|
||||||
|
|
||||||
|
ares_process
|
||||||
|
|
||||||
|
- Upon next ABI breakage ares_process() should be changed to return 'int'
|
||||||
|
and return ARES_ENOTINITIALIZED if ares_library_init() has not been called.
|
||||||
|
|
||||||
|
ares_process_fd
|
||||||
|
|
||||||
|
- Upon next ABI breakage ares_process_fd() should be changed to return
|
||||||
|
'int' and return ARES_ENOTINITIALIZED if library has not been initialized.
|
||||||
1925
ares/acinclude.m4
Normal file
1925
ares/acinclude.m4
Normal file
File diff suppressed because it is too large
Load Diff
628
ares/acountry.c
Normal file
628
ares/acountry.c
Normal file
@@ -0,0 +1,628 @@
|
|||||||
|
/*
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* IP-address/hostname to country converter.
|
||||||
|
*
|
||||||
|
* Problem; you want to know where IP a.b.c.d is located.
|
||||||
|
*
|
||||||
|
* Use ares_gethostbyname ("d.c.b.a.zz.countries.nerd.dk")
|
||||||
|
* and get the CNAME (host->h_name). Result will be:
|
||||||
|
* CNAME = zz<CC>.countries.nerd.dk with address 127.0.x.y (ver 1) or
|
||||||
|
* CNAME = <a.b.c.d>.zz.countries.nerd.dk with address 127.0.x.y (ver 2)
|
||||||
|
*
|
||||||
|
* The 2 letter country code is in <CC> and the ISO-3166 country
|
||||||
|
* number is in x.y (number = x*256 + y). Version 2 of the protocol is missing
|
||||||
|
* the <CC> number.
|
||||||
|
*
|
||||||
|
* Ref: http://countries.nerd.dk/more.html
|
||||||
|
*
|
||||||
|
* Written by G. Vanem <gvanem@broadpark.no> 2006, 2007
|
||||||
|
*
|
||||||
|
* NB! This program may not be big-endian aware.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_STRINGS_H
|
||||||
|
#include <strings.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(WIN32) && !defined(WATT32)
|
||||||
|
#include <winsock.h>
|
||||||
|
#else
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_getopt.h"
|
||||||
|
#include "inet_net_pton.h"
|
||||||
|
#include "inet_ntop.h"
|
||||||
|
|
||||||
|
#ifndef HAVE_STRDUP
|
||||||
|
# include "ares_strdup.h"
|
||||||
|
# define strdup(ptr) ares_strdup(ptr)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRCASECMP
|
||||||
|
# include "ares_strcasecmp.h"
|
||||||
|
# define strcasecmp(p1,p2) ares_strcasecmp(p1,p2)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRNCASECMP
|
||||||
|
# include "ares_strcasecmp.h"
|
||||||
|
# define strncasecmp(p1,p2,n) ares_strncasecmp(p1,p2,n)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef INADDR_NONE
|
||||||
|
#define INADDR_NONE 0xffffffff
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static const char *usage = "acountry [-vh?] {host|addr} ...\n";
|
||||||
|
static const char nerd_fmt[] = "%u.%u.%u.%u.zz.countries.nerd.dk";
|
||||||
|
static const char *nerd_ver1 = nerd_fmt + 14;
|
||||||
|
static const char *nerd_ver2 = nerd_fmt + 11;
|
||||||
|
static int verbose = 0;
|
||||||
|
|
||||||
|
#define TRACE(fmt) do { \
|
||||||
|
if (verbose > 0) \
|
||||||
|
printf fmt ; \
|
||||||
|
} while (0)
|
||||||
|
|
||||||
|
static void wait_ares(ares_channel channel);
|
||||||
|
static void callback(void *arg, int status, int timeouts, struct hostent *host);
|
||||||
|
static void callback2(void *arg, int status, int timeouts, struct hostent *host);
|
||||||
|
static void find_country_from_cname(const char *cname, struct in_addr addr);
|
||||||
|
|
||||||
|
static void Abort(const char *fmt, ...)
|
||||||
|
{
|
||||||
|
va_list args;
|
||||||
|
va_start(args, fmt);
|
||||||
|
vfprintf(stderr, fmt, args);
|
||||||
|
va_end(args);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
ares_channel channel;
|
||||||
|
int ch, status;
|
||||||
|
|
||||||
|
#if defined(WIN32) && !defined(WATT32)
|
||||||
|
WORD wVersionRequested = MAKEWORD(USE_WINSOCK,USE_WINSOCK);
|
||||||
|
WSADATA wsaData;
|
||||||
|
WSAStartup(wVersionRequested, &wsaData);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
status = ares_library_init(ARES_LIB_INIT_ALL);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "ares_library_init: %s\n", ares_strerror(status));
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
while ((ch = ares_getopt(argc, argv, "dvh?")) != -1)
|
||||||
|
switch (ch)
|
||||||
|
{
|
||||||
|
case 'd':
|
||||||
|
#ifdef WATT32
|
||||||
|
dbug_init();
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
case 'v':
|
||||||
|
verbose++;
|
||||||
|
break;
|
||||||
|
case 'h':
|
||||||
|
case '?':
|
||||||
|
default:
|
||||||
|
Abort(usage);
|
||||||
|
}
|
||||||
|
|
||||||
|
argc -= optind;
|
||||||
|
argv += optind;
|
||||||
|
if (argc < 1)
|
||||||
|
Abort(usage);
|
||||||
|
|
||||||
|
status = ares_init(&channel);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "ares_init: %s\n", ares_strerror(status));
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Initiate the queries, one per command-line argument. */
|
||||||
|
for ( ; *argv; argv++)
|
||||||
|
{
|
||||||
|
struct in_addr addr;
|
||||||
|
char buf[100];
|
||||||
|
|
||||||
|
/* If this fails, assume '*argv' is a host-name that
|
||||||
|
* must be resolved first
|
||||||
|
*/
|
||||||
|
if (ares_inet_pton(AF_INET, *argv, &addr) != 1)
|
||||||
|
{
|
||||||
|
ares_gethostbyname(channel, *argv, AF_INET, callback2, &addr);
|
||||||
|
wait_ares(channel);
|
||||||
|
if (addr.s_addr == INADDR_NONE)
|
||||||
|
{
|
||||||
|
printf("Failed to lookup %s\n", *argv);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
sprintf(buf, nerd_fmt,
|
||||||
|
(unsigned int)(addr.s_addr >> 24),
|
||||||
|
(unsigned int)((addr.s_addr >> 16) & 255),
|
||||||
|
(unsigned int)((addr.s_addr >> 8) & 255),
|
||||||
|
(unsigned int)(addr.s_addr & 255));
|
||||||
|
TRACE(("Looking up %s...", buf));
|
||||||
|
fflush(stdout);
|
||||||
|
ares_gethostbyname(channel, buf, AF_INET, callback, buf);
|
||||||
|
}
|
||||||
|
|
||||||
|
wait_ares(channel);
|
||||||
|
ares_destroy(channel);
|
||||||
|
|
||||||
|
ares_library_cleanup();
|
||||||
|
|
||||||
|
#if defined(WIN32) && !defined(WATT32)
|
||||||
|
WSACleanup();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Wait for the queries to complete.
|
||||||
|
*/
|
||||||
|
static void wait_ares(ares_channel channel)
|
||||||
|
{
|
||||||
|
for (;;)
|
||||||
|
{
|
||||||
|
struct timeval *tvp, tv;
|
||||||
|
fd_set read_fds, write_fds;
|
||||||
|
int nfds;
|
||||||
|
|
||||||
|
FD_ZERO(&read_fds);
|
||||||
|
FD_ZERO(&write_fds);
|
||||||
|
nfds = ares_fds(channel, &read_fds, &write_fds);
|
||||||
|
if (nfds == 0)
|
||||||
|
break;
|
||||||
|
tvp = ares_timeout(channel, NULL, &tv);
|
||||||
|
select(nfds, &read_fds, &write_fds, NULL, tvp);
|
||||||
|
ares_process(channel, &read_fds, &write_fds);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This is the callback used when we have the IP-address of interest.
|
||||||
|
* Extract the CNAME and figure out the country-code from it.
|
||||||
|
*/
|
||||||
|
static void callback(void *arg, int status, int timeouts, struct hostent *host)
|
||||||
|
{
|
||||||
|
const char *name = (const char*)arg;
|
||||||
|
const char *cname;
|
||||||
|
char buf[20];
|
||||||
|
|
||||||
|
(void)timeouts;
|
||||||
|
|
||||||
|
if (!host || status != ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
printf("Failed to lookup %s: %s\n", name, ares_strerror(status));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
TRACE(("\nFound address %s, name %s\n",
|
||||||
|
ares_inet_ntop(AF_INET,(const char*)host->h_addr,buf,sizeof(buf)),
|
||||||
|
host->h_name));
|
||||||
|
|
||||||
|
cname = host->h_name; /* CNAME gets put here */
|
||||||
|
if (!cname)
|
||||||
|
printf("Failed to get CNAME for %s\n", name);
|
||||||
|
else
|
||||||
|
find_country_from_cname(cname, *(struct in_addr*)host->h_addr);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This is the callback used to obtain the IP-address of the host of interest.
|
||||||
|
*/
|
||||||
|
static void callback2(void *arg, int status, int timeouts, struct hostent *host)
|
||||||
|
{
|
||||||
|
struct in_addr *addr = (struct in_addr*) arg;
|
||||||
|
|
||||||
|
(void)timeouts;
|
||||||
|
if (!host || status != ARES_SUCCESS)
|
||||||
|
memset(addr, INADDR_NONE, sizeof(*addr));
|
||||||
|
else
|
||||||
|
memcpy(addr, host->h_addr, sizeof(*addr));
|
||||||
|
}
|
||||||
|
|
||||||
|
struct search_list {
|
||||||
|
int country_number; /* ISO-3166 country number */
|
||||||
|
char short_name[3]; /* A2 short country code */
|
||||||
|
const char *long_name; /* normal country name */
|
||||||
|
};
|
||||||
|
|
||||||
|
static const struct search_list *list_lookup(int number, const struct search_list *list, int num)
|
||||||
|
{
|
||||||
|
while (num > 0 && list->long_name)
|
||||||
|
{
|
||||||
|
if (list->country_number == number)
|
||||||
|
return (list);
|
||||||
|
num--;
|
||||||
|
list++;
|
||||||
|
}
|
||||||
|
return (NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Ref: ftp://ftp.ripe.net/iso3166-countrycodes.txt
|
||||||
|
*/
|
||||||
|
static const struct search_list country_list[] = {
|
||||||
|
{ 4, "af", "Afghanistan" },
|
||||||
|
{ 248, "ax", "<EFBFBD>land Island" },
|
||||||
|
{ 8, "al", "Albania" },
|
||||||
|
{ 12, "dz", "Algeria" },
|
||||||
|
{ 16, "as", "American Samoa" },
|
||||||
|
{ 20, "ad", "Andorra" },
|
||||||
|
{ 24, "ao", "Angola" },
|
||||||
|
{ 660, "ai", "Anguilla" },
|
||||||
|
{ 10, "aq", "Antarctica" },
|
||||||
|
{ 28, "ag", "Antigua & Barbuda" },
|
||||||
|
{ 32, "ar", "Argentina" },
|
||||||
|
{ 51, "am", "Armenia" },
|
||||||
|
{ 533, "aw", "Aruba" },
|
||||||
|
{ 36, "au", "Australia" },
|
||||||
|
{ 40, "at", "Austria" },
|
||||||
|
{ 31, "az", "Azerbaijan" },
|
||||||
|
{ 44, "bs", "Bahamas" },
|
||||||
|
{ 48, "bh", "Bahrain" },
|
||||||
|
{ 50, "bd", "Bangladesh" },
|
||||||
|
{ 52, "bb", "Barbados" },
|
||||||
|
{ 112, "by", "Belarus" },
|
||||||
|
{ 56, "be", "Belgium" },
|
||||||
|
{ 84, "bz", "Belize" },
|
||||||
|
{ 204, "bj", "Benin" },
|
||||||
|
{ 60, "bm", "Bermuda" },
|
||||||
|
{ 64, "bt", "Bhutan" },
|
||||||
|
{ 68, "bo", "Bolivia" },
|
||||||
|
{ 70, "ba", "Bosnia & Herzegowina" },
|
||||||
|
{ 72, "bw", "Botswana" },
|
||||||
|
{ 74, "bv", "Bouvet Island" },
|
||||||
|
{ 76, "br", "Brazil" },
|
||||||
|
{ 86, "io", "British Indian Ocean Territory" },
|
||||||
|
{ 96, "bn", "Brunei Darussalam" },
|
||||||
|
{ 100, "bg", "Bulgaria" },
|
||||||
|
{ 854, "bf", "Burkina Faso" },
|
||||||
|
{ 108, "bi", "Burundi" },
|
||||||
|
{ 116, "kh", "Cambodia" },
|
||||||
|
{ 120, "cm", "Cameroon" },
|
||||||
|
{ 124, "ca", "Canada" },
|
||||||
|
{ 132, "cv", "Cape Verde" },
|
||||||
|
{ 136, "ky", "Cayman Islands" },
|
||||||
|
{ 140, "cf", "Central African Republic" },
|
||||||
|
{ 148, "td", "Chad" },
|
||||||
|
{ 152, "cl", "Chile" },
|
||||||
|
{ 156, "cn", "China" },
|
||||||
|
{ 162, "cx", "Christmas Island" },
|
||||||
|
{ 166, "cc", "Cocos Islands" },
|
||||||
|
{ 170, "co", "Colombia" },
|
||||||
|
{ 174, "km", "Comoros" },
|
||||||
|
{ 178, "cg", "Congo" },
|
||||||
|
{ 180, "cd", "Congo" },
|
||||||
|
{ 184, "ck", "Cook Islands" },
|
||||||
|
{ 188, "cr", "Costa Rica" },
|
||||||
|
{ 384, "ci", "Cote d'Ivoire" },
|
||||||
|
{ 191, "hr", "Croatia" },
|
||||||
|
{ 192, "cu", "Cuba" },
|
||||||
|
{ 196, "cy", "Cyprus" },
|
||||||
|
{ 203, "cz", "Czech Republic" },
|
||||||
|
{ 208, "dk", "Denmark" },
|
||||||
|
{ 262, "dj", "Djibouti" },
|
||||||
|
{ 212, "dm", "Dominica" },
|
||||||
|
{ 214, "do", "Dominican Republic" },
|
||||||
|
{ 218, "ec", "Ecuador" },
|
||||||
|
{ 818, "eg", "Egypt" },
|
||||||
|
{ 222, "sv", "El Salvador" },
|
||||||
|
{ 226, "gq", "Equatorial Guinea" },
|
||||||
|
{ 232, "er", "Eritrea" },
|
||||||
|
{ 233, "ee", "Estonia" },
|
||||||
|
{ 231, "et", "Ethiopia" },
|
||||||
|
{ 238, "fk", "Falkland Islands" },
|
||||||
|
{ 234, "fo", "Faroe Islands" },
|
||||||
|
{ 242, "fj", "Fiji" },
|
||||||
|
{ 246, "fi", "Finland" },
|
||||||
|
{ 250, "fr", "France" },
|
||||||
|
{ 249, "fx", "France, Metropolitan" },
|
||||||
|
{ 254, "gf", "French Guiana" },
|
||||||
|
{ 258, "pf", "French Polynesia" },
|
||||||
|
{ 260, "tf", "French Southern Territories" },
|
||||||
|
{ 266, "ga", "Gabon" },
|
||||||
|
{ 270, "gm", "Gambia" },
|
||||||
|
{ 268, "ge", "Georgia" },
|
||||||
|
{ 276, "de", "Germany" },
|
||||||
|
{ 288, "gh", "Ghana" },
|
||||||
|
{ 292, "gi", "Gibraltar" },
|
||||||
|
{ 300, "gr", "Greece" },
|
||||||
|
{ 304, "gl", "Greenland" },
|
||||||
|
{ 308, "gd", "Grenada" },
|
||||||
|
{ 312, "gp", "Guadeloupe" },
|
||||||
|
{ 316, "gu", "Guam" },
|
||||||
|
{ 320, "gt", "Guatemala" },
|
||||||
|
{ 324, "gn", "Guinea" },
|
||||||
|
{ 624, "gw", "Guinea-Bissau" },
|
||||||
|
{ 328, "gy", "Guyana" },
|
||||||
|
{ 332, "ht", "Haiti" },
|
||||||
|
{ 334, "hm", "Heard & Mc Donald Islands" },
|
||||||
|
{ 336, "va", "Vatican City" },
|
||||||
|
{ 340, "hn", "Honduras" },
|
||||||
|
{ 344, "hk", "Hong kong" },
|
||||||
|
{ 348, "hu", "Hungary" },
|
||||||
|
{ 352, "is", "Iceland" },
|
||||||
|
{ 356, "in", "India" },
|
||||||
|
{ 360, "id", "Indonesia" },
|
||||||
|
{ 364, "ir", "Iran" },
|
||||||
|
{ 368, "iq", "Iraq" },
|
||||||
|
{ 372, "ie", "Ireland" },
|
||||||
|
{ 376, "il", "Israel" },
|
||||||
|
{ 380, "it", "Italy" },
|
||||||
|
{ 388, "jm", "Jamaica" },
|
||||||
|
{ 392, "jp", "Japan" },
|
||||||
|
{ 400, "jo", "Jordan" },
|
||||||
|
{ 398, "kz", "Kazakhstan" },
|
||||||
|
{ 404, "ke", "Kenya" },
|
||||||
|
{ 296, "ki", "Kiribati" },
|
||||||
|
{ 408, "kp", "Korea (north)" },
|
||||||
|
{ 410, "kr", "Korea (south)" },
|
||||||
|
{ 414, "kw", "Kuwait" },
|
||||||
|
{ 417, "kg", "Kyrgyzstan" },
|
||||||
|
{ 418, "la", "Laos" },
|
||||||
|
{ 428, "lv", "Latvia" },
|
||||||
|
{ 422, "lb", "Lebanon" },
|
||||||
|
{ 426, "ls", "Lesotho" },
|
||||||
|
{ 430, "lr", "Liberia" },
|
||||||
|
{ 434, "ly", "Libya" },
|
||||||
|
{ 438, "li", "Liechtenstein" },
|
||||||
|
{ 440, "lt", "Lithuania" },
|
||||||
|
{ 442, "lu", "Luxembourg" },
|
||||||
|
{ 446, "mo", "Macao" },
|
||||||
|
{ 807, "mk", "Macedonia" },
|
||||||
|
{ 450, "mg", "Madagascar" },
|
||||||
|
{ 454, "mw", "Malawi" },
|
||||||
|
{ 458, "my", "Malaysia" },
|
||||||
|
{ 462, "mv", "Maldives" },
|
||||||
|
{ 466, "ml", "Mali" },
|
||||||
|
{ 470, "mt", "Malta" },
|
||||||
|
{ 584, "mh", "Marshall Islands" },
|
||||||
|
{ 474, "mq", "Martinique" },
|
||||||
|
{ 478, "mr", "Mauritania" },
|
||||||
|
{ 480, "mu", "Mauritius" },
|
||||||
|
{ 175, "yt", "Mayotte" },
|
||||||
|
{ 484, "mx", "Mexico" },
|
||||||
|
{ 583, "fm", "Micronesia" },
|
||||||
|
{ 498, "md", "Moldova" },
|
||||||
|
{ 492, "mc", "Monaco" },
|
||||||
|
{ 496, "mn", "Mongolia" },
|
||||||
|
{ 500, "ms", "Montserrat" },
|
||||||
|
{ 504, "ma", "Morocco" },
|
||||||
|
{ 508, "mz", "Mozambique" },
|
||||||
|
{ 104, "mm", "Myanmar" },
|
||||||
|
{ 516, "na", "Namibia" },
|
||||||
|
{ 520, "nr", "Nauru" },
|
||||||
|
{ 524, "np", "Nepal" },
|
||||||
|
{ 528, "nl", "Netherlands" },
|
||||||
|
{ 530, "an", "Netherlands Antilles" },
|
||||||
|
{ 540, "nc", "New Caledonia" },
|
||||||
|
{ 554, "nz", "New Zealand" },
|
||||||
|
{ 558, "ni", "Nicaragua" },
|
||||||
|
{ 562, "ne", "Niger" },
|
||||||
|
{ 566, "ng", "Nigeria" },
|
||||||
|
{ 570, "nu", "Niue" },
|
||||||
|
{ 574, "nf", "Norfolk Island" },
|
||||||
|
{ 580, "mp", "Northern Mariana Islands" },
|
||||||
|
{ 578, "no", "Norway" },
|
||||||
|
{ 512, "om", "Oman" },
|
||||||
|
{ 586, "pk", "Pakistan" },
|
||||||
|
{ 585, "pw", "Palau" },
|
||||||
|
{ 275, "ps", "Palestinian Territory" },
|
||||||
|
{ 591, "pa", "Panama" },
|
||||||
|
{ 598, "pg", "Papua New Guinea" },
|
||||||
|
{ 600, "py", "Paraguay" },
|
||||||
|
{ 604, "pe", "Peru" },
|
||||||
|
{ 608, "ph", "Philippines" },
|
||||||
|
{ 612, "pn", "Pitcairn" },
|
||||||
|
{ 616, "pl", "Poland" },
|
||||||
|
{ 620, "pt", "Portugal" },
|
||||||
|
{ 630, "pr", "Puerto Rico" },
|
||||||
|
{ 634, "qa", "Qatar" },
|
||||||
|
{ 638, "re", "Reunion" },
|
||||||
|
{ 642, "ro", "Romania" },
|
||||||
|
{ 643, "ru", "Russia" },
|
||||||
|
{ 646, "rw", "Rwanda" },
|
||||||
|
{ 659, "kn", "Saint Kitts & Nevis" },
|
||||||
|
{ 662, "lc", "Saint Lucia" },
|
||||||
|
{ 670, "vc", "Saint Vincent" },
|
||||||
|
{ 882, "ws", "Samoa" },
|
||||||
|
{ 674, "sm", "San Marino" },
|
||||||
|
{ 678, "st", "Sao Tome & Principe" },
|
||||||
|
{ 682, "sa", "Saudi Arabia" },
|
||||||
|
{ 686, "sn", "Senegal" },
|
||||||
|
{ 891, "cs", "Serbia and Montenegro" },
|
||||||
|
{ 690, "sc", "Seychelles" },
|
||||||
|
{ 694, "sl", "Sierra Leone" },
|
||||||
|
{ 702, "sg", "Singapore" },
|
||||||
|
{ 703, "sk", "Slovakia" },
|
||||||
|
{ 705, "si", "Slovenia" },
|
||||||
|
{ 90, "sb", "Solomon Islands" },
|
||||||
|
{ 706, "so", "Somalia" },
|
||||||
|
{ 710, "za", "South Africa" },
|
||||||
|
{ 239, "gs", "South Georgia" },
|
||||||
|
{ 724, "es", "Spain" },
|
||||||
|
{ 144, "lk", "Sri Lanka" },
|
||||||
|
{ 654, "sh", "St. Helena" },
|
||||||
|
{ 666, "pm", "St. Pierre & Miquelon" },
|
||||||
|
{ 736, "sd", "Sudan" },
|
||||||
|
{ 740, "sr", "Suriname" },
|
||||||
|
{ 744, "sj", "Svalbard & Jan Mayen Islands" },
|
||||||
|
{ 748, "sz", "Swaziland" },
|
||||||
|
{ 752, "se", "Sweden" },
|
||||||
|
{ 756, "ch", "Switzerland" },
|
||||||
|
{ 760, "sy", "Syrian Arab Republic" },
|
||||||
|
{ 626, "tl", "Timor-Leste" },
|
||||||
|
{ 158, "tw", "Taiwan" },
|
||||||
|
{ 762, "tj", "Tajikistan" },
|
||||||
|
{ 834, "tz", "Tanzania" },
|
||||||
|
{ 764, "th", "Thailand" },
|
||||||
|
{ 768, "tg", "Togo" },
|
||||||
|
{ 772, "tk", "Tokelau" },
|
||||||
|
{ 776, "to", "Tonga" },
|
||||||
|
{ 780, "tt", "Trinidad & Tobago" },
|
||||||
|
{ 788, "tn", "Tunisia" },
|
||||||
|
{ 792, "tr", "Turkey" },
|
||||||
|
{ 795, "tm", "Turkmenistan" },
|
||||||
|
{ 796, "tc", "Turks & Caicos Islands" },
|
||||||
|
{ 798, "tv", "Tuvalu" },
|
||||||
|
{ 800, "ug", "Uganda" },
|
||||||
|
{ 804, "ua", "Ukraine" },
|
||||||
|
{ 784, "ae", "United Arab Emirates" },
|
||||||
|
{ 826, "gb", "United Kingdom" },
|
||||||
|
{ 840, "us", "United States" },
|
||||||
|
{ 581, "um", "United States Minor Outlying Islands" },
|
||||||
|
{ 858, "uy", "Uruguay" },
|
||||||
|
{ 860, "uz", "Uzbekistan" },
|
||||||
|
{ 548, "vu", "Vanuatu" },
|
||||||
|
{ 862, "ve", "Venezuela" },
|
||||||
|
{ 704, "vn", "Vietnam" },
|
||||||
|
{ 92, "vg", "Virgin Islands (British)" },
|
||||||
|
{ 850, "vi", "Virgin Islands (US)" },
|
||||||
|
{ 876, "wf", "Wallis & Futuna Islands" },
|
||||||
|
{ 732, "eh", "Western Sahara" },
|
||||||
|
{ 887, "ye", "Yemen" },
|
||||||
|
{ 894, "zm", "Zambia" },
|
||||||
|
{ 716, "zw", "Zimbabwe" }
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Check if start of 'str' is simply an IPv4 address.
|
||||||
|
*/
|
||||||
|
#define BYTE_OK(x) ((x) >= 0 && (x) <= 255)
|
||||||
|
|
||||||
|
static int is_addr(char *str, char **end)
|
||||||
|
{
|
||||||
|
int a0, a1, a2, a3, num, rc = 0, length = 0;
|
||||||
|
|
||||||
|
num = sscanf(str,"%3d.%3d.%3d.%3d%n",&a0,&a1,&a2,&a3,&length);
|
||||||
|
if( (num == 4) &&
|
||||||
|
BYTE_OK(a0) && BYTE_OK(a1) && BYTE_OK(a2) && BYTE_OK(a3) &&
|
||||||
|
length >= (3+4))
|
||||||
|
{
|
||||||
|
rc = 1;
|
||||||
|
*end = str + length;
|
||||||
|
}
|
||||||
|
return rc;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Find the country-code and name from the CNAME. E.g.:
|
||||||
|
* version 1: CNAME = zzno.countries.nerd.dk with address 127.0.2.66
|
||||||
|
* yields ccode_A" = "no" and cnumber 578 (2.66).
|
||||||
|
* version 2: CNAME = <a.b.c.d>.zz.countries.nerd.dk with address 127.0.2.66
|
||||||
|
* yields cnumber 578 (2.66). ccode_A is "";
|
||||||
|
*/
|
||||||
|
static void find_country_from_cname(const char *cname, struct in_addr addr)
|
||||||
|
{
|
||||||
|
const struct search_list *country;
|
||||||
|
char ccode_A2[3], *ccopy, *dot_4;
|
||||||
|
int cnumber, z0, z1, ver_1, ver_2;
|
||||||
|
unsigned long ip;
|
||||||
|
|
||||||
|
ip = ntohl(addr.s_addr);
|
||||||
|
z0 = tolower(cname[0]);
|
||||||
|
z1 = tolower(cname[1]);
|
||||||
|
ccopy = strdup(cname);
|
||||||
|
dot_4 = NULL;
|
||||||
|
|
||||||
|
ver_1 = (z0 == 'z' && z1 == 'z' && !strcasecmp(cname+4,nerd_ver1));
|
||||||
|
ver_2 = (is_addr(ccopy,&dot_4) && !strcasecmp(dot_4,nerd_ver2));
|
||||||
|
|
||||||
|
if (ver_1)
|
||||||
|
{
|
||||||
|
const char *dot = strchr(cname, '.');
|
||||||
|
if ((z0 != 'z' && z1 != 'z') || dot != cname+4)
|
||||||
|
{
|
||||||
|
printf("Unexpected CNAME %s (ver_1)\n", cname);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (ver_2)
|
||||||
|
{
|
||||||
|
z0 = tolower(dot_4[1]);
|
||||||
|
z1 = tolower(dot_4[2]);
|
||||||
|
if (z0 != 'z' && z1 != 'z')
|
||||||
|
{
|
||||||
|
printf("Unexpected CNAME %s (ver_2)\n", cname);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
printf("Unexpected CNAME %s (ver?)\n", cname);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ver_1)
|
||||||
|
{
|
||||||
|
ccode_A2[0] = (char)tolower(cname[2]);
|
||||||
|
ccode_A2[1] = (char)tolower(cname[3]);
|
||||||
|
ccode_A2[2] = '\0';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
ccode_A2[0] = '\0';
|
||||||
|
|
||||||
|
cnumber = ip & 0xFFFF;
|
||||||
|
|
||||||
|
TRACE(("Found country-code `%s', number %d\n",
|
||||||
|
ver_1 ? ccode_A2 : "<n/a>", cnumber));
|
||||||
|
|
||||||
|
country = list_lookup(cnumber, country_list,
|
||||||
|
sizeof(country_list) / sizeof(country_list[0]));
|
||||||
|
if (!country)
|
||||||
|
printf("Name for country-number %d not found.\n", cnumber);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (ver_1)
|
||||||
|
{
|
||||||
|
if ((country->short_name[0] != ccode_A2[0]) ||
|
||||||
|
(country->short_name[1] != ccode_A2[1]) ||
|
||||||
|
(country->short_name[2] != ccode_A2[2]))
|
||||||
|
printf("short-name mismatch; %s vs %s\n",
|
||||||
|
country->short_name, ccode_A2);
|
||||||
|
}
|
||||||
|
printf("%s (%s), number %d.\n",
|
||||||
|
country->long_name, country->short_name, cnumber);
|
||||||
|
}
|
||||||
|
free(ccopy);
|
||||||
|
}
|
||||||
|
|
||||||
751
ares/adig.c
Normal file
751
ares/adig.c
Normal file
@@ -0,0 +1,751 @@
|
|||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETINET_IN_H
|
||||||
|
# include <netinet/in.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETDB_H
|
||||||
|
# include <netdb.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_NAMESER_H
|
||||||
|
# include <arpa/nameser.h>
|
||||||
|
#else
|
||||||
|
# include "nameser.h"
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_NAMESER_COMPAT_H
|
||||||
|
# include <arpa/nameser_compat.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_TIME_H
|
||||||
|
# include <sys/time.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
# include <unistd.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_STRINGS_H
|
||||||
|
# include <strings.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_dns.h"
|
||||||
|
#include "inet_ntop.h"
|
||||||
|
#include "inet_net_pton.h"
|
||||||
|
#include "ares_getopt.h"
|
||||||
|
|
||||||
|
#ifndef HAVE_STRDUP
|
||||||
|
# include "ares_strdup.h"
|
||||||
|
# define strdup(ptr) ares_strdup(ptr)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRCASECMP
|
||||||
|
# include "ares_strcasecmp.h"
|
||||||
|
# define strcasecmp(p1,p2) ares_strcasecmp(p1,p2)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRNCASECMP
|
||||||
|
# include "ares_strcasecmp.h"
|
||||||
|
# define strncasecmp(p1,p2,n) ares_strncasecmp(p1,p2,n)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef WATT32
|
||||||
|
#undef WIN32 /* Redefined in MingW headers */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Mac OS X portability check */
|
||||||
|
#ifndef T_SRV
|
||||||
|
#define T_SRV 33 /* server selection */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* AIX portability check */
|
||||||
|
#ifndef T_NAPTR
|
||||||
|
#define T_NAPTR 35 /* naming authority pointer */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
struct nv {
|
||||||
|
const char *name;
|
||||||
|
int value;
|
||||||
|
};
|
||||||
|
|
||||||
|
static const struct nv flags[] = {
|
||||||
|
{ "usevc", ARES_FLAG_USEVC },
|
||||||
|
{ "primary", ARES_FLAG_PRIMARY },
|
||||||
|
{ "igntc", ARES_FLAG_IGNTC },
|
||||||
|
{ "norecurse", ARES_FLAG_NORECURSE },
|
||||||
|
{ "stayopen", ARES_FLAG_STAYOPEN },
|
||||||
|
{ "noaliases", ARES_FLAG_NOALIASES }
|
||||||
|
};
|
||||||
|
static const int nflags = sizeof(flags) / sizeof(flags[0]);
|
||||||
|
|
||||||
|
static const struct nv classes[] = {
|
||||||
|
{ "IN", C_IN },
|
||||||
|
{ "CHAOS", C_CHAOS },
|
||||||
|
{ "HS", C_HS },
|
||||||
|
{ "ANY", C_ANY }
|
||||||
|
};
|
||||||
|
static const int nclasses = sizeof(classes) / sizeof(classes[0]);
|
||||||
|
|
||||||
|
static const struct nv types[] = {
|
||||||
|
{ "A", T_A },
|
||||||
|
{ "NS", T_NS },
|
||||||
|
{ "MD", T_MD },
|
||||||
|
{ "MF", T_MF },
|
||||||
|
{ "CNAME", T_CNAME },
|
||||||
|
{ "SOA", T_SOA },
|
||||||
|
{ "MB", T_MB },
|
||||||
|
{ "MG", T_MG },
|
||||||
|
{ "MR", T_MR },
|
||||||
|
{ "NULL", T_NULL },
|
||||||
|
{ "WKS", T_WKS },
|
||||||
|
{ "PTR", T_PTR },
|
||||||
|
{ "HINFO", T_HINFO },
|
||||||
|
{ "MINFO", T_MINFO },
|
||||||
|
{ "MX", T_MX },
|
||||||
|
{ "TXT", T_TXT },
|
||||||
|
{ "RP", T_RP },
|
||||||
|
{ "AFSDB", T_AFSDB },
|
||||||
|
{ "X25", T_X25 },
|
||||||
|
{ "ISDN", T_ISDN },
|
||||||
|
{ "RT", T_RT },
|
||||||
|
{ "NSAP", T_NSAP },
|
||||||
|
{ "NSAP_PTR", T_NSAP_PTR },
|
||||||
|
{ "SIG", T_SIG },
|
||||||
|
{ "KEY", T_KEY },
|
||||||
|
{ "PX", T_PX },
|
||||||
|
{ "GPOS", T_GPOS },
|
||||||
|
{ "AAAA", T_AAAA },
|
||||||
|
{ "LOC", T_LOC },
|
||||||
|
{ "SRV", T_SRV },
|
||||||
|
{ "AXFR", T_AXFR },
|
||||||
|
{ "MAILB", T_MAILB },
|
||||||
|
{ "MAILA", T_MAILA },
|
||||||
|
{ "NAPTR", T_NAPTR },
|
||||||
|
{ "ANY", T_ANY }
|
||||||
|
};
|
||||||
|
static const int ntypes = sizeof(types) / sizeof(types[0]);
|
||||||
|
|
||||||
|
static const char *opcodes[] = {
|
||||||
|
"QUERY", "IQUERY", "STATUS", "(reserved)", "NOTIFY",
|
||||||
|
"(unknown)", "(unknown)", "(unknown)", "(unknown)",
|
||||||
|
"UPDATEA", "UPDATED", "UPDATEDA", "UPDATEM", "UPDATEMA",
|
||||||
|
"ZONEINIT", "ZONEREF"
|
||||||
|
};
|
||||||
|
|
||||||
|
static const char *rcodes[] = {
|
||||||
|
"NOERROR", "FORMERR", "SERVFAIL", "NXDOMAIN", "NOTIMP", "REFUSED",
|
||||||
|
"(unknown)", "(unknown)", "(unknown)", "(unknown)", "(unknown)",
|
||||||
|
"(unknown)", "(unknown)", "(unknown)", "(unknown)", "NOCHANGE"
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct in_addr inaddr;
|
||||||
|
|
||||||
|
static void callback(void *arg, int status, int timeouts,
|
||||||
|
unsigned char *abuf, int alen);
|
||||||
|
static const unsigned char *display_question(const unsigned char *aptr,
|
||||||
|
const unsigned char *abuf,
|
||||||
|
int alen);
|
||||||
|
static const unsigned char *display_rr(const unsigned char *aptr,
|
||||||
|
const unsigned char *abuf, int alen);
|
||||||
|
static const char *type_name(int type);
|
||||||
|
static const char *class_name(int dnsclass);
|
||||||
|
static void usage(void);
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
ares_channel channel;
|
||||||
|
int c, i, optmask = ARES_OPT_FLAGS, dnsclass = C_IN, type = T_A;
|
||||||
|
int status, nfds, count;
|
||||||
|
struct ares_options options;
|
||||||
|
struct hostent *hostent;
|
||||||
|
fd_set read_fds, write_fds;
|
||||||
|
struct timeval *tvp, tv;
|
||||||
|
|
||||||
|
#ifdef USE_WINSOCK
|
||||||
|
WORD wVersionRequested = MAKEWORD(USE_WINSOCK,USE_WINSOCK);
|
||||||
|
WSADATA wsaData;
|
||||||
|
WSAStartup(wVersionRequested, &wsaData);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
status = ares_library_init(ARES_LIB_INIT_ALL);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "ares_library_init: %s\n", ares_strerror(status));
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
options.flags = ARES_FLAG_NOCHECKRESP;
|
||||||
|
options.servers = NULL;
|
||||||
|
options.nservers = 0;
|
||||||
|
while ((c = ares_getopt(argc, argv, "df:s:c:t:T:U:")) != -1)
|
||||||
|
{
|
||||||
|
switch (c)
|
||||||
|
{
|
||||||
|
case 'd':
|
||||||
|
#ifdef WATT32
|
||||||
|
dbug_init();
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'f':
|
||||||
|
/* Add a flag. */
|
||||||
|
for (i = 0; i < nflags; i++)
|
||||||
|
{
|
||||||
|
if (strcmp(flags[i].name, optarg) == 0)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (i < nflags)
|
||||||
|
options.flags |= flags[i].value;
|
||||||
|
else
|
||||||
|
usage();
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 's':
|
||||||
|
/* Add a server, and specify servers in the option mask. */
|
||||||
|
if (ares_inet_pton(AF_INET, optarg, &inaddr) <= 0)
|
||||||
|
{
|
||||||
|
hostent = gethostbyname(optarg);
|
||||||
|
if (!hostent || hostent->h_addrtype != AF_INET)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "adig: server %s not found.\n", optarg);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
memcpy(&inaddr, hostent->h_addr, sizeof(struct in_addr));
|
||||||
|
}
|
||||||
|
options.servers = realloc(options.servers, (options.nservers + 1)
|
||||||
|
* sizeof(struct in_addr));
|
||||||
|
if (!options.servers)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "Out of memory!\n");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
memcpy(&options.servers[options.nservers], &inaddr,
|
||||||
|
sizeof(struct in_addr));
|
||||||
|
options.nservers++;
|
||||||
|
optmask |= ARES_OPT_SERVERS;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'c':
|
||||||
|
/* Set the query class. */
|
||||||
|
for (i = 0; i < nclasses; i++)
|
||||||
|
{
|
||||||
|
if (strcasecmp(classes[i].name, optarg) == 0)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (i < nclasses)
|
||||||
|
dnsclass = classes[i].value;
|
||||||
|
else
|
||||||
|
usage();
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 't':
|
||||||
|
/* Set the query type. */
|
||||||
|
for (i = 0; i < ntypes; i++)
|
||||||
|
{
|
||||||
|
if (strcasecmp(types[i].name, optarg) == 0)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (i < ntypes)
|
||||||
|
type = types[i].value;
|
||||||
|
else
|
||||||
|
usage();
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'T':
|
||||||
|
/* Set the TCP port number. */
|
||||||
|
if (!ISDIGIT(*optarg))
|
||||||
|
usage();
|
||||||
|
options.tcp_port = (unsigned short)strtol(optarg, NULL, 0);
|
||||||
|
optmask |= ARES_OPT_TCP_PORT;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'U':
|
||||||
|
/* Set the UDP port number. */
|
||||||
|
if (!ISDIGIT(*optarg))
|
||||||
|
usage();
|
||||||
|
options.udp_port = (unsigned short)strtol(optarg, NULL, 0);
|
||||||
|
optmask |= ARES_OPT_UDP_PORT;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
argc -= optind;
|
||||||
|
argv += optind;
|
||||||
|
if (argc == 0)
|
||||||
|
usage();
|
||||||
|
|
||||||
|
status = ares_init_options(&channel, &options, optmask);
|
||||||
|
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "ares_init_options: %s\n",
|
||||||
|
ares_strerror(status));
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Initiate the queries, one per command-line argument. If there is
|
||||||
|
* only one query to do, supply NULL as the callback argument;
|
||||||
|
* otherwise, supply the query name as an argument so we can
|
||||||
|
* distinguish responses for the user when printing them out.
|
||||||
|
*/
|
||||||
|
if (argc == 1)
|
||||||
|
ares_query(channel, *argv, dnsclass, type, callback, (char *) NULL);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
for (; *argv; argv++)
|
||||||
|
ares_query(channel, *argv, dnsclass, type, callback, *argv);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Wait for all queries to complete. */
|
||||||
|
for (;;)
|
||||||
|
{
|
||||||
|
FD_ZERO(&read_fds);
|
||||||
|
FD_ZERO(&write_fds);
|
||||||
|
nfds = ares_fds(channel, &read_fds, &write_fds);
|
||||||
|
if (nfds == 0)
|
||||||
|
break;
|
||||||
|
tvp = ares_timeout(channel, NULL, &tv);
|
||||||
|
count = select(nfds, &read_fds, &write_fds, NULL, tvp);
|
||||||
|
if (count < 0 && SOCKERRNO != EINVAL)
|
||||||
|
{
|
||||||
|
perror("select");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
ares_process(channel, &read_fds, &write_fds);
|
||||||
|
}
|
||||||
|
|
||||||
|
ares_destroy(channel);
|
||||||
|
|
||||||
|
ares_library_cleanup();
|
||||||
|
|
||||||
|
#ifdef USE_WINSOCK
|
||||||
|
WSACleanup();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void callback(void *arg, int status, int timeouts,
|
||||||
|
unsigned char *abuf, int alen)
|
||||||
|
{
|
||||||
|
char *name = (char *) arg;
|
||||||
|
int id, qr, opcode, aa, tc, rd, ra, rcode;
|
||||||
|
unsigned int qdcount, ancount, nscount, arcount, i;
|
||||||
|
const unsigned char *aptr;
|
||||||
|
|
||||||
|
(void) timeouts;
|
||||||
|
|
||||||
|
/* Display the query name if given. */
|
||||||
|
if (name)
|
||||||
|
printf("Answer for query %s:\n", name);
|
||||||
|
|
||||||
|
/* Display an error message if there was an error, but only stop if
|
||||||
|
* we actually didn't get an answer buffer.
|
||||||
|
*/
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
printf("%s\n", ares_strerror(status));
|
||||||
|
if (!abuf)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Won't happen, but check anyway, for safety. */
|
||||||
|
if (alen < HFIXEDSZ)
|
||||||
|
return;
|
||||||
|
|
||||||
|
/* Parse the answer header. */
|
||||||
|
id = DNS_HEADER_QID(abuf);
|
||||||
|
qr = DNS_HEADER_QR(abuf);
|
||||||
|
opcode = DNS_HEADER_OPCODE(abuf);
|
||||||
|
aa = DNS_HEADER_AA(abuf);
|
||||||
|
tc = DNS_HEADER_TC(abuf);
|
||||||
|
rd = DNS_HEADER_RD(abuf);
|
||||||
|
ra = DNS_HEADER_RA(abuf);
|
||||||
|
rcode = DNS_HEADER_RCODE(abuf);
|
||||||
|
qdcount = DNS_HEADER_QDCOUNT(abuf);
|
||||||
|
ancount = DNS_HEADER_ANCOUNT(abuf);
|
||||||
|
nscount = DNS_HEADER_NSCOUNT(abuf);
|
||||||
|
arcount = DNS_HEADER_ARCOUNT(abuf);
|
||||||
|
|
||||||
|
/* Display the answer header. */
|
||||||
|
printf("id: %d\n", id);
|
||||||
|
printf("flags: %s%s%s%s%s\n",
|
||||||
|
qr ? "qr " : "",
|
||||||
|
aa ? "aa " : "",
|
||||||
|
tc ? "tc " : "",
|
||||||
|
rd ? "rd " : "",
|
||||||
|
ra ? "ra " : "");
|
||||||
|
printf("opcode: %s\n", opcodes[opcode]);
|
||||||
|
printf("rcode: %s\n", rcodes[rcode]);
|
||||||
|
|
||||||
|
/* Display the questions. */
|
||||||
|
printf("Questions:\n");
|
||||||
|
aptr = abuf + HFIXEDSZ;
|
||||||
|
for (i = 0; i < qdcount; i++)
|
||||||
|
{
|
||||||
|
aptr = display_question(aptr, abuf, alen);
|
||||||
|
if (aptr == NULL)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Display the answers. */
|
||||||
|
printf("Answers:\n");
|
||||||
|
for (i = 0; i < ancount; i++)
|
||||||
|
{
|
||||||
|
aptr = display_rr(aptr, abuf, alen);
|
||||||
|
if (aptr == NULL)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Display the NS records. */
|
||||||
|
printf("NS records:\n");
|
||||||
|
for (i = 0; i < nscount; i++)
|
||||||
|
{
|
||||||
|
aptr = display_rr(aptr, abuf, alen);
|
||||||
|
if (aptr == NULL)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Display the additional records. */
|
||||||
|
printf("Additional records:\n");
|
||||||
|
for (i = 0; i < arcount; i++)
|
||||||
|
{
|
||||||
|
aptr = display_rr(aptr, abuf, alen);
|
||||||
|
if (aptr == NULL)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static const unsigned char *display_question(const unsigned char *aptr,
|
||||||
|
const unsigned char *abuf,
|
||||||
|
int alen)
|
||||||
|
{
|
||||||
|
char *name;
|
||||||
|
int type, dnsclass, status;
|
||||||
|
long len;
|
||||||
|
|
||||||
|
/* Parse the question name. */
|
||||||
|
status = ares_expand_name(aptr, abuf, alen, &name, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
aptr += len;
|
||||||
|
|
||||||
|
/* Make sure there's enough data after the name for the fixed part
|
||||||
|
* of the question.
|
||||||
|
*/
|
||||||
|
if (aptr + QFIXEDSZ > abuf + alen)
|
||||||
|
{
|
||||||
|
ares_free_string(name);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Parse the question type and class. */
|
||||||
|
type = DNS_QUESTION_TYPE(aptr);
|
||||||
|
dnsclass = DNS_QUESTION_CLASS(aptr);
|
||||||
|
aptr += QFIXEDSZ;
|
||||||
|
|
||||||
|
/* Display the question, in a format sort of similar to how we will
|
||||||
|
* display RRs.
|
||||||
|
*/
|
||||||
|
printf("\t%-15s.\t", name);
|
||||||
|
if (dnsclass != C_IN)
|
||||||
|
printf("\t%s", class_name(dnsclass));
|
||||||
|
printf("\t%s\n", type_name(type));
|
||||||
|
ares_free_string(name);
|
||||||
|
return aptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
static const unsigned char *display_rr(const unsigned char *aptr,
|
||||||
|
const unsigned char *abuf, int alen)
|
||||||
|
{
|
||||||
|
const unsigned char *p;
|
||||||
|
int type, dnsclass, ttl, dlen, status;
|
||||||
|
long len;
|
||||||
|
char addr[46];
|
||||||
|
union {
|
||||||
|
unsigned char * as_uchar;
|
||||||
|
char * as_char;
|
||||||
|
} name;
|
||||||
|
|
||||||
|
/* Parse the RR name. */
|
||||||
|
status = ares_expand_name(aptr, abuf, alen, &name.as_char, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
aptr += len;
|
||||||
|
|
||||||
|
/* Make sure there is enough data after the RR name for the fixed
|
||||||
|
* part of the RR.
|
||||||
|
*/
|
||||||
|
if (aptr + RRFIXEDSZ > abuf + alen)
|
||||||
|
{
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Parse the fixed part of the RR, and advance to the RR data
|
||||||
|
* field. */
|
||||||
|
type = DNS_RR_TYPE(aptr);
|
||||||
|
dnsclass = DNS_RR_CLASS(aptr);
|
||||||
|
ttl = DNS_RR_TTL(aptr);
|
||||||
|
dlen = DNS_RR_LEN(aptr);
|
||||||
|
aptr += RRFIXEDSZ;
|
||||||
|
if (aptr + dlen > abuf + alen)
|
||||||
|
{
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Display the RR name, class, and type. */
|
||||||
|
printf("\t%-15s.\t%d", name.as_char, ttl);
|
||||||
|
if (dnsclass != C_IN)
|
||||||
|
printf("\t%s", class_name(dnsclass));
|
||||||
|
printf("\t%s", type_name(type));
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
|
||||||
|
/* Display the RR data. Don't touch aptr. */
|
||||||
|
switch (type)
|
||||||
|
{
|
||||||
|
case T_CNAME:
|
||||||
|
case T_MB:
|
||||||
|
case T_MD:
|
||||||
|
case T_MF:
|
||||||
|
case T_MG:
|
||||||
|
case T_MR:
|
||||||
|
case T_NS:
|
||||||
|
case T_PTR:
|
||||||
|
/* For these types, the RR data is just a domain name. */
|
||||||
|
status = ares_expand_name(aptr, abuf, alen, &name.as_char, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t%s.", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case T_HINFO:
|
||||||
|
/* The RR data is two length-counted character strings. */
|
||||||
|
p = aptr;
|
||||||
|
len = *p;
|
||||||
|
if (p + len + 1 > aptr + dlen)
|
||||||
|
return NULL;
|
||||||
|
status = ares_expand_string(p, abuf, alen, &name.as_uchar, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t%s", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
p += len;
|
||||||
|
len = *p;
|
||||||
|
if (p + len + 1 > aptr + dlen)
|
||||||
|
return NULL;
|
||||||
|
status = ares_expand_string(p, abuf, alen, &name.as_uchar, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t%s", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case T_MINFO:
|
||||||
|
/* The RR data is two domain names. */
|
||||||
|
p = aptr;
|
||||||
|
status = ares_expand_name(p, abuf, alen, &name.as_char, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t%s.", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
p += len;
|
||||||
|
status = ares_expand_name(p, abuf, alen, &name.as_char, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t%s.", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case T_MX:
|
||||||
|
/* The RR data is two bytes giving a preference ordering, and
|
||||||
|
* then a domain name.
|
||||||
|
*/
|
||||||
|
if (dlen < 2)
|
||||||
|
return NULL;
|
||||||
|
printf("\t%d", DNS__16BIT(aptr));
|
||||||
|
status = ares_expand_name(aptr + 2, abuf, alen, &name.as_char, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t%s.", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case T_SOA:
|
||||||
|
/* The RR data is two domain names and then five four-byte
|
||||||
|
* numbers giving the serial number and some timeouts.
|
||||||
|
*/
|
||||||
|
p = aptr;
|
||||||
|
status = ares_expand_name(p, abuf, alen, &name.as_char, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t%s.\n", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
p += len;
|
||||||
|
status = ares_expand_name(p, abuf, alen, &name.as_char, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t\t\t\t\t\t%s.\n", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
p += len;
|
||||||
|
if (p + 20 > aptr + dlen)
|
||||||
|
return NULL;
|
||||||
|
printf("\t\t\t\t\t\t( %lu %lu %lu %lu %lu )",
|
||||||
|
(unsigned long)DNS__32BIT(p), (unsigned long)DNS__32BIT(p+4),
|
||||||
|
(unsigned long)DNS__32BIT(p+8), (unsigned long)DNS__32BIT(p+12),
|
||||||
|
(unsigned long)DNS__32BIT(p+16));
|
||||||
|
break;
|
||||||
|
|
||||||
|
case T_TXT:
|
||||||
|
/* The RR data is one or more length-counted character
|
||||||
|
* strings. */
|
||||||
|
p = aptr;
|
||||||
|
while (p < aptr + dlen)
|
||||||
|
{
|
||||||
|
len = *p;
|
||||||
|
if (p + len + 1 > aptr + dlen)
|
||||||
|
return NULL;
|
||||||
|
status = ares_expand_string(p, abuf, alen, &name.as_uchar, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t%s", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
p += len;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case T_A:
|
||||||
|
/* The RR data is a four-byte Internet address. */
|
||||||
|
if (dlen != 4)
|
||||||
|
return NULL;
|
||||||
|
printf("\t%s", ares_inet_ntop(AF_INET,aptr,addr,sizeof(addr)));
|
||||||
|
break;
|
||||||
|
|
||||||
|
case T_AAAA:
|
||||||
|
/* The RR data is a 16-byte IPv6 address. */
|
||||||
|
if (dlen != 16)
|
||||||
|
return NULL;
|
||||||
|
printf("\t%s", ares_inet_ntop(AF_INET6,aptr,addr,sizeof(addr)));
|
||||||
|
break;
|
||||||
|
|
||||||
|
case T_WKS:
|
||||||
|
/* Not implemented yet */
|
||||||
|
break;
|
||||||
|
|
||||||
|
case T_SRV:
|
||||||
|
/* The RR data is three two-byte numbers representing the
|
||||||
|
* priority, weight, and port, followed by a domain name.
|
||||||
|
*/
|
||||||
|
|
||||||
|
printf("\t%d", DNS__16BIT(aptr));
|
||||||
|
printf(" %d", DNS__16BIT(aptr + 2));
|
||||||
|
printf(" %d", DNS__16BIT(aptr + 4));
|
||||||
|
|
||||||
|
status = ares_expand_name(aptr + 6, abuf, alen, &name.as_char, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t%s.", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case T_NAPTR:
|
||||||
|
|
||||||
|
printf("\t%d", DNS__16BIT(aptr)); /* order */
|
||||||
|
printf(" %d\n", DNS__16BIT(aptr + 2)); /* preference */
|
||||||
|
|
||||||
|
p = aptr + 4;
|
||||||
|
status = ares_expand_string(p, abuf, alen, &name.as_uchar, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t\t\t\t\t\t%s\n", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
p += len;
|
||||||
|
|
||||||
|
status = ares_expand_string(p, abuf, alen, &name.as_uchar, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t\t\t\t\t\t%s\n", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
p += len;
|
||||||
|
|
||||||
|
status = ares_expand_string(p, abuf, alen, &name.as_uchar, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t\t\t\t\t\t%s\n", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
p += len;
|
||||||
|
|
||||||
|
status = ares_expand_string(p, abuf, alen, &name.as_uchar, &len);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
return NULL;
|
||||||
|
printf("\t\t\t\t\t\t%s", name.as_char);
|
||||||
|
ares_free_string(name.as_char);
|
||||||
|
break;
|
||||||
|
|
||||||
|
|
||||||
|
default:
|
||||||
|
printf("\t[Unknown RR; cannot parse]");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
printf("\n");
|
||||||
|
|
||||||
|
return aptr + dlen;
|
||||||
|
}
|
||||||
|
|
||||||
|
static const char *type_name(int type)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
|
for (i = 0; i < ntypes; i++)
|
||||||
|
{
|
||||||
|
if (types[i].value == type)
|
||||||
|
return types[i].name;
|
||||||
|
}
|
||||||
|
return "(unknown)";
|
||||||
|
}
|
||||||
|
|
||||||
|
static const char *class_name(int dnsclass)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
|
for (i = 0; i < nclasses; i++)
|
||||||
|
{
|
||||||
|
if (classes[i].value == dnsclass)
|
||||||
|
return classes[i].name;
|
||||||
|
}
|
||||||
|
return "(unknown)";
|
||||||
|
}
|
||||||
|
|
||||||
|
static void usage(void)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "usage: adig [-f flag] [-s server] [-c class] "
|
||||||
|
"[-t type] [-p port] name ...\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
202
ares/ahost.c
Normal file
202
ares/ahost.c
Normal file
@@ -0,0 +1,202 @@
|
|||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#if !defined(WIN32) || defined(WATT32)
|
||||||
|
#ifdef HAVE_SYS_TIME_H
|
||||||
|
#include <sys/time.h>
|
||||||
|
#endif
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_STRINGS_H
|
||||||
|
#include <strings.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_dns.h"
|
||||||
|
#include "inet_ntop.h"
|
||||||
|
#include "inet_net_pton.h"
|
||||||
|
#include "ares_getopt.h"
|
||||||
|
#include "ares_ipv6.h"
|
||||||
|
|
||||||
|
#ifndef HAVE_STRDUP
|
||||||
|
# include "ares_strdup.h"
|
||||||
|
# define strdup(ptr) ares_strdup(ptr)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRCASECMP
|
||||||
|
# include "ares_strcasecmp.h"
|
||||||
|
# define strcasecmp(p1,p2) ares_strcasecmp(p1,p2)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRNCASECMP
|
||||||
|
# include "ares_strcasecmp.h"
|
||||||
|
# define strncasecmp(p1,p2,n) ares_strncasecmp(p1,p2,n)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static void callback(void *arg, int status, int timeouts, struct hostent *host);
|
||||||
|
static void usage(void);
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
ares_channel channel;
|
||||||
|
int status, nfds, c, addr_family = AF_INET;
|
||||||
|
fd_set read_fds, write_fds;
|
||||||
|
struct timeval *tvp, tv;
|
||||||
|
struct in_addr addr4;
|
||||||
|
struct in6_addr addr6;
|
||||||
|
|
||||||
|
#ifdef USE_WINSOCK
|
||||||
|
WORD wVersionRequested = MAKEWORD(USE_WINSOCK,USE_WINSOCK);
|
||||||
|
WSADATA wsaData;
|
||||||
|
WSAStartup(wVersionRequested, &wsaData);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
status = ares_library_init(ARES_LIB_INIT_ALL);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "ares_library_init: %s\n", ares_strerror(status));
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
while ((c = ares_getopt(argc,argv,"dt:h")) != -1)
|
||||||
|
{
|
||||||
|
switch (c)
|
||||||
|
{
|
||||||
|
case 'd':
|
||||||
|
#ifdef WATT32
|
||||||
|
dbug_init();
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
case 't':
|
||||||
|
if (!strcasecmp(optarg,"a"))
|
||||||
|
addr_family = AF_INET;
|
||||||
|
else if (!strcasecmp(optarg,"aaaa"))
|
||||||
|
addr_family = AF_INET6;
|
||||||
|
else
|
||||||
|
usage();
|
||||||
|
break;
|
||||||
|
case 'h':
|
||||||
|
default:
|
||||||
|
usage();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
argc -= optind;
|
||||||
|
argv += optind;
|
||||||
|
if (argc < 1)
|
||||||
|
usage();
|
||||||
|
|
||||||
|
status = ares_init(&channel);
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "ares_init: %s\n", ares_strerror(status));
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Initiate the queries, one per command-line argument. */
|
||||||
|
for ( ; *argv; argv++)
|
||||||
|
{
|
||||||
|
if (ares_inet_pton(AF_INET, *argv, &addr4) == 1)
|
||||||
|
{
|
||||||
|
ares_gethostbyaddr(channel, &addr4, sizeof(addr4), AF_INET, callback,
|
||||||
|
*argv);
|
||||||
|
}
|
||||||
|
else if (ares_inet_pton(AF_INET6, *argv, &addr6) == 1)
|
||||||
|
{
|
||||||
|
ares_gethostbyaddr(channel, &addr6, sizeof(addr6), AF_INET6, callback,
|
||||||
|
*argv);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ares_gethostbyname(channel, *argv, addr_family, callback, *argv);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Wait for all queries to complete. */
|
||||||
|
for (;;)
|
||||||
|
{
|
||||||
|
FD_ZERO(&read_fds);
|
||||||
|
FD_ZERO(&write_fds);
|
||||||
|
nfds = ares_fds(channel, &read_fds, &write_fds);
|
||||||
|
if (nfds == 0)
|
||||||
|
break;
|
||||||
|
tvp = ares_timeout(channel, NULL, &tv);
|
||||||
|
select(nfds, &read_fds, &write_fds, NULL, tvp);
|
||||||
|
ares_process(channel, &read_fds, &write_fds);
|
||||||
|
}
|
||||||
|
|
||||||
|
ares_destroy(channel);
|
||||||
|
|
||||||
|
ares_library_cleanup();
|
||||||
|
|
||||||
|
#ifdef USE_WINSOCK
|
||||||
|
WSACleanup();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void callback(void *arg, int status, int timeouts, struct hostent *host)
|
||||||
|
{
|
||||||
|
char **p;
|
||||||
|
|
||||||
|
(void)timeouts;
|
||||||
|
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "%s: %s\n", (char *) arg, ares_strerror(status));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (p = host->h_addr_list; *p; p++)
|
||||||
|
{
|
||||||
|
char addr_buf[46] = "??";
|
||||||
|
|
||||||
|
ares_inet_ntop(host->h_addrtype, *p, addr_buf, sizeof(addr_buf));
|
||||||
|
printf("%-32s\t%s", host->h_name, addr_buf);
|
||||||
|
#if 0
|
||||||
|
if (host->h_aliases[0])
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
|
printf (", Aliases: ");
|
||||||
|
for (i = 0; host->h_aliases[i]; i++)
|
||||||
|
printf("%s ", host->h_aliases[i]);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
puts("");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void usage(void)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "usage: ahost [-t {a|aaaa}] {host|addr} ...\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
494
ares/ares.h
Normal file
494
ares/ares.h
Normal file
@@ -0,0 +1,494 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998, 2009 by the Massachusetts Institute of Technology.
|
||||||
|
* Copyright (C) 2007-2009 by Daniel Stenberg
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ARES__H
|
||||||
|
#define ARES__H
|
||||||
|
|
||||||
|
#include "ares_version.h" /* c-ares version defines */
|
||||||
|
#include "ares_build.h" /* c-ares build definitions */
|
||||||
|
#include "ares_rules.h" /* c-ares rules enforcement */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Define WIN32 when build target is Win32 API
|
||||||
|
*/
|
||||||
|
|
||||||
|
#if (defined(_WIN32) || defined(__WIN32__)) && \
|
||||||
|
!defined(WIN32) && !defined(__SYMBIAN32__)
|
||||||
|
# define WIN32
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
/* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish
|
||||||
|
libc5-based Linux systems. Only include it on system that are known to
|
||||||
|
require it! */
|
||||||
|
#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \
|
||||||
|
defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY)
|
||||||
|
#include <sys/select.h>
|
||||||
|
#endif
|
||||||
|
#if (defined(NETWARE) && !defined(__NOVELL_LIBC__))
|
||||||
|
#include <sys/bsdskt.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(WATT32)
|
||||||
|
# include <netinet/in.h>
|
||||||
|
# include <sys/socket.h>
|
||||||
|
# include <tcp.h>
|
||||||
|
#elif defined(WIN32)
|
||||||
|
# ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# endif
|
||||||
|
# include <windows.h>
|
||||||
|
# include <winsock2.h>
|
||||||
|
# include <ws2tcpip.h>
|
||||||
|
#else
|
||||||
|
# include <sys/socket.h>
|
||||||
|
# include <netinet/in.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
** c-ares external API function linkage decorations.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#if !defined(CARES_STATICLIB) && \
|
||||||
|
(defined(WIN32) || defined(_WIN32) || defined(__SYMBIAN32__))
|
||||||
|
/* __declspec function decoration for Win32 and Symbian DLL's */
|
||||||
|
# if defined(CARES_BUILDING_LIBRARY)
|
||||||
|
# define CARES_EXTERN __declspec(dllexport)
|
||||||
|
# else
|
||||||
|
# define CARES_EXTERN __declspec(dllimport)
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
/* visibility function decoration for other cases */
|
||||||
|
# if !defined(CARES_SYMBOL_HIDING) || \
|
||||||
|
defined(WIN32) || defined(_WIN32) || defined(__SYMBIAN32__)
|
||||||
|
# define CARES_EXTERN
|
||||||
|
# else
|
||||||
|
# define CARES_EXTERN CARES_SYMBOL_SCOPE_EXTERN
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#define ARES_SUCCESS 0
|
||||||
|
|
||||||
|
/* Server error codes (ARES_ENODATA indicates no relevant answer) */
|
||||||
|
#define ARES_ENODATA 1
|
||||||
|
#define ARES_EFORMERR 2
|
||||||
|
#define ARES_ESERVFAIL 3
|
||||||
|
#define ARES_ENOTFOUND 4
|
||||||
|
#define ARES_ENOTIMP 5
|
||||||
|
#define ARES_EREFUSED 6
|
||||||
|
|
||||||
|
/* Locally generated error codes */
|
||||||
|
#define ARES_EBADQUERY 7
|
||||||
|
#define ARES_EBADNAME 8
|
||||||
|
#define ARES_EBADFAMILY 9
|
||||||
|
#define ARES_EBADRESP 10
|
||||||
|
#define ARES_ECONNREFUSED 11
|
||||||
|
#define ARES_ETIMEOUT 12
|
||||||
|
#define ARES_EOF 13
|
||||||
|
#define ARES_EFILE 14
|
||||||
|
#define ARES_ENOMEM 15
|
||||||
|
#define ARES_EDESTRUCTION 16
|
||||||
|
#define ARES_EBADSTR 17
|
||||||
|
|
||||||
|
/* ares_getnameinfo error codes */
|
||||||
|
#define ARES_EBADFLAGS 18
|
||||||
|
|
||||||
|
/* ares_getaddrinfo error codes */
|
||||||
|
#define ARES_ENONAME 19
|
||||||
|
#define ARES_EBADHINTS 20
|
||||||
|
|
||||||
|
/* Uninitialized library error code */
|
||||||
|
#define ARES_ENOTINITIALIZED 21 /* introduced in 1.7.0 */
|
||||||
|
|
||||||
|
/* ares_library_init error codes */
|
||||||
|
#define ARES_ELOADIPHLPAPI 22 /* introduced in 1.7.0 */
|
||||||
|
#define ARES_EADDRGETNETWORKPARAMS 23 /* introduced in 1.7.0 */
|
||||||
|
|
||||||
|
/* More error codes */
|
||||||
|
#define ARES_ECANCELLED 24 /* introduced in 1.7.0 */
|
||||||
|
|
||||||
|
/* Flag values */
|
||||||
|
#define ARES_FLAG_USEVC (1 << 0)
|
||||||
|
#define ARES_FLAG_PRIMARY (1 << 1)
|
||||||
|
#define ARES_FLAG_IGNTC (1 << 2)
|
||||||
|
#define ARES_FLAG_NORECURSE (1 << 3)
|
||||||
|
#define ARES_FLAG_STAYOPEN (1 << 4)
|
||||||
|
#define ARES_FLAG_NOSEARCH (1 << 5)
|
||||||
|
#define ARES_FLAG_NOALIASES (1 << 6)
|
||||||
|
#define ARES_FLAG_NOCHECKRESP (1 << 7)
|
||||||
|
|
||||||
|
/* Option mask values */
|
||||||
|
#define ARES_OPT_FLAGS (1 << 0)
|
||||||
|
#define ARES_OPT_TIMEOUT (1 << 1)
|
||||||
|
#define ARES_OPT_TRIES (1 << 2)
|
||||||
|
#define ARES_OPT_NDOTS (1 << 3)
|
||||||
|
#define ARES_OPT_UDP_PORT (1 << 4)
|
||||||
|
#define ARES_OPT_TCP_PORT (1 << 5)
|
||||||
|
#define ARES_OPT_SERVERS (1 << 6)
|
||||||
|
#define ARES_OPT_DOMAINS (1 << 7)
|
||||||
|
#define ARES_OPT_LOOKUPS (1 << 8)
|
||||||
|
#define ARES_OPT_SOCK_STATE_CB (1 << 9)
|
||||||
|
#define ARES_OPT_SORTLIST (1 << 10)
|
||||||
|
#define ARES_OPT_SOCK_SNDBUF (1 << 11)
|
||||||
|
#define ARES_OPT_SOCK_RCVBUF (1 << 12)
|
||||||
|
#define ARES_OPT_TIMEOUTMS (1 << 13)
|
||||||
|
#define ARES_OPT_ROTATE (1 << 14)
|
||||||
|
|
||||||
|
/* Nameinfo flag values */
|
||||||
|
#define ARES_NI_NOFQDN (1 << 0)
|
||||||
|
#define ARES_NI_NUMERICHOST (1 << 1)
|
||||||
|
#define ARES_NI_NAMEREQD (1 << 2)
|
||||||
|
#define ARES_NI_NUMERICSERV (1 << 3)
|
||||||
|
#define ARES_NI_DGRAM (1 << 4)
|
||||||
|
#define ARES_NI_TCP 0
|
||||||
|
#define ARES_NI_UDP ARES_NI_DGRAM
|
||||||
|
#define ARES_NI_SCTP (1 << 5)
|
||||||
|
#define ARES_NI_DCCP (1 << 6)
|
||||||
|
#define ARES_NI_NUMERICSCOPE (1 << 7)
|
||||||
|
#define ARES_NI_LOOKUPHOST (1 << 8)
|
||||||
|
#define ARES_NI_LOOKUPSERVICE (1 << 9)
|
||||||
|
/* Reserved for future use */
|
||||||
|
#define ARES_NI_IDN (1 << 10)
|
||||||
|
#define ARES_NI_IDN_ALLOW_UNASSIGNED (1 << 11)
|
||||||
|
#define ARES_NI_IDN_USE_STD3_ASCII_RULES (1 << 12)
|
||||||
|
|
||||||
|
/* Addrinfo flag values */
|
||||||
|
#define ARES_AI_CANONNAME (1 << 0)
|
||||||
|
#define ARES_AI_NUMERICHOST (1 << 1)
|
||||||
|
#define ARES_AI_PASSIVE (1 << 2)
|
||||||
|
#define ARES_AI_NUMERICSERV (1 << 3)
|
||||||
|
#define ARES_AI_V4MAPPED (1 << 4)
|
||||||
|
#define ARES_AI_ALL (1 << 5)
|
||||||
|
#define ARES_AI_ADDRCONFIG (1 << 6)
|
||||||
|
/* Reserved for future use */
|
||||||
|
#define ARES_AI_IDN (1 << 10)
|
||||||
|
#define ARES_AI_IDN_ALLOW_UNASSIGNED (1 << 11)
|
||||||
|
#define ARES_AI_IDN_USE_STD3_ASCII_RULES (1 << 12)
|
||||||
|
#define ARES_AI_CANONIDN (1 << 13)
|
||||||
|
|
||||||
|
#define ARES_AI_MASK (ARES_AI_CANONNAME|ARES_AI_NUMERICHOST|ARES_AI_PASSIVE| \
|
||||||
|
ARES_AI_NUMERICSERV|ARES_AI_V4MAPPED|ARES_AI_ALL| \
|
||||||
|
ARES_AI_ADDRCONFIG)
|
||||||
|
#define ARES_GETSOCK_MAXNUM 16 /* ares_getsock() can return info about this
|
||||||
|
many sockets */
|
||||||
|
#define ARES_GETSOCK_READABLE(bits,num) (bits & (1<< (num)))
|
||||||
|
#define ARES_GETSOCK_WRITABLE(bits,num) (bits & (1 << ((num) + \
|
||||||
|
ARES_GETSOCK_MAXNUM)))
|
||||||
|
|
||||||
|
/* c-ares library initialization flag values */
|
||||||
|
#define ARES_LIB_INIT_NONE (0)
|
||||||
|
#define ARES_LIB_INIT_WIN32 (1 << 0)
|
||||||
|
#define ARES_LIB_INIT_ALL (ARES_LIB_INIT_WIN32)
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Typedef our socket type
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ares_socket_typedef
|
||||||
|
#ifdef WIN32
|
||||||
|
typedef SOCKET ares_socket_t;
|
||||||
|
#define ARES_SOCKET_BAD INVALID_SOCKET
|
||||||
|
#else
|
||||||
|
typedef int ares_socket_t;
|
||||||
|
#define ARES_SOCKET_BAD -1
|
||||||
|
#endif
|
||||||
|
#define ares_socket_typedef
|
||||||
|
#endif /* ares_socket_typedef */
|
||||||
|
|
||||||
|
typedef void (*ares_sock_state_cb)(void *data,
|
||||||
|
ares_socket_t socket_fd,
|
||||||
|
int readable,
|
||||||
|
int writable);
|
||||||
|
|
||||||
|
struct apattern;
|
||||||
|
|
||||||
|
/* NOTE about the ares_options struct to users and developers.
|
||||||
|
|
||||||
|
This struct will remain looking like this. It will not be extended nor
|
||||||
|
shrunk in future releases, but all new options will be set by ares_set_*()
|
||||||
|
options instead of with the ares_init_options() function.
|
||||||
|
|
||||||
|
Eventually (in a galaxy far far away), all options will be settable by
|
||||||
|
ares_set_*() options and the ares_init_options() function will become
|
||||||
|
deprecated.
|
||||||
|
|
||||||
|
When new options are added to c-ares, they are not added to this
|
||||||
|
struct. And they are not "saved" with the ares_save_options() function but
|
||||||
|
instead we encourage the use of the ares_dup() function. Needless to say,
|
||||||
|
if you add config options to c-ares you need to make sure ares_dup()
|
||||||
|
duplicates this new option.
|
||||||
|
|
||||||
|
*/
|
||||||
|
struct ares_options {
|
||||||
|
int flags;
|
||||||
|
int timeout; /* in seconds or milliseconds, depending on options */
|
||||||
|
int tries;
|
||||||
|
int ndots;
|
||||||
|
unsigned short udp_port;
|
||||||
|
unsigned short tcp_port;
|
||||||
|
int socket_send_buffer_size;
|
||||||
|
int socket_receive_buffer_size;
|
||||||
|
struct in_addr *servers;
|
||||||
|
int nservers;
|
||||||
|
char **domains;
|
||||||
|
int ndomains;
|
||||||
|
char *lookups;
|
||||||
|
ares_sock_state_cb sock_state_cb;
|
||||||
|
void *sock_state_cb_data;
|
||||||
|
struct apattern *sortlist;
|
||||||
|
int nsort;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct hostent;
|
||||||
|
struct timeval;
|
||||||
|
struct sockaddr;
|
||||||
|
struct ares_channeldata;
|
||||||
|
|
||||||
|
typedef struct ares_channeldata *ares_channel;
|
||||||
|
|
||||||
|
typedef void (*ares_callback)(void *arg,
|
||||||
|
int status,
|
||||||
|
int timeouts,
|
||||||
|
unsigned char *abuf,
|
||||||
|
int alen);
|
||||||
|
|
||||||
|
typedef void (*ares_host_callback)(void *arg,
|
||||||
|
int status,
|
||||||
|
int timeouts,
|
||||||
|
struct hostent *hostent);
|
||||||
|
|
||||||
|
typedef void (*ares_nameinfo_callback)(void *arg,
|
||||||
|
int status,
|
||||||
|
int timeouts,
|
||||||
|
char *node,
|
||||||
|
char *service);
|
||||||
|
|
||||||
|
typedef int (*ares_sock_create_callback)(ares_socket_t socket_fd,
|
||||||
|
int type,
|
||||||
|
void *data);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_library_init(int flags);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_library_cleanup(void);
|
||||||
|
|
||||||
|
CARES_EXTERN const char *ares_version(int *version);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_init(ares_channel *channelptr);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_init_options(ares_channel *channelptr,
|
||||||
|
struct ares_options *options,
|
||||||
|
int optmask);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_save_options(ares_channel channel,
|
||||||
|
struct ares_options *options,
|
||||||
|
int *optmask);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_destroy_options(struct ares_options *options);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_dup(ares_channel *dest,
|
||||||
|
ares_channel src);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_destroy(ares_channel channel);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_cancel(ares_channel channel);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_set_socket_callback(ares_channel channel,
|
||||||
|
ares_sock_create_callback callback,
|
||||||
|
void *user_data);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_send(ares_channel channel,
|
||||||
|
const unsigned char *qbuf,
|
||||||
|
int qlen,
|
||||||
|
ares_callback callback,
|
||||||
|
void *arg);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_query(ares_channel channel,
|
||||||
|
const char *name,
|
||||||
|
int dnsclass,
|
||||||
|
int type,
|
||||||
|
ares_callback callback,
|
||||||
|
void *arg);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_search(ares_channel channel,
|
||||||
|
const char *name,
|
||||||
|
int dnsclass,
|
||||||
|
int type,
|
||||||
|
ares_callback callback,
|
||||||
|
void *arg);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_gethostbyname(ares_channel channel,
|
||||||
|
const char *name,
|
||||||
|
int family,
|
||||||
|
ares_host_callback callback,
|
||||||
|
void *arg);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_gethostbyname_file(ares_channel channel,
|
||||||
|
const char *name,
|
||||||
|
int family,
|
||||||
|
struct hostent **host);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_gethostbyaddr(ares_channel channel,
|
||||||
|
const void *addr,
|
||||||
|
int addrlen,
|
||||||
|
int family,
|
||||||
|
ares_host_callback callback,
|
||||||
|
void *arg);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_getnameinfo(ares_channel channel,
|
||||||
|
const struct sockaddr *sa,
|
||||||
|
ares_socklen_t salen,
|
||||||
|
int flags,
|
||||||
|
ares_nameinfo_callback callback,
|
||||||
|
void *arg);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_fds(ares_channel channel,
|
||||||
|
fd_set *read_fds,
|
||||||
|
fd_set *write_fds);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_getsock(ares_channel channel,
|
||||||
|
int *socks,
|
||||||
|
int numsocks);
|
||||||
|
|
||||||
|
CARES_EXTERN struct timeval *ares_timeout(ares_channel channel,
|
||||||
|
struct timeval *maxtv,
|
||||||
|
struct timeval *tv);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_process(ares_channel channel,
|
||||||
|
fd_set *read_fds,
|
||||||
|
fd_set *write_fds);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_process_fd(ares_channel channel,
|
||||||
|
ares_socket_t read_fd,
|
||||||
|
ares_socket_t write_fd);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_mkquery(const char *name,
|
||||||
|
int dnsclass,
|
||||||
|
int type,
|
||||||
|
unsigned short id,
|
||||||
|
int rd,
|
||||||
|
unsigned char **buf,
|
||||||
|
int *buflen);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_expand_name(const unsigned char *encoded,
|
||||||
|
const unsigned char *abuf,
|
||||||
|
int alen,
|
||||||
|
char **s,
|
||||||
|
long *enclen);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_expand_string(const unsigned char *encoded,
|
||||||
|
const unsigned char *abuf,
|
||||||
|
int alen,
|
||||||
|
unsigned char **s,
|
||||||
|
long *enclen);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* NOTE: before c-ares 1.7.0 we would most often use the system in6_addr
|
||||||
|
* struct below when ares itself was built, but many apps would use this
|
||||||
|
* private version since the header checked a HAVE_* define for it. Starting
|
||||||
|
* with 1.7.0 we always declare and use our own to stop relying on the
|
||||||
|
* system's one.
|
||||||
|
*/
|
||||||
|
struct ares_in6_addr {
|
||||||
|
union {
|
||||||
|
unsigned char _S6_u8[16];
|
||||||
|
} _S6_un;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct ares_addrttl {
|
||||||
|
struct in_addr ipaddr;
|
||||||
|
int ttl;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct ares_addr6ttl {
|
||||||
|
struct ares_in6_addr ip6addr;
|
||||||
|
int ttl;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct ares_srv_reply {
|
||||||
|
struct ares_srv_reply *next;
|
||||||
|
char *host;
|
||||||
|
unsigned short priority;
|
||||||
|
unsigned short weight;
|
||||||
|
unsigned short port;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct ares_txt_reply {
|
||||||
|
struct ares_txt_reply *next;
|
||||||
|
unsigned char *txt;
|
||||||
|
size_t length; /* length excludes null termination */
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Parse the buffer, starting at *abuf and of length alen bytes, previously
|
||||||
|
** obtained from an ares_search call. Put the results in *host, if nonnull.
|
||||||
|
** Also, if addrttls is nonnull, put up to *naddrttls IPv4 addresses along with
|
||||||
|
** their TTLs in that array, and set *naddrttls to the number of addresses
|
||||||
|
** so written.
|
||||||
|
*/
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_parse_a_reply(const unsigned char *abuf,
|
||||||
|
int alen,
|
||||||
|
struct hostent **host,
|
||||||
|
struct ares_addrttl *addrttls,
|
||||||
|
int *naddrttls);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_parse_aaaa_reply(const unsigned char *abuf,
|
||||||
|
int alen,
|
||||||
|
struct hostent **host,
|
||||||
|
struct ares_addr6ttl *addrttls,
|
||||||
|
int *naddrttls);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_parse_ptr_reply(const unsigned char *abuf,
|
||||||
|
int alen,
|
||||||
|
const void *addr,
|
||||||
|
int addrlen,
|
||||||
|
int family,
|
||||||
|
struct hostent **host);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_parse_ns_reply(const unsigned char *abuf,
|
||||||
|
int alen,
|
||||||
|
struct hostent **host);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_parse_srv_reply(const unsigned char* abuf,
|
||||||
|
int alen,
|
||||||
|
struct ares_srv_reply** srv_out);
|
||||||
|
|
||||||
|
CARES_EXTERN int ares_parse_txt_reply(const unsigned char* abuf,
|
||||||
|
int alen,
|
||||||
|
struct ares_txt_reply** txt_out);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_free_string(void *str);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_free_hostent(struct hostent *host);
|
||||||
|
|
||||||
|
CARES_EXTERN void ares_free_data(void *dataptr);
|
||||||
|
|
||||||
|
CARES_EXTERN const char *ares_strerror(int code);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* ARES__H */
|
||||||
67
ares/ares__close_sockets.c
Normal file
67
ares/ares__close_sockets.c
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
void ares__close_sockets(ares_channel channel, struct server_state *server)
|
||||||
|
{
|
||||||
|
struct send_request *sendreq;
|
||||||
|
|
||||||
|
/* Free all pending output buffers. */
|
||||||
|
while (server->qhead)
|
||||||
|
{
|
||||||
|
/* Advance server->qhead; pull out query as we go. */
|
||||||
|
sendreq = server->qhead;
|
||||||
|
server->qhead = sendreq->next;
|
||||||
|
if (sendreq->data_storage != NULL)
|
||||||
|
free(sendreq->data_storage);
|
||||||
|
free(sendreq);
|
||||||
|
}
|
||||||
|
server->qtail = NULL;
|
||||||
|
|
||||||
|
/* Reset any existing input buffer. */
|
||||||
|
if (server->tcp_buffer)
|
||||||
|
free(server->tcp_buffer);
|
||||||
|
server->tcp_buffer = NULL;
|
||||||
|
server->tcp_lenbuf_pos = 0;
|
||||||
|
|
||||||
|
/* Reset brokenness */
|
||||||
|
server->is_broken = 0;
|
||||||
|
|
||||||
|
/* Close the TCP and UDP sockets. */
|
||||||
|
if (server->tcp_socket != ARES_SOCKET_BAD)
|
||||||
|
{
|
||||||
|
SOCK_STATE_CALLBACK(channel, server->tcp_socket, 0, 0);
|
||||||
|
sclose(server->tcp_socket);
|
||||||
|
server->tcp_socket = ARES_SOCKET_BAD;
|
||||||
|
server->tcp_connection_generation = ++channel->tcp_connection_generation;
|
||||||
|
}
|
||||||
|
if (server->udp_socket != ARES_SOCKET_BAD)
|
||||||
|
{
|
||||||
|
SOCK_STATE_CALLBACK(channel, server->udp_socket, 0, 0);
|
||||||
|
sclose(server->udp_socket);
|
||||||
|
server->udp_socket = ARES_SOCKET_BAD;
|
||||||
|
}
|
||||||
|
}
|
||||||
264
ares/ares__get_hostent.c
Normal file
264
ares/ares__get_hostent.c
Normal file
@@ -0,0 +1,264 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998, 2009 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETINET_IN_H
|
||||||
|
# include <netinet/in.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETDB_H
|
||||||
|
# include <netdb.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "inet_net_pton.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
int ares__get_hostent(FILE *fp, int family, struct hostent **host)
|
||||||
|
{
|
||||||
|
char *line = NULL, *p, *q, **alias;
|
||||||
|
char *txtaddr, *txthost, *txtalias;
|
||||||
|
int status;
|
||||||
|
size_t addrlen, linesize, naliases;
|
||||||
|
struct ares_addr addr;
|
||||||
|
struct hostent *hostent = NULL;
|
||||||
|
|
||||||
|
*host = NULL; /* Assume failure */
|
||||||
|
|
||||||
|
/* Validate family */
|
||||||
|
switch (family) {
|
||||||
|
case AF_INET:
|
||||||
|
case AF_INET6:
|
||||||
|
case AF_UNSPEC:
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
return ARES_EBADFAMILY;
|
||||||
|
}
|
||||||
|
|
||||||
|
while ((status = ares__read_line(fp, &line, &linesize)) == ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
|
||||||
|
/* Trim line comment. */
|
||||||
|
p = line;
|
||||||
|
while (*p && (*p != '#'))
|
||||||
|
p++;
|
||||||
|
*p = '\0';
|
||||||
|
|
||||||
|
/* Trim trailing whitespace. */
|
||||||
|
q = p - 1;
|
||||||
|
while ((q >= line) && ISSPACE(*q))
|
||||||
|
q--;
|
||||||
|
*++q = '\0';
|
||||||
|
|
||||||
|
/* Skip leading whitespace. */
|
||||||
|
p = line;
|
||||||
|
while (*p && ISSPACE(*p))
|
||||||
|
p++;
|
||||||
|
if (!*p)
|
||||||
|
/* Ignore line if empty. */
|
||||||
|
continue;
|
||||||
|
|
||||||
|
/* Pointer to start of IPv4 or IPv6 address part. */
|
||||||
|
txtaddr = p;
|
||||||
|
|
||||||
|
/* Advance past address part. */
|
||||||
|
while (*p && !ISSPACE(*p))
|
||||||
|
p++;
|
||||||
|
if (!*p)
|
||||||
|
/* Ignore line if reached end of line. */
|
||||||
|
continue;
|
||||||
|
|
||||||
|
/* Null terminate address part. */
|
||||||
|
*p = '\0';
|
||||||
|
|
||||||
|
/* Advance to host name */
|
||||||
|
p++;
|
||||||
|
while (*p && ISSPACE(*p))
|
||||||
|
p++;
|
||||||
|
if (!*p)
|
||||||
|
/* Ignore line if reached end of line. */
|
||||||
|
continue;
|
||||||
|
|
||||||
|
/* Pointer to start of host name. */
|
||||||
|
txthost = p;
|
||||||
|
|
||||||
|
/* Advance past host name. */
|
||||||
|
while (*p && !ISSPACE(*p))
|
||||||
|
p++;
|
||||||
|
|
||||||
|
/* Pointer to start of first alias. */
|
||||||
|
txtalias = NULL;
|
||||||
|
if (*p)
|
||||||
|
{
|
||||||
|
q = p + 1;
|
||||||
|
while (*q && ISSPACE(*q))
|
||||||
|
q++;
|
||||||
|
if (*q)
|
||||||
|
txtalias = q;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Null terminate host name. */
|
||||||
|
*p = '\0';
|
||||||
|
|
||||||
|
/* find out number of aliases. */
|
||||||
|
naliases = 0;
|
||||||
|
if (txtalias)
|
||||||
|
{
|
||||||
|
p = txtalias;
|
||||||
|
while (*p)
|
||||||
|
{
|
||||||
|
while (*p && !ISSPACE(*p))
|
||||||
|
p++;
|
||||||
|
while (*p && ISSPACE(*p))
|
||||||
|
p++;
|
||||||
|
naliases++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Convert address string to network address for the requested family. */
|
||||||
|
addrlen = 0;
|
||||||
|
addr.family = AF_UNSPEC;
|
||||||
|
addr.addrV4.s_addr = INADDR_NONE;
|
||||||
|
if ((family == AF_INET) || (family == AF_UNSPEC))
|
||||||
|
{
|
||||||
|
addr.addrV4.s_addr = inet_addr(txtaddr);
|
||||||
|
if (addr.addrV4.s_addr != INADDR_NONE)
|
||||||
|
{
|
||||||
|
/* Actual network address family and length. */
|
||||||
|
addr.family = AF_INET;
|
||||||
|
addrlen = sizeof(struct in_addr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ((family == AF_INET6) || ((family == AF_UNSPEC) && (!addrlen)))
|
||||||
|
{
|
||||||
|
if (ares_inet_pton(AF_INET6, txtaddr, &addr.addrV6) > 0)
|
||||||
|
{
|
||||||
|
/* Actual network address family and length. */
|
||||||
|
addr.family = AF_INET6;
|
||||||
|
addrlen = sizeof(struct in6_addr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!addrlen)
|
||||||
|
/* Ignore line if invalid address string for the requested family. */
|
||||||
|
continue;
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Actual address family possible values are AF_INET and AF_INET6 only.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Allocate memory for the hostent structure. */
|
||||||
|
hostent = malloc(sizeof(struct hostent));
|
||||||
|
if (!hostent)
|
||||||
|
break;
|
||||||
|
|
||||||
|
/* Initialize fields for out of memory condition. */
|
||||||
|
hostent->h_aliases = NULL;
|
||||||
|
hostent->h_addr_list = NULL;
|
||||||
|
|
||||||
|
/* Copy official host name. */
|
||||||
|
hostent->h_name = strdup(txthost);
|
||||||
|
if (!hostent->h_name)
|
||||||
|
break;
|
||||||
|
|
||||||
|
/* Copy network address. */
|
||||||
|
hostent->h_addr_list = malloc(2 * sizeof(char *));
|
||||||
|
if (!hostent->h_addr_list)
|
||||||
|
break;
|
||||||
|
hostent->h_addr_list[1] = NULL;
|
||||||
|
hostent->h_addr_list[0] = malloc(addrlen);
|
||||||
|
if (!hostent->h_addr_list[0])
|
||||||
|
break;
|
||||||
|
if (addr.family == AF_INET)
|
||||||
|
memcpy(hostent->h_addr_list[0], &addr.addrV4, sizeof(struct in_addr));
|
||||||
|
else
|
||||||
|
memcpy(hostent->h_addr_list[0], &addr.addrV6, sizeof(struct in6_addr));
|
||||||
|
|
||||||
|
/* Copy aliases. */
|
||||||
|
hostent->h_aliases = malloc((naliases + 1) * sizeof(char *));
|
||||||
|
if (!hostent->h_aliases)
|
||||||
|
break;
|
||||||
|
alias = hostent->h_aliases;
|
||||||
|
while (naliases)
|
||||||
|
*(alias + naliases--) = NULL;
|
||||||
|
*alias = NULL;
|
||||||
|
while (txtalias)
|
||||||
|
{
|
||||||
|
p = txtalias;
|
||||||
|
while (*p && !ISSPACE(*p))
|
||||||
|
p++;
|
||||||
|
q = p;
|
||||||
|
while (*q && ISSPACE(*q))
|
||||||
|
q++;
|
||||||
|
*p = '\0';
|
||||||
|
if ((*alias = strdup(txtalias)) == NULL)
|
||||||
|
break;
|
||||||
|
alias++;
|
||||||
|
txtalias = *q ? q : NULL;
|
||||||
|
}
|
||||||
|
if (txtalias)
|
||||||
|
/* Alias memory allocation failure. */
|
||||||
|
break;
|
||||||
|
|
||||||
|
/* Copy actual network address family and length. */
|
||||||
|
hostent->h_addrtype = addr.family;
|
||||||
|
hostent->h_length = (int)addrlen;
|
||||||
|
|
||||||
|
/* Free line buffer. */
|
||||||
|
free(line);
|
||||||
|
|
||||||
|
/* Return hostent successfully */
|
||||||
|
*host = hostent;
|
||||||
|
return ARES_SUCCESS;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If allocated, free line buffer. */
|
||||||
|
if (line)
|
||||||
|
free(line);
|
||||||
|
|
||||||
|
if (status == ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
/* Memory allocation failure; clean up. */
|
||||||
|
if (hostent)
|
||||||
|
{
|
||||||
|
if (hostent->h_name)
|
||||||
|
free((char *) hostent->h_name);
|
||||||
|
if (hostent->h_aliases)
|
||||||
|
{
|
||||||
|
for (alias = hostent->h_aliases; *alias; alias++)
|
||||||
|
free(*alias);
|
||||||
|
free(hostent->h_aliases);
|
||||||
|
}
|
||||||
|
if (hostent->h_addr_list)
|
||||||
|
{
|
||||||
|
if (hostent->h_addr_list[0])
|
||||||
|
free(hostent->h_addr_list[0]);
|
||||||
|
free(hostent->h_addr_list);
|
||||||
|
}
|
||||||
|
free(hostent);
|
||||||
|
}
|
||||||
|
return ARES_ENOMEM;
|
||||||
|
}
|
||||||
|
|
||||||
|
return status;
|
||||||
|
}
|
||||||
67
ares/ares__read_line.c
Normal file
67
ares/ares__read_line.c
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
/* This is an internal function. Its contract is to read a line from
|
||||||
|
* a file into a dynamically allocated buffer, zeroing the trailing
|
||||||
|
* newline if there is one. The calling routine may call
|
||||||
|
* ares__read_line multiple times with the same buf and bufsize
|
||||||
|
* pointers; *buf will be reallocated and *bufsize adjusted as
|
||||||
|
* appropriate. The initial value of *buf should be NULL. After the
|
||||||
|
* calling routine is done reading lines, it should free *buf.
|
||||||
|
*/
|
||||||
|
int ares__read_line(FILE *fp, char **buf, size_t *bufsize)
|
||||||
|
{
|
||||||
|
char *newbuf;
|
||||||
|
size_t offset = 0;
|
||||||
|
size_t len;
|
||||||
|
|
||||||
|
if (*buf == NULL)
|
||||||
|
{
|
||||||
|
*buf = malloc(128);
|
||||||
|
if (!*buf)
|
||||||
|
return ARES_ENOMEM;
|
||||||
|
*bufsize = 128;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (;;)
|
||||||
|
{
|
||||||
|
if (!fgets(*buf + offset, (int)(*bufsize - offset), fp))
|
||||||
|
return (offset != 0) ? 0 : (ferror(fp)) ? ARES_EFILE : ARES_EOF;
|
||||||
|
len = offset + strlen(*buf + offset);
|
||||||
|
if ((*buf)[len - 1] == '\n')
|
||||||
|
{
|
||||||
|
(*buf)[len - 1] = 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
offset = len;
|
||||||
|
|
||||||
|
/* Allocate more space. */
|
||||||
|
newbuf = realloc(*buf, *bufsize * 2);
|
||||||
|
if (!newbuf)
|
||||||
|
return ARES_ENOMEM;
|
||||||
|
*buf = newbuf;
|
||||||
|
*bufsize *= 2;
|
||||||
|
}
|
||||||
|
return ARES_SUCCESS;
|
||||||
|
}
|
||||||
112
ares/ares__timeval.c
Normal file
112
ares/ares__timeval.c
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright (C) 2008 by Daniel Stenberg et al
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this software and its
|
||||||
|
* documentation for any purpose and without fee is hereby granted, provided
|
||||||
|
* that the above copyright notice appear in all copies and that both that
|
||||||
|
* copyright notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in advertising or
|
||||||
|
* publicity pertaining to distribution of the software without specific,
|
||||||
|
* written prior permission. M.I.T. makes no representations about the
|
||||||
|
* suitability of this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
#if defined(WIN32) && !defined(MSDOS)
|
||||||
|
|
||||||
|
struct timeval ares__tvnow(void)
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
** GetTickCount() is available on _all_ Windows versions from W95 up
|
||||||
|
** to nowadays. Returns milliseconds elapsed since last system boot,
|
||||||
|
** increases monotonically and wraps once 49.7 days have elapsed.
|
||||||
|
*/
|
||||||
|
struct timeval now;
|
||||||
|
DWORD milliseconds = GetTickCount();
|
||||||
|
now.tv_sec = milliseconds / 1000;
|
||||||
|
now.tv_usec = (milliseconds % 1000) * 1000;
|
||||||
|
return now;
|
||||||
|
}
|
||||||
|
|
||||||
|
#elif defined(HAVE_CLOCK_GETTIME_MONOTONIC)
|
||||||
|
|
||||||
|
struct timeval ares__tvnow(void)
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
** clock_gettime() is granted to be increased monotonically when the
|
||||||
|
** monotonic clock is queried. Time starting point is unspecified, it
|
||||||
|
** could be the system start-up time, the Epoch, or something else,
|
||||||
|
** in any case the time starting point does not change once that the
|
||||||
|
** system has started up.
|
||||||
|
*/
|
||||||
|
struct timeval now;
|
||||||
|
struct timespec tsnow;
|
||||||
|
if(0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) {
|
||||||
|
now.tv_sec = tsnow.tv_sec;
|
||||||
|
now.tv_usec = tsnow.tv_nsec / 1000;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
** Even when the configure process has truly detected monotonic clock
|
||||||
|
** availability, it might happen that it is not actually available at
|
||||||
|
** run-time. When this occurs simply fallback to other time source.
|
||||||
|
*/
|
||||||
|
#ifdef HAVE_GETTIMEOFDAY
|
||||||
|
else
|
||||||
|
(void)gettimeofday(&now, NULL);
|
||||||
|
#else
|
||||||
|
else {
|
||||||
|
now.tv_sec = (long)time(NULL);
|
||||||
|
now.tv_usec = 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
return now;
|
||||||
|
}
|
||||||
|
|
||||||
|
#elif defined(HAVE_GETTIMEOFDAY)
|
||||||
|
|
||||||
|
struct timeval ares__tvnow(void)
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
** gettimeofday() is not granted to be increased monotonically, due to
|
||||||
|
** clock drifting and external source time synchronization it can jump
|
||||||
|
** forward or backward in time.
|
||||||
|
*/
|
||||||
|
struct timeval now;
|
||||||
|
(void)gettimeofday(&now, NULL);
|
||||||
|
return now;
|
||||||
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
struct timeval ares__tvnow(void)
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
** time() returns the value of time in seconds since the Epoch.
|
||||||
|
*/
|
||||||
|
struct timeval now;
|
||||||
|
now.tv_sec = (long)time(NULL);
|
||||||
|
now.tv_usec = 0;
|
||||||
|
return now;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if 0 /* Not used */
|
||||||
|
/*
|
||||||
|
* Make sure that the first argument is the more recent time, as otherwise
|
||||||
|
* we'll get a weird negative time-diff back...
|
||||||
|
*
|
||||||
|
* Returns: the time difference in number of milliseconds.
|
||||||
|
*/
|
||||||
|
long ares__tvdiff(struct timeval newer, struct timeval older)
|
||||||
|
{
|
||||||
|
return (newer.tv_sec-older.tv_sec)*1000+
|
||||||
|
(newer.tv_usec-older.tv_usec)/1000;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
253
ares/ares_build.h.dist
Normal file
253
ares/ares_build.h.dist
Normal file
@@ -0,0 +1,253 @@
|
|||||||
|
#ifndef __CARES_BUILD_H
|
||||||
|
#define __CARES_BUILD_H
|
||||||
|
|
||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright (C) 2009 by Daniel Stenberg et al
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this software and its
|
||||||
|
* documentation for any purpose and without fee is hereby granted, provided
|
||||||
|
* that the above copyright notice appear in all copies and that both that
|
||||||
|
* copyright notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in advertising or
|
||||||
|
* publicity pertaining to distribution of the software without specific,
|
||||||
|
* written prior permission. M.I.T. makes no representations about the
|
||||||
|
* suitability of this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* ================================================================ */
|
||||||
|
/* NOTES FOR CONFIGURE CAPABLE SYSTEMS */
|
||||||
|
/* ================================================================ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* NOTE 1:
|
||||||
|
* -------
|
||||||
|
*
|
||||||
|
* See file ares_build.h.in, run configure, and forget that this file
|
||||||
|
* exists it is only used for non-configure systems.
|
||||||
|
* But you can keep reading if you want ;-)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* ================================================================ */
|
||||||
|
/* NOTES FOR NON-CONFIGURE SYSTEMS */
|
||||||
|
/* ================================================================ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* NOTE 1:
|
||||||
|
* -------
|
||||||
|
*
|
||||||
|
* Nothing in this file is intended to be modified or adjusted by the
|
||||||
|
* c-ares library user nor by the c-ares library builder.
|
||||||
|
*
|
||||||
|
* If you think that something actually needs to be changed, adjusted
|
||||||
|
* or fixed in this file, then, report it on the c-ares development
|
||||||
|
* mailing list: http://cool.haxx.se/mailman/listinfo/c-ares/
|
||||||
|
*
|
||||||
|
* Try to keep one section per platform, compiler and architecture,
|
||||||
|
* otherwise, if an existing section is reused for a different one and
|
||||||
|
* later on the original is adjusted, probably the piggybacking one can
|
||||||
|
* be adversely changed.
|
||||||
|
*
|
||||||
|
* In order to differentiate between platforms/compilers/architectures
|
||||||
|
* use only compiler built in predefined preprocessor symbols.
|
||||||
|
*
|
||||||
|
* This header file shall only export symbols which are 'cares' or 'CARES'
|
||||||
|
* prefixed, otherwise public name space would be polluted.
|
||||||
|
*
|
||||||
|
* NOTE 2:
|
||||||
|
* -------
|
||||||
|
*
|
||||||
|
* Right now you might be staring at file ares_build.h.dist or ares_build.h,
|
||||||
|
* this is due to the following reason: file ares_build.h.dist is renamed
|
||||||
|
* to ares_build.h when the c-ares source code distribution archive file is
|
||||||
|
* created.
|
||||||
|
*
|
||||||
|
* File ares_build.h.dist is not included in the distribution archive.
|
||||||
|
* File ares_build.h is not present in the CVS tree.
|
||||||
|
*
|
||||||
|
* The distributed ares_build.h file is only intended to be used on systems
|
||||||
|
* which can not run the also distributed configure script.
|
||||||
|
*
|
||||||
|
* On systems capable of running the configure script, the configure process
|
||||||
|
* will overwrite the distributed ares_build.h file with one that is suitable
|
||||||
|
* and specific to the library being configured and built, which is generated
|
||||||
|
* from the ares_build.h.in template file.
|
||||||
|
*
|
||||||
|
* If you check out from CVS on a non-configure platform, you must run the
|
||||||
|
* appropriate buildconf* script to set up ares_build.h and other local files.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* ================================================================ */
|
||||||
|
/* DEFINITION OF THESE SYMBOLS SHALL NOT TAKE PLACE ANYWHERE ELSE */
|
||||||
|
/* ================================================================ */
|
||||||
|
|
||||||
|
#ifdef CARES_SIZEOF_LONG
|
||||||
|
# error "CARES_SIZEOF_LONG shall not be defined except in ares_build.h"
|
||||||
|
Error Compilation_aborted_CARES_SIZEOF_LONG_already_defined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef CARES_TYPEOF_ARES_SOCKLEN_T
|
||||||
|
# error "CARES_TYPEOF_ARES_SOCKLEN_T shall not be defined except in ares_build.h"
|
||||||
|
Error Compilation_aborted_CARES_TYPEOF_ARES_SOCKLEN_T_already_defined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef CARES_SIZEOF_ARES_SOCKLEN_T
|
||||||
|
# error "CARES_SIZEOF_ARES_SOCKLEN_T shall not be defined except in ares_build.h"
|
||||||
|
Error Compilation_aborted_CARES_SIZEOF_ARES_SOCKLEN_T_already_defined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* ================================================================ */
|
||||||
|
/* EXTERNAL INTERFACE SETTINGS FOR NON-CONFIGURE SYSTEMS ONLY */
|
||||||
|
/* ================================================================ */
|
||||||
|
|
||||||
|
#if defined(__DJGPP__) || defined(__GO32__)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
#elif defined(__SALFORDC__)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
#elif defined(__TURBOC__)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
#elif defined(__POCC__)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
#elif defined(__LCC__)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
#elif defined(__SYMBIAN32__)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T unsigned int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
#elif defined(__MWERKS__)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
#elif defined(_WIN32_WCE)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
#elif defined(__VMS)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T unsigned int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
#elif defined(__OS400__)
|
||||||
|
# if defined(__ILEC400__)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
# define CARES_PULL_SYS_TYPES_H 1
|
||||||
|
# define CARES_PULL_SYS_SOCKET_H 1
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__MVS__)
|
||||||
|
# if defined(__IBMC__) || defined(__IBMCPP__)
|
||||||
|
# if defined(_ILP32)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# elif defined(_LP64)
|
||||||
|
# define CARES_SIZEOF_LONG 8
|
||||||
|
# endif
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
# define CARES_PULL_SYS_TYPES_H 1
|
||||||
|
# define CARES_PULL_SYS_SOCKET_H 1
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__370__)
|
||||||
|
# if defined(__IBMC__) || defined(__IBMCPP__)
|
||||||
|
# if defined(_ILP32)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# elif defined(_LP64)
|
||||||
|
# define CARES_SIZEOF_LONG 8
|
||||||
|
# endif
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
# define CARES_PULL_SYS_TYPES_H 1
|
||||||
|
# define CARES_PULL_SYS_SOCKET_H 1
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(TPF)
|
||||||
|
# define CARES_SIZEOF_LONG 8
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
/* ===================================== */
|
||||||
|
/* KEEP MSVC THE PENULTIMATE ENTRY */
|
||||||
|
/* ===================================== */
|
||||||
|
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T int
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
|
||||||
|
/* ===================================== */
|
||||||
|
/* KEEP GENERIC GCC THE LAST ENTRY */
|
||||||
|
/* ===================================== */
|
||||||
|
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
# if defined(__i386__) || defined(__ppc__)
|
||||||
|
# define CARES_SIZEOF_LONG 4
|
||||||
|
# elif defined(__x86_64__) || defined(__ppc64__)
|
||||||
|
# define CARES_SIZEOF_LONG 8
|
||||||
|
# endif
|
||||||
|
# define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
|
||||||
|
# define CARES_SIZEOF_ARES_SOCKLEN_T 4
|
||||||
|
# define CARES_PULL_SYS_TYPES_H 1
|
||||||
|
# define CARES_PULL_SYS_SOCKET_H 1
|
||||||
|
|
||||||
|
#else
|
||||||
|
# error "Unknown non-configure build target!"
|
||||||
|
Error Compilation_aborted_Unknown_non_configure_build_target
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* CARES_PULL_SYS_TYPES_H is defined above when inclusion of header file */
|
||||||
|
/* sys/types.h is required here to properly make type definitions below. */
|
||||||
|
#ifdef CARES_PULL_SYS_TYPES_H
|
||||||
|
# include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* CARES_PULL_SYS_SOCKET_H is defined above when inclusion of header file */
|
||||||
|
/* sys/socket.h is required here to properly make type definitions below. */
|
||||||
|
#ifdef CARES_PULL_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Data type definition of ares_socklen_t. */
|
||||||
|
|
||||||
|
#ifdef CARES_TYPEOF_ARES_SOCKLEN_T
|
||||||
|
typedef CARES_TYPEOF_ARES_SOCKLEN_T ares_socklen_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* __CARES_BUILD_H */
|
||||||
111
ares/ares_build.h.in
Normal file
111
ares/ares_build.h.in
Normal file
@@ -0,0 +1,111 @@
|
|||||||
|
#ifndef __CARES_BUILD_H
|
||||||
|
#define __CARES_BUILD_H
|
||||||
|
|
||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright (C) 2009 by Daniel Stenberg et al
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this software and its
|
||||||
|
* documentation for any purpose and without fee is hereby granted, provided
|
||||||
|
* that the above copyright notice appear in all copies and that both that
|
||||||
|
* copyright notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in advertising or
|
||||||
|
* publicity pertaining to distribution of the software without specific,
|
||||||
|
* written prior permission. M.I.T. makes no representations about the
|
||||||
|
* suitability of this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* ================================================================ */
|
||||||
|
/* NOTES FOR CONFIGURE CAPABLE SYSTEMS */
|
||||||
|
/* ================================================================ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* NOTE 1:
|
||||||
|
* -------
|
||||||
|
*
|
||||||
|
* Nothing in this file is intended to be modified or adjusted by the
|
||||||
|
* c-ares library user nor by the c-ares library builder.
|
||||||
|
*
|
||||||
|
* If you think that something actually needs to be changed, adjusted
|
||||||
|
* or fixed in this file, then, report it on the c-ares development
|
||||||
|
* mailing list: http://cool.haxx.se/mailman/listinfo/c-ares/
|
||||||
|
*
|
||||||
|
* This header file shall only export symbols which are 'cares' or 'CARES'
|
||||||
|
* prefixed, otherwise public name space would be polluted.
|
||||||
|
*
|
||||||
|
* NOTE 2:
|
||||||
|
* -------
|
||||||
|
*
|
||||||
|
* Right now you might be staring at file ares_build.h.in or ares_build.h,
|
||||||
|
* this is due to the following reason:
|
||||||
|
*
|
||||||
|
* On systems capable of running the configure script, the configure process
|
||||||
|
* will overwrite the distributed ares_build.h file with one that is suitable
|
||||||
|
* and specific to the library being configured and built, which is generated
|
||||||
|
* from the ares_build.h.in template file.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* ================================================================ */
|
||||||
|
/* DEFINITION OF THESE SYMBOLS SHALL NOT TAKE PLACE ANYWHERE ELSE */
|
||||||
|
/* ================================================================ */
|
||||||
|
|
||||||
|
#ifdef CARES_SIZEOF_LONG
|
||||||
|
# error "CARES_SIZEOF_LONG shall not be defined except in ares_build.h"
|
||||||
|
Error Compilation_aborted_CARES_SIZEOF_LONG_already_defined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef CARES_TYPEOF_ARES_SOCKLEN_T
|
||||||
|
# error "CARES_TYPEOF_ARES_SOCKLEN_T shall not be defined except in ares_build.h"
|
||||||
|
Error Compilation_aborted_CARES_TYPEOF_ARES_SOCKLEN_T_already_defined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef CARES_SIZEOF_ARES_SOCKLEN_T
|
||||||
|
# error "CARES_SIZEOF_ARES_SOCKLEN_T shall not be defined except in ares_build.h"
|
||||||
|
Error Compilation_aborted_CARES_SIZEOF_ARES_SOCKLEN_T_already_defined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* ================================================================ */
|
||||||
|
/* EXTERNAL INTERFACE SETTINGS FOR CONFIGURE CAPABLE SYSTEMS ONLY */
|
||||||
|
/* ================================================================ */
|
||||||
|
|
||||||
|
/* Configure process defines this to 1 when it finds out that system */
|
||||||
|
/* header file ws2tcpip.h must be included by the external interface. */
|
||||||
|
#undef CARES_PULL_WS2TCPIP_H
|
||||||
|
#ifdef CARES_PULL_WS2TCPIP_H
|
||||||
|
# ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# endif
|
||||||
|
# include <windows.h>
|
||||||
|
# include <winsock2.h>
|
||||||
|
# include <ws2tcpip.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Configure process defines this to 1 when it finds out that system */
|
||||||
|
/* header file sys/types.h must be included by the external interface. */
|
||||||
|
#undef CARES_PULL_SYS_TYPES_H
|
||||||
|
#ifdef CARES_PULL_SYS_TYPES_H
|
||||||
|
# include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Configure process defines this to 1 when it finds out that system */
|
||||||
|
/* header file sys/socket.h must be included by the external interface. */
|
||||||
|
#undef CARES_PULL_SYS_SOCKET_H
|
||||||
|
#ifdef CARES_PULL_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* The size of `long', as computed by sizeof. */
|
||||||
|
#undef CARES_SIZEOF_LONG
|
||||||
|
|
||||||
|
/* Integral data type used for ares_socklen_t. */
|
||||||
|
#undef CARES_TYPEOF_ARES_SOCKLEN_T
|
||||||
|
|
||||||
|
/* The size of `ares_socklen_t', as computed by sizeof. */
|
||||||
|
#undef CARES_SIZEOF_ARES_SOCKLEN_T
|
||||||
|
|
||||||
|
/* Data type definition of ares_socklen_t. */
|
||||||
|
typedef CARES_TYPEOF_ARES_SOCKLEN_T ares_socklen_t;
|
||||||
|
|
||||||
|
#endif /* __CARES_BUILD_H */
|
||||||
44
ares/ares_cancel.3
Normal file
44
ares/ares_cancel.3
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_CANCEL 3 "31 March 2004"
|
||||||
|
.SH NAME
|
||||||
|
ares_cancel \- Cancel a resolve
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B void ares_cancel(ares_channel \fIchannel\fP)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The \fBares_cancel\fP function cancels all lookups/requests made on the the
|
||||||
|
name service channel identified by \fIchannel\fP. \fBares_cancel\fP invokes
|
||||||
|
the callbacks for each pending query on the channel, passing a status of
|
||||||
|
.BR ARES_ECANCELLED .
|
||||||
|
These calls give the callbacks a chance to clean up any state which
|
||||||
|
might have been stored in their arguments.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_init (3)
|
||||||
|
.BR ares_destroy (3)
|
||||||
|
.SH NOTES
|
||||||
|
This function was added in c-ares 1.2.0
|
||||||
|
|
||||||
|
c-ares 1.6.0 and earlier pass a status of
|
||||||
|
.BR ARES_ETIMEOUT
|
||||||
|
instead of
|
||||||
|
.BR ARES_ECANCELLED .
|
||||||
|
.SH AUTHOR
|
||||||
|
Dirk Manske
|
||||||
64
ares/ares_cancel.c
Normal file
64
ares/ares_cancel.c
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright (C) 2004 by Daniel Stenberg et al
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this software and its
|
||||||
|
* documentation for any purpose and without fee is hereby granted, provided
|
||||||
|
* that the above copyright notice appear in all copies and that both that
|
||||||
|
* copyright notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in advertising or
|
||||||
|
* publicity pertaining to distribution of the software without specific,
|
||||||
|
* written prior permission. M.I.T. makes no representations about the
|
||||||
|
* suitability of this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
#include <assert.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ares_cancel() cancels all ongoing requests/resolves that might be going on
|
||||||
|
* on the given channel. It does NOT kill the channel, use ares_destroy() for
|
||||||
|
* that.
|
||||||
|
*/
|
||||||
|
void ares_cancel(ares_channel channel)
|
||||||
|
{
|
||||||
|
struct query *query;
|
||||||
|
struct list_node* list_head;
|
||||||
|
struct list_node* list_node;
|
||||||
|
int i;
|
||||||
|
|
||||||
|
list_head = &(channel->all_queries);
|
||||||
|
for (list_node = list_head->next; list_node != list_head; )
|
||||||
|
{
|
||||||
|
query = list_node->data;
|
||||||
|
list_node = list_node->next; /* since we're deleting the query */
|
||||||
|
query->callback(query->arg, ARES_ECANCELLED, 0, NULL, 0);
|
||||||
|
ares__free_query(query);
|
||||||
|
}
|
||||||
|
#ifndef NDEBUG
|
||||||
|
/* Freeing the query should remove it from all the lists in which it sits,
|
||||||
|
* so all query lists should be empty now.
|
||||||
|
*/
|
||||||
|
assert(ares__is_list_empty(&(channel->all_queries)));
|
||||||
|
for (i = 0; i < ARES_QID_TABLE_SIZE; i++)
|
||||||
|
{
|
||||||
|
assert(ares__is_list_empty(&(channel->queries_by_qid[i])));
|
||||||
|
}
|
||||||
|
for (i = 0; i < ARES_TIMEOUT_TABLE_SIZE; i++)
|
||||||
|
{
|
||||||
|
assert(ares__is_list_empty(&(channel->queries_by_timeout[i])));
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
if (!(channel->flags & ARES_FLAG_STAYOPEN))
|
||||||
|
{
|
||||||
|
if (channel->servers)
|
||||||
|
{
|
||||||
|
for (i = 0; i < channel->nservers; i++)
|
||||||
|
ares__close_sockets(channel, &channel->servers[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
143
ares/ares_data.c
Normal file
143
ares/ares_data.c
Normal file
@@ -0,0 +1,143 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright (C) 2009 by Daniel Stenberg
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_data.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** ares_free_data() - c-ares external API function.
|
||||||
|
**
|
||||||
|
** This function must be used by the application to free data memory that
|
||||||
|
** has been internally allocated by some c-ares function and for which a
|
||||||
|
** pointer has already been returned to the calling application. The list
|
||||||
|
** of c-ares functions returning pointers that must be free'ed using this
|
||||||
|
** function is:
|
||||||
|
**
|
||||||
|
** ares_parse_srv_reply()
|
||||||
|
** ares_parse_txt_reply()
|
||||||
|
*/
|
||||||
|
|
||||||
|
void ares_free_data(void *dataptr)
|
||||||
|
{
|
||||||
|
struct ares_data *ptr;
|
||||||
|
|
||||||
|
if (!dataptr)
|
||||||
|
return;
|
||||||
|
|
||||||
|
ptr = (void *)((char *)dataptr - offsetof(struct ares_data, data));
|
||||||
|
|
||||||
|
if (ptr->mark != ARES_DATATYPE_MARK)
|
||||||
|
return;
|
||||||
|
|
||||||
|
switch (ptr->type)
|
||||||
|
{
|
||||||
|
case ARES_DATATYPE_SRV_REPLY:
|
||||||
|
|
||||||
|
if (ptr->data.srv_reply.next)
|
||||||
|
ares_free_data(ptr->data.srv_reply.next);
|
||||||
|
if (ptr->data.srv_reply.host)
|
||||||
|
free(ptr->data.srv_reply.host);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ARES_DATATYPE_TXT_REPLY:
|
||||||
|
|
||||||
|
if (ptr->data.txt_reply.next)
|
||||||
|
ares_free_data(ptr->data.txt_reply.next);
|
||||||
|
if (ptr->data.txt_reply.txt)
|
||||||
|
free(ptr->data.txt_reply.txt);
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
free(ptr);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** ares_malloc_data() - c-ares internal helper function.
|
||||||
|
**
|
||||||
|
** This function allocates memory for a c-ares private ares_data struct
|
||||||
|
** for the specified ares_datatype, initializes c-ares private fields
|
||||||
|
** and zero initializes those which later might be used from the public
|
||||||
|
** API. It returns an interior pointer which can be passed by c-ares
|
||||||
|
** functions to the calling application, and that must be free'ed using
|
||||||
|
** c-ares external API function ares_free_data().
|
||||||
|
*/
|
||||||
|
|
||||||
|
void *ares_malloc_data(ares_datatype type)
|
||||||
|
{
|
||||||
|
struct ares_data *ptr;
|
||||||
|
|
||||||
|
ptr = malloc(sizeof(struct ares_data));
|
||||||
|
if (!ptr)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
switch (type)
|
||||||
|
{
|
||||||
|
case ARES_DATATYPE_SRV_REPLY:
|
||||||
|
ptr->data.srv_reply.next = NULL;
|
||||||
|
ptr->data.srv_reply.host = NULL;
|
||||||
|
ptr->data.srv_reply.priority = 0;
|
||||||
|
ptr->data.srv_reply.weight = 0;
|
||||||
|
ptr->data.srv_reply.port = 0;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ARES_DATATYPE_TXT_REPLY:
|
||||||
|
ptr->data.txt_reply.next = NULL;
|
||||||
|
ptr->data.txt_reply.txt = NULL;
|
||||||
|
ptr->data.txt_reply.length = 0;
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
free(ptr);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
ptr->mark = ARES_DATATYPE_MARK;
|
||||||
|
ptr->type = type;
|
||||||
|
|
||||||
|
return &ptr->data;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** ares_get_datatype() - c-ares internal helper function.
|
||||||
|
**
|
||||||
|
** This function returns the ares_datatype of the data stored in a
|
||||||
|
** private ares_data struct when given the public API pointer.
|
||||||
|
*/
|
||||||
|
|
||||||
|
ares_datatype ares_get_datatype(void * dataptr)
|
||||||
|
{
|
||||||
|
struct ares_data *ptr;
|
||||||
|
|
||||||
|
ptr = (void *)((char *)dataptr - offsetof(struct ares_data, data));
|
||||||
|
|
||||||
|
if (ptr->mark == ARES_DATATYPE_MARK)
|
||||||
|
return ptr->type;
|
||||||
|
|
||||||
|
return ARES_DATATYPE_UNKNOWN;
|
||||||
|
}
|
||||||
62
ares/ares_data.h
Normal file
62
ares/ares_data.h
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright (C) 2009 by Daniel Stenberg
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
ARES_DATATYPE_UNKNOWN = 1, /* unknown data type - introduced in 1.7.0 */
|
||||||
|
ARES_DATATYPE_SRV_REPLY, /* struct ares_srv_reply - introduced in 1.7.0 */
|
||||||
|
ARES_DATATYPE_TXT_REPLY, /* struct ares_txt_reply - introduced in 1.7.0 */
|
||||||
|
#if 0
|
||||||
|
ARES_DATATYPE_ADDR6TTL, /* struct ares_addrttl */
|
||||||
|
ARES_DATATYPE_ADDRTTL, /* struct ares_addr6ttl */
|
||||||
|
ARES_DATATYPE_HOSTENT, /* struct hostent */
|
||||||
|
ARES_DATATYPE_OPTIONS, /* struct ares_options */
|
||||||
|
#endif
|
||||||
|
ARES_DATATYPE_LAST /* not used - introduced in 1.7.0 */
|
||||||
|
} ares_datatype;
|
||||||
|
|
||||||
|
#define ARES_DATATYPE_MARK 0xbead
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ares_data struct definition is internal to c-ares and shall not
|
||||||
|
* be exposed by the public API in order to allow future changes
|
||||||
|
* and extensions to it without breaking ABI. This will be used
|
||||||
|
* internally by c-ares as the container of multiple types of data
|
||||||
|
* dynamically allocated for which a reference will be returned
|
||||||
|
* to the calling application.
|
||||||
|
*
|
||||||
|
* c-ares API functions returning a pointer to c-ares internally
|
||||||
|
* allocated data will actually be returning an interior pointer
|
||||||
|
* into this ares_data struct.
|
||||||
|
*
|
||||||
|
* All this is 'invisible' to the calling application, the only
|
||||||
|
* requirement is that this kind of data must be free'ed by the
|
||||||
|
* calling application using ares_free_data() with the pointer
|
||||||
|
* it has received from a previous c-ares function call.
|
||||||
|
*/
|
||||||
|
|
||||||
|
struct ares_data {
|
||||||
|
ares_datatype type; /* Actual data type identifier. */
|
||||||
|
unsigned int mark; /* Private ares_data signature. */
|
||||||
|
union {
|
||||||
|
struct ares_txt_reply txt_reply;
|
||||||
|
struct ares_srv_reply srv_reply;
|
||||||
|
} data;
|
||||||
|
};
|
||||||
|
|
||||||
|
void *ares_malloc_data(ares_datatype type);
|
||||||
|
|
||||||
|
ares_datatype ares_get_datatype(void * dataptr);
|
||||||
44
ares/ares_destroy.3
Normal file
44
ares/ares_destroy.3
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_DESTROY 3 "7 December 2004"
|
||||||
|
.SH NAME
|
||||||
|
ares_destroy \- Destroy a resolver channel
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B void ares_destroy(ares_channel \fIchannel\fP)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The
|
||||||
|
.B ares_destroy
|
||||||
|
function destroys the name service channel identified by
|
||||||
|
.IR channel ,
|
||||||
|
freeing all memory and closing all sockets used by the channel.
|
||||||
|
.B ares_destroy
|
||||||
|
invokes the callbacks for each pending query on the channel, passing a
|
||||||
|
status of
|
||||||
|
.BR ARES_EDESTRUCTION .
|
||||||
|
These calls give the callbacks a chance to clean up any state which
|
||||||
|
might have been stored in their arguments.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_init (3),
|
||||||
|
.BR ares_cancel (3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Greg Hudson, MIT Information Systems
|
||||||
|
.br
|
||||||
|
Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
93
ares/ares_destroy.c
Normal file
93
ares/ares_destroy.c
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
#include <assert.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
void ares_destroy_options(struct ares_options *options)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
|
free(options->servers);
|
||||||
|
for (i = 0; i < options->ndomains; i++)
|
||||||
|
free(options->domains[i]);
|
||||||
|
free(options->domains);
|
||||||
|
if(options->sortlist)
|
||||||
|
free(options->sortlist);
|
||||||
|
free(options->lookups);
|
||||||
|
}
|
||||||
|
|
||||||
|
void ares_destroy(ares_channel channel)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
struct query *query;
|
||||||
|
struct list_node* list_head;
|
||||||
|
struct list_node* list_node;
|
||||||
|
|
||||||
|
if (!channel)
|
||||||
|
return;
|
||||||
|
|
||||||
|
list_head = &(channel->all_queries);
|
||||||
|
for (list_node = list_head->next; list_node != list_head; )
|
||||||
|
{
|
||||||
|
query = list_node->data;
|
||||||
|
list_node = list_node->next; /* since we're deleting the query */
|
||||||
|
query->callback(query->arg, ARES_EDESTRUCTION, 0, NULL, 0);
|
||||||
|
ares__free_query(query);
|
||||||
|
}
|
||||||
|
#ifndef NDEBUG
|
||||||
|
/* Freeing the query should remove it from all the lists in which it sits,
|
||||||
|
* so all query lists should be empty now.
|
||||||
|
*/
|
||||||
|
assert(ares__is_list_empty(&(channel->all_queries)));
|
||||||
|
for (i = 0; i < ARES_QID_TABLE_SIZE; i++)
|
||||||
|
{
|
||||||
|
assert(ares__is_list_empty(&(channel->queries_by_qid[i])));
|
||||||
|
}
|
||||||
|
for (i = 0; i < ARES_TIMEOUT_TABLE_SIZE; i++)
|
||||||
|
{
|
||||||
|
assert(ares__is_list_empty(&(channel->queries_by_timeout[i])));
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
if (channel->servers) {
|
||||||
|
for (i = 0; i < channel->nservers; i++)
|
||||||
|
{
|
||||||
|
struct server_state *server = &channel->servers[i];
|
||||||
|
ares__close_sockets(channel, server);
|
||||||
|
assert(ares__is_list_empty(&(server->queries_to_server)));
|
||||||
|
}
|
||||||
|
free(channel->servers);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (channel->domains) {
|
||||||
|
for (i = 0; i < channel->ndomains; i++)
|
||||||
|
free(channel->domains[i]);
|
||||||
|
free(channel->domains);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(channel->sortlist)
|
||||||
|
free(channel->sortlist);
|
||||||
|
|
||||||
|
if (channel->lookups)
|
||||||
|
free(channel->lookups);
|
||||||
|
|
||||||
|
free(channel);
|
||||||
|
}
|
||||||
39
ares/ares_destroy_options.3
Normal file
39
ares/ares_destroy_options.3
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_DESTROY_OPTIONS 3 "1 June 2007"
|
||||||
|
.SH NAME
|
||||||
|
ares_destroy_options \- Destroy options initialized with ares_save_options
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B void ares_destroy_options(struct ares_options *\fIoptions\fP)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The
|
||||||
|
.B ares_destroy_options
|
||||||
|
function destroys the options struct identified by
|
||||||
|
.IR options ,
|
||||||
|
freeing all memory allocated by ares_save_options.
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_save_options (3),
|
||||||
|
.BR ares_init_options (3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Brad House
|
||||||
|
.br
|
||||||
|
Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
91
ares/ares_dns.h
Normal file
91
ares/ares_dns.h
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ARES__DNS_H
|
||||||
|
#define ARES__DNS_H
|
||||||
|
|
||||||
|
#define DNS__16BIT(p) (((p)[0] << 8) | (p)[1])
|
||||||
|
#define DNS__32BIT(p) (((p)[0] << 24) | ((p)[1] << 16) | \
|
||||||
|
((p)[2] << 8) | (p)[3])
|
||||||
|
|
||||||
|
#define DNS__SET16BIT(p, v) (((p)[0] = (unsigned char)(((v) >> 8) & 0xff)), \
|
||||||
|
((p)[1] = (unsigned char)((v) & 0xff)))
|
||||||
|
#define DNS__SET32BIT(p, v) (((p)[0] = (unsigned char)(((v) >> 24) & 0xff)), \
|
||||||
|
((p)[1] = (unsigned char)(((v) >> 16) & 0xff)), \
|
||||||
|
((p)[2] = (unsigned char)(((v) >> 8) & 0xff)), \
|
||||||
|
((p)[3] = (unsigned char)((v) & 0xff)))
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
/* we cannot use this approach on systems where we can't access 16/32 bit
|
||||||
|
data on un-aligned addresses */
|
||||||
|
#define DNS__16BIT(p) ntohs(*(unsigned short*)(p))
|
||||||
|
#define DNS__32BIT(p) ntohl(*(unsigned long*)(p))
|
||||||
|
#define DNS__SET16BIT(p, v) *(unsigned short*)(p) = htons(v)
|
||||||
|
#define DNS__SET32BIT(p, v) *(unsigned long*)(p) = htonl(v)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Macros for parsing a DNS header */
|
||||||
|
#define DNS_HEADER_QID(h) DNS__16BIT(h)
|
||||||
|
#define DNS_HEADER_QR(h) (((h)[2] >> 7) & 0x1)
|
||||||
|
#define DNS_HEADER_OPCODE(h) (((h)[2] >> 3) & 0xf)
|
||||||
|
#define DNS_HEADER_AA(h) (((h)[2] >> 2) & 0x1)
|
||||||
|
#define DNS_HEADER_TC(h) (((h)[2] >> 1) & 0x1)
|
||||||
|
#define DNS_HEADER_RD(h) ((h)[2] & 0x1)
|
||||||
|
#define DNS_HEADER_RA(h) (((h)[3] >> 7) & 0x1)
|
||||||
|
#define DNS_HEADER_Z(h) (((h)[3] >> 4) & 0x7)
|
||||||
|
#define DNS_HEADER_RCODE(h) ((h)[3] & 0xf)
|
||||||
|
#define DNS_HEADER_QDCOUNT(h) DNS__16BIT((h) + 4)
|
||||||
|
#define DNS_HEADER_ANCOUNT(h) DNS__16BIT((h) + 6)
|
||||||
|
#define DNS_HEADER_NSCOUNT(h) DNS__16BIT((h) + 8)
|
||||||
|
#define DNS_HEADER_ARCOUNT(h) DNS__16BIT((h) + 10)
|
||||||
|
|
||||||
|
/* Macros for constructing a DNS header */
|
||||||
|
#define DNS_HEADER_SET_QID(h, v) DNS__SET16BIT(h, v)
|
||||||
|
#define DNS_HEADER_SET_QR(h, v) ((h)[2] |= (unsigned char)(((v) & 0x1) << 7))
|
||||||
|
#define DNS_HEADER_SET_OPCODE(h, v) ((h)[2] |= (unsigned char)(((v) & 0xf) << 3))
|
||||||
|
#define DNS_HEADER_SET_AA(h, v) ((h)[2] |= (unsigned char)(((v) & 0x1) << 2))
|
||||||
|
#define DNS_HEADER_SET_TC(h, v) ((h)[2] |= (unsigned char)(((v) & 0x1) << 1))
|
||||||
|
#define DNS_HEADER_SET_RD(h, v) ((h)[2] |= (unsigned char)((v) & 0x1))
|
||||||
|
#define DNS_HEADER_SET_RA(h, v) ((h)[3] |= (unsigned char)(((v) & 0x1) << 7))
|
||||||
|
#define DNS_HEADER_SET_Z(h, v) ((h)[3] |= (unsigned char)(((v) & 0x7) << 4))
|
||||||
|
#define DNS_HEADER_SET_RCODE(h, v) ((h)[3] |= (unsigned char)((v) & 0xf))
|
||||||
|
#define DNS_HEADER_SET_QDCOUNT(h, v) DNS__SET16BIT((h) + 4, v)
|
||||||
|
#define DNS_HEADER_SET_ANCOUNT(h, v) DNS__SET16BIT((h) + 6, v)
|
||||||
|
#define DNS_HEADER_SET_NSCOUNT(h, v) DNS__SET16BIT((h) + 8, v)
|
||||||
|
#define DNS_HEADER_SET_ARCOUNT(h, v) DNS__SET16BIT((h) + 10, v)
|
||||||
|
|
||||||
|
/* Macros for parsing the fixed part of a DNS question */
|
||||||
|
#define DNS_QUESTION_TYPE(q) DNS__16BIT(q)
|
||||||
|
#define DNS_QUESTION_CLASS(q) DNS__16BIT((q) + 2)
|
||||||
|
|
||||||
|
/* Macros for constructing the fixed part of a DNS question */
|
||||||
|
#define DNS_QUESTION_SET_TYPE(q, v) DNS__SET16BIT(q, v)
|
||||||
|
#define DNS_QUESTION_SET_CLASS(q, v) DNS__SET16BIT((q) + 2, v)
|
||||||
|
|
||||||
|
/* Macros for parsing the fixed part of a DNS resource record */
|
||||||
|
#define DNS_RR_TYPE(r) DNS__16BIT(r)
|
||||||
|
#define DNS_RR_CLASS(r) DNS__16BIT((r) + 2)
|
||||||
|
#define DNS_RR_TTL(r) DNS__32BIT((r) + 4)
|
||||||
|
#define DNS_RR_LEN(r) DNS__16BIT((r) + 8)
|
||||||
|
|
||||||
|
/* Macros for constructing the fixed part of a DNS resource record */
|
||||||
|
#define DNS_RR_SET_TYPE(r) DNS__SET16BIT(r, v)
|
||||||
|
#define DNS_RR_SET_CLASS(r) DNS__SET16BIT((r) + 2, v)
|
||||||
|
#define DNS_RR_SET_TTL(r) DNS__SET32BIT((r) + 4, v)
|
||||||
|
#define DNS_RR_SET_LEN(r) DNS__SET16BIT((r) + 8, v)
|
||||||
|
|
||||||
|
#endif /* ARES__DNS_H */
|
||||||
44
ares/ares_dup.3
Normal file
44
ares/ares_dup.3
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright (C) 2004-2009 by Daniel Stenberg
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_DUP 3 "26 May 2009"
|
||||||
|
.SH NAME
|
||||||
|
ares_dup \- Duplicate a resolver channel
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B int ares_dup(ares_channel *\fIdest\fP, ares_channel \fIsource\fP)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The \fBares_dup(3)\fP function duplicates an existing communications channel
|
||||||
|
for name service lookups. If it returns successfully, \fBares_dup(3)\fP will
|
||||||
|
set the variable pointed to by \fIdest\fP to a handle used to identify the
|
||||||
|
name service channel. The caller should invoke \fIares_destroy(3)\fP on the
|
||||||
|
handle when the channel is no longer needed.
|
||||||
|
|
||||||
|
The \fBares_dup_options\fP function also initializes a name service channel,
|
||||||
|
with additional options set exactly as the \fIsource\fP channel has them
|
||||||
|
configured.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_destroy(3),
|
||||||
|
.BR ares_init(3),
|
||||||
|
.BR ares_library_init(3)
|
||||||
|
.SH AVAILABILITY
|
||||||
|
ares_dup(3) was added in c-ares 1.6.0
|
||||||
|
.SH AUTHOR
|
||||||
|
Daniel Stenberg
|
||||||
|
|
||||||
64
ares/ares_expand_name.3
Normal file
64
ares/ares_expand_name.3
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_EXPAND_NAME 3 "20 Nov 2009"
|
||||||
|
.SH NAME
|
||||||
|
ares_expand_name \- Expand a DNS-encoded domain name
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B int ares_expand_name(const unsigned char *\fIencoded\fP,
|
||||||
|
.B const unsigned char *\fIabuf\fP, int \fIalen\fP, char **\fIs\fP,
|
||||||
|
.B long *\fIenclen\fP)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The
|
||||||
|
.B ares_expand_name
|
||||||
|
function converts a DNS-encoded domain name to a dot-separated C
|
||||||
|
string. The argument
|
||||||
|
.I encoded
|
||||||
|
gives the beginning of the encoded domain name, and the arguments
|
||||||
|
.I abuf
|
||||||
|
and
|
||||||
|
.I alen
|
||||||
|
give the containing message buffer (necessary for the processing of
|
||||||
|
indirection pointers within the encoded domain name). The result is
|
||||||
|
placed in a NUL-terminated allocated buffer, a pointer to which is
|
||||||
|
stored in the variable pointed to by
|
||||||
|
.IR s .
|
||||||
|
The length of the encoded name is stored in the variable pointed to by
|
||||||
|
.I enclen
|
||||||
|
so that the caller can advance past the encoded domain name to read
|
||||||
|
further data in the message.
|
||||||
|
.SH RETURN VALUES
|
||||||
|
.B ares_expand_name
|
||||||
|
can return any of the following values:
|
||||||
|
.TP 15
|
||||||
|
.B ARES_SUCCESS
|
||||||
|
Expansion of the encoded name succeeded.
|
||||||
|
.TP 15
|
||||||
|
.B ARES_EBADNAME
|
||||||
|
The encoded domain name was malformed and could not be expanded.
|
||||||
|
.TP 15
|
||||||
|
.B ARES_ENOMEM
|
||||||
|
Memory was exhausted.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_mkquery (3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Greg Hudson, MIT Information Systems
|
||||||
|
.br
|
||||||
|
Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
190
ares/ares_expand_name.c
Normal file
190
ares/ares_expand_name.c
Normal file
@@ -0,0 +1,190 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETINET_IN_H
|
||||||
|
# include <netinet/in.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_NAMESER_H
|
||||||
|
# include <arpa/nameser.h>
|
||||||
|
#else
|
||||||
|
# include "nameser.h"
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_NAMESER_COMPAT_H
|
||||||
|
# include <arpa/nameser_compat.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_private.h" /* for the memdebug */
|
||||||
|
|
||||||
|
static int name_length(const unsigned char *encoded, const unsigned char *abuf,
|
||||||
|
int alen);
|
||||||
|
|
||||||
|
/* Expand an RFC1035-encoded domain name given by encoded. The
|
||||||
|
* containing message is given by abuf and alen. The result given by
|
||||||
|
* *s, which is set to a NUL-terminated allocated buffer. *enclen is
|
||||||
|
* set to the length of the encoded name (not the length of the
|
||||||
|
* expanded name; the goal is to tell the caller how many bytes to
|
||||||
|
* move forward to get past the encoded name).
|
||||||
|
*
|
||||||
|
* In the simple case, an encoded name is a series of labels, each
|
||||||
|
* composed of a one-byte length (limited to values between 0 and 63
|
||||||
|
* inclusive) followed by the label contents. The name is terminated
|
||||||
|
* by a zero-length label.
|
||||||
|
*
|
||||||
|
* In the more complicated case, a label may be terminated by an
|
||||||
|
* indirection pointer, specified by two bytes with the high bits of
|
||||||
|
* the first byte (corresponding to INDIR_MASK) set to 11. With the
|
||||||
|
* two high bits of the first byte stripped off, the indirection
|
||||||
|
* pointer gives an offset from the beginning of the containing
|
||||||
|
* message with more labels to decode. Indirection can happen an
|
||||||
|
* arbitrary number of times, so we have to detect loops.
|
||||||
|
*
|
||||||
|
* Since the expanded name uses '.' as a label separator, we use
|
||||||
|
* backslashes to escape periods or backslashes in the expanded name.
|
||||||
|
*/
|
||||||
|
|
||||||
|
int ares_expand_name(const unsigned char *encoded, const unsigned char *abuf,
|
||||||
|
int alen, char **s, long *enclen)
|
||||||
|
{
|
||||||
|
int len, indir = 0;
|
||||||
|
char *q;
|
||||||
|
const unsigned char *p;
|
||||||
|
|
||||||
|
len = name_length(encoded, abuf, alen);
|
||||||
|
if (len < 0)
|
||||||
|
return ARES_EBADNAME;
|
||||||
|
|
||||||
|
*s = malloc(((size_t)len) + 1);
|
||||||
|
if (!*s)
|
||||||
|
return ARES_ENOMEM;
|
||||||
|
q = *s;
|
||||||
|
|
||||||
|
if (len == 0) {
|
||||||
|
/* RFC2181 says this should be ".": the root of the DNS tree.
|
||||||
|
* Since this function strips trailing dots though, it becomes ""
|
||||||
|
*/
|
||||||
|
q[0] = '\0';
|
||||||
|
*enclen = 1; /* the caller should move one byte to get past this */
|
||||||
|
return ARES_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* No error-checking necessary; it was all done by name_length(). */
|
||||||
|
p = encoded;
|
||||||
|
while (*p)
|
||||||
|
{
|
||||||
|
if ((*p & INDIR_MASK) == INDIR_MASK)
|
||||||
|
{
|
||||||
|
if (!indir)
|
||||||
|
{
|
||||||
|
*enclen = p + 2 - encoded;
|
||||||
|
indir = 1;
|
||||||
|
}
|
||||||
|
p = abuf + ((*p & ~INDIR_MASK) << 8 | *(p + 1));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
len = *p;
|
||||||
|
p++;
|
||||||
|
while (len--)
|
||||||
|
{
|
||||||
|
if (*p == '.' || *p == '\\')
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = *p;
|
||||||
|
p++;
|
||||||
|
}
|
||||||
|
*q++ = '.';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!indir)
|
||||||
|
*enclen = p + 1 - encoded;
|
||||||
|
|
||||||
|
/* Nuke the trailing period if we wrote one. */
|
||||||
|
if (q > *s)
|
||||||
|
*(q - 1) = 0;
|
||||||
|
else
|
||||||
|
*q = 0; /* zero terminate */
|
||||||
|
|
||||||
|
return ARES_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Return the length of the expansion of an encoded domain name, or
|
||||||
|
* -1 if the encoding is invalid.
|
||||||
|
*/
|
||||||
|
static int name_length(const unsigned char *encoded, const unsigned char *abuf,
|
||||||
|
int alen)
|
||||||
|
{
|
||||||
|
int n = 0, offset, indir = 0;
|
||||||
|
|
||||||
|
/* Allow the caller to pass us abuf + alen and have us check for it. */
|
||||||
|
if (encoded == abuf + alen)
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
while (*encoded)
|
||||||
|
{
|
||||||
|
if ((*encoded & INDIR_MASK) == INDIR_MASK)
|
||||||
|
{
|
||||||
|
/* Check the offset and go there. */
|
||||||
|
if (encoded + 1 >= abuf + alen)
|
||||||
|
return -1;
|
||||||
|
offset = (*encoded & ~INDIR_MASK) << 8 | *(encoded + 1);
|
||||||
|
if (offset >= alen)
|
||||||
|
return -1;
|
||||||
|
encoded = abuf + offset;
|
||||||
|
|
||||||
|
/* If we've seen more indirects than the message length,
|
||||||
|
* then there's a loop.
|
||||||
|
*/
|
||||||
|
if (++indir > alen)
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
offset = *encoded;
|
||||||
|
if (encoded + offset + 1 >= abuf + alen)
|
||||||
|
return -1;
|
||||||
|
encoded++;
|
||||||
|
while (offset--)
|
||||||
|
{
|
||||||
|
n += (*encoded == '.' || *encoded == '\\') ? 2 : 1;
|
||||||
|
encoded++;
|
||||||
|
}
|
||||||
|
n++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If there were any labels at all, then the number of dots is one
|
||||||
|
* less than the number of labels, so subtract one.
|
||||||
|
*/
|
||||||
|
return (n) ? n - 1 : n;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Like ares_expand_name but returns EBADRESP in case of invalid input. */
|
||||||
|
int ares__expand_name_for_response(const unsigned char *encoded,
|
||||||
|
const unsigned char *abuf, int alen,
|
||||||
|
char **s, long *enclen)
|
||||||
|
{
|
||||||
|
int status = ares_expand_name(encoded, abuf, alen, s, enclen);
|
||||||
|
if (status == ARES_EBADNAME)
|
||||||
|
status = ARES_EBADRESP;
|
||||||
|
return status;
|
||||||
|
}
|
||||||
62
ares/ares_expand_string.3
Normal file
62
ares/ares_expand_string.3
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_EXPAND_NAME 3 "20 Nov 2009"
|
||||||
|
.SH NAME
|
||||||
|
ares_expand_string \- Expand a length encoded string
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B int ares_expand_string(const unsigned char *\fIencoded\fP,
|
||||||
|
.B const unsigned char *\fIabuf\fP, int \fIalen\fP, unsigned char **\fIs\fP,
|
||||||
|
.B long *\fIenclen\fP)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The
|
||||||
|
.B ares_expand_string
|
||||||
|
function converts a length encoded string to a NUL-terminated C
|
||||||
|
string. The argument
|
||||||
|
.I encoded
|
||||||
|
gives the beginning of the encoded string, and the arguments
|
||||||
|
.I abuf
|
||||||
|
and
|
||||||
|
.I alen
|
||||||
|
give the containing message buffer (necessary for the processing of
|
||||||
|
indirection pointers within the encoded domain name). The result is
|
||||||
|
placed in a NUL-terminated allocated buffer, a pointer to which is
|
||||||
|
stored in the variable pointed to by
|
||||||
|
.IR s .
|
||||||
|
The length of the encoded string is stored in the variable pointed to by
|
||||||
|
.I enclen
|
||||||
|
so that the caller can advance past the encoded string to read
|
||||||
|
further data in the message.
|
||||||
|
.SH RETURN VALUES
|
||||||
|
.B ares_expand_string
|
||||||
|
can return any of the following values:
|
||||||
|
.TP 15
|
||||||
|
.B ARES_SUCCESS
|
||||||
|
Expansion of the encoded string succeeded.
|
||||||
|
.TP 15
|
||||||
|
.B ARES_EBADSTR
|
||||||
|
The encoded string was malformed and could not be expanded.
|
||||||
|
.TP 15
|
||||||
|
.B ARES_ENOMEM
|
||||||
|
Memory was exhausted.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_free_string (3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Dominick Meglio
|
||||||
72
ares/ares_expand_string.c
Normal file
72
ares/ares_expand_string.c
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETINET_IN_H
|
||||||
|
# include <netinet/in.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_NAMESER_H
|
||||||
|
# include <arpa/nameser.h>
|
||||||
|
#else
|
||||||
|
# include "nameser.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_private.h" /* for the memdebug */
|
||||||
|
|
||||||
|
/* Simply decodes a length-encoded character string. The first byte of the
|
||||||
|
* input is the length of the string to be returned and the bytes thereafter
|
||||||
|
* are the characters of the string. The returned result will be NULL
|
||||||
|
* terminated.
|
||||||
|
*/
|
||||||
|
int ares_expand_string(const unsigned char *encoded,
|
||||||
|
const unsigned char *abuf,
|
||||||
|
int alen,
|
||||||
|
unsigned char **s,
|
||||||
|
long *enclen)
|
||||||
|
{
|
||||||
|
unsigned char *q;
|
||||||
|
long len;
|
||||||
|
if (encoded == abuf+alen)
|
||||||
|
return ARES_EBADSTR;
|
||||||
|
|
||||||
|
len = *encoded;
|
||||||
|
if (encoded+len+1 > abuf+alen)
|
||||||
|
return ARES_EBADSTR;
|
||||||
|
|
||||||
|
encoded++;
|
||||||
|
|
||||||
|
*s = malloc(len+1);
|
||||||
|
if (*s == NULL)
|
||||||
|
return ARES_ENOMEM;
|
||||||
|
q = *s;
|
||||||
|
strncpy((char *)q, (char *)encoded, len);
|
||||||
|
q[len] = '\0';
|
||||||
|
|
||||||
|
*s = q;
|
||||||
|
|
||||||
|
*enclen = len+1;
|
||||||
|
|
||||||
|
return ARES_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
62
ares/ares_fds.3
Normal file
62
ares/ares_fds.3
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_FDS 3 "23 July 1998"
|
||||||
|
.SH NAME
|
||||||
|
ares_fds \- Get file descriptors to select on for name service
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B int ares_fds(ares_channel \fIchannel\fP, fd_set *\fIread_fds\fP,
|
||||||
|
.B fd_set *\fIwrite_fds\fP)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The
|
||||||
|
.B ares_fds
|
||||||
|
function retrieves the set of file descriptors which the calling
|
||||||
|
application should select on for reading and writing for the
|
||||||
|
processing of name service queries pending on the name service channel
|
||||||
|
identified by
|
||||||
|
.IR channel .
|
||||||
|
File descriptors will be set in the file descriptor sets pointed to by
|
||||||
|
.I read_fds
|
||||||
|
and
|
||||||
|
.I write_fds
|
||||||
|
as appropriate. File descriptors already set in
|
||||||
|
.I read_fds
|
||||||
|
and
|
||||||
|
.I write_fds
|
||||||
|
will remain set; initialization of the file descriptor sets
|
||||||
|
(using
|
||||||
|
.BR FD_ZERO )
|
||||||
|
is the responsibility of the caller.
|
||||||
|
.SH RETURN VALUES
|
||||||
|
.B ares_fds
|
||||||
|
returns one greater than the number of the highest socket set in either
|
||||||
|
.I read_fds
|
||||||
|
or
|
||||||
|
.IR write_fds .
|
||||||
|
If no queries are active,
|
||||||
|
.B ares_fds
|
||||||
|
will return 0.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_timeout (3),
|
||||||
|
.BR ares_process (3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Greg Hudson, MIT Information Systems
|
||||||
|
.br
|
||||||
|
Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
63
ares/ares_fds.c
Normal file
63
ares/ares_fds.c
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_TIME_H
|
||||||
|
#include <sys/time.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
int ares_fds(ares_channel channel, fd_set *read_fds, fd_set *write_fds)
|
||||||
|
{
|
||||||
|
struct server_state *server;
|
||||||
|
ares_socket_t nfds;
|
||||||
|
int i;
|
||||||
|
|
||||||
|
/* Are there any active queries? */
|
||||||
|
int active_queries = !ares__is_list_empty(&(channel->all_queries));
|
||||||
|
|
||||||
|
nfds = 0;
|
||||||
|
for (i = 0; i < channel->nservers; i++)
|
||||||
|
{
|
||||||
|
server = &channel->servers[i];
|
||||||
|
/* We only need to register interest in UDP sockets if we have
|
||||||
|
* outstanding queries.
|
||||||
|
*/
|
||||||
|
if (active_queries && server->udp_socket != ARES_SOCKET_BAD)
|
||||||
|
{
|
||||||
|
FD_SET(server->udp_socket, read_fds);
|
||||||
|
if (server->udp_socket >= nfds)
|
||||||
|
nfds = server->udp_socket + 1;
|
||||||
|
}
|
||||||
|
/* We always register for TCP events, because we want to know
|
||||||
|
* when the other side closes the connection, so we don't waste
|
||||||
|
* time trying to use a broken connection.
|
||||||
|
*/
|
||||||
|
if (server->tcp_socket != ARES_SOCKET_BAD)
|
||||||
|
{
|
||||||
|
FD_SET(server->tcp_socket, read_fds);
|
||||||
|
if (server->qhead)
|
||||||
|
FD_SET(server->tcp_socket, write_fds);
|
||||||
|
if (server->tcp_socket >= nfds)
|
||||||
|
nfds = server->tcp_socket + 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return (int)nfds;
|
||||||
|
}
|
||||||
60
ares/ares_free_data.3
Normal file
60
ares/ares_free_data.3
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\" Copyright (C) 2004-2009 by Daniel Stenberg
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_FREE_DATA 3 "23 Nov 2009"
|
||||||
|
.SH NAME
|
||||||
|
ares_free_data \- Free data allocated by several c-ares functions
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B void ares_free_data(void *\fIdataptr\fP)
|
||||||
|
.PP
|
||||||
|
.B cc file.c -lcares
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
.PP
|
||||||
|
The
|
||||||
|
.B ares_free_data(3)
|
||||||
|
function frees one or more data structures allocated and returned
|
||||||
|
by several c-ares functions. Specifically the data returned by the
|
||||||
|
following list of functions must be deallocated using this function.
|
||||||
|
.TP 5
|
||||||
|
.B ares_parse_srv_reply(3)
|
||||||
|
When used to free the data returned by ares_parse_srv_reply(3) this
|
||||||
|
will free the whole linked list of ares_srv_reply structures returned
|
||||||
|
by ares_parse_srv_reply(3), along with any additional storage
|
||||||
|
associated with those structures.
|
||||||
|
.TP
|
||||||
|
.B ares_parse_txt_reply(3)
|
||||||
|
When used to free the data returned by ares_parse_txt_reply(3) this
|
||||||
|
will free the whole linked list of ares_txt_reply structures returned
|
||||||
|
by ares_parse_txt_reply(3), along with any additional storage
|
||||||
|
associated with those structures.
|
||||||
|
.SH RETURN VALUE
|
||||||
|
The ares_free_data() function does not return a value.
|
||||||
|
.SH AVAILABILITY
|
||||||
|
This function was first introduced in c-ares version 1.7.0.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_parse_srv_reply(3),
|
||||||
|
.BR ares_parse_txt_reply(3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Yang Tse
|
||||||
|
.PP
|
||||||
|
Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.br
|
||||||
|
Copyright (C) 2004-2009 by Daniel Stenberg.
|
||||||
46
ares/ares_free_hostent.3
Normal file
46
ares/ares_free_hostent.3
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_FREE_HOSTENT 3 "23 July 1998"
|
||||||
|
.SH NAME
|
||||||
|
ares_free_hostent \- Free host structure allocated by ares functions
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B void ares_free_hostent(struct hostent *\fIhost\fP)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The
|
||||||
|
.I ares_free_hostent
|
||||||
|
function frees a
|
||||||
|
.B struct hostent
|
||||||
|
allocated by one of the functions \fIares_parse_a_reply(3)\fP,
|
||||||
|
\fIares_parse_aaaa_reply(3)\fP, or \fIares_parse_ptr_reply(3)\fP.
|
||||||
|
.SH NOTES
|
||||||
|
It is not necessary (and is not correct) to free the host structure passed to
|
||||||
|
the callback functions for \fIares_gethostbyname(3)\fP or
|
||||||
|
\fIares_gethostbyaddr(3)\fP. c-ares will automatically free such host
|
||||||
|
structures when the callback returns.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_parse_a_reply (3),
|
||||||
|
.BR ares_parse_aaaa_reply (3),
|
||||||
|
.BR ares_parse_ptr_reply (3),
|
||||||
|
.BR ares_parse_ns_reply (3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Greg Hudson, MIT Information Systems
|
||||||
|
.br
|
||||||
|
Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
40
ares/ares_free_hostent.c
Normal file
40
ares/ares_free_hostent.c
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_NETDB_H
|
||||||
|
#include <netdb.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_private.h" /* for memdebug */
|
||||||
|
|
||||||
|
void ares_free_hostent(struct hostent *host)
|
||||||
|
{
|
||||||
|
char **p;
|
||||||
|
|
||||||
|
free((char *)(host->h_name));
|
||||||
|
for (p = host->h_aliases; *p; p++)
|
||||||
|
free(*p);
|
||||||
|
free(host->h_aliases);
|
||||||
|
free(host->h_addr_list[0]); /* no matter if there is one or many entries,
|
||||||
|
there is only one malloc for all of them */
|
||||||
|
free(host->h_addr_list);
|
||||||
|
free(host);
|
||||||
|
}
|
||||||
36
ares/ares_free_string.3
Normal file
36
ares/ares_free_string.3
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 2000 by the Massachusetts Institute of Technology.
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_FREE_STRING 3 "4 February 2004"
|
||||||
|
.SH NAME
|
||||||
|
ares_free_string \- Free strings allocated by ares functions
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B void ares_free_string(void *\fIstr\fP)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The
|
||||||
|
.I ares_free_string
|
||||||
|
function frees a string allocated by an ares function.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_mkquery (3)
|
||||||
|
.BR ares_expand_string (3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Greg Hudson, MIT Information Systems
|
||||||
|
.br
|
||||||
|
Copyright 2000 by the Massachusetts Institute of Technology.
|
||||||
26
ares/ares_free_string.c
Normal file
26
ares/ares_free_string.c
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 2000 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
void ares_free_string(void *str)
|
||||||
|
{
|
||||||
|
free(str);
|
||||||
|
}
|
||||||
102
ares/ares_gethostbyaddr.3
Normal file
102
ares/ares_gethostbyaddr.3
Normal file
@@ -0,0 +1,102 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_GETHOSTBYADDR 3 "24 July 1998"
|
||||||
|
.SH NAME
|
||||||
|
ares_gethostbyaddr \- Initiate a host query by address
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B typedef void (*ares_host_callback)(void *\fIarg\fP, int \fIstatus\fP,
|
||||||
|
.B int \fItimeouts\fP, struct hostent *\fIhostent\fP)
|
||||||
|
.PP
|
||||||
|
.B void ares_gethostbyaddr(ares_channel \fIchannel\fP, const void *\fIaddr\fP,
|
||||||
|
.B int \fIaddrlen\fP, int \fIfamily\fP, ares_host_callback \fIcallback\fP,
|
||||||
|
.B void *\fIarg\fP)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The
|
||||||
|
.B ares_gethostbyaddr
|
||||||
|
function initiates a host query by address on the name service channel
|
||||||
|
identified by
|
||||||
|
.IR channel .
|
||||||
|
The parameters
|
||||||
|
.I addr
|
||||||
|
and
|
||||||
|
.I addrlen
|
||||||
|
give the address as a series of bytes, and
|
||||||
|
.I family
|
||||||
|
gives the type of address. When the query is complete or has failed, the ares
|
||||||
|
library will invoke \fIcallback\fP. Completion or failure of the query may
|
||||||
|
happen immediately, or may happen during a later call to
|
||||||
|
\fIares_process(3)\fP, \fIares_destroy(3)\fP or \fIares_cancel(3)\fP.
|
||||||
|
.PP
|
||||||
|
The callback argument
|
||||||
|
.I arg
|
||||||
|
is copied from the
|
||||||
|
.B ares_gethostbyaddr
|
||||||
|
argument
|
||||||
|
.IR arg .
|
||||||
|
The callback argument
|
||||||
|
.I status
|
||||||
|
indicates whether the query succeeded and, if not, how it failed. It
|
||||||
|
may have any of the following values:
|
||||||
|
.TP 19
|
||||||
|
.B ARES_SUCCESS
|
||||||
|
The host lookup completed successfully.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_ENOTIMP
|
||||||
|
The ares library does not know how to look up addresses of type
|
||||||
|
.IR family .
|
||||||
|
.TP 19
|
||||||
|
.B ARES_ENOTFOUND
|
||||||
|
The address
|
||||||
|
.I addr
|
||||||
|
was not found.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_ENOMEM
|
||||||
|
Memory was exhausted.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_EDESTRUCTION
|
||||||
|
The name service channel
|
||||||
|
.I channel
|
||||||
|
is being destroyed; the query will not be completed.
|
||||||
|
.PP
|
||||||
|
The callback argument
|
||||||
|
.I timeouts
|
||||||
|
reports how many times a query timed out during the execution of the
|
||||||
|
given request.
|
||||||
|
.PP
|
||||||
|
On successful completion of the query, the callback argument
|
||||||
|
.I hostent
|
||||||
|
points to a
|
||||||
|
.B struct hostent
|
||||||
|
containing the name of the host returned by the query. The callback
|
||||||
|
need not and should not attempt to free the memory pointed to by
|
||||||
|
.IR hostent ;
|
||||||
|
the ares library will free it when the callback returns. If the query
|
||||||
|
did not complete successfully,
|
||||||
|
.I hostent
|
||||||
|
will be
|
||||||
|
.BR NULL .
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_process (3),
|
||||||
|
.BR ares_gethostbyname (3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Greg Hudson, MIT Information Systems
|
||||||
|
.br
|
||||||
|
Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
291
ares/ares_gethostbyaddr.c
Normal file
291
ares/ares_gethostbyaddr.c
Normal file
@@ -0,0 +1,291 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETINET_IN_H
|
||||||
|
# include <netinet/in.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETDB_H
|
||||||
|
# include <netdb.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_NAMESER_H
|
||||||
|
# include <arpa/nameser.h>
|
||||||
|
#else
|
||||||
|
# include "nameser.h"
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_NAMESER_COMPAT_H
|
||||||
|
# include <arpa/nameser_compat.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "inet_net_pton.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
#ifdef WATT32
|
||||||
|
#undef WIN32
|
||||||
|
#endif
|
||||||
|
|
||||||
|
struct addr_query {
|
||||||
|
/* Arguments passed to ares_gethostbyaddr() */
|
||||||
|
ares_channel channel;
|
||||||
|
struct ares_addr addr;
|
||||||
|
ares_host_callback callback;
|
||||||
|
void *arg;
|
||||||
|
|
||||||
|
const char *remaining_lookups;
|
||||||
|
int timeouts;
|
||||||
|
};
|
||||||
|
|
||||||
|
static void next_lookup(struct addr_query *aquery);
|
||||||
|
static void addr_callback(void *arg, int status, int timeouts,
|
||||||
|
unsigned char *abuf, int alen);
|
||||||
|
static void end_aquery(struct addr_query *aquery, int status,
|
||||||
|
struct hostent *host);
|
||||||
|
static int file_lookup(struct ares_addr *addr, struct hostent **host);
|
||||||
|
static void ptr_rr_name(char *name, const struct ares_addr *addr);
|
||||||
|
|
||||||
|
void ares_gethostbyaddr(ares_channel channel, const void *addr, int addrlen,
|
||||||
|
int family, ares_host_callback callback, void *arg)
|
||||||
|
{
|
||||||
|
struct addr_query *aquery;
|
||||||
|
|
||||||
|
if (family != AF_INET && family != AF_INET6)
|
||||||
|
{
|
||||||
|
callback(arg, ARES_ENOTIMP, 0, NULL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((family == AF_INET && addrlen != sizeof(struct in_addr)) ||
|
||||||
|
(family == AF_INET6 && addrlen != sizeof(struct in6_addr)))
|
||||||
|
{
|
||||||
|
callback(arg, ARES_ENOTIMP, 0, NULL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
aquery = malloc(sizeof(struct addr_query));
|
||||||
|
if (!aquery)
|
||||||
|
{
|
||||||
|
callback(arg, ARES_ENOMEM, 0, NULL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
aquery->channel = channel;
|
||||||
|
if (family == AF_INET)
|
||||||
|
memcpy(&aquery->addr.addrV4, addr, sizeof(struct in_addr));
|
||||||
|
else
|
||||||
|
memcpy(&aquery->addr.addrV6, addr, sizeof(struct in6_addr));
|
||||||
|
aquery->addr.family = family;
|
||||||
|
aquery->callback = callback;
|
||||||
|
aquery->arg = arg;
|
||||||
|
aquery->remaining_lookups = channel->lookups;
|
||||||
|
aquery->timeouts = 0;
|
||||||
|
|
||||||
|
next_lookup(aquery);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void next_lookup(struct addr_query *aquery)
|
||||||
|
{
|
||||||
|
const char *p;
|
||||||
|
char name[128];
|
||||||
|
int status;
|
||||||
|
struct hostent *host;
|
||||||
|
|
||||||
|
for (p = aquery->remaining_lookups; *p; p++)
|
||||||
|
{
|
||||||
|
switch (*p)
|
||||||
|
{
|
||||||
|
case 'b':
|
||||||
|
ptr_rr_name(name, &aquery->addr);
|
||||||
|
aquery->remaining_lookups = p + 1;
|
||||||
|
ares_query(aquery->channel, name, C_IN, T_PTR, addr_callback,
|
||||||
|
aquery);
|
||||||
|
return;
|
||||||
|
case 'f':
|
||||||
|
status = file_lookup(&aquery->addr, &host);
|
||||||
|
|
||||||
|
/* this status check below previously checked for !ARES_ENOTFOUND,
|
||||||
|
but we should not assume that this single error code is the one
|
||||||
|
that can occur, as that is in fact no longer the case */
|
||||||
|
if (status == ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
end_aquery(aquery, status, host);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
end_aquery(aquery, ARES_ENOTFOUND, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void addr_callback(void *arg, int status, int timeouts,
|
||||||
|
unsigned char *abuf, int alen)
|
||||||
|
{
|
||||||
|
struct addr_query *aquery = (struct addr_query *) arg;
|
||||||
|
struct hostent *host;
|
||||||
|
size_t addrlen;
|
||||||
|
|
||||||
|
aquery->timeouts += timeouts;
|
||||||
|
if (status == ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
if (aquery->addr.family == AF_INET)
|
||||||
|
{
|
||||||
|
addrlen = sizeof(struct in_addr);
|
||||||
|
status = ares_parse_ptr_reply(abuf, alen, &aquery->addr.addrV4,
|
||||||
|
(int)addrlen, AF_INET, &host);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
addrlen = sizeof(struct in6_addr);
|
||||||
|
status = ares_parse_ptr_reply(abuf, alen, &aquery->addr.addrV6,
|
||||||
|
(int)addrlen, AF_INET6, &host);
|
||||||
|
}
|
||||||
|
end_aquery(aquery, status, host);
|
||||||
|
}
|
||||||
|
else if (status == ARES_EDESTRUCTION)
|
||||||
|
end_aquery(aquery, status, NULL);
|
||||||
|
else
|
||||||
|
next_lookup(aquery);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void end_aquery(struct addr_query *aquery, int status,
|
||||||
|
struct hostent *host)
|
||||||
|
{
|
||||||
|
aquery->callback(aquery->arg, status, aquery->timeouts, host);
|
||||||
|
if (host)
|
||||||
|
ares_free_hostent(host);
|
||||||
|
free(aquery);
|
||||||
|
}
|
||||||
|
|
||||||
|
static int file_lookup(struct ares_addr *addr, struct hostent **host)
|
||||||
|
{
|
||||||
|
FILE *fp;
|
||||||
|
int status;
|
||||||
|
int error;
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
char PATH_HOSTS[MAX_PATH];
|
||||||
|
if (IS_NT()) {
|
||||||
|
char tmp[MAX_PATH];
|
||||||
|
HKEY hkeyHosts;
|
||||||
|
|
||||||
|
if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, WIN_NS_NT_KEY, 0, KEY_READ, &hkeyHosts)
|
||||||
|
== ERROR_SUCCESS)
|
||||||
|
{
|
||||||
|
DWORD dwLength = MAX_PATH;
|
||||||
|
RegQueryValueEx(hkeyHosts, DATABASEPATH, NULL, NULL, (LPBYTE)tmp,
|
||||||
|
&dwLength);
|
||||||
|
ExpandEnvironmentStrings(tmp, PATH_HOSTS, MAX_PATH);
|
||||||
|
RegCloseKey(hkeyHosts);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
GetWindowsDirectory(PATH_HOSTS, MAX_PATH);
|
||||||
|
|
||||||
|
strcat(PATH_HOSTS, WIN_PATH_HOSTS);
|
||||||
|
|
||||||
|
#elif defined(WATT32)
|
||||||
|
extern const char *_w32_GetHostsFile (void);
|
||||||
|
const char *PATH_HOSTS = _w32_GetHostsFile();
|
||||||
|
|
||||||
|
if (!PATH_HOSTS)
|
||||||
|
return ARES_ENOTFOUND;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
fp = fopen(PATH_HOSTS, "r");
|
||||||
|
if (!fp)
|
||||||
|
{
|
||||||
|
error = ERRNO;
|
||||||
|
switch(error)
|
||||||
|
{
|
||||||
|
case ENOENT:
|
||||||
|
case ESRCH:
|
||||||
|
return ARES_ENOTFOUND;
|
||||||
|
default:
|
||||||
|
DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n",
|
||||||
|
error, strerror(error)));
|
||||||
|
DEBUGF(fprintf(stderr, "Error opening file: %s\n",
|
||||||
|
PATH_HOSTS));
|
||||||
|
*host = NULL;
|
||||||
|
return ARES_EFILE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
while ((status = ares__get_hostent(fp, addr->family, host)) == ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
if (addr->family != (*host)->h_addrtype)
|
||||||
|
{
|
||||||
|
ares_free_hostent(*host);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (addr->family == AF_INET)
|
||||||
|
{
|
||||||
|
if (memcmp((*host)->h_addr, &addr->addrV4, sizeof(struct in_addr)) == 0)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
else if (addr->family == AF_INET6)
|
||||||
|
{
|
||||||
|
if (memcmp((*host)->h_addr, &addr->addrV6, sizeof(struct in6_addr)) == 0)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
ares_free_hostent(*host);
|
||||||
|
}
|
||||||
|
fclose(fp);
|
||||||
|
if (status == ARES_EOF)
|
||||||
|
status = ARES_ENOTFOUND;
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
*host = NULL;
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void ptr_rr_name(char *name, const struct ares_addr *addr)
|
||||||
|
{
|
||||||
|
if (addr->family == AF_INET)
|
||||||
|
{
|
||||||
|
unsigned long laddr = ntohl(addr->addrV4.s_addr);
|
||||||
|
int a1 = (int)((laddr >> 24) & 0xff);
|
||||||
|
int a2 = (int)((laddr >> 16) & 0xff);
|
||||||
|
int a3 = (int)((laddr >> 8) & 0xff);
|
||||||
|
int a4 = (int)(laddr & 0xff);
|
||||||
|
sprintf(name, "%d.%d.%d.%d.in-addr.arpa", a4, a3, a2, a1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
unsigned char *bytes = (unsigned char *)&addr->addrV6.s6_addr;
|
||||||
|
/* There are too many arguments to do this in one line using
|
||||||
|
* minimally C89-compliant compilers */
|
||||||
|
sprintf(name,
|
||||||
|
"%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.",
|
||||||
|
bytes[15]&0xf, bytes[15] >> 4, bytes[14]&0xf, bytes[14] >> 4,
|
||||||
|
bytes[13]&0xf, bytes[13] >> 4, bytes[12]&0xf, bytes[12] >> 4,
|
||||||
|
bytes[11]&0xf, bytes[11] >> 4, bytes[10]&0xf, bytes[10] >> 4,
|
||||||
|
bytes[9]&0xf, bytes[9] >> 4, bytes[8]&0xf, bytes[8] >> 4);
|
||||||
|
sprintf(name+strlen(name),
|
||||||
|
"%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.ip6.arpa",
|
||||||
|
bytes[7]&0xf, bytes[7] >> 4, bytes[6]&0xf, bytes[6] >> 4,
|
||||||
|
bytes[5]&0xf, bytes[5] >> 4, bytes[4]&0xf, bytes[4] >> 4,
|
||||||
|
bytes[3]&0xf, bytes[3] >> 4, bytes[2]&0xf, bytes[2] >> 4,
|
||||||
|
bytes[1]&0xf, bytes[1] >> 4, bytes[0]&0xf, bytes[0] >> 4);
|
||||||
|
}
|
||||||
|
}
|
||||||
106
ares/ares_gethostbyname.3
Normal file
106
ares/ares_gethostbyname.3
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_GETHOSTBYNAME 3 "25 July 1998"
|
||||||
|
.SH NAME
|
||||||
|
ares_gethostbyname \- Initiate a host query by name
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B typedef void (*ares_host_callback)(void *\fIarg\fP, int \fIstatus\fP,
|
||||||
|
.B int \fItimeouts\fP, struct hostent *\fIhostent\fP)
|
||||||
|
.PP
|
||||||
|
.B void ares_gethostbyname(ares_channel \fIchannel\fP, const char *\fIname\fP,
|
||||||
|
.B int \fIfamily\fP, ares_host_callback \fIcallback\fP, void *\fIarg\fP)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The
|
||||||
|
.B ares_gethostbyname
|
||||||
|
function initiates a host query by name on the name service channel
|
||||||
|
identified by
|
||||||
|
.IR channel .
|
||||||
|
The parameter
|
||||||
|
.I name
|
||||||
|
gives the hostname as a NUL-terminated C string, and
|
||||||
|
.I family
|
||||||
|
gives the desired type of address for the resulting host entry. When the
|
||||||
|
query is complete or has failed, the ares library will invoke \fIcallback\fP.
|
||||||
|
Completion or failure of the query may happen immediately, or may happen
|
||||||
|
during a later call to \fIares_process(3)\fP, \fIares_destroy(3)\fP or
|
||||||
|
\fIares_cancel(3)\fP.
|
||||||
|
.PP
|
||||||
|
The callback argument
|
||||||
|
.I arg
|
||||||
|
is copied from the
|
||||||
|
.B ares_gethostbyname
|
||||||
|
argument
|
||||||
|
.IR arg .
|
||||||
|
The callback argument
|
||||||
|
.I status
|
||||||
|
indicates whether the query succeeded and, if not, how it failed. It
|
||||||
|
may have any of the following values:
|
||||||
|
.TP 19
|
||||||
|
.B ARES_SUCCESS
|
||||||
|
The host lookup completed successfully.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_ENOTIMP
|
||||||
|
The ares library does not know how to find addresses of type
|
||||||
|
.IR family .
|
||||||
|
.TP 19
|
||||||
|
.B ARES_EBADNAME
|
||||||
|
The hostname
|
||||||
|
.B name
|
||||||
|
is composed entirely of numbers and periods, but is not a valid
|
||||||
|
representation of an Internet address.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_ENOTFOUND
|
||||||
|
The address
|
||||||
|
.I addr
|
||||||
|
was not found.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_ENOMEM
|
||||||
|
Memory was exhausted.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_EDESTRUCTION
|
||||||
|
The name service channel
|
||||||
|
.I channel
|
||||||
|
is being destroyed; the query will not be completed.
|
||||||
|
.PP
|
||||||
|
The callback argument
|
||||||
|
.I timeouts
|
||||||
|
reports how many times a query timed out during the execution of the
|
||||||
|
given request.
|
||||||
|
.PP
|
||||||
|
On successful completion of the query, the callback argument
|
||||||
|
.I hostent
|
||||||
|
points to a
|
||||||
|
.B struct hostent
|
||||||
|
containing the name of the host returned by the query. The callback
|
||||||
|
need not and should not attempt to free the memory pointed to by
|
||||||
|
.IR hostent ;
|
||||||
|
the ares library will free it when the callback returns. If the query
|
||||||
|
did not complete successfully,
|
||||||
|
.I hostent
|
||||||
|
will be
|
||||||
|
.BR NULL .
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_process (3),
|
||||||
|
.BR ares_gethostbyaddr (3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Greg Hudson, MIT Information Systems
|
||||||
|
.br
|
||||||
|
Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
511
ares/ares_gethostbyname.c
Normal file
511
ares/ares_gethostbyname.c
Normal file
@@ -0,0 +1,511 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETINET_IN_H
|
||||||
|
# include <netinet/in.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETDB_H
|
||||||
|
# include <netdb.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_NAMESER_H
|
||||||
|
# include <arpa/nameser.h>
|
||||||
|
#else
|
||||||
|
# include "nameser.h"
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_NAMESER_COMPAT_H
|
||||||
|
# include <arpa/nameser_compat.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
#ifdef HAVE_STRINGS_H
|
||||||
|
#include <strings.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "inet_net_pton.h"
|
||||||
|
#include "bitncmp.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
#ifdef WATT32
|
||||||
|
#undef WIN32
|
||||||
|
#endif
|
||||||
|
|
||||||
|
struct host_query {
|
||||||
|
/* Arguments passed to ares_gethostbyname() */
|
||||||
|
ares_channel channel;
|
||||||
|
char *name;
|
||||||
|
ares_host_callback callback;
|
||||||
|
void *arg;
|
||||||
|
int sent_family; /* this family is what was is being used */
|
||||||
|
int want_family; /* this family is what is asked for in the API */
|
||||||
|
const char *remaining_lookups;
|
||||||
|
int timeouts;
|
||||||
|
};
|
||||||
|
|
||||||
|
static void next_lookup(struct host_query *hquery, int status_code);
|
||||||
|
static void host_callback(void *arg, int status, int timeouts,
|
||||||
|
unsigned char *abuf, int alen);
|
||||||
|
static void end_hquery(struct host_query *hquery, int status,
|
||||||
|
struct hostent *host);
|
||||||
|
static int fake_hostent(const char *name, int family,
|
||||||
|
ares_host_callback callback, void *arg);
|
||||||
|
static int file_lookup(const char *name, int family, struct hostent **host);
|
||||||
|
static void sort_addresses(struct hostent *host,
|
||||||
|
const struct apattern *sortlist, int nsort);
|
||||||
|
static void sort6_addresses(struct hostent *host,
|
||||||
|
const struct apattern *sortlist, int nsort);
|
||||||
|
static int get_address_index(const struct in_addr *addr,
|
||||||
|
const struct apattern *sortlist, int nsort);
|
||||||
|
static int get6_address_index(const struct in6_addr *addr,
|
||||||
|
const struct apattern *sortlist, int nsort);
|
||||||
|
|
||||||
|
void ares_gethostbyname(ares_channel channel, const char *name, int family,
|
||||||
|
ares_host_callback callback, void *arg)
|
||||||
|
{
|
||||||
|
struct host_query *hquery;
|
||||||
|
|
||||||
|
/* Right now we only know how to look up Internet addresses - and unspec
|
||||||
|
means try both basically. */
|
||||||
|
switch (family) {
|
||||||
|
case AF_INET:
|
||||||
|
case AF_INET6:
|
||||||
|
case AF_UNSPEC:
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
callback(arg, ARES_ENOTIMP, 0, NULL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (fake_hostent(name, family, callback, arg))
|
||||||
|
return;
|
||||||
|
|
||||||
|
/* Allocate and fill in the host query structure. */
|
||||||
|
hquery = malloc(sizeof(struct host_query));
|
||||||
|
if (!hquery)
|
||||||
|
{
|
||||||
|
callback(arg, ARES_ENOMEM, 0, NULL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
hquery->channel = channel;
|
||||||
|
hquery->name = strdup(name);
|
||||||
|
hquery->want_family = family;
|
||||||
|
hquery->sent_family = -1; /* nothing is sent yet */
|
||||||
|
if (!hquery->name) {
|
||||||
|
free(hquery);
|
||||||
|
callback(arg, ARES_ENOMEM, 0, NULL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
hquery->callback = callback;
|
||||||
|
hquery->arg = arg;
|
||||||
|
hquery->remaining_lookups = channel->lookups;
|
||||||
|
hquery->timeouts = 0;
|
||||||
|
|
||||||
|
/* Start performing lookups according to channel->lookups. */
|
||||||
|
next_lookup(hquery, ARES_ECONNREFUSED /* initial error code */);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void next_lookup(struct host_query *hquery, int status_code)
|
||||||
|
{
|
||||||
|
const char *p;
|
||||||
|
struct hostent *host;
|
||||||
|
int status = status_code;
|
||||||
|
|
||||||
|
for (p = hquery->remaining_lookups; *p; p++)
|
||||||
|
{
|
||||||
|
switch (*p)
|
||||||
|
{
|
||||||
|
case 'b':
|
||||||
|
/* DNS lookup */
|
||||||
|
hquery->remaining_lookups = p + 1;
|
||||||
|
if ((hquery->want_family == AF_INET6) ||
|
||||||
|
(hquery->want_family == AF_UNSPEC)) {
|
||||||
|
/* if inet6 or unspec, start out with AAAA */
|
||||||
|
hquery->sent_family = AF_INET6;
|
||||||
|
ares_search(hquery->channel, hquery->name, C_IN, T_AAAA,
|
||||||
|
host_callback, hquery);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
hquery->sent_family = AF_INET;
|
||||||
|
ares_search(hquery->channel, hquery->name, C_IN, T_A, host_callback,
|
||||||
|
hquery);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
|
||||||
|
case 'f':
|
||||||
|
/* Host file lookup */
|
||||||
|
status = file_lookup(hquery->name, hquery->want_family, &host);
|
||||||
|
|
||||||
|
/* this status check below previously checked for !ARES_ENOTFOUND,
|
||||||
|
but we should not assume that this single error code is the one
|
||||||
|
that can occur, as that is in fact no longer the case */
|
||||||
|
if (status == ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
end_hquery(hquery, status, host);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
status = status_code; /* Use original status code */
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
end_hquery(hquery, status, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void host_callback(void *arg, int status, int timeouts,
|
||||||
|
unsigned char *abuf, int alen)
|
||||||
|
{
|
||||||
|
struct host_query *hquery = (struct host_query *) arg;
|
||||||
|
ares_channel channel = hquery->channel;
|
||||||
|
struct hostent *host = NULL;
|
||||||
|
|
||||||
|
hquery->timeouts += timeouts;
|
||||||
|
if (status == ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
if (hquery->sent_family == AF_INET)
|
||||||
|
{
|
||||||
|
status = ares_parse_a_reply(abuf, alen, &host, NULL, NULL);
|
||||||
|
if (host && channel->nsort)
|
||||||
|
sort_addresses(host, channel->sortlist, channel->nsort);
|
||||||
|
}
|
||||||
|
else if (hquery->sent_family == AF_INET6)
|
||||||
|
{
|
||||||
|
status = ares_parse_aaaa_reply(abuf, alen, &host, NULL, NULL);
|
||||||
|
if (status == ARES_ENODATA || status == ARES_EBADRESP) {
|
||||||
|
/* The query returned something but either there were no AAAA records (e.g. just CNAME)
|
||||||
|
or the response was malformed. Try looking up A instead.
|
||||||
|
We should possibly limit this attempt-next logic to AF_UNSPEC lookups only. */
|
||||||
|
hquery->sent_family = AF_INET;
|
||||||
|
ares_search(hquery->channel, hquery->name, C_IN, T_A,
|
||||||
|
host_callback, hquery);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (host && channel->nsort)
|
||||||
|
sort6_addresses(host, channel->sortlist, channel->nsort);
|
||||||
|
}
|
||||||
|
end_hquery(hquery, status, host);
|
||||||
|
}
|
||||||
|
else if ((status == ARES_ENODATA || status == ARES_EBADRESP || status == ARES_ETIMEOUT) && hquery->sent_family == AF_INET6)
|
||||||
|
{
|
||||||
|
/* The AAAA query yielded no useful result. Now look up an A instead.
|
||||||
|
We should possibly limit this attempt-next logic to AF_UNSPEC lookups only. */
|
||||||
|
hquery->sent_family = AF_INET;
|
||||||
|
ares_search(hquery->channel, hquery->name, C_IN, T_A, host_callback,
|
||||||
|
hquery);
|
||||||
|
}
|
||||||
|
else if (status == ARES_EDESTRUCTION)
|
||||||
|
end_hquery(hquery, status, NULL);
|
||||||
|
else
|
||||||
|
next_lookup(hquery, status);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void end_hquery(struct host_query *hquery, int status,
|
||||||
|
struct hostent *host)
|
||||||
|
{
|
||||||
|
hquery->callback(hquery->arg, status, hquery->timeouts, host);
|
||||||
|
if (host)
|
||||||
|
ares_free_hostent(host);
|
||||||
|
free(hquery->name);
|
||||||
|
free(hquery);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If the name looks like an IP address, fake up a host entry, end the
|
||||||
|
* query immediately, and return true. Otherwise return false.
|
||||||
|
*/
|
||||||
|
static int fake_hostent(const char *name, int family, ares_host_callback callback,
|
||||||
|
void *arg)
|
||||||
|
{
|
||||||
|
struct hostent hostent;
|
||||||
|
char *aliases[1] = { NULL };
|
||||||
|
char *addrs[2];
|
||||||
|
int result = 0;
|
||||||
|
struct in_addr in;
|
||||||
|
struct in6_addr in6;
|
||||||
|
|
||||||
|
if (family == AF_INET || family == AF_INET6)
|
||||||
|
{
|
||||||
|
/* It only looks like an IP address if it's all numbers and dots. */
|
||||||
|
int numdots = 0, valid = 1;
|
||||||
|
const char *p;
|
||||||
|
for (p = name; *p; p++)
|
||||||
|
{
|
||||||
|
if (!ISDIGIT(*p) && *p != '.') {
|
||||||
|
valid = 0;
|
||||||
|
break;
|
||||||
|
} else if (*p == '.') {
|
||||||
|
numdots++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* if we don't have 3 dots, it is illegal
|
||||||
|
* (although inet_addr doesn't think so).
|
||||||
|
*/
|
||||||
|
if (numdots != 3 || !valid)
|
||||||
|
result = 0;
|
||||||
|
else
|
||||||
|
result = ((in.s_addr = inet_addr(name)) == INADDR_NONE ? 0 : 1);
|
||||||
|
|
||||||
|
if (result)
|
||||||
|
family = AF_INET;
|
||||||
|
}
|
||||||
|
if (family == AF_INET6)
|
||||||
|
result = (ares_inet_pton(AF_INET6, name, &in6) < 1 ? 0 : 1);
|
||||||
|
|
||||||
|
if (!result)
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
if (family == AF_INET)
|
||||||
|
{
|
||||||
|
hostent.h_length = (int)sizeof(struct in_addr);
|
||||||
|
addrs[0] = (char *)∈
|
||||||
|
}
|
||||||
|
else if (family == AF_INET6)
|
||||||
|
{
|
||||||
|
hostent.h_length = (int)sizeof(struct in6_addr);
|
||||||
|
addrs[0] = (char *)&in6;
|
||||||
|
}
|
||||||
|
/* Duplicate the name, to avoid a constness violation. */
|
||||||
|
hostent.h_name = strdup(name);
|
||||||
|
if (!hostent.h_name)
|
||||||
|
{
|
||||||
|
callback(arg, ARES_ENOMEM, 0, NULL);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Fill in the rest of the host structure and terminate the query. */
|
||||||
|
addrs[1] = NULL;
|
||||||
|
hostent.h_aliases = aliases;
|
||||||
|
hostent.h_addrtype = family;
|
||||||
|
hostent.h_addr_list = addrs;
|
||||||
|
callback(arg, ARES_SUCCESS, 0, &hostent);
|
||||||
|
|
||||||
|
free((char *)(hostent.h_name));
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* This is an API method */
|
||||||
|
int ares_gethostbyname_file(ares_channel channel, const char *name,
|
||||||
|
int family, struct hostent **host)
|
||||||
|
{
|
||||||
|
int result;
|
||||||
|
|
||||||
|
/* We only take the channel to ensure that ares_init() been called. */
|
||||||
|
if(channel == NULL)
|
||||||
|
{
|
||||||
|
/* Anything will do, really. This seems fine, and is consistent with
|
||||||
|
other error cases. */
|
||||||
|
*host = NULL;
|
||||||
|
return ARES_ENOTFOUND;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Just chain to the internal implementation we use here; it's exactly
|
||||||
|
* what we want.
|
||||||
|
*/
|
||||||
|
result = file_lookup(name, family, host);
|
||||||
|
if(result != ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
/* We guarantee a NULL hostent on failure. */
|
||||||
|
*host = NULL;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
static int file_lookup(const char *name, int family, struct hostent **host)
|
||||||
|
{
|
||||||
|
FILE *fp;
|
||||||
|
char **alias;
|
||||||
|
int status;
|
||||||
|
int error;
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
char PATH_HOSTS[MAX_PATH];
|
||||||
|
if (IS_NT()) {
|
||||||
|
char tmp[MAX_PATH];
|
||||||
|
HKEY hkeyHosts;
|
||||||
|
|
||||||
|
if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, WIN_NS_NT_KEY, 0, KEY_READ, &hkeyHosts)
|
||||||
|
== ERROR_SUCCESS)
|
||||||
|
{
|
||||||
|
DWORD dwLength = MAX_PATH;
|
||||||
|
RegQueryValueEx(hkeyHosts, DATABASEPATH, NULL, NULL, (LPBYTE)tmp,
|
||||||
|
&dwLength);
|
||||||
|
ExpandEnvironmentStrings(tmp, PATH_HOSTS, MAX_PATH);
|
||||||
|
RegCloseKey(hkeyHosts);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
GetWindowsDirectory(PATH_HOSTS, MAX_PATH);
|
||||||
|
|
||||||
|
strcat(PATH_HOSTS, WIN_PATH_HOSTS);
|
||||||
|
|
||||||
|
#elif defined(WATT32)
|
||||||
|
extern const char *_w32_GetHostsFile (void);
|
||||||
|
const char *PATH_HOSTS = _w32_GetHostsFile();
|
||||||
|
|
||||||
|
if (!PATH_HOSTS)
|
||||||
|
return ARES_ENOTFOUND;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
fp = fopen(PATH_HOSTS, "r");
|
||||||
|
if (!fp)
|
||||||
|
{
|
||||||
|
error = ERRNO;
|
||||||
|
switch(error)
|
||||||
|
{
|
||||||
|
case ENOENT:
|
||||||
|
case ESRCH:
|
||||||
|
return ARES_ENOTFOUND;
|
||||||
|
default:
|
||||||
|
DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n",
|
||||||
|
error, strerror(error)));
|
||||||
|
DEBUGF(fprintf(stderr, "Error opening file: %s\n",
|
||||||
|
PATH_HOSTS));
|
||||||
|
*host = NULL;
|
||||||
|
return ARES_EFILE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
while ((status = ares__get_hostent(fp, family, host)) == ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
if (strcasecmp((*host)->h_name, name) == 0)
|
||||||
|
break;
|
||||||
|
for (alias = (*host)->h_aliases; *alias; alias++)
|
||||||
|
{
|
||||||
|
if (strcasecmp(*alias, name) == 0)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (*alias)
|
||||||
|
break;
|
||||||
|
ares_free_hostent(*host);
|
||||||
|
}
|
||||||
|
fclose(fp);
|
||||||
|
if (status == ARES_EOF)
|
||||||
|
status = ARES_ENOTFOUND;
|
||||||
|
if (status != ARES_SUCCESS)
|
||||||
|
*host = NULL;
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void sort_addresses(struct hostent *host, const struct apattern *sortlist,
|
||||||
|
int nsort)
|
||||||
|
{
|
||||||
|
struct in_addr a1, a2;
|
||||||
|
int i1, i2, ind1, ind2;
|
||||||
|
|
||||||
|
/* This is a simple insertion sort, not optimized at all. i1 walks
|
||||||
|
* through the address list, with the loop invariant that everything
|
||||||
|
* to the left of i1 is sorted. In the loop body, the value at i1 is moved
|
||||||
|
* back through the list (via i2) until it is in sorted order.
|
||||||
|
*/
|
||||||
|
for (i1 = 0; host->h_addr_list[i1]; i1++)
|
||||||
|
{
|
||||||
|
memcpy(&a1, host->h_addr_list[i1], sizeof(struct in_addr));
|
||||||
|
ind1 = get_address_index(&a1, sortlist, nsort);
|
||||||
|
for (i2 = i1 - 1; i2 >= 0; i2--)
|
||||||
|
{
|
||||||
|
memcpy(&a2, host->h_addr_list[i2], sizeof(struct in_addr));
|
||||||
|
ind2 = get_address_index(&a2, sortlist, nsort);
|
||||||
|
if (ind2 <= ind1)
|
||||||
|
break;
|
||||||
|
memcpy(host->h_addr_list[i2 + 1], &a2, sizeof(struct in_addr));
|
||||||
|
}
|
||||||
|
memcpy(host->h_addr_list[i2 + 1], &a1, sizeof(struct in_addr));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Find the first entry in sortlist which matches addr. Return nsort
|
||||||
|
* if none of them match.
|
||||||
|
*/
|
||||||
|
static int get_address_index(const struct in_addr *addr,
|
||||||
|
const struct apattern *sortlist,
|
||||||
|
int nsort)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
|
for (i = 0; i < nsort; i++)
|
||||||
|
{
|
||||||
|
if (sortlist[i].family != AF_INET)
|
||||||
|
continue;
|
||||||
|
if (sortlist[i].type == PATTERN_MASK)
|
||||||
|
{
|
||||||
|
if ((addr->s_addr & sortlist[i].mask.addr4.s_addr)
|
||||||
|
== sortlist[i].addrV4.s_addr)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (!ares_bitncmp(&addr->s_addr, &sortlist[i].addrV4.s_addr,
|
||||||
|
sortlist[i].mask.bits))
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void sort6_addresses(struct hostent *host, const struct apattern *sortlist,
|
||||||
|
int nsort)
|
||||||
|
{
|
||||||
|
struct in6_addr a1, a2;
|
||||||
|
int i1, i2, ind1, ind2;
|
||||||
|
|
||||||
|
/* This is a simple insertion sort, not optimized at all. i1 walks
|
||||||
|
* through the address list, with the loop invariant that everything
|
||||||
|
* to the left of i1 is sorted. In the loop body, the value at i1 is moved
|
||||||
|
* back through the list (via i2) until it is in sorted order.
|
||||||
|
*/
|
||||||
|
for (i1 = 0; host->h_addr_list[i1]; i1++)
|
||||||
|
{
|
||||||
|
memcpy(&a1, host->h_addr_list[i1], sizeof(struct in6_addr));
|
||||||
|
ind1 = get6_address_index(&a1, sortlist, nsort);
|
||||||
|
for (i2 = i1 - 1; i2 >= 0; i2--)
|
||||||
|
{
|
||||||
|
memcpy(&a2, host->h_addr_list[i2], sizeof(struct in6_addr));
|
||||||
|
ind2 = get6_address_index(&a2, sortlist, nsort);
|
||||||
|
if (ind2 <= ind1)
|
||||||
|
break;
|
||||||
|
memcpy(host->h_addr_list[i2 + 1], &a2, sizeof(struct in6_addr));
|
||||||
|
}
|
||||||
|
memcpy(host->h_addr_list[i2 + 1], &a1, sizeof(struct in6_addr));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Find the first entry in sortlist which matches addr. Return nsort
|
||||||
|
* if none of them match.
|
||||||
|
*/
|
||||||
|
static int get6_address_index(const struct in6_addr *addr,
|
||||||
|
const struct apattern *sortlist,
|
||||||
|
int nsort)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
|
for (i = 0; i < nsort; i++)
|
||||||
|
{
|
||||||
|
if (sortlist[i].family != AF_INET6)
|
||||||
|
continue;
|
||||||
|
if (!ares_bitncmp(&addr->s6_addr, &sortlist[i].addrV6.s6_addr, sortlist[i].mask.bits))
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return i;
|
||||||
|
}
|
||||||
84
ares/ares_gethostbyname_file.3
Normal file
84
ares/ares_gethostbyname_file.3
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_GETHOSTBYNAME 3 "25 July 1998"
|
||||||
|
.SH NAME
|
||||||
|
ares_gethostbyname_file \- Lookup a name in the system's hosts file
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B int ares_gethostbyname_file(ares_channel \fIchannel\fP, const char *\fIname\fP,
|
||||||
|
.B int \fIfamily\fP, struct hostent **host)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The
|
||||||
|
.B ares_gethostbyname_file
|
||||||
|
function performs a host lookup by name against the system's hosts file (or equivalent local hostname database).
|
||||||
|
The
|
||||||
|
.IR channel
|
||||||
|
parameter is required, but no asynchronous queries are performed. Instead, the
|
||||||
|
lookup is done via the same mechanism used to perform 'f' lookups
|
||||||
|
(see the
|
||||||
|
.I lookups
|
||||||
|
options field in \fIares_init_options(3)\fP).
|
||||||
|
The parameter
|
||||||
|
.I name
|
||||||
|
gives the hostname as a NUL-terminated C string, and
|
||||||
|
.I family
|
||||||
|
gives the desired type of address for the resulting host entry.
|
||||||
|
.PP
|
||||||
|
The return value indicates whether the query succeeded and, if not, how it
|
||||||
|
failed. It may have any of the following values:
|
||||||
|
.TP 19
|
||||||
|
.B ARES_SUCCESS
|
||||||
|
The host lookup completed successfully and
|
||||||
|
.I host
|
||||||
|
now points to the result (and must be freed with \fIares_free_hostent(3)\fP).
|
||||||
|
.TP 19
|
||||||
|
.B ARES_ENOTFOUND
|
||||||
|
The hostname
|
||||||
|
.I name
|
||||||
|
was not found.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_EFILE
|
||||||
|
There was a file I/O error while performing the lookup.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_ENOMEM
|
||||||
|
Memory was exhausted.
|
||||||
|
.PP
|
||||||
|
On successful completion of the query, the pointer pointed to by
|
||||||
|
.I host
|
||||||
|
points to a
|
||||||
|
.B struct hostent
|
||||||
|
containing the address of the host returned by the lookup. The user must
|
||||||
|
free the memory pointed to by
|
||||||
|
.IR host
|
||||||
|
when finished with it by calling \fIares_free_hostent(3)\fP. If the lookup did
|
||||||
|
not complete successfully,
|
||||||
|
.I host
|
||||||
|
will be
|
||||||
|
.BR NULL .
|
||||||
|
.SH AVAILABILITY
|
||||||
|
Added in c-ares 1.5.4
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_gethostbyname (3),
|
||||||
|
.BR ares_free_hostent (3),
|
||||||
|
.BR ares_init_options (3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Brad Spencer
|
||||||
|
.br
|
||||||
|
Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
150
ares/ares_getnameinfo.3
Normal file
150
ares/ares_getnameinfo.3
Normal file
@@ -0,0 +1,150 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 2005 by Dominick Meglio.
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_GETNAMEINFO 3 "1 May 2009"
|
||||||
|
.SH NAME
|
||||||
|
ares_getnameinfo \- Address-to-nodename translation in protocol-independent manner
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B typedef void (*ares_nameinfo_callback)(void *\fIarg\fP, int \fIstatus\fP,
|
||||||
|
.B int \fItimeouts\fP, char *\fInode\fP, char *\fIservice\fP)
|
||||||
|
.PP
|
||||||
|
.B void ares_getnameinfo(ares_channel \fIchannel\fP, const struct sockaddr *\fIsa\fP,
|
||||||
|
.B ares_socklen_t \fIsalen\fP, int \fIflags\fP, ares_nameinfo_callback \fIcallback\fP,
|
||||||
|
.B void *\fIarg\fP)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The
|
||||||
|
.B ares_getnameinfo
|
||||||
|
function is defined for protocol-independent address translation. The function
|
||||||
|
is a combination of \fIares_gethostbyaddr(3)\fP and \fIgetservbyport(3)\fP. The function will
|
||||||
|
translate the address either by executing a host query on the name service channel
|
||||||
|
identified by
|
||||||
|
.IR channel
|
||||||
|
or it will attempt to resolve it locally if possible.
|
||||||
|
The parameters
|
||||||
|
.I sa
|
||||||
|
and
|
||||||
|
.I len
|
||||||
|
give the address as a sockaddr structure, and
|
||||||
|
.I flags
|
||||||
|
gives the options that the function will use. Valid flags are listed below:
|
||||||
|
.TP 19
|
||||||
|
.B ARES_NI_NOFQDN
|
||||||
|
Only the nodename portion of the FQDN is returned for local hosts.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_NI_NUMERICHOST
|
||||||
|
The numeric form of the hostname is returned rather than the name.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_NI_NAMEREQD
|
||||||
|
An error is returned if the hostname cannot be found in the DNS.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_NI_NUMERICSERV
|
||||||
|
The numeric form of the service is returned rather than the name.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_NI_TCP
|
||||||
|
The service name is to be looked up for the TCP protocol.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_NI_UDP
|
||||||
|
The service name is to be looked up for the UDP protocol.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_NI_SCTP
|
||||||
|
The service name is to be looked up for the SCTP protocol.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_NI_DCCP
|
||||||
|
The service name is to be looked up for the DCCP protocol.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_NI_NUMERICSCOPE
|
||||||
|
The numeric form of the scope ID is returned rather than the name.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_NI_LOOKUPHOST
|
||||||
|
A hostname lookup is being requested.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_NI_LOOKUPSERVICE
|
||||||
|
A service name lookup is being requested.
|
||||||
|
.PP
|
||||||
|
When the query
|
||||||
|
is complete or has
|
||||||
|
failed, the ares library will invoke \fIcallback\fP. Completion or failure of
|
||||||
|
the query may happen immediately, or may happen during a later call to
|
||||||
|
\fIares_process(3)\fP, \fIares_destroy(3)\fP or \fIares_cancel(3)\fP.
|
||||||
|
.PP
|
||||||
|
The callback argument
|
||||||
|
.I arg
|
||||||
|
is copied from the
|
||||||
|
.B ares_getnameinfo
|
||||||
|
argument
|
||||||
|
.IR arg .
|
||||||
|
The callback argument
|
||||||
|
.I status
|
||||||
|
indicates whether the query succeeded and, if not, how it failed. It
|
||||||
|
may have any of the following values:
|
||||||
|
.TP 19
|
||||||
|
.B ARES_SUCCESS
|
||||||
|
The host lookup completed successfully.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_ENOTIMP
|
||||||
|
The ares library does not know how to look up addresses of type
|
||||||
|
.IR family .
|
||||||
|
.TP 19
|
||||||
|
.B ARES_ENOTFOUND
|
||||||
|
The address
|
||||||
|
.I addr
|
||||||
|
was not found.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_ENOMEM
|
||||||
|
Memory was exhausted.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_EDESTRUCTION
|
||||||
|
The name service channel
|
||||||
|
.I channel
|
||||||
|
is being destroyed; the query will not be completed.
|
||||||
|
.TP 19
|
||||||
|
.B ARES_EBADFLAGS
|
||||||
|
The
|
||||||
|
.I flags
|
||||||
|
parameter contains an illegal value.
|
||||||
|
.PP
|
||||||
|
The callback argument
|
||||||
|
.I timeouts
|
||||||
|
reports how many times a query timed out during the execution of the
|
||||||
|
given request.
|
||||||
|
.PP
|
||||||
|
On successful completion of the query, the callback argument
|
||||||
|
.I node
|
||||||
|
contains a string representing the hostname (assuming
|
||||||
|
.B ARES_NI_LOOKUPHOST
|
||||||
|
was specified). Additionally,
|
||||||
|
.I service
|
||||||
|
contains a string representing the service name (assuming
|
||||||
|
.B ARES_NI_LOOKUPSERVICE
|
||||||
|
was specified).
|
||||||
|
If the query did not complete successfully, or one of the values
|
||||||
|
was not requested,
|
||||||
|
.I node
|
||||||
|
or
|
||||||
|
.I service
|
||||||
|
will be
|
||||||
|
.BR NULL .
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_process (3),
|
||||||
|
.BR ares_getaddrinfo (3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Dominick Meglio
|
||||||
|
.br
|
||||||
|
Copyright 2005 by Dominick Meglio.
|
||||||
409
ares/ares_getnameinfo.c
Normal file
409
ares/ares_getnameinfo.c
Normal file
@@ -0,0 +1,409 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 2005 by Dominick Meglio
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_GETSERVBYPORT_R
|
||||||
|
# if !defined(GETSERVBYPORT_R_ARGS) || \
|
||||||
|
(GETSERVBYPORT_R_ARGS < 4) || (GETSERVBYPORT_R_ARGS > 6)
|
||||||
|
# error "you MUST specifiy a valid number of arguments for getservbyport_r"
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETINET_IN_H
|
||||||
|
# include <netinet/in.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETDB_H
|
||||||
|
# include <netdb.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_NAMESER_H
|
||||||
|
# include <arpa/nameser.h>
|
||||||
|
#else
|
||||||
|
# include "nameser.h"
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_NAMESER_COMPAT_H
|
||||||
|
# include <arpa/nameser_compat.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_NET_IF_H
|
||||||
|
#include <net/if.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_ipv6.h"
|
||||||
|
#include "inet_ntop.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
struct nameinfo_query {
|
||||||
|
ares_nameinfo_callback callback;
|
||||||
|
void *arg;
|
||||||
|
union {
|
||||||
|
struct sockaddr_in addr4;
|
||||||
|
struct sockaddr_in6 addr6;
|
||||||
|
} addr;
|
||||||
|
int family;
|
||||||
|
int flags;
|
||||||
|
int timeouts;
|
||||||
|
};
|
||||||
|
|
||||||
|
#ifdef HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
|
||||||
|
#define IPBUFSIZ 40+IF_NAMESIZE
|
||||||
|
#else
|
||||||
|
#define IPBUFSIZ 40
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static void nameinfo_callback(void *arg, int status, int timeouts, struct hostent *host);
|
||||||
|
static char *lookup_service(unsigned short port, int flags,
|
||||||
|
char *buf, size_t buflen);
|
||||||
|
#ifdef HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
|
||||||
|
static void append_scopeid(struct sockaddr_in6 *addr6, unsigned int scopeid,
|
||||||
|
char *buf, size_t buflen);
|
||||||
|
#endif
|
||||||
|
static char *ares_striendstr(const char *s1, const char *s2);
|
||||||
|
|
||||||
|
void ares_getnameinfo(ares_channel channel, const struct sockaddr *sa,
|
||||||
|
ares_socklen_t salen,
|
||||||
|
int flags, ares_nameinfo_callback callback, void *arg)
|
||||||
|
{
|
||||||
|
struct sockaddr_in *addr = NULL;
|
||||||
|
struct sockaddr_in6 *addr6 = NULL;
|
||||||
|
struct nameinfo_query *niquery;
|
||||||
|
unsigned int port = 0;
|
||||||
|
|
||||||
|
/* Verify the buffer size */
|
||||||
|
if (salen == sizeof(struct sockaddr_in))
|
||||||
|
{
|
||||||
|
addr = (struct sockaddr_in *)sa;
|
||||||
|
port = addr->sin_port;
|
||||||
|
}
|
||||||
|
else if (salen == sizeof(struct sockaddr_in6))
|
||||||
|
{
|
||||||
|
addr6 = (struct sockaddr_in6 *)sa;
|
||||||
|
port = addr6->sin6_port;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
callback(arg, ARES_ENOTIMP, 0, NULL, NULL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If neither, assume they want a host */
|
||||||
|
if (!(flags & ARES_NI_LOOKUPSERVICE) && !(flags & ARES_NI_LOOKUPHOST))
|
||||||
|
flags |= ARES_NI_LOOKUPHOST;
|
||||||
|
|
||||||
|
/* All they want is a service, no need for DNS */
|
||||||
|
if ((flags & ARES_NI_LOOKUPSERVICE) && !(flags & ARES_NI_LOOKUPHOST))
|
||||||
|
{
|
||||||
|
char buf[33], *service;
|
||||||
|
|
||||||
|
service = lookup_service((unsigned short)(port & 0xffff),
|
||||||
|
flags, buf, sizeof(buf));
|
||||||
|
callback(arg, ARES_SUCCESS, 0, NULL, service);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* They want a host lookup */
|
||||||
|
if ((flags & ARES_NI_LOOKUPHOST))
|
||||||
|
{
|
||||||
|
/* A numeric host can be handled without DNS */
|
||||||
|
if ((flags & ARES_NI_NUMERICHOST))
|
||||||
|
{
|
||||||
|
char ipbuf[IPBUFSIZ];
|
||||||
|
char srvbuf[33];
|
||||||
|
char *service = NULL;
|
||||||
|
ipbuf[0] = 0;
|
||||||
|
|
||||||
|
/* Specifying not to lookup a host, but then saying a host
|
||||||
|
* is required has to be illegal.
|
||||||
|
*/
|
||||||
|
if (flags & ARES_NI_NAMEREQD)
|
||||||
|
{
|
||||||
|
callback(arg, ARES_EBADFLAGS, 0, NULL, NULL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (salen == sizeof(struct sockaddr_in6))
|
||||||
|
{
|
||||||
|
ares_inet_ntop(AF_INET6, &addr6->sin6_addr, ipbuf, IPBUFSIZ);
|
||||||
|
/* If the system supports scope IDs, use it */
|
||||||
|
#ifdef HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
|
||||||
|
append_scopeid(addr6, flags, ipbuf, sizeof(ipbuf));
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ares_inet_ntop(AF_INET, &addr->sin_addr, ipbuf, IPBUFSIZ);
|
||||||
|
}
|
||||||
|
/* They also want a service */
|
||||||
|
if (flags & ARES_NI_LOOKUPSERVICE)
|
||||||
|
service = lookup_service((unsigned short)(port & 0xffff),
|
||||||
|
flags, srvbuf, sizeof(srvbuf));
|
||||||
|
callback(arg, ARES_SUCCESS, 0, ipbuf, service);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
/* This is where a DNS lookup becomes necessary */
|
||||||
|
else
|
||||||
|
{
|
||||||
|
niquery = malloc(sizeof(struct nameinfo_query));
|
||||||
|
if (!niquery)
|
||||||
|
{
|
||||||
|
callback(arg, ARES_ENOMEM, 0, NULL, NULL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
niquery->callback = callback;
|
||||||
|
niquery->arg = arg;
|
||||||
|
niquery->flags = flags;
|
||||||
|
niquery->timeouts = 0;
|
||||||
|
if (sa->sa_family == AF_INET)
|
||||||
|
{
|
||||||
|
niquery->family = AF_INET;
|
||||||
|
memcpy(&niquery->addr.addr4, addr, sizeof(addr));
|
||||||
|
ares_gethostbyaddr(channel, &addr->sin_addr, sizeof(struct in_addr), AF_INET,
|
||||||
|
nameinfo_callback, niquery);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
niquery->family = AF_INET6;
|
||||||
|
memcpy(&niquery->addr.addr6, addr6, sizeof(addr6));
|
||||||
|
ares_gethostbyaddr(channel, &addr6->sin6_addr, sizeof(struct in6_addr), AF_INET6,
|
||||||
|
nameinfo_callback, niquery);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void nameinfo_callback(void *arg, int status, int timeouts, struct hostent *host)
|
||||||
|
{
|
||||||
|
struct nameinfo_query *niquery = (struct nameinfo_query *) arg;
|
||||||
|
char srvbuf[33];
|
||||||
|
char *service = NULL;
|
||||||
|
|
||||||
|
niquery->timeouts += timeouts;
|
||||||
|
if (status == ARES_SUCCESS)
|
||||||
|
{
|
||||||
|
/* They want a service too */
|
||||||
|
if (niquery->flags & ARES_NI_LOOKUPSERVICE)
|
||||||
|
{
|
||||||
|
if (niquery->family == AF_INET)
|
||||||
|
service = lookup_service(niquery->addr.addr4.sin_port,
|
||||||
|
niquery->flags, srvbuf, sizeof(srvbuf));
|
||||||
|
else
|
||||||
|
service = lookup_service(niquery->addr.addr6.sin6_port,
|
||||||
|
niquery->flags, srvbuf, sizeof(srvbuf));
|
||||||
|
}
|
||||||
|
/* NOFQDN means we have to strip off the domain name portion.
|
||||||
|
We do this by determining our own domain name, then searching the string
|
||||||
|
for this domain name and removing it.
|
||||||
|
*/
|
||||||
|
#ifdef HAVE_GETHOSTNAME
|
||||||
|
if (niquery->flags & ARES_NI_NOFQDN)
|
||||||
|
{
|
||||||
|
char buf[255];
|
||||||
|
char *domain;
|
||||||
|
gethostname(buf, 255);
|
||||||
|
if ((domain = strchr(buf, '.')))
|
||||||
|
{
|
||||||
|
char *end = ares_striendstr(host->h_name, domain);
|
||||||
|
if (end)
|
||||||
|
*end = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
niquery->callback(niquery->arg, ARES_SUCCESS, niquery->timeouts, (char *)(host->h_name),
|
||||||
|
service);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
/* We couldn't find the host, but it's OK, we can use the IP */
|
||||||
|
else if (status == ARES_ENOTFOUND && !(niquery->flags & ARES_NI_NAMEREQD))
|
||||||
|
{
|
||||||
|
char ipbuf[IPBUFSIZ];
|
||||||
|
if (niquery->family == AF_INET)
|
||||||
|
ares_inet_ntop(AF_INET, &niquery->addr.addr4.sin_addr, ipbuf, IPBUFSIZ);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ares_inet_ntop(AF_INET6, &niquery->addr.addr6.sin6_addr, ipbuf, IPBUFSIZ);
|
||||||
|
#ifdef HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
|
||||||
|
append_scopeid(&niquery->addr.addr6, niquery->flags, ipbuf, sizeof(ipbuf));
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
/* They want a service too */
|
||||||
|
if (niquery->flags & ARES_NI_LOOKUPSERVICE)
|
||||||
|
{
|
||||||
|
if (niquery->family == AF_INET)
|
||||||
|
service = lookup_service(niquery->addr.addr4.sin_port,
|
||||||
|
niquery->flags, srvbuf, sizeof(srvbuf));
|
||||||
|
else
|
||||||
|
service = lookup_service(niquery->addr.addr6.sin6_port,
|
||||||
|
niquery->flags, srvbuf, sizeof(srvbuf));
|
||||||
|
}
|
||||||
|
niquery->callback(niquery->arg, ARES_SUCCESS, niquery->timeouts, ipbuf, service);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
niquery->callback(niquery->arg, status, niquery->timeouts, NULL, NULL);
|
||||||
|
free(niquery);
|
||||||
|
}
|
||||||
|
|
||||||
|
static char *lookup_service(unsigned short port, int flags,
|
||||||
|
char *buf, size_t buflen)
|
||||||
|
{
|
||||||
|
const char *proto;
|
||||||
|
struct servent *sep;
|
||||||
|
#ifdef HAVE_GETSERVBYPORT_R
|
||||||
|
struct servent se;
|
||||||
|
#endif
|
||||||
|
char tmpbuf[4096];
|
||||||
|
|
||||||
|
if (port)
|
||||||
|
{
|
||||||
|
if (flags & ARES_NI_NUMERICSERV)
|
||||||
|
sep = NULL;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (flags & ARES_NI_UDP)
|
||||||
|
proto = "udp";
|
||||||
|
else if (flags & ARES_NI_SCTP)
|
||||||
|
proto = "sctp";
|
||||||
|
else if (flags & ARES_NI_DCCP)
|
||||||
|
proto = "dccp";
|
||||||
|
else
|
||||||
|
proto = "tcp";
|
||||||
|
#ifdef HAVE_GETSERVBYPORT_R
|
||||||
|
sep = &se;
|
||||||
|
memset(tmpbuf, 0, sizeof(tmpbuf));
|
||||||
|
#if GETSERVBYPORT_R_ARGS == 6
|
||||||
|
if (getservbyport_r(port, proto, &se, (void *)tmpbuf, sizeof(tmpbuf), &sep) != 0)
|
||||||
|
sep = NULL;
|
||||||
|
#elif GETSERVBYPORT_R_ARGS == 5
|
||||||
|
sep = getservbyport_r(port, proto, &se, (void *)tmpbuf, sizeof(tmpbuf));
|
||||||
|
#elif GETSERVBYPORT_R_ARGS == 4
|
||||||
|
if (getservbyport_r(port, proto, &se, (void *)tmpbuf) != 0)
|
||||||
|
sep = NULL;
|
||||||
|
#else
|
||||||
|
/* Lets just hope the OS uses TLS! */
|
||||||
|
sep = getservbyport(port, proto);
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
/* Lets just hope the OS uses TLS! */
|
||||||
|
#if (defined(NETWARE) && !defined(__NOVELL_LIBC__))
|
||||||
|
sep = getservbyport(port, (char*)proto);
|
||||||
|
#else
|
||||||
|
sep = getservbyport(port, proto);
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
if (sep && sep->s_name)
|
||||||
|
/* get service name */
|
||||||
|
strcpy(tmpbuf, sep->s_name);
|
||||||
|
else
|
||||||
|
/* get port as a string */
|
||||||
|
sprintf(tmpbuf, "%u", (unsigned int)ntohs(port));
|
||||||
|
if (strlen(tmpbuf) < buflen)
|
||||||
|
/* return it if buffer big enough */
|
||||||
|
strcpy(buf, tmpbuf);
|
||||||
|
else
|
||||||
|
/* avoid reusing previous one */
|
||||||
|
buf[0] = '\0';
|
||||||
|
return buf;
|
||||||
|
}
|
||||||
|
buf[0] = '\0';
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
|
||||||
|
static void append_scopeid(struct sockaddr_in6 *addr6, unsigned int flags,
|
||||||
|
char *buf, size_t buflen)
|
||||||
|
{
|
||||||
|
#ifdef HAVE_IF_INDEXTONAME
|
||||||
|
int is_ll, is_mcll;
|
||||||
|
#endif
|
||||||
|
char fmt_u[] = "%u";
|
||||||
|
char fmt_lu[] = "%lu";
|
||||||
|
char tmpbuf[IF_NAMESIZE + 2];
|
||||||
|
size_t bufl;
|
||||||
|
char *fmt = (sizeof(addr6->sin6_scope_id) > sizeof(unsigned int))?fmt_lu:fmt_u;
|
||||||
|
|
||||||
|
tmpbuf[0] = '%';
|
||||||
|
|
||||||
|
#ifdef HAVE_IF_INDEXTONAME
|
||||||
|
is_ll = IN6_IS_ADDR_LINKLOCAL(&addr6->sin6_addr);
|
||||||
|
is_mcll = IN6_IS_ADDR_MC_LINKLOCAL(&addr6->sin6_addr);
|
||||||
|
if ((flags & ARES_NI_NUMERICSCOPE) ||
|
||||||
|
(!is_ll && !is_mcll))
|
||||||
|
{
|
||||||
|
sprintf(&tmpbuf[1], fmt, addr6->sin6_scope_id);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (if_indextoname(addr6->sin6_scope_id, &tmpbuf[1]) == NULL)
|
||||||
|
sprintf(&tmpbuf[1], fmt, addr6->sin6_scope_id);
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
sprintf(&tmpbuf[1], fmt, addr6->sin6_scope_id);
|
||||||
|
(void) flags;
|
||||||
|
#endif
|
||||||
|
tmpbuf[IF_NAMESIZE + 1] = '\0';
|
||||||
|
bufl = strlen(buf);
|
||||||
|
|
||||||
|
if(bufl + strlen(tmpbuf) < buflen)
|
||||||
|
/* only append the scopeid string if it fits in the target buffer */
|
||||||
|
strcpy(&buf[bufl], tmpbuf);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Determines if s1 ends with the string in s2 (case-insensitive) */
|
||||||
|
static char *ares_striendstr(const char *s1, const char *s2)
|
||||||
|
{
|
||||||
|
const char *c1, *c2, *c1_begin;
|
||||||
|
int lo1, lo2;
|
||||||
|
size_t s1_len = strlen(s1), s2_len = strlen(s2);
|
||||||
|
|
||||||
|
/* If the substr is longer than the full str, it can't match */
|
||||||
|
if (s2_len > s1_len)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
/* Jump to the end of s1 minus the length of s2 */
|
||||||
|
c1_begin = s1+s1_len-s2_len;
|
||||||
|
c1 = (const char *)c1_begin;
|
||||||
|
c2 = s2;
|
||||||
|
while (c2 < s2+s2_len)
|
||||||
|
{
|
||||||
|
lo1 = tolower(*c1);
|
||||||
|
lo2 = tolower(*c2);
|
||||||
|
if (lo1 != lo2)
|
||||||
|
return NULL;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
c1++;
|
||||||
|
c2++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (c2 == c1 && c2 == NULL)
|
||||||
|
return (char *)c1_begin;
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
123
ares/ares_getopt.c
Normal file
123
ares/ares_getopt.c
Normal file
@@ -0,0 +1,123 @@
|
|||||||
|
/*
|
||||||
|
* Original file name getopt.c Initial import into the c-ares source tree
|
||||||
|
* on 2007-04-11. Lifted from version 5.2 of the 'Open Mash' project with
|
||||||
|
* the modified BSD license, BSD license without the advertising clause.
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* getopt.c --
|
||||||
|
*
|
||||||
|
* Standard UNIX getopt function. Code is from BSD.
|
||||||
|
*
|
||||||
|
* Copyright (c) 1987-2001 The Regents of the University of California.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
*
|
||||||
|
* A. Redistributions of source code must retain the above copyright notice,
|
||||||
|
* this list of conditions and the following disclaimer.
|
||||||
|
* B. Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
* this list of conditions and the following disclaimer in the documentation
|
||||||
|
* and/or other materials provided with the distribution.
|
||||||
|
* C. Neither the names of the copyright holders nor the names of its
|
||||||
|
* contributors may be used to endorse or promote products derived from this
|
||||||
|
* software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
|
||||||
|
* IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
|
||||||
|
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
|
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* #if !defined(lint)
|
||||||
|
* static char sccsid[] = "@(#)getopt.c 8.2 (Berkeley) 4/2/94";
|
||||||
|
* #endif
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include "ares_getopt.h"
|
||||||
|
|
||||||
|
int opterr = 1, /* if error message should be printed */
|
||||||
|
optind = 1; /* index into parent argv vector */
|
||||||
|
int optopt = 0; /* character checked for validity */
|
||||||
|
static int optreset; /* reset getopt */
|
||||||
|
char *optarg; /* argument associated with option */
|
||||||
|
|
||||||
|
#define BADCH (int)'?'
|
||||||
|
#define BADARG (int)':'
|
||||||
|
#define EMSG (char *)""
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ares_getopt --
|
||||||
|
* Parse argc/argv argument vector.
|
||||||
|
*/
|
||||||
|
int
|
||||||
|
ares_getopt(int nargc, char * const nargv[], const char *ostr)
|
||||||
|
{
|
||||||
|
static char *place = EMSG; /* option letter processing */
|
||||||
|
char *oli; /* option letter list index */
|
||||||
|
|
||||||
|
if (optreset || !*place) { /* update scanning pointer */
|
||||||
|
optreset = 0;
|
||||||
|
if (optind >= nargc || *(place = nargv[optind]) != '-') {
|
||||||
|
place = EMSG;
|
||||||
|
return (EOF);
|
||||||
|
}
|
||||||
|
if (place[1] && *++place == '-') { /* found "--" */
|
||||||
|
++optind;
|
||||||
|
place = EMSG;
|
||||||
|
return (EOF);
|
||||||
|
}
|
||||||
|
} /* option letter okay? */
|
||||||
|
if ((optopt = (int)*place++) == (int)':' ||
|
||||||
|
(oli = strchr(ostr, optopt)) == NULL) {
|
||||||
|
/*
|
||||||
|
* if the user didn't specify '-' as an option,
|
||||||
|
* assume it means EOF.
|
||||||
|
*/
|
||||||
|
if (optopt == (int)'-')
|
||||||
|
return (EOF);
|
||||||
|
if (!*place)
|
||||||
|
++optind;
|
||||||
|
if (opterr && *ostr != ':')
|
||||||
|
(void)fprintf(stderr,
|
||||||
|
"%s: illegal option -- %c\n", __FILE__, optopt);
|
||||||
|
return (BADCH);
|
||||||
|
}
|
||||||
|
if (*++oli != ':') { /* don't need argument */
|
||||||
|
optarg = NULL;
|
||||||
|
if (!*place)
|
||||||
|
++optind;
|
||||||
|
}
|
||||||
|
else { /* need an argument */
|
||||||
|
if (*place) /* no white space */
|
||||||
|
optarg = place;
|
||||||
|
else if (nargc <= ++optind) { /* no arg */
|
||||||
|
place = EMSG;
|
||||||
|
if (*ostr == ':')
|
||||||
|
return (BADARG);
|
||||||
|
if (opterr)
|
||||||
|
(void)fprintf(stderr,
|
||||||
|
"%s: option requires an argument -- %c\n",
|
||||||
|
__FILE__, optopt);
|
||||||
|
return (BADCH);
|
||||||
|
}
|
||||||
|
else /* white space */
|
||||||
|
optarg = nargv[optind];
|
||||||
|
place = EMSG;
|
||||||
|
++optind;
|
||||||
|
}
|
||||||
|
return (optopt); /* dump back option letter */
|
||||||
|
}
|
||||||
53
ares/ares_getopt.h
Normal file
53
ares/ares_getopt.h
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
#ifndef ARES_GETOPT_H
|
||||||
|
#define ARES_GETOPT_H
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 1987-2001 The Regents of the University of California.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
*
|
||||||
|
* A. Redistributions of source code must retain the above copyright notice,
|
||||||
|
* this list of conditions and the following disclaimer.
|
||||||
|
* B. Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
* this list of conditions and the following disclaimer in the documentation
|
||||||
|
* and/or other materials provided with the distribution.
|
||||||
|
* C. Neither the names of the copyright holders nor the names of its
|
||||||
|
* contributors may be used to endorse or promote products derived from this
|
||||||
|
* software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
|
||||||
|
* IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
|
||||||
|
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
|
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
int ares_getopt(int nargc, char * const nargv[], const char *ostr);
|
||||||
|
|
||||||
|
#undef optarg
|
||||||
|
#undef optind
|
||||||
|
#undef opterr
|
||||||
|
#undef optopt
|
||||||
|
#undef optreset
|
||||||
|
|
||||||
|
#define optarg ares_optarg
|
||||||
|
#define optind ares_optind
|
||||||
|
#define opterr ares_opterr
|
||||||
|
#define optopt ares_optopt
|
||||||
|
#define optreset ares_optreset
|
||||||
|
|
||||||
|
extern char *optarg;
|
||||||
|
extern int optind;
|
||||||
|
extern int opterr;
|
||||||
|
extern int optopt;
|
||||||
|
|
||||||
|
#endif /* ARES_GETOPT_H */
|
||||||
58
ares/ares_getsock.3
Normal file
58
ares/ares_getsock.3
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by Daniel Stenberg
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_GETSOCK 3 "22 December 2005"
|
||||||
|
.SH NAME
|
||||||
|
ares_getsock \- get file descriptors to wait on
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B int ares_getsock(ares_channel \fIchannel\fP, int *\fIsocks\fP,
|
||||||
|
.B int \fInumsocks\fP);
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The
|
||||||
|
.B ares_getsock
|
||||||
|
function retrieves the set of file descriptors which the calling
|
||||||
|
application should wait on for reading and/or writing for the
|
||||||
|
processing of name service queries pending on the name service channel
|
||||||
|
identified by
|
||||||
|
.IR channel .
|
||||||
|
File descriptors will be set in the integer array pointed to by
|
||||||
|
\fIsocks\fP.
|
||||||
|
\fInumsocks\fP is the size of the given array in number of ints.
|
||||||
|
|
||||||
|
This function can only return information about up to 16 sockets. If more are
|
||||||
|
in use (however unlikely that is), they are simply not reported back.
|
||||||
|
.SH RETURN VALUES
|
||||||
|
\fBares_getsock\fP returns a bitmask for what actions to wait for on the
|
||||||
|
different sockets. The ares.h header file provides these convenience macros to
|
||||||
|
extract the information appropriately:
|
||||||
|
|
||||||
|
.nf
|
||||||
|
#define ARES_GETSOCK_MAXNUM 16 /* ares_getsock() can return info about
|
||||||
|
this many sockets */
|
||||||
|
#define ARES_GETSOCK_READABLE(bits,num) (bits & (1<< (num)))
|
||||||
|
#define ARES_GETSOCK_WRITABLE(bits,num) (bits & (1 << ((num) + \
|
||||||
|
ARES_GETSOCK_MAXNUM)))
|
||||||
|
.fi
|
||||||
|
.SH NOTES
|
||||||
|
This function was added in c-ares 1.3.1
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_timeout (3),
|
||||||
|
.BR ares_fds (3),
|
||||||
|
.BR ares_process (3)
|
||||||
75
ares/ares_getsock.c
Normal file
75
ares/ares_getsock.c
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright (C) 2005 - 2007, Daniel Stenberg
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this software and its
|
||||||
|
* documentation for any purpose and without fee is hereby granted, provided
|
||||||
|
* that the above copyright notice appear in all copies and that both that
|
||||||
|
* copyright notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in advertising or
|
||||||
|
* publicity pertaining to distribution of the software without specific,
|
||||||
|
* written prior permission. M.I.T. makes no representations about the
|
||||||
|
* suitability of this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_TIME_H
|
||||||
|
#include <sys/time.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
int ares_getsock(ares_channel channel,
|
||||||
|
int *s,
|
||||||
|
int numsocks) /* size of the 'socks' array */
|
||||||
|
{
|
||||||
|
struct server_state *server;
|
||||||
|
int i;
|
||||||
|
int sockindex=0;
|
||||||
|
int bitmap = 0;
|
||||||
|
unsigned int setbits = 0xffffffff;
|
||||||
|
|
||||||
|
ares_socket_t *socks = (ares_socket_t *)s;
|
||||||
|
|
||||||
|
/* Are there any active queries? */
|
||||||
|
int active_queries = !ares__is_list_empty(&(channel->all_queries));
|
||||||
|
|
||||||
|
for (i = 0;
|
||||||
|
(i < channel->nservers) && (sockindex < ARES_GETSOCK_MAXNUM);
|
||||||
|
i++)
|
||||||
|
{
|
||||||
|
server = &channel->servers[i];
|
||||||
|
/* We only need to register interest in UDP sockets if we have
|
||||||
|
* outstanding queries.
|
||||||
|
*/
|
||||||
|
if (active_queries && server->udp_socket != ARES_SOCKET_BAD)
|
||||||
|
{
|
||||||
|
if(sockindex >= numsocks)
|
||||||
|
break;
|
||||||
|
socks[sockindex] = server->udp_socket;
|
||||||
|
bitmap |= ARES_GETSOCK_READABLE(setbits, sockindex);
|
||||||
|
sockindex++;
|
||||||
|
}
|
||||||
|
/* We always register for TCP events, because we want to know
|
||||||
|
* when the other side closes the connection, so we don't waste
|
||||||
|
* time trying to use a broken connection.
|
||||||
|
*/
|
||||||
|
if (server->tcp_socket != ARES_SOCKET_BAD)
|
||||||
|
{
|
||||||
|
if(sockindex >= numsocks)
|
||||||
|
break;
|
||||||
|
socks[sockindex] = server->tcp_socket;
|
||||||
|
bitmap |= ARES_GETSOCK_READABLE(setbits, sockindex);
|
||||||
|
|
||||||
|
if (server->qhead && active_queries)
|
||||||
|
/* then the tcp socket is also writable! */
|
||||||
|
bitmap |= ARES_GETSOCK_WRITABLE(setbits, sockindex);
|
||||||
|
|
||||||
|
sockindex++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return bitmap;
|
||||||
|
}
|
||||||
199
ares/ares_init.3
Normal file
199
ares/ares_init.3
Normal file
@@ -0,0 +1,199 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\" Copyright (C) 2004-2009 by Daniel Stenberg
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_INIT 3 "26 May 2009"
|
||||||
|
.SH NAME
|
||||||
|
ares_init, ares_init_options \- Initialize a resolver channel
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B int ares_init(ares_channel *\fIchannelptr\fP)
|
||||||
|
.B int ares_init_options(ares_channel *\fIchannelptr\fP,
|
||||||
|
.B struct ares_options *\fIoptions\fP, int \fIoptmask\fP)
|
||||||
|
.PP
|
||||||
|
.B cc file.c -lcares
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The \fBares_init\fP function initializes a communications channel for name
|
||||||
|
service lookups. If it returns successfully, \fBares_init\fP will set the
|
||||||
|
variable pointed to by \fIchannelptr\fP to a handle used to identify the name
|
||||||
|
service channel. The caller should invoke
|
||||||
|
.BR ares_destroy (3)
|
||||||
|
on the handle when the channel is no longer needed.
|
||||||
|
.PP
|
||||||
|
The \fBares_init_options\fP function also initializes a name service channel,
|
||||||
|
with additional options useful for applications requiring more control over
|
||||||
|
name service configuration. The \fIoptmask\fP parameter specifies which fields
|
||||||
|
in the structure pointed to by \fIoptions\fP are set, as follows:
|
||||||
|
.TP 18
|
||||||
|
.B ARES_OPT_FLAGS
|
||||||
|
.B int \fIflags\fP;
|
||||||
|
.br
|
||||||
|
Flags controlling the behavior of the resolver. See below for a
|
||||||
|
description of possible flag values.
|
||||||
|
.TP 18
|
||||||
|
.B ARES_OPT_TIMEOUT
|
||||||
|
.B int \fItimeout\fP;
|
||||||
|
.br
|
||||||
|
The number of seconds each name server is given to respond to a query on the
|
||||||
|
first try. (After the first try, the timeout algorithm becomes more
|
||||||
|
complicated, but scales linearly with the value of \fItimeout\fP.) The
|
||||||
|
default is five seconds. This option is being deprecated by
|
||||||
|
\fIARES_OPT_TIMEOUTMS\fP starting in c-ares 1.5.2.
|
||||||
|
.TP 18
|
||||||
|
.B ARES_OPT_TIMEOUTMS
|
||||||
|
.B int \fItimeout\fP;
|
||||||
|
.br
|
||||||
|
The number of milliseconds each name server is given to respond to a query on
|
||||||
|
the first try. (After the first try, the timeout algorithm becomes more
|
||||||
|
complicated, but scales linearly with the value of \fItimeout\fP.) The
|
||||||
|
default is five seconds. Note that this option is specified with the same
|
||||||
|
struct field as the former \fIARES_OPT_TIMEOUT\fP, it is but the option bits
|
||||||
|
that tell c-ares how to interpret the number. This option was added in c-ares
|
||||||
|
1.5.2.
|
||||||
|
.TP 18
|
||||||
|
.B ARES_OPT_TRIES
|
||||||
|
.B int \fItries\fP;
|
||||||
|
.br
|
||||||
|
The number of tries the resolver will try contacting each name server
|
||||||
|
before giving up. The default is four tries.
|
||||||
|
.TP 18
|
||||||
|
.B ARES_OPT_NDOTS
|
||||||
|
.B int \fIndots\fP;
|
||||||
|
.br
|
||||||
|
The number of dots which must be present in a domain name for it to be
|
||||||
|
queried for "as is" prior to querying for it with the default domain
|
||||||
|
extensions appended. The default value is 1 unless set otherwise by
|
||||||
|
resolv.conf or the RES_OPTIONS environment variable.
|
||||||
|
.TP 18
|
||||||
|
.B ARES_OPT_PORT
|
||||||
|
.B unsigned short \fIport\fP;
|
||||||
|
.br
|
||||||
|
The port to use for queries (both TCP and UDP), in network byte order.
|
||||||
|
The default value is 53 (in network byte order), the standard name
|
||||||
|
service port.
|
||||||
|
.TP 18
|
||||||
|
.B ARES_OPT_SERVERS
|
||||||
|
.B struct in_addr *\fIservers\fP;
|
||||||
|
.br
|
||||||
|
.B int \fInservers\fP;
|
||||||
|
.br
|
||||||
|
The list of servers to contact, instead of the servers specified in
|
||||||
|
resolv.conf or the local named.
|
||||||
|
.TP 18
|
||||||
|
.B ARES_OPT_DOMAINS
|
||||||
|
.B char **\fIdomains\fP;
|
||||||
|
.br
|
||||||
|
.B int \fIndomains\fP;
|
||||||
|
.br
|
||||||
|
The domains to search, instead of the domains specified in resolv.conf
|
||||||
|
or the domain derived from the kernel hostname variable.
|
||||||
|
.TP 18
|
||||||
|
.B ARES_OPT_LOOKUPS
|
||||||
|
.B char *\fIlookups\fP;
|
||||||
|
.br
|
||||||
|
The lookups to perform for host queries.
|
||||||
|
.I lookups
|
||||||
|
should be set to a string of the characters "b" or "f", where "b"
|
||||||
|
indicates a DNS lookup and "f" indicates a lookup in the hosts file.
|
||||||
|
.TP 18
|
||||||
|
.B ARES_OPT_SOCK_STATE_CB
|
||||||
|
.B void (*\fIsock_state_cb\fP)(void *data, int s, int read, int write);
|
||||||
|
.br
|
||||||
|
.B void *\fIsock_state_cb_data\fP;
|
||||||
|
.br
|
||||||
|
A callback function to be invoked when a socket changes state.
|
||||||
|
.I s
|
||||||
|
will be passed the socket whose state has changed;
|
||||||
|
.I read
|
||||||
|
will be set to true if the socket should listen for read events, and
|
||||||
|
.I write
|
||||||
|
will be set to true if the socket should listen for write events.
|
||||||
|
The value of
|
||||||
|
.I sock_state_cb_data
|
||||||
|
will be passed as the
|
||||||
|
.I data
|
||||||
|
argument.
|
||||||
|
.PP
|
||||||
|
The
|
||||||
|
.I flags
|
||||||
|
field should be the bitwise or of some subset of the following values:
|
||||||
|
.TP 23
|
||||||
|
.B ARES_FLAG_USEVC
|
||||||
|
Always use TCP queries (the "virtual circuit") instead of UDP
|
||||||
|
queries. Normally, TCP is only used if a UDP query yields a truncated
|
||||||
|
result.
|
||||||
|
.TP 23
|
||||||
|
.B ARES_FLAG_PRIMARY
|
||||||
|
Only query the first server in the list of servers to query.
|
||||||
|
.TP 23
|
||||||
|
.B ARES_FLAG_IGNTC
|
||||||
|
If a truncated response to a UDP query is received, do not fall back
|
||||||
|
to TCP; simply continue on with the truncated response.
|
||||||
|
.TP 23
|
||||||
|
.B ARES_FLAG_NORECURSE
|
||||||
|
Do not set the "recursion desired" bit on outgoing queries, so that the name
|
||||||
|
server being contacted will not try to fetch the answer from other servers if
|
||||||
|
it doesn't know the answer locally. Be aware that ares will not do the
|
||||||
|
recursion for you. Recursion must be handled by the application calling ares
|
||||||
|
if \fIARES_FLAG_NORECURSE\fP is set.
|
||||||
|
.TP 23
|
||||||
|
.B ARES_FLAG_STAYOPEN
|
||||||
|
Do not close communications sockets when the number of active queries
|
||||||
|
drops to zero.
|
||||||
|
.TP 23
|
||||||
|
.B ARES_FLAG_NOSEARCH
|
||||||
|
Do not use the default search domains; only query hostnames as-is or
|
||||||
|
as aliases.
|
||||||
|
.TP 23
|
||||||
|
.B ARES_FLAG_NOALIASES
|
||||||
|
Do not honor the HOSTALIASES environment variable, which normally
|
||||||
|
specifies a file of hostname translations.
|
||||||
|
.TP 23
|
||||||
|
.B ARES_FLAG_NOCHECKRESP
|
||||||
|
Do not discard responses with the SERVFAIL, NOTIMP, or REFUSED
|
||||||
|
response code or responses whose questions don't match the questions
|
||||||
|
in the request. Primarily useful for writing clients which might be
|
||||||
|
used to test or debug name servers.
|
||||||
|
.SH RETURN VALUES
|
||||||
|
.I ares_init
|
||||||
|
or
|
||||||
|
.I ares_init_options
|
||||||
|
can return any of the following values:
|
||||||
|
.TP 14
|
||||||
|
.B ARES_SUCCESS
|
||||||
|
Initialization succeeded.
|
||||||
|
.TP 14
|
||||||
|
.B ARES_EFILE
|
||||||
|
A configuration file could not be read.
|
||||||
|
.TP 14
|
||||||
|
.B ARES_ENOMEM
|
||||||
|
The process's available memory was exhausted.
|
||||||
|
.TP 14
|
||||||
|
.B ARES_ENOTINITIALIZED
|
||||||
|
c-ares library initialization not yet performed.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_destroy(3),
|
||||||
|
.BR ares_dup(3),
|
||||||
|
.BR ares_library_init(3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Greg Hudson, MIT Information Systems
|
||||||
|
.br
|
||||||
|
Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.br
|
||||||
|
Copyright (C) 2004-2009 by Daniel Stenberg.
|
||||||
1582
ares/ares_init.c
Normal file
1582
ares/ares_init.c
Normal file
File diff suppressed because it is too large
Load Diff
2
ares/ares_init_options.3
Normal file
2
ares/ares_init_options.3
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.so man3/ares_init.3
|
||||||
|
.\" $Id$
|
||||||
84
ares/ares_ipv6.h
Normal file
84
ares/ares_ipv6.h
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright (C) 2005 by Dominick Meglio
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ARES_IPV6_H
|
||||||
|
#define ARES_IPV6_H
|
||||||
|
|
||||||
|
#ifndef HAVE_PF_INET6
|
||||||
|
#define PF_INET6 AF_INET6
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(HAVE_STRUCT_IN6_ADDR) && !defined(s6_addr)
|
||||||
|
struct in6_addr {
|
||||||
|
union {
|
||||||
|
unsigned char _S6_u8[16];
|
||||||
|
} _S6_un;
|
||||||
|
};
|
||||||
|
#define s6_addr _S6_un._S6_u8
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRUCT_SOCKADDR_IN6
|
||||||
|
struct sockaddr_in6
|
||||||
|
{
|
||||||
|
unsigned short sin6_family;
|
||||||
|
unsigned short sin6_port;
|
||||||
|
unsigned long sin6_flowinfo;
|
||||||
|
struct in6_addr sin6_addr;
|
||||||
|
unsigned int sin6_scope_id;
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRUCT_ADDRINFO
|
||||||
|
struct addrinfo
|
||||||
|
{
|
||||||
|
int ai_flags;
|
||||||
|
int ai_family;
|
||||||
|
int ai_socktype;
|
||||||
|
int ai_protocol;
|
||||||
|
ares_socklen_t ai_addrlen; /* Follow rfc3493 struct addrinfo */
|
||||||
|
char *ai_canonname;
|
||||||
|
struct sockaddr *ai_addr;
|
||||||
|
struct addrinfo *ai_next;
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef NS_IN6ADDRSZ
|
||||||
|
#if SIZEOF_STRUCT_IN6_ADDR == 0
|
||||||
|
/* We cannot have it set to zero, so we pick a fixed value here */
|
||||||
|
#define NS_IN6ADDRSZ 16
|
||||||
|
#else
|
||||||
|
#define NS_IN6ADDRSZ SIZEOF_STRUCT_IN6_ADDR
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef NS_INADDRSZ
|
||||||
|
#define NS_INADDRSZ SIZEOF_STRUCT_IN_ADDR
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef NS_INT16SZ
|
||||||
|
#define NS_INT16SZ 2
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef IF_NAMESIZE
|
||||||
|
#ifdef IFNAMSIZ
|
||||||
|
#define IF_NAMESIZE IFNAMSIZ
|
||||||
|
#else
|
||||||
|
#define IF_NAMESIZE 256
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* ARES_IPV6_H */
|
||||||
74
ares/ares_library_cleanup.3
Normal file
74
ares/ares_library_cleanup.3
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\" Copyright (C) 2004-2009 by Daniel Stenberg
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_LIBRARY_CLEANUP 3 "19 May 2009"
|
||||||
|
.SH NAME
|
||||||
|
ares_library_cleanup \- c-ares library deinitialization
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B void ares_library_cleanup(void)
|
||||||
|
.PP
|
||||||
|
.B cc file.c -lcares
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
.PP
|
||||||
|
The
|
||||||
|
.B ares_library_cleanup
|
||||||
|
function uninitializes the c-ares library, freeing all resources
|
||||||
|
previously aquired by \fIares_library_init(3)\fP when the library
|
||||||
|
was initialized.
|
||||||
|
.PP
|
||||||
|
This function must be called when the program using c-ares will
|
||||||
|
no longer need any c-ares function. Once the program has called
|
||||||
|
\fIares_library_cleanup(3)\fP it shall not make any further call to any
|
||||||
|
c-ares function.
|
||||||
|
.PP
|
||||||
|
This function does not cancel any pending c-ares lookups or requests
|
||||||
|
previously done. Program must use \fIares_cancel(3)\fP for this purpose.
|
||||||
|
.PP
|
||||||
|
.B This function is not thread safe.
|
||||||
|
You have to call it once the program is about to terminate, but this call must
|
||||||
|
be done once the program has terminated every single thread that it could have
|
||||||
|
initiated. This is required to avoid potential race conditions in library
|
||||||
|
deinitialization, and also due to the fact that \fIares_library_cleanup(3)\fP
|
||||||
|
might call functions from other libraries that are thread unsafe, and could
|
||||||
|
conflict with any other thread that is already using these other libraries.
|
||||||
|
.PP
|
||||||
|
Win32/64 application DLLs shall not call \fIares_library_cleanup(3)\fP from
|
||||||
|
the DllMain function. Doing so will produce deadlocks and other problems.
|
||||||
|
.SH AVAILABILITY
|
||||||
|
This function was first introduced in c-ares version 1.7.0 along with the
|
||||||
|
definition of preprocessor symbol \fICARES_HAVE_ARES_LIBRARY_CLEANUP\fP as an
|
||||||
|
indication of the availability of this function.
|
||||||
|
.PP
|
||||||
|
Since the introduction of this function, it is absolutely mandatory to call it
|
||||||
|
for any Win32/64 program using c-ares.
|
||||||
|
.PP
|
||||||
|
Non-Win32/64 systems can still use c-ares version 1.7.0 without calling
|
||||||
|
\fIares_library_cleanup(3)\fP due to the fact that \fIcurrently\fP it is nearly
|
||||||
|
a do-nothing function on non-Win32/64 platforms.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_library_init(3),
|
||||||
|
.BR ares_cancel(3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Yang Tse
|
||||||
|
.PP
|
||||||
|
Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.br
|
||||||
|
Copyright (C) 2004-2009 by Daniel Stenberg.
|
||||||
97
ares/ares_library_init.3
Normal file
97
ares/ares_library_init.3
Normal file
@@ -0,0 +1,97 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.\" Copyright (C) 2004-2009 by Daniel Stenberg
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_LIBRARY_INIT 3 "19 May 2009"
|
||||||
|
.SH NAME
|
||||||
|
ares_library_init \- c-ares library initialization
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B int ares_library_init(int \fIflags\fP)
|
||||||
|
.PP
|
||||||
|
.B cc file.c -lcares
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
.PP
|
||||||
|
The
|
||||||
|
.B ares_library_init
|
||||||
|
function performs initializations internally required by the c-ares
|
||||||
|
library that must take place before any other function provided by
|
||||||
|
c-ares can be used in a program.
|
||||||
|
.PP
|
||||||
|
This function must be called one time within the life of a program,
|
||||||
|
before the program actually executes any other c-ares library function.
|
||||||
|
Initializations done by this function remain effective until a
|
||||||
|
call to \fIares_library_cleanup(3)\fP is performed.
|
||||||
|
.PP
|
||||||
|
Successive calls to this function do nothing, only the first call done
|
||||||
|
when c-ares is in an uninitialized state is actually effective.
|
||||||
|
.PP
|
||||||
|
The
|
||||||
|
.I flags
|
||||||
|
parameter is a bit pattern that tells c-ares exactly which features
|
||||||
|
should be initialized, as described below. Set the desired bits by
|
||||||
|
ORing the values together. In normal operation you should specify
|
||||||
|
\fIARES_LIB_INIT_ALL\fP. Don't use any other value unless you are
|
||||||
|
familiar with it and trying to control some internal c-ares feature.
|
||||||
|
.PP
|
||||||
|
.B This function is not thread safe.
|
||||||
|
You have to call it once the program has started, but this call must be done
|
||||||
|
before the program starts any other thread. This is required to avoid
|
||||||
|
potential race conditions in library initialization, and also due to the fact
|
||||||
|
that \fIares_library_init(3)\fP might call functions from other libraries that
|
||||||
|
are thread unsafe, and could conflict with any other thread that is already
|
||||||
|
using these other libraries.
|
||||||
|
.PP
|
||||||
|
Win32/64 application DLLs shall not call \fIares_library_init(3)\fP from the
|
||||||
|
DllMain function. Doing so will produce deadlocks and other problems.
|
||||||
|
.SH FLAGS
|
||||||
|
.TP 5
|
||||||
|
.B ARES_LIB_INIT_ALL
|
||||||
|
Initialize everything possible. This sets all known bits.
|
||||||
|
.TP
|
||||||
|
.B ARES_LIB_INIT_WIN32
|
||||||
|
Initialize Win32/64 specific libraries.
|
||||||
|
.TP
|
||||||
|
.B ARES_LIB_INIT_NONE
|
||||||
|
Initialize nothing extra. This sets no bit.
|
||||||
|
.SH RETURN VALUE
|
||||||
|
Upon successful completion, ares_library_init() will return 0. Otherwise, a
|
||||||
|
non-zero error number will be returned to indicate the error. Except for
|
||||||
|
\fIares_strerror(3)\fP, you shall not call any other c-ares function upon
|
||||||
|
\fIares_library_init(3)\fP failure.
|
||||||
|
.SH AVAILABILITY
|
||||||
|
This function was first introduced in c-ares version 1.7.0 along with the
|
||||||
|
definition of preprocessor symbol \fICARES_HAVE_ARES_LIBRARY_INIT\fP as an
|
||||||
|
indication of the availability of this function.
|
||||||
|
.PP
|
||||||
|
Since the introduction of this function it is absolutely mandatory to
|
||||||
|
call it for any Win32/64 program using c-ares.
|
||||||
|
.PP
|
||||||
|
Non-Win32/64 systems can still use c-ares version 1.7.0 without calling
|
||||||
|
\fIares_library_init(3)\fP due to the fact that \fIcurrently\fP it is nearly
|
||||||
|
a do-nothing function on non-Win32/64 platforms at this point.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_library_cleanup(3),
|
||||||
|
.BR ares_strerror(3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Yang Tse
|
||||||
|
.PP
|
||||||
|
Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
.br
|
||||||
|
Copyright (C) 2004-2009 by Daniel Stenberg.
|
||||||
133
ares/ares_library_init.c
Normal file
133
ares/ares_library_init.c
Normal file
@@ -0,0 +1,133 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
* Copyright (C) 2004-2009 by Daniel Stenberg
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_library_init.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
/* library-private global and unique instance vars */
|
||||||
|
|
||||||
|
#ifdef USE_WINSOCK
|
||||||
|
fpGetNetworkParams_t ares_fpGetNetworkParams = ZERO_NULL;
|
||||||
|
fpSystemFunction036_t ares_fpSystemFunction036 = ZERO_NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* library-private global vars with source visibility restricted to this file */
|
||||||
|
|
||||||
|
static unsigned int ares_initialized;
|
||||||
|
static int ares_init_flags;
|
||||||
|
|
||||||
|
#ifdef USE_WINSOCK
|
||||||
|
static HMODULE hnd_iphlpapi;
|
||||||
|
static HMODULE hnd_advapi32;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
static int ares_win32_init(void)
|
||||||
|
{
|
||||||
|
#ifdef USE_WINSOCK
|
||||||
|
|
||||||
|
hnd_iphlpapi = 0;
|
||||||
|
hnd_iphlpapi = LoadLibrary("iphlpapi.dll");
|
||||||
|
if (!hnd_iphlpapi)
|
||||||
|
return ARES_ELOADIPHLPAPI;
|
||||||
|
|
||||||
|
ares_fpGetNetworkParams = (fpGetNetworkParams_t)
|
||||||
|
GetProcAddress(hnd_iphlpapi, "GetNetworkParams");
|
||||||
|
if (!ares_fpGetNetworkParams)
|
||||||
|
{
|
||||||
|
FreeLibrary(hnd_iphlpapi);
|
||||||
|
return ARES_EADDRGETNETWORKPARAMS;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* When advapi32.dll is unavailable or advapi32.dll has no SystemFunction036,
|
||||||
|
* also known as RtlGenRandom, which is the case for Windows versions prior
|
||||||
|
* to WinXP then c-ares uses portable rand() function. Then don't error here.
|
||||||
|
*/
|
||||||
|
|
||||||
|
hnd_advapi32 = 0;
|
||||||
|
hnd_advapi32 = LoadLibrary("advapi32.dll");
|
||||||
|
if (hnd_advapi32)
|
||||||
|
{
|
||||||
|
ares_fpSystemFunction036 = (fpSystemFunction036_t)
|
||||||
|
GetProcAddress(hnd_advapi32, "SystemFunction036");
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
return ARES_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static void ares_win32_cleanup(void)
|
||||||
|
{
|
||||||
|
#ifdef USE_WINSOCK
|
||||||
|
if (hnd_advapi32)
|
||||||
|
FreeLibrary(hnd_advapi32);
|
||||||
|
if (hnd_iphlpapi)
|
||||||
|
FreeLibrary(hnd_iphlpapi);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int ares_library_init(int flags)
|
||||||
|
{
|
||||||
|
int res;
|
||||||
|
|
||||||
|
if (ares_initialized)
|
||||||
|
return ARES_SUCCESS;
|
||||||
|
ares_initialized++;
|
||||||
|
|
||||||
|
if (flags & ARES_LIB_INIT_WIN32)
|
||||||
|
{
|
||||||
|
res = ares_win32_init();
|
||||||
|
if (res != ARES_SUCCESS)
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
|
ares_init_flags = flags;
|
||||||
|
|
||||||
|
return ARES_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void ares_library_cleanup(void)
|
||||||
|
{
|
||||||
|
if (!ares_initialized)
|
||||||
|
return;
|
||||||
|
ares_initialized--;
|
||||||
|
|
||||||
|
if (ares_init_flags & ARES_LIB_INIT_WIN32)
|
||||||
|
ares_win32_cleanup();
|
||||||
|
|
||||||
|
ares_init_flags = ARES_LIB_INIT_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int ares_library_initialized(void)
|
||||||
|
{
|
||||||
|
#ifdef USE_WINSOCK
|
||||||
|
if (!ares_initialized)
|
||||||
|
return ARES_ENOTINITIALIZED;
|
||||||
|
#endif
|
||||||
|
return ARES_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
40
ares/ares_library_init.h
Normal file
40
ares/ares_library_init.h
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
#ifndef HEADER_CARES_LIBRARY_INIT_H
|
||||||
|
#define HEADER_CARES_LIBRARY_INIT_H
|
||||||
|
|
||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
* Copyright (C) 2004-2009 by Daniel Stenberg
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#ifdef USE_WINSOCK
|
||||||
|
|
||||||
|
#include <iphlpapi.h>
|
||||||
|
|
||||||
|
typedef DWORD (WINAPI *fpGetNetworkParams_t) (FIXED_INFO*, DWORD*);
|
||||||
|
typedef BOOLEAN (APIENTRY *fpSystemFunction036_t) (void*, ULONG);
|
||||||
|
|
||||||
|
/* Forward-declaration of variables defined in ares_library_init.c */
|
||||||
|
/* that are global and unique instances for whole c-ares library. */
|
||||||
|
|
||||||
|
extern fpGetNetworkParams_t ares_fpGetNetworkParams;
|
||||||
|
extern fpSystemFunction036_t ares_fpSystemFunction036;
|
||||||
|
|
||||||
|
#endif /* USE_WINSOCK */
|
||||||
|
|
||||||
|
#endif /* HEADER_CARES_LIBRARY_INIT_H */
|
||||||
|
|
||||||
87
ares/ares_llist.c
Normal file
87
ares/ares_llist.c
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ares_setup.h"
|
||||||
|
|
||||||
|
#include "ares.h"
|
||||||
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
/* Routines for managing doubly-linked circular linked lists with a
|
||||||
|
* dummy head.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Initialize a new head node */
|
||||||
|
void ares__init_list_head(struct list_node* head) {
|
||||||
|
head->prev = head;
|
||||||
|
head->next = head;
|
||||||
|
head->data = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Initialize a list node */
|
||||||
|
void ares__init_list_node(struct list_node* node, void* d) {
|
||||||
|
node->prev = NULL;
|
||||||
|
node->next = NULL;
|
||||||
|
node->data = d;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Returns true iff the given list is empty */
|
||||||
|
int ares__is_list_empty(struct list_node* head) {
|
||||||
|
return ((head->next == head) && (head->prev == head));
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inserts new_node before old_node */
|
||||||
|
void ares__insert_in_list(struct list_node* new_node,
|
||||||
|
struct list_node* old_node) {
|
||||||
|
new_node->next = old_node;
|
||||||
|
new_node->prev = old_node->prev;
|
||||||
|
old_node->prev->next = new_node;
|
||||||
|
old_node->prev = new_node;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Removes the node from the list it's in, if any */
|
||||||
|
void ares__remove_from_list(struct list_node* node) {
|
||||||
|
if (node->next != NULL) {
|
||||||
|
node->prev->next = node->next;
|
||||||
|
node->next->prev = node->prev;
|
||||||
|
node->prev = NULL;
|
||||||
|
node->next = NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Swap the contents of two lists */
|
||||||
|
void ares__swap_lists(struct list_node* head_a,
|
||||||
|
struct list_node* head_b) {
|
||||||
|
int is_a_empty = ares__is_list_empty(head_a);
|
||||||
|
int is_b_empty = ares__is_list_empty(head_b);
|
||||||
|
struct list_node old_a = *head_a;
|
||||||
|
struct list_node old_b = *head_b;
|
||||||
|
|
||||||
|
if (is_a_empty) {
|
||||||
|
ares__init_list_head(head_b);
|
||||||
|
} else {
|
||||||
|
*head_b = old_a;
|
||||||
|
old_a.next->prev = head_b;
|
||||||
|
old_a.prev->next = head_b;
|
||||||
|
}
|
||||||
|
if (is_b_empty) {
|
||||||
|
ares__init_list_head(head_a);
|
||||||
|
} else {
|
||||||
|
*head_a = old_b;
|
||||||
|
old_b.next->prev = head_a;
|
||||||
|
old_b.prev->next = head_a;
|
||||||
|
}
|
||||||
|
}
|
||||||
43
ares/ares_llist.h
Normal file
43
ares/ares_llist.h
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
#ifndef __ARES_LLIST_H
|
||||||
|
#define __ARES_LLIST_H
|
||||||
|
|
||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this
|
||||||
|
* software and its documentation for any purpose and without
|
||||||
|
* fee is hereby granted, provided that the above copyright
|
||||||
|
* notice appear in all copies and that both that copyright
|
||||||
|
* notice and this permission notice appear in supporting
|
||||||
|
* documentation, and that the name of M.I.T. not be used in
|
||||||
|
* advertising or publicity pertaining to distribution of the
|
||||||
|
* software without specific, written prior permission.
|
||||||
|
* M.I.T. makes no representations about the suitability of
|
||||||
|
* this software for any purpose. It is provided "as is"
|
||||||
|
* without express or implied warranty.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Node definition for circular, doubly-linked list */
|
||||||
|
struct list_node {
|
||||||
|
struct list_node *prev;
|
||||||
|
struct list_node *next;
|
||||||
|
void* data;
|
||||||
|
};
|
||||||
|
|
||||||
|
void ares__init_list_head(struct list_node* head);
|
||||||
|
|
||||||
|
void ares__init_list_node(struct list_node* node, void* d);
|
||||||
|
|
||||||
|
int ares__is_list_empty(struct list_node* head);
|
||||||
|
|
||||||
|
void ares__insert_in_list(struct list_node* new_node,
|
||||||
|
struct list_node* old_node);
|
||||||
|
|
||||||
|
void ares__remove_from_list(struct list_node* node);
|
||||||
|
|
||||||
|
void ares__swap_lists(struct list_node* head_a,
|
||||||
|
struct list_node* head_b);
|
||||||
|
|
||||||
|
#endif /* __ARES_LLIST_H */
|
||||||
76
ares/ares_mkquery.3
Normal file
76
ares/ares_mkquery.3
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
.\" $Id$
|
||||||
|
.\"
|
||||||
|
.\" Copyright 1998, 2000 by the Massachusetts Institute of Technology.
|
||||||
|
.\"
|
||||||
|
.\" Permission to use, copy, modify, and distribute this
|
||||||
|
.\" software and its documentation for any purpose and without
|
||||||
|
.\" fee is hereby granted, provided that the above copyright
|
||||||
|
.\" notice appear in all copies and that both that copyright
|
||||||
|
.\" notice and this permission notice appear in supporting
|
||||||
|
.\" documentation, and that the name of M.I.T. not be used in
|
||||||
|
.\" advertising or publicity pertaining to distribution of the
|
||||||
|
.\" software without specific, written prior permission.
|
||||||
|
.\" M.I.T. makes no representations about the suitability of
|
||||||
|
.\" this software for any purpose. It is provided "as is"
|
||||||
|
.\" without express or implied warranty.
|
||||||
|
.\"
|
||||||
|
.TH ARES_MKQUERY 3 "20 Nov 2009"
|
||||||
|
.SH NAME
|
||||||
|
ares_mkquery \- Compose a single-question DNS query buffer
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
.B #include <ares.h>
|
||||||
|
.PP
|
||||||
|
.B int ares_mkquery(const char *\fIname\fP, int \fIdnsclass\fP, int \fItype\fP,
|
||||||
|
.B unsigned short \fIid\fP, int \fIrd\fP, unsigned char **\fIbuf\fP,
|
||||||
|
.B int *\fIbuflen\fP)
|
||||||
|
.fi
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The
|
||||||
|
.B ares_mkquery
|
||||||
|
function composes a DNS query with a single question.
|
||||||
|
The parameter
|
||||||
|
.I name
|
||||||
|
gives the query name as a NUL-terminated C string of period-separated
|
||||||
|
labels optionally ending with a period; periods and backslashes within
|
||||||
|
a label must be escaped with a backlash. The parameters
|
||||||
|
.I dnsclass
|
||||||
|
and
|
||||||
|
.I type
|
||||||
|
give the class and type of the query using the values defined in
|
||||||
|
.BR <arpa/nameser.h> .
|
||||||
|
The parameter
|
||||||
|
.I id
|
||||||
|
gives a 16-bit identifier for the query. The parameter
|
||||||
|
.I rd
|
||||||
|
should be nonzero if recursion is desired, zero if not. The query
|
||||||
|
will be placed in an allocated buffer, a pointer to which will be
|
||||||
|
stored in the variable pointed to by
|
||||||
|
.IR buf ,
|
||||||
|
and the length of which will be stored in the variable pointed to by
|
||||||
|
.IR buflen .
|
||||||
|
It is the caller's responsibility to free this buffer using
|
||||||
|
\fIares_free_string(3)\fP when it is no longer needed.
|
||||||
|
.SH RETURN VALUES
|
||||||
|
.B ares_mkquery
|
||||||
|
can return any of the following values:
|
||||||
|
.TP 15
|
||||||
|
.B ARES_SUCCESS
|
||||||
|
Construction of the DNS query succeeded.
|
||||||
|
.TP 15
|
||||||
|
.B ARES_EBADNAME
|
||||||
|
The query name
|
||||||
|
.I name
|
||||||
|
could not be encoded as a domain name, either because it contained a
|
||||||
|
zero-length label or because it contained a label of more than 63
|
||||||
|
characters.
|
||||||
|
.TP 15
|
||||||
|
.B ARES_ENOMEM
|
||||||
|
Memory was exhausted.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR ares_expand_name (3),
|
||||||
|
.BR ares_free_string (3)
|
||||||
|
.SH AUTHOR
|
||||||
|
Greg Hudson, MIT Information Systems
|
||||||
|
.br
|
||||||
|
Copyright 1998, 2000 by the Massachusetts Institute of Technology.
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user