missing copyright section added, and few typo fixes
authorAmarnath Valluri <amarnath.valluri@linux.intel.com>
Fri, 25 Oct 2013 08:38:31 +0000 (11:38 +0300)
committerAmarnath Valluri <amarnath.valluri@linux.intel.com>
Wed, 20 Aug 2014 06:45:09 +0000 (09:45 +0300)
24 files changed:
common/dbus-error.c
common/dbus-error.h
common/log.h
daemon/dbus-manager.h
daemon/dbus-server.c
daemon/dbus-server.h
daemon/dbus-service.h
daemon/main.c
daemon/manager.h
daemon/server-socket.c
daemon/server-socket.h
daemon/utils.h
examples/test-app.c
examples/test-app.cpp
lib/message-port.c
lib/message-port.h
lib/msgport-factory.c
lib/msgport-factory.h
lib/msgport-manager.c
lib/msgport-manager.h
lib/msgport-service.c
lib/msgport-service.h
lib/msgport-utils.c
lib/msgport-utils.h

index e1cd882..561c003 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #include "dbus-error.h"
 
 #include <gio/gio.h>
@@ -12,7 +35,7 @@ GDBusErrorEntry __msgport_errors [] = {
     {MSGPORT_ERROR_NOT_FOUND,            _PREFIX".NotFound"},
     {MSGPORT_ERROR_ALREADY_EXISTING,     _PREFIX".AlreadyExisting"},
     {MSGPORT_ERROR_CERTIFICATE_MISMATCH, _PREFIX".CertificateMismatch"},
-    {MSGPORT_ERROR_UNKNOWN,              _PREFIX ".Unknown"}
+    {MSGPORT_ERROR_UNKNOWN,              _PREFIX".Unknown"}
 };
 
 GQuark
index fb7a080..4e1abea 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #ifndef __MSGPORT_ERROR_H
 #define __MSGPORT_ERROR_H
 
index 196f17e..86a0d38 100644 (file)
@@ -1,5 +1,28 @@
-#ifndef _MSGPORT_LOG_H
-#define _MSGPORT_LOG_H
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
+#ifndef __MSGPORT_LOG_H
+#define __MSGPORT_LOG_H
 
 #include <glib.h>
 #include "config.h"
@@ -10,9 +33,9 @@
 
 #   define __LOG(prio, frmt, args...) print_log(prio, LOG_TAG, "%s +%d:"frmt, __FILE__, __LINE__, ##args)
 
-#   define DBG(frmt, args...) __LOG(DLOG_DEBUG, frmt, ##args)
+#   define DBG(frmt, args...)  __LOG(DLOG_DEBUG, frmt, ##args)
 #   define WARN(frmt, args...) __LOG(DLOG_WARN, frmt, ##args)
-#   define ERR(frmt, args...) __LOG(DLOG_ERROR, frmt, ##args)
+#   define ERR(frmt, args...)  __LOG(DLOG_ERROR, frmt, ##args)
 
 #else /* USE_DLOG */
 
@@ -24,4 +47,4 @@
 
 #endif /* USE_DLOG */
 
-#endif /* _MSGPORT_LOG_H */
+#endif /* __MSGPORT_LOG_H */
index 8bfdad7..2879640 100644 (file)
@@ -21,8 +21,8 @@
  * 02110-1301 USA
  */
 
-#ifndef _MSGPORT_DBUS_MANAGER_H
-#define _MSGPORT_DBUS_MANAGER_H
+#ifndef __MSGPORT_DBUS_MANAGER_H
+#define __MSGPORT_DBUS_MANAGER_H
 
 #include <glib.h>
 #include <gio/gio.h>
