aboutsummaryrefslogtreecommitdiffstats
path: root/attrib/example.h
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2010-07-07 18:19:07 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2010-08-09 18:06:44 -0400
commitb4ad35aafe32a65e1796bb64631732593f8ae914 (patch)
treec63d98e20678565badf166b5c56a3a8ad836fce1 /attrib/example.h
parentfc558ffc2affae150df6566eb028f980ef5d5234 (diff)
downloadbluez-b4ad35aafe32a65e1796bb64631732593f8ae914.tar.gz
bluez-b4ad35aafe32a65e1796bb64631732593f8ae914.tar.xz
bluez-b4ad35aafe32a65e1796bb64631732593f8ae914.zip
Initial GATT server example integration
Initial changes to start the GATT server example. For the server side, attrib plugin will only register the GATT service record and add the attributes into the attribute database.
Diffstat (limited to 'attrib/example.h')
-rw-r--r--attrib/example.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/attrib/example.h b/attrib/example.h
new file mode 100644
index 00000000..564bfeb1
--- /dev/null
+++ b/attrib/example.h
@@ -0,0 +1,25 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2004-2010 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
+ *
+ */
+
+int server_example_init(void);
+void server_example_exit(void);