Zitat von Nami <nami...@atheros.com>:

>
> ---
>  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/include/openobex/obex.h
> @@ -147,7 +147,7 @@ OPENOBEX_SYMBOL(int)  
> BtOBEX_TransportConnect(obex_t *self, bt_addr_t *src, bt_ad
>  /*
>   * OBEX File API
>   */
> -OPENOBEX_SYMBOL(int) FdOBEX_TransportSetup(obex_t *self, int rfd,  
> int wfd, int mtu);
> +OPENOBEX_SYMBOL(int) FdOBEX_TransportSetup(obex_t *self, int rfd,  
> int wfd, int mtu, int fmt);
>
>  /*
>   * OBEX interface discovery API
> diff --git a/lib/obex.c b/lib/obex.c
> index 165fcb8..304bc15 100644
> --- a/lib/obex.c
> +++ b/lib/obex.c
> @@ -1116,10 +1116,11 @@ int CALLAPI BtOBEX_TransportConnect(obex_t  
> *self, bdaddr_t *src,
>       \param rfd descriptor to read
>       \param wfd descriptor to write
>       \param mtu transport mtu: 0 - default
> +     \param fmt transport format: 0 - default

Strip the "- default" part: it makes no sense...

>       \return -1 or negative error code on error
>   */
>  LIB_SYMBOL
> -int CALLAPI FdOBEX_TransportSetup(obex_t *self, int rfd, int wfd, int mtu)
> +int CALLAPI FdOBEX_TransportSetup(obex_t *self, int rfd, int wfd,  
> int mtu, int fmt)

Not "int" but "enum fdobex_transport_format".

HS



------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to