diff --git a/CLA.pdf b/CLA.pdf deleted file mode 100644 index 0b579f8..0000000 Binary files a/CLA.pdf and /dev/null differ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a6aa9ad..0b8b565 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,31 @@ -If you would like to contribute code to this project you can do so -through GitHub by forking the repository and sending a pull request. +Contribution Guidelines +======================= -Before Comcast accepts your code into the project you must sign the -Comcast Contributor License Agreement ('CLA.pdf'). +We love to see contributions to the project and have tried to make it easy to do so. If you would like to contribute code to this project you can do so through GitHub by forking the repository and sending a pull request. + +Before Comcast merges your code into the project you must sign the [Comcast Contributor License Agreement (CLA)](https://gist.github.com/ComcastOSS/a7b8933dd8e368535378cda25c92d19a). + +If you haven't previously signed a Comcast CLA, you'll automatically be asked to when you open a pull request. Alternatively, we can e-mail you a PDF that you can sign and scan back to us. Please send us an e-mail or create a new GitHub issue to request a PDF version of the CLA. + +For more details about contributing to GitHub projects see +http://gun.io/blog/how-to-github-fork-branch-and-pull-request/ + +Documentation +------------- + +If you contribute anything that changes the behavior of the +application, document it in the [README](https://github.com/Comcast/parodus/blob/master/README.md) or [wiki](https://github.com/Comcast/parodus/wiki)! This includes new features, additional variants of behavior and breaking changes. + +Testing +------- + +Tests are written using golang's standard testing tools, and are run prior to the PR being accepted. + +Pull Requests +------------- + +* should be narrowly focused with no more than 3 or 4 logical commits +* when possible, address no more than one issue +* should be reviewable in the GitHub code review tool +* should be linked to any issues it relates to (i.e. issue number after (#) in commit messages or pull request message) +* should conform to idiomatic golang code formatting diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..b993df1 --- /dev/null +++ b/NOTICE @@ -0,0 +1,16 @@ +parodus +Copyright 2017 Comcast Cable Communications Management, LLC + +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. + +This product includes software developed at Comcast (http://www.comcast.com/). diff --git a/src/ParodusInternal.c b/src/ParodusInternal.c index 3187e5d..55b5b79 100644 --- a/src/ParodusInternal.c +++ b/src/ParodusInternal.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file ParodusInternal.c * * @description This file is used to manage internal functions of parodus * - * Copyright (c) 2015 Comcast */ #include "ParodusInternal.h" diff --git a/src/ParodusInternal.h b/src/ParodusInternal.h index 46e4e10..b8ba997 100644 --- a/src/ParodusInternal.h +++ b/src/ParodusInternal.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file ParodusInternal.h * * @description This file is used to manage internal functions of parodus * - * Copyright (c) 2015 Comcast */ #ifndef _PARODUSINTERNAL_H_ #define _PARODUSINTERNAL_H_ diff --git a/src/client_list.c b/src/client_list.c index 725e888..f3d44b7 100644 --- a/src/client_list.c +++ b/src/client_list.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file client_list.h * * @description This file is used to manage registered clients * - * Copyright (c) 2015 Comcast */ #include "ParodusInternal.h" diff --git a/src/client_list.h b/src/client_list.h index e2305a0..f486566 100644 --- a/src/client_list.h +++ b/src/client_list.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file client_list.h * * @description This file is used to manage registered clients * - * Copyright (c) 2015 Comcast */ #ifndef _CLIENTLIST_H_ #define _CLIENTLIST_H_ diff --git a/src/config.c b/src/config.c index 30daa2c..aadbe01 100644 --- a/src/config.c +++ b/src/config.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file config.h * * @description This file contains configuration details of parodus * - * Copyright (c) 2015 Comcast */ #include diff --git a/src/config.h b/src/config.h index 22f41f3..e2be159 100644 --- a/src/config.h +++ b/src/config.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file config.h * * @description This file contains configuration details of parodus * - * Copyright (c) 2015 Comcast */ #ifndef _CONFIG_H_ diff --git a/src/conn_interface.c b/src/conn_interface.c index 842dcc5..08c8427 100644 --- a/src/conn_interface.c +++ b/src/conn_interface.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file conn_interface.c * * @description This decribes interface to create WebSocket client connections. * - * Copyright (c) 2015 Comcast */ #include "connection.h" diff --git a/src/conn_interface.h b/src/conn_interface.h index 1530bd6..a185c9b 100644 --- a/src/conn_interface.h +++ b/src/conn_interface.h @@ -1,11 +1,25 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file conn_interface.h * * @description This header defines interface to create WebSocket client connections. * - * Copyright (c) 2015 Comcast */ - #ifndef _CONN_INTERFACE_H_ #define _CONN_INTERFACE_H_ diff --git a/src/connection.c b/src/connection.c index 2566ac9..d42c035 100644 --- a/src/connection.c +++ b/src/connection.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file connection.c * * @description This decribes functions required to manage WebSocket client connections. * - * Copyright (c) 2015 Comcast */ #include "connection.h" diff --git a/src/connection.h b/src/connection.h index 4b036c3..b5da954 100644 --- a/src/connection.h +++ b/src/connection.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file connection.h * * @description This header defines functions required to manage WebSocket client connections. * - * Copyright (c) 2015 Comcast */ #ifndef _CONNECTION_H_ diff --git a/src/downstream.c b/src/downstream.c index 84ee73e..167e8a8 100644 --- a/src/downstream.c +++ b/src/downstream.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file downstream.c * * @description This describes functions required to manage downstream messages. * - * Copyright (c) 2015 Comcast */ #include "downstream.h" diff --git a/src/downstream.h b/src/downstream.h index 44a2e91..d284a9a 100644 --- a/src/downstream.h +++ b/src/downstream.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file downstream.h * * @description This header defines functions required to manage downstream messages. * - * Copyright (c) 2015 Comcast */ #ifndef _DOWNSTREAM_H_ diff --git a/src/nopoll_handlers.c b/src/nopoll_handlers.c index 25c4170..971fcde 100644 --- a/src/nopoll_handlers.c +++ b/src/nopoll_handlers.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file nopoll_handlers.c * * @description This describes nopoll handler functions. * - * Copyright (c) 2015 Comcast */ #include "ParodusInternal.h" diff --git a/src/nopoll_handlers.h b/src/nopoll_handlers.h index 5b7720d..4cb17a5 100644 --- a/src/nopoll_handlers.h +++ b/src/nopoll_handlers.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file nopoll_handlers.h * * @description This header defines nopoll handler functions. * - * Copyright (c) 2015 Comcast */ #ifndef _NOPOLL_HANDLERS_H_ diff --git a/src/nopoll_helpers.c b/src/nopoll_helpers.c index 3166431..cb3dc44 100644 --- a/src/nopoll_helpers.c +++ b/src/nopoll_helpers.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file nopoll_helpers.c * * @description This file is used to manage incomming and outgoing messages. * - * Copyright (c) 2015 Comcast */ #include "ParodusInternal.h" diff --git a/src/nopoll_helpers.h b/src/nopoll_helpers.h index 9fc47ae..a17ddba 100644 --- a/src/nopoll_helpers.h +++ b/src/nopoll_helpers.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file nopoll_handlers.h * * @description This header defines functions to manage incomming and outgoing messages. * - * Copyright (c) 2015 Comcast */ #ifndef _NOPOLL_HELPERS_H_ diff --git a/src/parodus_log.h b/src/parodus_log.h index 202d41f..2c0ec00 100644 --- a/src/parodus_log.h +++ b/src/parodus_log.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file parodus_log.h * * @description This header defines parodus log levels * - * Copyright (c) 2015 Comcast */ #include diff --git a/src/partners_check.c b/src/partners_check.c index f815697..3ebf450 100644 --- a/src/partners_check.c +++ b/src/partners_check.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file partners_check.c * * @description This describes functions to validate partner_id. * - * Copyright (c) 2015 Comcast */ #include "ParodusInternal.h" diff --git a/src/partners_check.h b/src/partners_check.h index df4a5b9..d439022 100644 --- a/src/partners_check.h +++ b/src/partners_check.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file partners_check.h * * @description This describes functions to validate partner_id. * - * Copyright (c) 2015 Comcast */ #ifndef _PARTNERS_CHECK_H_ diff --git a/src/service_alive.c b/src/service_alive.c index e8bf511..cb90a39 100644 --- a/src/service_alive.c +++ b/src/service_alive.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file service_alive.c * * @description This file is used to manage keep alive section * - * Copyright (c) 2015 Comcast */ #include "ParodusInternal.h" diff --git a/src/service_alive.h b/src/service_alive.h index 4fad272..3298b04 100644 --- a/src/service_alive.h +++ b/src/service_alive.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file service_alive.h * * @description This file is used to manage keep alive section * - * Copyright (c) 2015 Comcast */ #ifndef _SERVICE_ALIVE_H_ diff --git a/src/seshat_interface.c b/src/seshat_interface.c index b3a629a..2f02147 100644 --- a/src/seshat_interface.c +++ b/src/seshat_interface.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file seshat_interface.c * * @description This decribes interface to register seshat service. * - * Copyright (c) 2015 Comcast */ #include "seshat_interface.h" diff --git a/src/seshat_interface.h b/src/seshat_interface.h index 7d7df03..16775ce 100644 --- a/src/seshat_interface.h +++ b/src/seshat_interface.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file seshat_interface.h * * @description This header defines interface to register seshat service. * - * Copyright (c) 2015 Comcast */ #ifndef _SESHAT_INTERFACE_H_ diff --git a/src/seshat_interface_stub.c b/src/seshat_interface_stub.c index 2b3b4c9..40d146b 100644 --- a/src/seshat_interface_stub.c +++ b/src/seshat_interface_stub.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file seshat_interface_stub.c * * @description This decribes interface to register seshat service * - * Copyright (c) 2015 Comcast */ #include "seshat_interface.h" diff --git a/src/spin_thread.c b/src/spin_thread.c index d70f410..9249fa5 100644 --- a/src/spin_thread.c +++ b/src/spin_thread.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file spin_thread.c * * @description This file is used to define thread function * - * Copyright (c) 2015 Comcast */ #include diff --git a/src/spin_thread.h b/src/spin_thread.h index e0ac1ec..61d2610 100644 --- a/src/spin_thread.h +++ b/src/spin_thread.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file spin_thread.h * * @description This file is used to define thread function * - * Copyright (c) 2015 Comcast */ #ifndef _SPIN_THREAD_H_ diff --git a/src/thread_tasks.h b/src/thread_tasks.h index 7c58442..59f42c3 100644 --- a/src/thread_tasks.h +++ b/src/thread_tasks.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file thread_tasks.h * * @description This header defines thread functions. * - * Copyright (c) 2015 Comcast */ #ifndef _THREAD_TASKS_H_ diff --git a/src/token.c b/src/token.c index f8d2412..904b4c9 100644 --- a/src/token.c +++ b/src/token.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file token.c * * @description This file contains operations for using jwt token. * - * Copyright (c) 2015 Comcast */ #include #include diff --git a/src/token.h b/src/token.h index 2974906..241c192 100644 --- a/src/token.h +++ b/src/token.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file token.h * * @description This file contains apis and error codes for using jwt token. * - * Copyright (c) 2015 Comcast */ #ifndef _TOKEN_H_ diff --git a/src/token_stub.c b/src/token_stub.c index 244dcd3..f86b074 100644 --- a/src/token_stub.c +++ b/src/token_stub.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file token_stub.c * * @description This file contains operations for using jwt token. * - * Copyright (c) 2015 Comcast */ #include "token.h" #include "parodus_log.h" diff --git a/src/upstream.c b/src/upstream.c index 8b8dbfb..02da386 100644 --- a/src/upstream.c +++ b/src/upstream.c @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file upstream.c * * @description This describes functions required to manage upstream messages. * - * Copyright (c) 2015 Comcast */ #include "ParodusInternal.h" diff --git a/src/upstream.h b/src/upstream.h index bf1fb85..77fccfb 100644 --- a/src/upstream.h +++ b/src/upstream.h @@ -1,9 +1,24 @@ +/** + * Copyright 2015 Comcast Cable Communications Management, LLC + * + * 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. + * + */ /** * @file upstream.h * * @description This header defines functions required to manage upstream messages. * - * Copyright (c) 2015 Comcast */ #ifndef _UPSTREAM_H_