---
include/openobex/obex_const.h |5 +
lib/fdobex.c |1 +
lib/fdobex.h |1 +
3 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/include/openobex/obex_const.h b/include/openobex/obex_const.h
index cb7afeb..700bacb 100644
--- a/include/o
---
lib/fdobex.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/fdobex.c b/lib/fdobex.c
index 7fa4a21..46a0796 100644
--- a/lib/fdobex.c
+++ b/lib/fdobex.c
@@ -79,6 +79,9 @@ static int fdobex_read(obex_t *self, void *buf, int buflen)
{
struct obex_transport
---
include/openobex/obex.h |1 +
lib/obex.c | 16
lib/obex.sym|1 +
3 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/include/openobex/obex.h b/include/openobex/obex.h
index f948113..cb1d66a 100644
--- a/include/openobex/obex.h
+++
---
lib/fdobex.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/fdobex.c b/lib/fdobex.c index 7fa4a21..46a0796 100644
--- a/lib/fdobex.c
+++ b/lib/fdobex.c
@@ -79,6 +79,9 @@ static int fdobex_read(obex_t *self, void *buf, int buflen) {
struct obex_transport
Sorry, please ignore this mail.
-Original Message-
From: linux-bluetooth-ow...@vger.kernel.org
[mailto:linux-bluetooth-ow...@vger.kernel.org] On Behalf Of Li, Nami
Sent: 2011年6月21日 13:17
To: openobex-users@lists.sourceforge.net; linux-blueto...@vger.kernel.org
Cc: Liu, Haijun; Fan, Hong
S
---
lib/fdobex.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/fdobex.c b/lib/fdobex.c
index 7fa4a21..46a0796 100644
--- a/lib/fdobex.c
+++ b/lib/fdobex.c
@@ -79,6 +79,9 @@ static int fdobex_read(obex_t *self, void *buf, int buflen)
{
struct obex_transport
---
include/openobex/obex_const.h |5 +
lib/fdobex.c |1 +
lib/fdobex.h |1 +
3 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/include/openobex/obex_const.h b/include/openobex/obex_const.h
index cb7afeb..700bacb 100644
--- a/include/o
---
include/openobex/obex.h |1 +
lib/obex.c | 16
lib/obex.sym|1 +
3 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/include/openobex/obex.h b/include/openobex/obex.h
index f948113..cb1d66a 100644
--- a/include/openobex/obex.h
+++
Am Montag, 20. Juni 2011, 20:27:03 schrieb Iain Hibbert:
> On Mon, 20 Jun 2011, Hendrik Sattler wrote:
> > Zitat von Iain Hibbert :
> > > > Do you want to adapt CMakeModules/FindBluetooth.cmake also? Or shall
> > > > I do?
> > >
> > > I noticed that the CMake configuration method does not work but
Am Montag, 20. Juni 2011, 22:00:26 schrieb Iain Hibbert:
> On Mon, 20 Jun 2011, Hendrik Sattler wrote:
> > Am Montag, 20. Juni 2011, 19:51:18 schrieb Iain Hibbert:
> > > I actually disklike this method, for the reason that it breaks when the
> > > OS changes even though the feature remains (eg _WIN
Hi,
Am Montag, 20. Juni 2011, 21:45:11 schrieb Marcel Holtmann:
> > > > include/openobex/obex_const.h |4
> > > > lib/fdobex.h |1 +
> > > > 2 files changed, 5 insertions(+), 0 deletions(-)
> > > >
> > > > diff --git a/include/openobex/obex_const.h
> > > > b/include
On Mon, 20 Jun 2011, Hendrik Sattler wrote:
> Am Montag, 20. Juni 2011, 19:51:18 schrieb Iain Hibbert:
> > I actually disklike this method, for the reason that it breaks when the OS
> > changes even though the feature remains (eg _WIN64 will fail to work in
> > your example :) better to rely just
Hi Hendrik,
> > > include/openobex/obex_const.h |4
> > > lib/fdobex.h |1 +
> > > 2 files changed, 5 insertions(+), 0 deletions(-)
> > >
> > > diff --git a/include/openobex/obex_const.h
> > > b/include/openobex/obex_const.h index cb7afeb..8acee91 100644
> > > --- a
Am Montag, 20. Juni 2011, 19:51:18 schrieb Iain Hibbert:
> I actually disklike this method, for the reason that it breaks when the OS
> changes even though the feature remains (eg _WIN64 will fail to work in
> your example :) better to rely just on the feature itself, though it could
> be better ex
Am Montag, 20. Juni 2011, 18:43:10 schrieb Marcel Holtmann:
> Hi Nami,
>
> > include/openobex/obex_const.h |4
> > lib/fdobex.h |1 +
> > 2 files changed, 5 insertions(+), 0 deletions(-)
> >
> > diff --git a/include/openobex/obex_const.h
> > b/include/openobex/obex_
On Mon, 20 Jun 2011, Hendrik Sattler wrote:
> Zitat von Iain Hibbert :
> > > Do you want to adapt CMakeModules/FindBluetooth.cmake also? Or shall I do?
> >
> > I noticed that the CMake configuration method does not work but I didn't
> > look into it yet (more than just the lack of library, I get c
On Mon, 20 Jun 2011, Hendrik Sattler wrote:
> Zitat von Iain Hibbert :
>
> > On Mon, 20 Jun 2011, Hendrik Sattler wrote:
> >
> > > > file, the following:
> > > >
> > > > #if !defined(bt_addr_t)
> > > > # if defined(SOL_RFCOMM)
> > > > #if defined(_WIN32) /* Windows */
> > > > # define b
Hi Nami,
> include/openobex/obex_const.h |4
> lib/fdobex.h |1 +
> 2 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/include/openobex/obex_const.h b/include/openobex/obex_const.h
> index cb7afeb..8acee91 100644
> --- a/include/openobex/obex_const.h
Zitat von Iain Hibbert :
> On Mon, 20 Jun 2011, Hendrik Sattler wrote:
>
>> > file, the following:
>> >
>> > #if !defined(bt_addr_t)
>> > # if defined(SOL_RFCOMM)
>> > #if defined(_WIN32) /* Windows */
>> > # define bt_addr_t BTH_ADDR
>> > #else /* Linux, FreeBSD, NetBSD */
>> > #
we only need to detect the presence of "Bluetooth Device Address" type
in order to provide the function prototype, which needs to be from a header
included prior to
while here constify arguments
---
include/openobex/obex.h | 21 +++--
lib/obex.c |6 +++---
2 fi
On Mon, 20 Jun 2011, Hendrik Sattler wrote:
> > file, the following:
> >
> > #if !defined(bt_addr_t)
> > # if defined(SOL_RFCOMM)
> > #if defined(_WIN32) /* Windows */
> > # define bt_addr_t BTH_ADDR
> > #else /* Linux, FreeBSD, NetBSD */
> > # define bt_addr_t bdaddr_t
> > #
Zitat von Iain Hibbert :
>> Do you want to adapt CMakeModules/FindBluetooth.cmake also? Or shall I do?
>
> I noticed that the CMake configuration method does not work but I didn't
> look into it yet (more than just the lack of library, I get compilation
> errors from missing headers, perhaps lack o
On Mon, 20 Jun 2011, Hendrik Sattler wrote:
> Zitat von Iain Hibbert :
>
> > ---
> > acinclude.m4 |2 ++
> > 1 files changed, 2 insertions(+), 0 deletions(-)
> >
> > diff --git a/acinclude.m4 b/acinclude.m4
> > index 7b67007..3da248a 100644
> > --- a/acinclude.m4
> > +++ b/acinclude.m4
> > @@
Zitat von Iain Hibbert :
> Hi
>
> One more issue with building openobex on NetBSD is that getaddrinfo() and
> struct addrinfo are shielded behind XOPEN_SOURCE >= 520 restrictions, and
> in obex_tcp.c the
>
> #define _XOPEN_SOURCE 500
>
> means that they are excluded.. I can't find a citation for
Hi
One more issue with building openobex on NetBSD is that getaddrinfo() and
struct addrinfo are shielded behind XOPEN_SOURCE >= 520 restrictions, and
in obex_tcp.c the
#define _XOPEN_SOURCE 500
means that they are excluded.. I can't find a citation for the 520 value,
but the NetBSD guys are ge
Zitat von Iain Hibbert :
> ---
> acinclude.m4 |2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/acinclude.m4 b/acinclude.m4
> index 7b67007..3da248a 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -309,10 +309,12 @@ AC_DEFUN([AC_ARG_OPENOBEX], [
>
>
Zitat von Iain Hibbert :
> Hi
>
> Since I saw rumours of a 2.0 release, I tried to build openobex cloned
> from
>
> git://git.kernel.org/pub/scm/bluetooth/openobex.git
>
> on NetBSD.. some patches to follow but I still have trouble with the
A tester/developer for *BSD is always welcome :-)
>
---
apps/obex_tcp.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/apps/obex_tcp.c b/apps/obex_tcp.c
index 7fca284..17204fa 100644
--- a/apps/obex_tcp.c
+++ b/apps/obex_tcp.c
@@ -61,7 +61,9 @@ static int get_peer_addr(char *name, struct sockaddr_storage
*peer)
---
lib/bluez_compat.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/bluez_compat.h b/lib/bluez_compat.h
index b0b97d6..3f36cd7 100644
--- a/lib/bluez_compat.h
+++ b/lib/bluez_compat.h
@@ -66,6 +66,7 @@ extern bdaddr_t bluez_compat_bdaddr_any;
#define rc_channel bt
---
acinclude.m4 |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/acinclude.m4 b/acinclude.m4
index 7b67007..3da248a 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -309,10 +309,12 @@ AC_DEFUN([AC_ARG_OPENOBEX], [
if (test "${netbsdbt_cv_found}" = "yes");
Hi
Since I saw rumours of a 2.0 release, I tried to build openobex cloned
from
git://git.kernel.org/pub/scm/bluetooth/openobex.git
on NetBSD.. some patches to follow but I still have trouble with the
file, the following:
#if !defined(bt_addr_t)
# if defined(SOL_RFCOMM)
#if defined(_WIN
Zitat von Nami :
> ---
> include/openobex/obex_const.h |4
> lib/fdobex.h |1 +
> 2 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/include/openobex/obex_const.h b/include/openobex/obex_const.h
> index cb7afeb..8acee91 100644
> --- a/include/openobex/
Zitat von Nami :
>
> ---
> include/openobex/obex.h |2 +-
> lib/obex.c |4 +++-
> 2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/include/openobex/obex.h b/include/openobex/obex.h
> index f948113..0d7afec 100644
> --- a/include/openobex/obex.h
> +++ b/includ
33 matches
Mail list logo