summaryrefslogtreecommitdiff
path: root/android/socket.h
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2013-10-23 13:04:40 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-23 14:26:40 +0300
commit9f696ad971c5dcaecf7bff7571180bfc892bcf44 (patch)
tree67900fca7a8b9766da89cb671acbd43795e6839c /android/socket.h
parent97732368fb63b705c241553e2b1e9ea294457338 (diff)
downloadbluez-9f696ad971c5dcaecf7bff7571180bfc892bcf44.tar.gz
android: Add initial code for socket service
Only handle register/unregister for now.
Diffstat (limited to 'android/socket.h')
-rw-r--r--android/socket.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/android/socket.h b/android/socket.h
new file mode 100644
index 000000000..b13e84c1a
--- /dev/null
+++ b/android/socket.h
@@ -0,0 +1,25 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2013 Intel Corporation. All rights reserved.
+ *
+ *
+ * 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
+ *
+ */
+
+bool bt_socket_register(GIOChannel *io, const bdaddr_t *addr);
+void bt_socket_unregister(void);