summaryrefslogtreecommitdiff
path: root/emulator/server.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-02-27 10:56:43 -0800
committerMarcel Holtmann <marcel@holtmann.org>2012-02-27 10:56:43 -0800
commitd5be1cc111dd9834c05c040c10529b632ab8f99e (patch)
treebe725f83ca1c003440b8accb38e10892676e7d77 /emulator/server.h
parent9d3b93ede77ed7e5b0a040a5df45b55991274808 (diff)
downloadbluez-d5be1cc111dd9834c05c040c10529b632ab8f99e.tar.gz
emulator: Add initial version of new emulator
Diffstat (limited to 'emulator/server.h')
-rw-r--r--emulator/server.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/emulator/server.h b/emulator/server.h
new file mode 100644
index 000000000..836db5f9e
--- /dev/null
+++ b/emulator/server.h
@@ -0,0 +1,30 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2011-2012 Intel Corporation
+ * 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
+ *
+ */
+
+#include <stdint.h>
+
+struct server;
+
+struct server *server_open_unix(const char *path, uint16_t id);
+void server_close(struct server *server);