diff --git a/meshcore/KVM/MacOS/mac_events.c b/meshcore/KVM/MacOS/mac_events.c index f1f053fe..0eff1d0f 100644 --- a/meshcore/KVM/MacOS/mac_events.c +++ b/meshcore/KVM/MacOS/mac_events.c @@ -1,3 +1,19 @@ +/* +Copyright 2018 Intel Corporation + +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. +*/ + #include "mac_events.h" #include #include @@ -308,3 +324,4 @@ void KeyActionUnicode(uint16_t unicode, int up) CFRelease(key); } } + diff --git a/meshcore/KVM/MacOS/mac_events.h b/meshcore/KVM/MacOS/mac_events.h index d6bb5348..406942de 100644 --- a/meshcore/KVM/MacOS/mac_events.h +++ b/meshcore/KVM/MacOS/mac_events.h @@ -1,3 +1,26 @@ +/** +* @description mac_events.h +* @author Intel +* @copyright Intel Corporation 2011 +* @license Apache-2.0 +*/ + +/* +Copyright 2011 Intel Corporation + +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. +*/ + /* * linux_events.h * @@ -380,3 +403,4 @@ extern void KeyAction(unsigned char vk, int up); extern void KeyActionUnicode(uint16_t unicode, int up); #endif /* LINUX_EVENTS_H_ */ + diff --git a/meshcore/KVM/MacOS/mac_kvm.h b/meshcore/KVM/MacOS/mac_kvm.h index 0814e956..8e867b16 100644 --- a/meshcore/KVM/MacOS/mac_kvm.h +++ b/meshcore/KVM/MacOS/mac_kvm.h @@ -1,10 +1,17 @@ /* - * mac_kvm.h - * + * Copyright 2011-2013 Intel Corporation * - * Created by Ylian Saint-Hilaire on 8/17/11. - * Copyright 2011 __MyCompanyName__. All rights reserved. + * 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. */ #ifndef LINUX_KVM_H_ #define LINUX_KVM_H_ @@ -37,3 +44,4 @@ void kvm_cleanup(); #endif /* LINUX_KVM_H_ */ + diff --git a/meshcore/KVM/MacOS/mac_kvm_auth.c b/meshcore/KVM/MacOS/mac_kvm_auth.c index 0512254b..fc9019fa 100644 --- a/meshcore/KVM/MacOS/mac_kvm_auth.c +++ b/meshcore/KVM/MacOS/mac_kvm_auth.c @@ -1,3 +1,18 @@ +/* +Copyright 2024 Intel Corporation + +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. +*/ /* * mac_kvm_auth.c * @@ -196,3 +211,4 @@ int verify_peer_codesign_audit(int socket_fd) { #endif #endif /* __APPLE__ */ + diff --git a/meshcore/KVM/MacOS/mac_kvm_auth.h b/meshcore/KVM/MacOS/mac_kvm_auth.h index b549ed2b..ea09619a 100644 --- a/meshcore/KVM/MacOS/mac_kvm_auth.h +++ b/meshcore/KVM/MacOS/mac_kvm_auth.h @@ -1,3 +1,18 @@ +/* +Copyright 2024 Intel Corporation + +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. +*/ /* * mac_kvm_auth.h * @@ -52,3 +67,4 @@ int codesign_matches(SecCodeRef code1, SecCodeRef code2); #endif /* __APPLE__ */ #endif /* MAC_KVM_AUTH_H */ + diff --git a/meshcore/KVM/MacOS/mac_tile.c b/meshcore/KVM/MacOS/mac_tile.c index 87ad1069..12493410 100644 --- a/meshcore/KVM/MacOS/mac_tile.c +++ b/meshcore/KVM/MacOS/mac_tile.c @@ -1,10 +1,17 @@ /* - * mac_tile.c - * + * Copyright (c) 2011 Intel Corporation * - * Created by Ylian Saint-Hilaire on 8/18/11. - * Copyright 2011 __MyCompanyName__. All rights reserved. + * 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. */ #include "mac_tile.h" @@ -544,3 +551,4 @@ void set_tile_compression(int type, int level) // TODO Make sure the all the types are handled. We ignore the type variable for now. } + diff --git a/meshcore/KVM/MacOS/mac_tile.h b/meshcore/KVM/MacOS/mac_tile.h index 9541c976..84cb4b15 100644 --- a/meshcore/KVM/MacOS/mac_tile.h +++ b/meshcore/KVM/MacOS/mac_tile.h @@ -1,11 +1,24 @@ +/** +* @description Mac KVM tile handling header +* @author Ylian Saint-Hilaire +* @version v0.0.1 +*/ + /* - * mac_tile.h - * - * - * Created by Ylian Saint-Hilaire on 8/18/11. - * Copyright 2011 __MyCompanyName__. All rights reserved. - * - */ +Copyright 2011 Intel Corporation + +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. +*/ #ifndef LINUX_TILE_H_ #define LINUX_TILE_H_ diff --git a/meshcore/MacOS/Install_UI/mac_authorized_install.h b/meshcore/MacOS/Install_UI/mac_authorized_install.h index 37ee98d0..59c6d182 100644 --- a/meshcore/MacOS/Install_UI/mac_authorized_install.h +++ b/meshcore/MacOS/Install_UI/mac_authorized_install.h @@ -1,3 +1,19 @@ +/* +Copyright 2024 Intel Corporation + +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. +*/ + #ifndef MAC_AUTHORIZED_INSTALL_H #define MAC_AUTHORIZED_INSTALL_H diff --git a/meshcore/MacOS/Install_UI/mac_install_window.h b/meshcore/MacOS/Install_UI/mac_install_window.h index 4e25c1e1..02baf90e 100644 --- a/meshcore/MacOS/Install_UI/mac_install_window.h +++ b/meshcore/MacOS/Install_UI/mac_install_window.h @@ -1,3 +1,19 @@ +/* +Copyright 2006 - 2025 Intel Corporation + +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. +*/ + #ifndef MAC_INSTALL_WINDOW_H #define MAC_INSTALL_WINDOW_H @@ -43,3 +59,4 @@ InstallResult show_install_assistant_window(void); #endif #endif // MAC_INSTALL_WINDOW_H + diff --git a/meshcore/MacOS/TCC_UI/mac_permissions_window.h b/meshcore/MacOS/TCC_UI/mac_permissions_window.h index 4172756a..dba64b45 100644 --- a/meshcore/MacOS/TCC_UI/mac_permissions_window.h +++ b/meshcore/MacOS/TCC_UI/mac_permissions_window.h @@ -1,3 +1,19 @@ +/* + * Copyright (c) Intel Corporation 2017-2024 + * + * 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. + */ + #ifndef MAC_PERMISSIONS_WINDOW_H #define MAC_PERMISSIONS_WINDOW_H diff --git a/meshcore/MacOS/TCC_UI/test_window.c b/meshcore/MacOS/TCC_UI/test_window.c index a8c8116e..79d05b77 100644 --- a/meshcore/MacOS/TCC_UI/test_window.c +++ b/meshcore/MacOS/TCC_UI/test_window.c @@ -1,3 +1,19 @@ +/* +Copyright 2006 - 2024 Intel Corporation + +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. +*/ + #include #include "mac_permissions_window.h" @@ -14,3 +30,4 @@ int main(int argc, char* argv[]) { return 0; } + diff --git a/meshcore/MacOS/bundle_detection.c b/meshcore/MacOS/bundle_detection.c index 364dd133..4449bf2f 100644 --- a/meshcore/MacOS/bundle_detection.c +++ b/meshcore/MacOS/bundle_detection.c @@ -1,5 +1,5 @@ /* -Copyright 2025 +Copyright 2025 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -149,3 +149,4 @@ int adjust_working_directory_for_bundle(void) } #endif /* __APPLE__ */ + diff --git a/meshcore/MacOS/bundle_detection.h b/meshcore/MacOS/bundle_detection.h index c8220965..cefee57b 100644 --- a/meshcore/MacOS/bundle_detection.h +++ b/meshcore/MacOS/bundle_detection.h @@ -1,5 +1,5 @@ /* -Copyright 2025 +Copyright 2025 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -65,3 +65,4 @@ int adjust_working_directory_for_bundle(void); #endif /* __APPLE__ */ #endif /* MACOS_BUNDLE_DETECTION_H */ + diff --git a/meshcore/MacOS/mac_logging_utils.c b/meshcore/MacOS/mac_logging_utils.c index 02c3bc1d..e9fbac2b 100644 --- a/meshcore/MacOS/mac_logging_utils.c +++ b/meshcore/MacOS/mac_logging_utils.c @@ -1,3 +1,19 @@ +/* +Copyright 2025 Intel Corporation + +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. +*/ + /* Shared logging utility for macOS components @@ -34,3 +50,4 @@ void mesh_log_message(const char* format, ...) { } va_end(args2); } + diff --git a/meshcore/MacOS/mac_logging_utils.h b/meshcore/MacOS/mac_logging_utils.h index a661f7a1..2bacaa53 100644 --- a/meshcore/MacOS/mac_logging_utils.h +++ b/meshcore/MacOS/mac_logging_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2024 Intel Corporation + * + * 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #ifndef MAC_LOGGING_UTILS_H #define MAC_LOGGING_UTILS_H @@ -19,3 +37,4 @@ void mesh_log_message(const char* format, ...); #endif // MAC_LOGGING_UTILS_H + diff --git a/meshcore/MacOS/mac_plist_utils.c b/meshcore/MacOS/mac_plist_utils.c index 091f65ae..534a32bd 100644 --- a/meshcore/MacOS/mac_plist_utils.c +++ b/meshcore/MacOS/mac_plist_utils.c @@ -1,3 +1,19 @@ +/* +Copyright 20XX Intel Corporation + +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. +*/ + /* Shared plist parsing utilities for macOS @@ -225,3 +241,4 @@ int mesh_parse_launchdaemon_plist(const char* plistPath, MeshPlistInfo* info) { return foundMeshagent; } + diff --git a/meshcore/MacOS/mac_plist_utils.h b/meshcore/MacOS/mac_plist_utils.h index 9833e0de..2301a3be 100644 --- a/meshcore/MacOS/mac_plist_utils.h +++ b/meshcore/MacOS/mac_plist_utils.h @@ -1,3 +1,24 @@ +/** +* @description Meshcore: Shared plist parsing utilities for macOS +* @author Julian Knight (Intel Corporation) +* @copyright Intel Corporation 2024-2025 +* @license Apache-2.0 +* +* Copyright 2024-2025 Intel Corporation +* +* 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. +*/ + #ifndef MAC_PLIST_UTILS_H #define MAC_PLIST_UTILS_H diff --git a/meshcore/MacOS/mac_tcc_detection.c b/meshcore/MacOS/mac_tcc_detection.c index 76306557..5ffc7f5a 100644 --- a/meshcore/MacOS/mac_tcc_detection.c +++ b/meshcore/MacOS/mac_tcc_detection.c @@ -1,3 +1,19 @@ +/* +Copyright 2022 Intel Corporation + +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. +*/ + #include "mac_tcc_detection.h" #include #include @@ -31,6 +47,7 @@ TCC_PermissionStatus check_fda_permission(void) { } // Cannot open TCC.db - no FDA permission + if (db != NULL) { sqlite3_close(db); } return TCC_PERMISSION_DENIED; } @@ -81,6 +98,7 @@ static TCC_PermissionStatus check_screen_recording_via_tcc_db(void) { int rc = sqlite3_open_v2(TCC_DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); if (rc != SQLITE_OK) { // Can't open TCC.db (no FDA) + if (db != NULL) { sqlite3_close(db); } return TCC_PERMISSION_DENIED; } @@ -228,3 +246,4 @@ TCC_AllPermissions check_all_permissions(void) { result.screen_recording = check_screen_recording_permission(); return result; } + diff --git a/meshcore/MacOS/mac_tcc_detection.h b/meshcore/MacOS/mac_tcc_detection.h index 05b5589e..54dcc2b3 100644 --- a/meshcore/MacOS/mac_tcc_detection.h +++ b/meshcore/MacOS/mac_tcc_detection.h @@ -1,3 +1,19 @@ +/* +Copyright 2024 Intel Corporation + +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. +*/ + #ifndef MAC_TCC_DETECTION_H #define MAC_TCC_DETECTION_H diff --git a/meshreset/targetver.h b/meshreset/targetver.h index 6fe8eb79..04173ad3 100644 --- a/meshreset/targetver.h +++ b/meshreset/targetver.h @@ -1,3 +1,18 @@ +/* +Copyright 2006 - 2022 Intel Corporation + +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. +*/ #pragma once // The following macros define the minimum required platform. The minimum required platform @@ -11,3 +26,4 @@ #define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows. #endif + diff --git a/modules/PostBuild.js b/modules/PostBuild.js index 9d22ae9a..c767dde5 100644 --- a/modules/PostBuild.js +++ b/modules/PostBuild.js @@ -1,4 +1,18 @@ -// JavaScript source code +/* +Copyright 2018-2023 Intel Corporation + +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. +*/ console.log('Running Post Build Step....'); @@ -65,3 +79,4 @@ function OnFinish() var exeStream = fs.createReadStream(process.execPath, { flags: "rb" }); exeStream.pipe(hash); + diff --git a/modules/_agentStatus.js b/modules/_agentStatus.js index 06342f1a..b04e78df 100644 --- a/modules/_agentStatus.js +++ b/modules/_agentStatus.js @@ -1,3 +1,22 @@ +/* +Copyright 2018-2021 Intel Corporation + +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. +*/ + +/*jshint node: true */ +/*jshint strict: false */ +"use strict"; var promise = require('promise'); var nodeid = require('_agentNodeId')(); @@ -95,4 +114,4 @@ function start() }).then(function (v) { console.log(v); }).then(function () { process._exit(); }).catch(function () { process._exit(); }); } -module.exports = { start: start, query: queryAgent }; \ No newline at end of file +module.exports = { start: start, query: queryAgent }; diff --git a/modules/lme_heci.js b/modules/lme_heci.js index 47343cab..de6bb1be 100644 --- a/modules/lme_heci.js +++ b/modules/lme_heci.js @@ -1,3 +1,18 @@ +/* +Copyright 2024 Intel Corporation + +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. +*/ var MemoryStream = require('MemoryStream'); var lme_id = 0; @@ -353,3 +368,4 @@ function lme_heci() } module.exports = lme_heci; + diff --git a/openframe/machine_id_reader.h b/openframe/machine_id_reader.h index 8b4162db..572df487 100644 --- a/openframe/machine_id_reader.h +++ b/openframe/machine_id_reader.h @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024 Intel Corporation + * + * 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. + */ + #ifndef MACHINE_ID_READER_H #define MACHINE_ID_READER_H @@ -20,3 +36,4 @@ char* read_machine_id(void); #endif #endif // MACHINE_ID_READER_H + diff --git a/openframe/token_extractor.h b/openframe/token_extractor.h index 055f0f21..2214485b 100644 --- a/openframe/token_extractor.h +++ b/openframe/token_extractor.h @@ -1,3 +1,19 @@ +/* +Copyright 2022 - 2024 Intel Corporation + +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. +*/ + #ifndef TOKEN_EXTRACTOR_H #define TOKEN_EXTRACTOR_H @@ -17,4 +33,4 @@ char* extract_token(const char* secret, const char* token_path); } #endif -#endif // TOKEN_EXTRACTOR_H \ No newline at end of file +#endif // TOKEN_EXTRACTOR_H diff --git a/samples/webrtc/C# Sample/DebugForm.cs b/samples/webrtc/C# Sample/DebugForm.cs index 47a2a951..2a37b35a 100644 --- a/samples/webrtc/C# Sample/DebugForm.cs +++ b/samples/webrtc/C# Sample/DebugForm.cs @@ -1,4 +1,18 @@ -using System; +// Copyright (c) Intel Corporation +// +// 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. + +using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; @@ -191,3 +205,4 @@ private void DebugForm_FormClosing(object sender, FormClosingEventArgs e) } } +