summaryrefslogtreecommitdiffstats
path: root/common/hal-dummy.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-03-20 14:48:00 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-03-20 14:48:00 +0000
commit6e2ea33ba70a7d6b6ffa614a8fe57fe7662b7c70 (patch)
tree9f5e9518021b69891a65f8bf25f8ad1768a2b8b7 /common/hal-dummy.c
parentfaaa78e8988895aecf12f5ef113d3683c7986999 (diff)
Create a common HAL abstraction layer
Diffstat (limited to 'common/hal-dummy.c')
-rw-r--r--common/hal-dummy.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/common/hal-dummy.c b/common/hal-dummy.c
new file mode 100644
index 00000000..e16a6b67
--- /dev/null
+++ b/common/hal-dummy.c
@@ -0,0 +1,37 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2006-2007 Marcel Holtmann <marcel@holtmann.org>
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "hal.h"
+
+int hal_init(DBusConnection *conn)
+{
+ return 0;
+}
+
+void hal_cleanup(void)
+{
+}