Skip to content

Commit 334aa21

Browse files
committed
Add header
1 parent 9d367be commit 334aa21

File tree

11 files changed

+154
-0
lines changed

11 files changed

+154
-0
lines changed

Sources/AsyncDNSResolver/AsyncDNSResolver.swift

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftAsyncDNSResolver open source project
4+
//
5+
// Copyright (c) 2020 Apple Inc. and the SwiftAsyncDNSResolver project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftAsyncDNSResolver project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
import CAsyncDNSResolver
216
import Dispatch
317
import Logging

Sources/AsyncDNSResolver/Channel.swift

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftAsyncDNSResolver open source project
4+
//
5+
// Copyright (c) 2020 Apple Inc. and the SwiftAsyncDNSResolver project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftAsyncDNSResolver project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
import CAsyncDNSResolver
216
import Dispatch
317

Sources/AsyncDNSResolver/Error.swift

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftAsyncDNSResolver open source project
4+
//
5+
// Copyright (c) 2020 Apple Inc. and the SwiftAsyncDNSResolver project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftAsyncDNSResolver project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
import CAsyncDNSResolver
216

317
// MARK: - Async DNS resolver errors

Sources/AsyncDNSResolver/Options.swift

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftAsyncDNSResolver open source project
4+
//
5+
// Copyright (c) 2020 Apple Inc. and the SwiftAsyncDNSResolver project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftAsyncDNSResolver project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
import CAsyncDNSResolver
216

317
// MARK: - Options for async DNS resolver

Sources/CAsyncDNSResolver/include/CAsyncDNSResolver.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftAsyncDNSResolver open source project
4+
//
5+
// Copyright (c) 2020 Apple Inc. and the SwiftAsyncDNSResolver project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftAsyncDNSResolver project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
#ifndef C_ASYNC_RESOLVER_H
216
#define C_ASYNC_RESOLVER_H
317

Sources/CAsyncDNSResolver/include/ares_build.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftAsyncDNSResolver open source project
4+
//
5+
// Copyright (c) 2020 Apple Inc. and the SwiftAsyncDNSResolver project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftAsyncDNSResolver project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
#ifndef __CARES_BUILD_H
216
#define __CARES_BUILD_H
317

Sources/CAsyncDNSResolver/include/ares_config.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftAsyncDNSResolver open source project
4+
//
5+
// Copyright (c) 2020 Apple Inc. and the SwiftAsyncDNSResolver project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftAsyncDNSResolver project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
/* Generated from ares_config.h.cmake*/
216

317
/* Define if building universal (internal helper macro) */

Tests/AsyncDNSResolverTests/AsyncDNSResolverTests.swift

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftAsyncDNSResolver open source project
4+
//
5+
// Copyright (c) 2020 Apple Inc. and the SwiftAsyncDNSResolver project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftAsyncDNSResolver project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
@testable import AsyncDNSResolver
216
import CAsyncDNSResolver
317
import Dispatch

Tests/AsyncDNSResolverTests/ChannelTests.swift

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftAsyncDNSResolver open source project
4+
//
5+
// Copyright (c) 2020 Apple Inc. and the SwiftAsyncDNSResolver project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftAsyncDNSResolver project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
@testable import AsyncDNSResolver
216
import CAsyncDNSResolver
317
import XCTest

Tests/AsyncDNSResolverTests/ErrorTests.swift

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftAsyncDNSResolver open source project
4+
//
5+
// Copyright (c) 2020 Apple Inc. and the SwiftAsyncDNSResolver project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftAsyncDNSResolver project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===----------------------------------------------------------------------===//
14+
115
@testable import AsyncDNSResolver
216
import CAsyncDNSResolver
317
import XCTest

0 commit comments

Comments
 (0)