瀏覽代碼

rabbitmq: Add MIT License

Update MIT License for all dev files.
Stefan Mititelu 9 年之前
父節點
當前提交
3c9f88b968
共有 4 個文件被更改,包括 95 次插入11 次删除
  1. 39 0
      modules/rabbitmq/rabbitmq.c
  2. 39 0
      modules/rabbitmq/rabbitmq.h
  3. 7 4
      modules/rabbitmq/utils.c
  4. 10 7
      modules/rabbitmq/utils.h

+ 39 - 0
modules/rabbitmq/rabbitmq.c

@@ -1,3 +1,42 @@
+/*
+ * MIT License
+ *
+ * Portions created by ONEm Communications Ltd. are Copyright (c) 2016
+ * ONEm Communications Ltd. All Rights Reserved.
+ *
+ * Portions created by ng-voice are Copyright (c) 2016
+ * ng-voice. All Rights Reserved.
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
 #include "rabbitmq.h"
 #include "../../sr_module.h"
 #include "../../route_struct.h"

+ 39 - 0
modules/rabbitmq/rabbitmq.h

@@ -1,3 +1,42 @@
+/*
+ * MIT License
+ *
+ * Portions created by ONEm Communications Ltd. are Copyright (c) 2016
+ * ONEm Communications Ltd. All Rights Reserved.
+ *
+ * Portions created by ng-voice are Copyright (c) 2016
+ * ng-voice. All Rights Reserved.
+ *
+ * Portions created by Alan Antonuk are Copyright (c) 2012-2013
+ * Alan Antonuk. All Rights Reserved.
+ *
+ * Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
+ * All Rights Reserved.
+ *
+ * Portions created by Tony Garnock-Jones are Copyright (c) 2009-2010
+ * VMware, Inc. and Tony Garnock-Jones. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
 #ifndef _RTPENGINE_H
 #define _RTPENGINE_H
 

+ 7 - 4
modules/rabbitmq/utils.c

@@ -1,7 +1,11 @@
-/* vim:set ft=c ts=2 sw=2 sts=2 et cindent: */
 /*
- * ***** BEGIN LICENSE BLOCK *****
- * Version: MIT
+ * MIT License
+ *
+ * Portions created by ONEm Communications Ltd. are Copyright (c) 2016
+ * ONEm Communications Ltd. All Rights Reserved.
+ *
+ * Portions created by ng-voice are Copyright (c) 2016
+ * ng-voice. All Rights Reserved.
  *
  * Portions created by Alan Antonuk are Copyright (c) 2012-2013
  * Alan Antonuk. All Rights Reserved.
@@ -31,7 +35,6 @@
  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  * SOFTWARE.
- * ***** END LICENSE BLOCK *****
  */
 
 #include <stdarg.h>

+ 10 - 7
modules/rabbitmq/utils.h

@@ -1,10 +1,11 @@
-/* vim:set ft=c ts=2 sw=2 sts=2 et cindent: */
-#ifndef librabbitmq_examples_utils_h
-#define librabbitmq_examples_utils_h
-
 /*
- * ***** BEGIN LICENSE BLOCK *****
- * Version: MIT
+ * MIT License
+ *
+ * Portions created by ONEm Communications Ltd. are Copyright (c) 2016
+ * ONEm Communications Ltd. All Rights Reserved.
+ *
+ * Portions created by ng-voice are Copyright (c) 2016
+ * ng-voice. All Rights Reserved.
  *
  * Portions created by Alan Antonuk are Copyright (c) 2012-2013
  * Alan Antonuk. All Rights Reserved.
@@ -34,9 +35,11 @@
  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  * SOFTWARE.
- * ***** END LICENSE BLOCK *****
  */
 
+#ifndef librabbitmq_examples_utils_h
+#define librabbitmq_examples_utils_h
+
 #include "../../dprint.h"
 
 extern int log_on_error(int x, char const *context);