summaryrefslogtreecommitdiff
path: root/mesh/provision.h
diff options
context:
space:
mode:
authorBrian Gix <brian.gix@intel.com>2018-07-14 12:58:50 -0700
committerBrian Gix <brian.gix@intel.com>2018-08-20 12:48:14 -0700
commit603743a6ef9f6c76645b7e226e83d6ffa77eab3c (patch)
tree94cd4e5cb67d33d8b35820d449688a684c648b50 /mesh/provision.h
parenta35a0167c47092f2052f39b2e76661357083b180 (diff)
downloadbluez-603743a6ef9f6c76645b7e226e83d6ffa77eab3c.tar.gz
mesh: Shared private meshd interfaces
Diffstat (limited to 'mesh/provision.h')
-rw-r--r--mesh/provision.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/mesh/provision.h b/mesh/provision.h
new file mode 100644
index 000000000..0c59bf037
--- /dev/null
+++ b/mesh/provision.h
@@ -0,0 +1,30 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2018 Intel Corporation. All rights reserved.
+ *
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ */
+
+struct mesh_prov;
+struct l_queue;
+
+void initiator_prov_open(struct mesh_prov *prov);
+void initiator_prov_close(struct mesh_prov *prov, uint8_t reason);
+void initiator_prov_receive(const void *pkt, uint16_t size,
+ struct mesh_prov *prov);
+void acceptor_prov_open(struct mesh_prov *prov);
+void acceptor_prov_close(struct mesh_prov *prov, uint8_t reason);
+void acceptor_prov_receive(const void *pkt, uint16_t size,
+ struct mesh_prov *prov);