summaryrefslogtreecommitdiffstats
path: root/network/common.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-03-22 17:36:56 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-03-22 17:36:56 +0000
commitd1d248d12b0eba700498c47647f9cd438510b242 (patch)
tree9e405d51a62372048973557062c112012655bbbd /network/common.h
parented83ee24ed636f5f2d213bc825d702cc45c20b8f (diff)
Initial code of bnep common.
Diffstat (limited to 'network/common.h')
-rw-r--r--network/common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/network/common.h b/network/common.h
index e87dd676..11e0b77b 100644
--- a/network/common.h
+++ b/network/common.h
@@ -20,3 +20,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
+/* BNEP functions */
+int bnep_init(void);
+int bnep_cleanup(void);
+
+int bnep_str2svc(char *svc, uint16_t *uuid);
+char *bnep_svc2str(uint16_t uuid);
+
+int bnep_kill_connection(const char *addr);
+int bnep_kill_all_connections(void);
+
+int bnep_connadd(int sk, uint16_t role, char *dev);