On Tue, 24 Jan 2006, Marcel Holtmann wrote:
you don't need this. If OBEX_InterfaceConnect() and OBEX_TRANS_USB are
present than it supports USB. However this is not really that important,
because the OBEX_TRANS_USB can be defined in a compat file like this:
#ifndef OBEX_TRANS_USB
#define OBEX_TRANS_USB 6
#endif
So you check for OBEX_InterfaceConnect() and if it is not there you
implement you own function in a compat file that returns an error.
With this method you avoid stupid ifdefs all around your code and don't
have to worry about anything. However you need to check the errors
correctly of course.
I began to write my own response but Marcel was first. He is right :)
Alexander
Homepage: http://www.sensi.org/~ak/
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users