From: Hendrik S. <po...@he...> - 2008-03-26 14:00:11
|
Hi, This serious things are in CVS that need to be fixed. I can send a patch for each, if needed: 1. Somewhen in 2006, the defines OBEX_CLIENT and OBEX_SERVER were renamed to OBEX_MODE_CLIENT and OBEX_MODE_SERVER. This breaks the API and should be reversed! I integrated a patch into the debian package that sets up compat defines (two packages broke because of the change). 2. Additionally, like seen in the other thread, the mode is mostly used in the wrong way and set at the wrong positions in the code (an obex_t handle can only be one during an obex session): either you are a client by sending a request or you are a server by listening to requests but the same handle cannot be both. Responses welcome... HS |