@@ -79,5 +79,5 @@ msgport_dbus_manager_validate_peer_certificate (MsgPortDbusManager *dbus_manager
 
 G_END_DECLS
 
-#endif /* _MSGPORT_DBUS_MANAER_H */
+#endif /* __MSGPORT_DBUS_MANAER_H */
 
index e5c2176..1b5bb01 100644 (file)
@@ -1,7 +1,7 @@
 /* vi: set et sw=4 ts=4 cino=t0,(0: */
 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
- * Copyright (C) 2012 Intel Corporation.
+ * Copyright (C) 2013 Intel Corporation.
  *
  * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
  *
@@ -20,6 +20,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  * 02110-1301 USA
  */
+
 #include <errno.h>
 #include <string.h>
 #include <gio/gio.h>
index b6420da..f88b94a 100644 (file)
@@ -1,7 +1,6 @@
 /* vi: set et sw=4 ts=4 cino=t0,(0: */
 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
- *
  * Copyright (C) 2013 Intel Corporation.
  *
  * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
  * 02110-1301 USA
  */
 
-#ifndef __MSGPORT_DBUS_SERVER_H_
-#define __MSGPORT_DBUS_SERVER_H_
+#ifndef __MSGPORT_DBUS_SERVER_H
+#define __MSGPORT_DBUS_SERVER_H
 
 #include <config.h>
 #include <glib.h>
 #include <glib-object.h>
-//#include "manager.h"
 
 G_BEGIN_DECLS
 
@@ -70,4 +68,4 @@ MsgPortManager    * msgport_dbus_server_get_manager (MsgPortDbusServer *server);
 MsgPortDbusManager *
 msgport_dbus_server_get_dbus_manager_by_app_id (MsgPortDbusServer *server, const gchar *app_id);
 
-#endif /* __MSGPORT_DBUS_SERVER_H_ */
+#endif /* __MSGPORT_DBUS_SERVER_H */
index 4b5ca5d..9fdb27d 100644 (file)
@@ -21,8 +21,8 @@
  * 02110-1301 USA
  */
 
-#ifndef _MSGPORT_DBUS_SERVICE_H
-#define _MSGPORT_DBUS_SERVICE_H
+#ifndef __MSGPORT_DBUS_SERVICE_H
+#define __MSGPORT_DBUS_SERVICE_H
 
 #include <glib.h>
 #include <gio/gio.h>
@@ -57,7 +57,10 @@ struct _MsgPortDbusServiceClass
 GType msgport_dbus_service_get_type (void);
 
 MsgPortDbusService *
-msgport_dbus_service_new (MsgPortDbusManager *owner, const gchar *name, gboolean is_trusted, GError **error_out);
+msgport_dbus_service_new (MsgPortDbusManager *owner,
+                          const gchar *name,
+                          gboolean is_trusted,
+                          GError **error_out);
 
 const gchar *
 msgport_dbus_service_get_object_path (MsgPortDbusService *dbus_service);
@@ -90,5 +93,5 @@ msgport_dbus_service_send_message (MsgPortDbusService *dbus_service,
 
 G_END_DECLS
 
-#endif /* _MSGPORT_DBUS_SERVICE_H */
+#endif /* __MSGPORT_DBUS_SERVICE_H */
 
index f784e2c..80b3ff5 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #include <glib.h>
 #include "common/log.h"
 #include "dbus-server.h"
index e95a6d6..71868c7 100644 (file)
@@ -21,8 +21,8 @@
  * 02110-1301 USA
  */
 
-#ifndef _MSGPORT_MANAGER_H
-#define _MSGPORT_MANAGER_H
+#ifndef __MSGPORT_MANAGER_H
+#define __MSGPORT_MANAGER_H
 
 #include <glib-object.h>
 #include <gio/gio.h>
@@ -90,5 +90,5 @@ msgport_manager_unregister_services (
 
 G_END_DECLS
 
-#endif /* _MSGPORT_MANAER_H */
+#endif /* __MSGPORT_MANAER_H */
 
index 82e22fe..00d9b1b 100644 (file)
@@ -141,7 +141,7 @@ _msgport_callback (
         case LWS_CALLBACK_ESTABLISHED:
         break;
 
-        default;
+        default:
         g_print ("%s reason %d\n", __FUNCTION_NAME__, reason);
     }
 
index bef5542..10a25fa 100644 (file)
@@ -21,8 +21,8 @@
  * 02110-1301 USA
  */
 
-#ifndef _MSGPORT_SERVER_SOCKET_H
-#define _MSGPORT_SERVER_SOCKET_H
+#ifndef __MSGPORT_SERVER_SOCKET_H
+#define __MSGPORT_SERVER_SOCKET_H
 
 #include <glib.h>
 #include <glib-object.h>
@@ -62,5 +62,5 @@ msgport_server_socket_start ();
 
 G_END_DECLS
 
-#endif /* _MSGPORT_SERVER_SOCKET_H */
+#endif /* __MSGPORT_SERVER_SOCKET_H */
 
index 06cbaac..0bb9d42 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #ifndef __MSGPORT_UTILS_H
 #define __MSGPORT_UTILS_H
 
index 1cea322..392e623 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #include <glib.h>
 #include <unistd.h>
 #include <stdlib.h>
index 390b595..e0de72d 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #include <message-port.h>
 #include <bundle.h>
 #include <string>
index f24eab8..841be30 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #include "message-port.h"
 #include "msgport-factory.h"
 #include "msgport-manager.h"
index 30f4109..8c57faa 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #ifndef __MESSAGE_PORT_H
 #define __MESSAGE_PORT_H
 
index f64302c..95f97db 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #include "msgport-factory.h"
 #include "msgport-manager.h"
 #include "common/log.h"
index 8fd5677..5c14534 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #ifndef __MSGPORT_FACTORY_H
 #define __MSGPORT_FACTORY_H
 
index cac8229..ade375a 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #include "msgport-manager.h"
 #include "msgport-service.h"
 #include "msgport-utils.h" /* msgport_daemon_error_to_error */
index 30ca590..e82f752 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #ifndef __MSGPORT_MANAGER_H
 #define __MSGPORT_MANAGER_H
 
index f17f7ff..a2075d5 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #include "msgport-service.h"
 #include "msgport-utils.h"
 #include "common/dbus-service-glue.h"
index d9791d1..c5b15b4 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #ifndef __MSGPORT_SERVICE_H
 #define __MSGPORT_SERVICE_H
 
index fadaa6f..5069336 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #include "msgport-utils.h"
 #include "common/dbus-error.h" /* MsgPortError */
 #include "common/log.h"
index 4ee9321..12fbcbd 100644 (file)
@@ -1,3 +1,26 @@
+/* vi: set et sw=4 ts=4 cino=t0,(0: */
+/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2013 Intel Corporation.
+ *
+ * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
 #ifndef __MSGPORT_UTILS_H
 #define __MSGPORT_UTILS_H