summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-18 11:41:32 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-18 11:41:32 +0000
commit49f96ab96e2f7a0fabbb1c863fbca43b12b127ec (patch)
tree8b4e413e939052121dcced2adedaf9978c16efa3
parent023c98a76144b217437d5f4bef0cc764ead5d22a (diff)
Add file skeleton for database interface
-rw-r--r--hcid/Makefile.am6
-rw-r--r--hcid/dbus-database.c28
-rw-r--r--hcid/dbus-database.h22
3 files changed, 53 insertions, 3 deletions
diff --git a/hcid/Makefile.am b/hcid/Makefile.am
index 2fde3c14..be9bd432 100644
--- a/hcid/Makefile.am
+++ b/hcid/Makefile.am
@@ -27,10 +27,10 @@ libhciserver_a_SOURCES = hcid.h security.c device.c \
storage.c parser.h parser.y lexer.l kword.c kword.h \
dbus-hci.h dbus-hci.c dbus-common.c dbus-common.h \
dbus-error.c dbus-error.h dbus-manager.c dbus-manager.h \
+ dbus-database.c dbus-database.h dbus-security.c dbus-security.h \
dbus-adapter.c dbus-adapter.h dbus-device.c dbus-device.h \
- dbus-service.c dbus-service.h dbus-security.c dbus-security.h \
- dbus-sdp.c dbus-sdp.h dbus-rfcomm.c dbus-rfcomm.h \
- dbus-test.c dbus-test.h
+ dbus-service.c dbus-service.h dbus-sdp.c dbus-sdp.h \
+ dbus-rfcomm.c dbus-rfcomm.h dbus-test.c dbus-test.h
if HCID
sbin_PROGRAMS = hcid
diff --git a/hcid/dbus-database.c b/hcid/dbus-database.c
new file mode 100644
index 00000000..cf4cbff8
--- /dev/null
+++ b/hcid/dbus-database.c
@@ -0,0 +1,28 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2004-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 "dbus-database.h"
diff --git a/hcid/dbus-database.h b/hcid/dbus-database.h
new file mode 100644
index 00000000..e87dd676
--- /dev/null
+++ b/hcid/dbus-database.h
@@ -0,0 +1,22 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2004-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
+ *
+ */