[PATCH obexd 1/5] core: Add port to service driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

This add possibility to optional port in addition to channel.
---
 src/service.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/service.h b/src/service.h
index 3dee7d7..5d9d325 100644
--- a/src/service.h
+++ b/src/service.h
@@ -21,10 +21,13 @@
  *
  */
 
+#define OBEX_PORT_RANDOM UINT16_MAX
+
 struct obex_service_driver {
 	const char *name;
 	uint16_t service;
 	uint8_t channel;
+	uint16_t port;
 	gboolean secure;
 	const uint8_t *target;
 	unsigned int target_size;
-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux