To be able to use the OpenOBEX API you must include the file openobex/obex.h.
First of all you must create an OBEX instance by calling OBEX_init.
In this call you specify what transport you want to use, an event callback, and optional flags.
OBEX_init will return a handle which shall be passed to almost all other functions.
To let the parser do some work you must call OBEX_HandleInput. It will block for the
specified timeout if there is no data to read. You can call OBEX_GetFD if you want
to do select yourself.