From 2485351bd926865d86255b54714f2b0e93f10202 Mon Sep 17 00:00:00 2001 From: Josh Deprez Date: Sun, 31 Mar 2024 09:31:50 +1100 Subject: [PATCH] Add Apache header --- aurp/atalk.go | 16 ++++++++++++++++ aurp/aurp.go | 16 ++++++++++++++++ aurp/domain.go | 16 ++++++++++++++++ aurp/errors.go | 16 ++++++++++++++++ aurp/open.go | 16 ++++++++++++++++ aurp/router_down.go | 16 ++++++++++++++++ aurp/routing_info.go | 16 ++++++++++++++++ aurp/tickle.go | 16 ++++++++++++++++ aurp/transport.go | 16 ++++++++++++++++ aurp/wtacc.go | 16 ++++++++++++++++ aurp/zone_info.go | 16 ++++++++++++++++ aurp/zone_info_test.go | 16 ++++++++++++++++ config.go | 16 ++++++++++++++++ main.go | 16 ++++++++++++++++ peer.go | 16 ++++++++++++++++ 15 files changed, 240 insertions(+) diff --git a/aurp/atalk.go b/aurp/atalk.go index 0b836f1..1d8678f 100644 --- a/aurp/atalk.go +++ b/aurp/atalk.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package aurp import "io" diff --git a/aurp/aurp.go b/aurp/aurp.go index e2a4ea5..7f10801 100644 --- a/aurp/aurp.go +++ b/aurp/aurp.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + // Package aurp implements types for encoding and decoding AppleTalk // Update-Based Routing Protocol (AURP, RFC 1504) messages. package aurp diff --git a/aurp/domain.go b/aurp/domain.go index 1bf01d6..e453063 100644 --- a/aurp/domain.go +++ b/aurp/domain.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package aurp import ( diff --git a/aurp/errors.go b/aurp/errors.go index ccb6886..417546b 100644 --- a/aurp/errors.go +++ b/aurp/errors.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package aurp type ErrorCode int16 diff --git a/aurp/open.go b/aurp/open.go index 20e0c3f..6d990a0 100644 --- a/aurp/open.go +++ b/aurp/open.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package aurp import ( diff --git a/aurp/router_down.go b/aurp/router_down.go index 71e4d2e..a7e81a2 100644 --- a/aurp/router_down.go +++ b/aurp/router_down.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package aurp import ( diff --git a/aurp/routing_info.go b/aurp/routing_info.go index 0c9793e..74baaeb 100644 --- a/aurp/routing_info.go +++ b/aurp/routing_info.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package aurp import ( diff --git a/aurp/tickle.go b/aurp/tickle.go index f8fff6d..278db37 100644 --- a/aurp/tickle.go +++ b/aurp/tickle.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package aurp type TicklePacket struct { diff --git a/aurp/transport.go b/aurp/transport.go index 45655d9..1071956 100644 --- a/aurp/transport.go +++ b/aurp/transport.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package aurp import ( diff --git a/aurp/wtacc.go b/aurp/wtacc.go index 0bbabd7..b4766e6 100644 --- a/aurp/wtacc.go +++ b/aurp/wtacc.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package aurp import ( diff --git a/aurp/zone_info.go b/aurp/zone_info.go index b3ef423..4718e2c 100644 --- a/aurp/zone_info.go +++ b/aurp/zone_info.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package aurp import ( diff --git a/aurp/zone_info_test.go b/aurp/zone_info_test.go index b9b52c3..76159ca 100644 --- a/aurp/zone_info_test.go +++ b/aurp/zone_info_test.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package aurp import ( diff --git a/config.go b/config.go index f2974c8..2a3adf7 100644 --- a/config.go +++ b/config.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package main import ( diff --git a/main.go b/main.go index 3b9582b..2a30a95 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package main import ( diff --git a/peer.go b/peer.go index fdc488b..c53f95d 100644 --- a/peer.go +++ b/peer.go @@ -1,3 +1,19 @@ +/* + Copyright 2024 Josh Deprez + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + package main import (